Created
December 24, 2020 21:18
-
-
Save AnteaterKit/9249845371d6a0199340a1af84e969fe 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
@import '../../core/theme/theming.scss'; | |
@mixin checkbox-color($theme) { | |
$primary: map-get($theme, primary); | |
$accent: map-get($theme, accent); | |
$warn: map-get($theme, warn); | |
$foreground: map-get($theme, foreground); | |
$color: get-color($primary); | |
.checkbox-inner:hover { | |
border: 2px solid $color; | |
} | |
.checkbox-checked .checkbox-inner { | |
background-color: $color; | |
border: 2px solid $color; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment