-
-
Save jasonlemay/b37f5baf01ba5e33050d to your computer and use it in GitHub Desktop.
Managing your CSS (GSS) files with variables and a theme
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
/* src/main/resources/com/company/project/client/resources/css/theme.gss */ | |
body { | |
font-family: F_PRIMARY; | |
/* will output : */ | |
font-family: 'My Cool Typo', sans-serif; | |
} | |
h1 { | |
font-family: F_PRIMARY_BOLD; | |
/* will output : */ | |
font-family: 'My Cool Typo', sans-serif; | |
font-weight: 700; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment