Last active
February 28, 2022 00:05
-
-
Save shawn-sandy/78148d068a2f7b58b982932550828a17 to your computer and use it in GitHub Desktop.
SCSS snippets
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
/** | |
* ************************************** | |
* FirsPaint | |
* Author: Shawn Sandy | |
* Date: 2021-04-01 | |
* ************************************** | |
* @format | |
*/ | |
@mixin props() { | |
// * css custom properties | |
@content; | |
} | |
@mixin rules { | |
@include props; | |
// * css rules/styles | |
@content; | |
} | |
@mixin styles { | |
// * css style utilities | |
@content; | |
} | |
/** | |
* tag or classname name nav, .nav | |
*/ | |
@mixin module-name { | |
@include rules; | |
@include styles; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment