1
0
mirror of https://github.com/nostalgic-css/NES.css.git synced 2025-08-31 09:41:47 +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:
ダーシノ
2018-12-09 22:19:57 +09:00
committed by Abdullah Samman
parent 629a2042d9
commit b29f88ae3f
6 changed files with 92 additions and 52 deletions

View File

@@ -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"));
}
}