-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Hey team, now that I understand the system a bit better, namely that components still often need .scss to go along with them as their styling API for components is not as replete as stylesheets. I'd like to make a suggestion for a relatively easy short term improvement.
Have a seperate set of .scss files specifically for components that are loaded into every campaign. ie its an organisation level base style file(s)
AND than make sure that campaign styling is loaded with a default higher specificity than these styles - so it overrides them.
Once you have done this than I would update the api so its much clearer that there are different packages you are deploying. Something like what lerna does. That way its very clear your updating different packages.
Out the box a new raisely account would have 1 components package and 1 campaign package.
Generally language wise I like:
- packages
- campaigns (a type of package)
- components (a type of package)
- custom-styles.scss for the file accessible through the ui.
Alternatively you could make components operate at a per campaign level instead.
Anyway, food for thought.