Created
December 19, 2022 20:37
-
-
Save uxmoon/6c5e837ace42db10efbbb0c3406190c5 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
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
$accents: ( | |
primary: --color-big-sky-500, | |
spotlight: --color-aruba-500, | |
warning: --color-yellow-500, | |
danger: --color-cardinal-500, | |
info: --color-scarlet-500 | |
); | |
.card-accent { | |
@each $name, $color in $accents { | |
&-#{$name}-top { | |
--vds-card-border-color: var(#{$color}); | |
border-top-width: var(--vds-card-border-top-width); | |
} | |
&-#{$name}-start { | |
--vds-card-border-color: var(#{$color}); | |
border-left-width: var(--vds-card-border-top-width); | |
} | |
} | |
} |
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
.card-accent-primary-top { | |
--vds-card-border-color: var(--color-big-sky-500); | |
border-top-width: var(--vds-card-border-top-width); | |
} | |
.card-accent-primary-start { | |
--vds-card-border-color: var(--color-big-sky-500); | |
border-left-width: var(--vds-card-border-top-width); | |
} | |
.card-accent-spotlight-top { | |
--vds-card-border-color: var(--color-aruba-500); | |
border-top-width: var(--vds-card-border-top-width); | |
} | |
.card-accent-spotlight-start { | |
--vds-card-border-color: var(--color-aruba-500); | |
border-left-width: var(--vds-card-border-top-width); | |
} | |
.card-accent-warning-top { | |
--vds-card-border-color: var(--color-yellow-500); | |
border-top-width: var(--vds-card-border-top-width); | |
} | |
.card-accent-warning-start { | |
--vds-card-border-color: var(--color-yellow-500); | |
border-left-width: var(--vds-card-border-top-width); | |
} | |
.card-accent-danger-top { | |
--vds-card-border-color: var(--color-cardinal-500); | |
border-top-width: var(--vds-card-border-top-width); | |
} | |
.card-accent-danger-start { | |
--vds-card-border-color: var(--color-cardinal-500); | |
border-left-width: var(--vds-card-border-top-width); | |
} | |
.card-accent-info-top { | |
--vds-card-border-color: var(--color-scarlet-500); | |
border-top-width: var(--vds-card-border-top-width); | |
} | |
.card-accent-info-start { | |
--vds-card-border-color: var(--color-scarlet-500); | |
border-left-width: var(--vds-card-border-top-width); | |
} |
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
{ | |
"sass": { | |
"compiler": "dart-sass/1.32.12", | |
"extensions": {}, | |
"syntax": "SCSS", | |
"outputStyle": "expanded" | |
}, | |
"autoprefixer": true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment