Created
May 11, 2020 13:55
-
-
Save mrcthms/b4dd0c344cc220e6133efc3d3f1a7df2 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
:root { | |
--hds-spacing-1: 4px; | |
--hds-spacing-2: 8px; | |
/* etc */ | |
} | |
.hds-theme-light { | |
--hds-palette-primary-100: #ff3366; | |
} | |
.hds-theme-dark { | |
--hds-palette-primary-100: #6633ff; | |
} |
This file contains hidden or 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
:root { | |
--hds-spacing-1: 4px; | |
--hds-spacing-2: 8px; | |
/* etc */ | |
} | |
/** | |
* All class-scoped variables, and the class declarations are removed, so all of the | |
.hds-theme-light { | |
--hds-palette-primary-100: #ff3366; | |
} | |
.hds-theme-dark { | |
--hds-palette-primary-100: #6633ff; | |
} | |
gets removed. | |
*/ | |
.local-file-scope { | |
--works-fine: 'yes' | |
} |
This file contains hidden or 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
.local-file-scope { | |
--works-fine: 'yes'; | |
} |
This file contains hidden or 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
@import "@invisionapp/helios-base/dist/variables.css"; | |
@import "./path/to/local/file.css"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment