Closed jimafisk closed 2 years ago
It looks like @roobyz (the designer of Compendium) set up NPM scripts in package.json
to do things like change the color scheme: https://github.com/plenti-themes/compendium/blob/864bb3e13459fb1ce7123d1e8b79e3ff281de3b2/package.json#L5
So in order for this to work:
cp themes/compendium/package.json package.json
mkdir assets && touch assets/color-scheme.css
cp -R themes/compendium/styles .
Then run the script: npm run update:scheme
This is how you would implement technobeat: https://github.com/jamestagal/edtechdesigner/pull/9
Thank you Jim. I followed your steps and changing the colorScheme in index.json works now. One thing I didn't know is that i have to copy over the style from the scheme into the color-scheme.css and then update the colorScheme name as well for it to take affect.
Sorry for my delayed response, it has been a bit hectic quarter with my new job and all. I am working on refining the theming process. I have an idea for simplifying things, but have no working code yet. Will keep you posted.