Created
November 13, 2018 13:44
-
-
Save vviikk/c65f1e34d4941e4cbdeb6828ffce3e0c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* SCSS Variables only used for media queries. All else is custom properties. Overlook it's usage. */ | |
$--browser-width-min: 300; | |
$--browser-width-max: 1600; | |
$--browser-width-min-px: $--browser-width-min * 1px; | |
$--browser-width-max-px: $--browser-width-max * 1px; | |
/* ^^ | |
Since I'm only using SCSS for the bare minimum, | |
I'll not try to use a convention. | |
I think the regular $--kebab-case is just fine. | |
However, I just find it consistent to be prefixed with a -- | |
to make debugging and also fi4nd/replace quicker. | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment