medienhaus / medienhaus-spaces

Customizable, modular, free and open-source environment for decentralized, distributed communication and collaboration without third-party dependencies.
https://medienhaus.dev/
GNU Affero General Public License v3.0
4 stars 1 forks source link

custom color values for the css variables in config.json or next.config.js #172

Open robertschnuell opened 3 hours ago

aofn commented 2 hours ago

we have variables in the css file https://github.com/medienhaus/medienhaus-spaces/blob/ee3c2a73c7da42ef6d0dbee888fd097d4bc8f612/assets/_globalCss.css#L7-L30

and again from line 50-69 for dark mode. Maybe that will do for now? Having the colours in config.js could be a bigger change, and i think we would have to inject them or change a lo tof things around again, especially with tailwind and shadcn as well.

robertschnuell commented 55 minutes ago

yeah I know that we have this in the css, just if someone would like to set up a /spaces instance and individualize the theme, for now they would have to fork the repository and aren't upstream compatible anymore. That was the origin of that idea to somehow get it into the config file which is not part of the upstream repository.