Skip to content

Instantly share code, notes, and snippets.

@thierrypigot
Created July 2, 2024 13:23
Show Gist options
  • Save thierrypigot/c09f04a2f3d6fd68eacc4f73a1364c19 to your computer and use it in GitHub Desktop.
Save thierrypigot/c09f04a2f3d6fd68eacc4f73a1364c19 to your computer and use it in GitHub Desktop.
Exemple Sass
// fichier variables.scss
$primary-color: #333;
$font-stack: Helvetica, sans-serif;
// fichier base.scss
body {
font: 100% $font-stack;
color: $primary-color;
}
// main.scss
@import 'variables';
@import 'base';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment