mirror of
https://github.com/nostalgic-css/NES.css.git
synced 2025-08-31 17:51:46 +02:00
feat(text colors): adds text colors classes like is-primary etc.
fix #226
This commit is contained in:
17
scss/elements/text.scss
Normal file
17
scss/elements/text.scss
Normal file
@@ -0,0 +1,17 @@
|
||||
.nes-text {
|
||||
&.is-primary {
|
||||
color: map-get($primary-colors, "normal");
|
||||
}
|
||||
|
||||
&.is-success {
|
||||
color: map-get($success-colors, "normal");
|
||||
}
|
||||
|
||||
&.is-warning {
|
||||
color: map-get($warning-colors, "normal");
|
||||
}
|
||||
|
||||
&.is-error {
|
||||
color: map_get($error-colors, "normal");
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user