Customize font for all files in folder

Problem

I hope I can assign folders with font family properties so that whenever I create/move a file into some folder, the font will automatically change to the font property of the folder.

Proposed Solution

Assign properties to folders?

Or allow the user to change the font of all files in a folder by putting a hidden css file in that folder. Vault/somefolderInObsidian/.folder.css

Alternative

Add cssclass YAML to each one of the files in the folder, but I don’t want to do that.