Make common CSS style sheet for all themes with basic style rules
Themes can override this style sheet with their own, just like it is now.
This is mostly to save me time when I am maintaining 3+ UI themes.
Updated by Lauren Walker almost 9 years ago
- Status changed from New to Resolved
I created a metacatui-common.css style sheet in the main css/ directory. All themes will pull in this style sheet but can opt-out via the appHead.html template. Right now the style sheet holds only the provenance flow chart (ProvChartView) structural CSS. Colors are set only in the theme CSS so that colors will be automatically inherited in each theme.
This will really help me save time when I need to edit some basic CSS that exists in all themes.
I will start moving over CSS rules to the common style sheet as I find them, so it will be a gradual process.
This will hopefully make creating a custom theme easier for MetacatUI users because they can easily change colors, fonts, etc. in one style sheet and keep the basic structure intact. CSS rules will be easier to find in a shorter style sheet.