Closed loogart closed 5 years ago
Will give this consideration. Ideally, you would be able to edit the theme directly and commit changes to github but there are process issues we would need to address. Such as how to get it to the server.
totally agree with you if that is the ideal. As far as css overrides per challenge, maybe we can simply keep the css inline for sake of simplicity (as it is right now), unless you can create challenge-specific css stylesheets.
I have consolidated all the scss that has been accumulating during development, it's all in style.scss now. It is possible that there are regressions, so don't be surprised if something that was fixed gets broken again. Also I will leave a file called override.css (currently empty) for override that does not require scss compile. We can probably (hoepfully) address per-challenge css in the theme, but if not maybe we can figure out how to get it into the Drupal back-end editing.
@djsutter we will need guidance on how to implement (1) custom css overrides from the GUI and (2) push new styling that affects the overall templates.
Thinking this through... we will need a process. Best option is if you can commit css changes to github and we pull them on the server. Also it allows us to test changes on the dev server and propagate them to production. For short term, immediate fixes, we can always go back to how you did it before using a block to hold global css overrides. I don't really prefer that, but it's an option.
Would you be ok if you just email me when you need css pulled on the dev server? Or is it way better if you can pull them yourself. It is an option.
@djsutter I agree. I guess we will do the following:
Does this make sense?
Ok, yes this does make sense. The block still exists and just needs to be enabled and cleared of the previous CSS which is now obsolete. We cab also look at the ability to collaborate on the theme in github. Will need to work out a convention or process so that things work smoothly (e.g. always pull latest before you make changes).