Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Abstract out theme stylesheets for each publisher #824

Open
3 tasks
jmcglone opened this issue Mar 23, 2017 · 0 comments
Open
3 tasks

Abstract out theme stylesheets for each publisher #824

jmcglone opened this issue Mar 23, 2017 · 0 comments

Comments

@jmcglone
Copy link
Member

To enable a publisher to configure its colors and typography via a dashboard we will need to refactor how publisher specific styles are stored. Each publisher should be abstracted out of app/assets/stylesheets/themes.scss to its own include sass stylesheet (ie, _michigan.scss) that gets pulled into app/assets/stylesheets/themes.scss

  • Move publisher specific styles in themes.scss to self-contained sass include file
  • Modify themes.scss to include each publisher specific file
  • Test to ensure no CSS is broken with this configuration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants