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

Refactor: Cleans up scss #27

Merged
merged 2 commits into from
Jun 26, 2018
Merged

Refactor: Cleans up scss #27

merged 2 commits into from
Jun 26, 2018

Conversation

asbjornh
Copy link
Contributor

The scss files contained some bloat that probably isn't necessary.

I left some things in site.css:

  • box-sizing because I can't imagine a project where having content-box or padding-box as default makes sense.
  • -webkit-font-smoothing: This is necessary in order for fonts to render properly on MacOS. I don't think everyone cares about this (except for the designers of course) so I think it's a good idea to have it as a default.
  • .mouse-user: Half the point of including input-detection.js is to disable focus outlines for mouse users

@@ -1,7 +1,6 @@
@import "fonts";
@import "vars";
@import "mixins";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The mixins file doesn't exist anymore, does it?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or rather: there doesn't seem to be anything in it anymore, so it should be removed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Both vars.scss and mixins.scss still exist as empty files. My thinking is that I (and probably others too) want those files for every new project and so I'd like to save the keystrokes and mouse clicks that it takes to create and import those files. To me much of the appeal of a tool like this is to be relieved of tedious manual labour

@asbjornh
Copy link
Contributor Author

Bump! @pellebjerkestrand

Merging this tonight unless there's any more activity

@asbjornh asbjornh merged commit 7341aec into master Jun 26, 2018
@asbjornh asbjornh deleted the refactor/cleanup-scss branch June 26, 2018 17:43
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

Successfully merging this pull request may close these issues.

None yet

2 participants