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

Better CSS file structure #10

Closed
daviddarnes opened this issue Dec 31, 2017 · 0 comments
Closed

Better CSS file structure #10

daviddarnes opened this issue Dec 31, 2017 · 0 comments

Comments

@daviddarnes
Copy link
Owner

Similar to Alembic, Garth needs to be easy to style. The best way would be to have the following file structure:

_sass/
  sassline-base/
  _flex.scss
  _normalize.scss
  _sassline-base.scss
  _settings.scss
  _theme.scss
  _garth.scss
assets/
  styles.scss

garth.scss will import all the theme related styles, including _theme.scss. Then in turn assets/styles.scss will import garth. This means all theme related styles are in one place and the theme user only has to import one file if they wish to add their own custom styles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant