My goal is to create multiple child websites using a base HTML/CSS template. Each child website will have unique color schemes and image variations for elements like <h>
tags and background colors. I am searching for ways to easily modify the base theme so that changing a single line of code, such as
.this-smart-class{color: #mycolorcodehere)
, will update all elements using that color.
As a beginner/intermediate front end developer, I am developing my own method to achieve this but am open to alternative approaches. I prefer utilizing only CSS for this task, potentially incorporating jQuery if it significantly simplifies the process.
To better illustrate my question, please refer to the screenshot featuring various iterations of the same layout.
If you feel that my question lacks specificity, please reach out before downvoting or closing the inquiry. While I may not use precise terminology due to my limited experience, I believe valuable insights can emerge from this discussion. Thank you!