Skip to content

Instantly share code, notes, and snippets.

@matthieutirelli-pro
Created June 16, 2021 08:07
Show Gist options
  • Save matthieutirelli-pro/74202dfabd5419e1de5250c54cab1f0e to your computer and use it in GitHub Desktop.
Save matthieutirelli-pro/74202dfabd5419e1de5250c54cab1f0e to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
/* Colors */
$primary: #07698D;
$primaryBackgroundOpacity: 0;
/* Opacities */
$activeOpacity: 1;
$disabledOpacity: 0.5;
/* Usage */
.buttonPrimaryDisabled {
background: rgba($primary, $primaryBackgroundOpacity);
opacity: $disabledOpacity;
}
.buttonPrimary {
background: rgba($primary, $primaryBackgroundOpacity);
opacity: $activeOpacity;
}
/* Colors */
/* Opacities */
/* Usage */
.buttonPrimaryDisabled {
background: rgba(7, 105, 141, 0);
opacity: 0.5;
}
.buttonPrimary {
background: rgba(7, 105, 141, 0);
opacity: 1;
}
{
"sass": {
"compiler": "dart-sass/1.32.12",
"extensions": {},
"syntax": "SCSS",
"outputStyle": "expanded"
},
"autoprefixer": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment