mirror of
https://github.com/nostalgic-css/NES.css.git
synced 2025-08-31 01:39:50 +02:00
refactor: color variables (#132)
* refactor(buttons.scss): add color variables * refactor(inputs.scss): replace to color variables * refactor(checkboxes.scss): replace to color variables * refactor(containers.scss): replace to color variables * refactor(radios.scss): replace to color variables
This commit is contained in:
@@ -14,16 +14,16 @@
|
||||
margin: 4px;
|
||||
border: none;
|
||||
|
||||
@include border-style($base-color, #e7e7e7);
|
||||
@include border-style($base-color, map-get($default-colors, "hover"));
|
||||
|
||||
&.is-success {
|
||||
@include border-style(#92cc41, #76c442);
|
||||
@include border-style(map-get($success-colors, "normal"), map-get($success-colors, "hover"));
|
||||
}
|
||||
&.is-warning {
|
||||
@include border-style(#f7d51d, #f2c409);
|
||||
@include border-style(map-get($warning-colors, "normal"), map-get($warning-colors, "hover"));
|
||||
}
|
||||
&.is-error {
|
||||
@include border-style(#e76e55, #ce372b);
|
||||
@include border-style(map-get($error-colors, "normal"), map-get($error-colors, "hover"));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user