mirror of
https://github.com/primer/css.git
synced 2024-12-13 16:15:44 +03:00
Replace $text-green with --color-text-success
This commit is contained in:
parent
8e073bb420
commit
d4dddd27f4
@ -22,6 +22,7 @@ In `v16` we're moving all colors to [primer/primitives](https://github.com/prime
|
||||
`$text-gray` | `var(--color-text-secondary)`
|
||||
`$text-gray-light` | `var(--color-text-tertiary)`
|
||||
`$text-blue` | `var(--color-text-link-primary)`
|
||||
`$text-green` | `var(--color-text-success)`
|
||||
**Border** |
|
||||
`$border-color` | `var(--color-border-primary)`
|
||||
`$border` | `$border-width $border-style var(--color-border-primary)`
|
||||
|
@ -83,7 +83,7 @@
|
||||
|
||||
&.is-error { color: $text-red; }
|
||||
|
||||
&.is-success { color: $text-green; }
|
||||
&.is-success { color: var(--color-text-success); }
|
||||
|
||||
+ .note {
|
||||
margin-top: 0;
|
||||
@ -134,7 +134,7 @@
|
||||
&.successful {
|
||||
.success {
|
||||
display: inline;
|
||||
color: $text-green;
|
||||
color: var(--color-text-success);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -42,7 +42,6 @@ $bg-yellow-dark: $yellow-700 !default;
|
||||
// Text colors
|
||||
$text-black: $black !default;
|
||||
$text-white: $white !default;
|
||||
$text-green: $green-600 !default;
|
||||
$text-orange: $orange-900 !default;
|
||||
$text-orange-light: $orange-600 !default;
|
||||
$text-purple: $purple !default;
|
||||
@ -60,3 +59,4 @@ $text-gray-dark: $gray-900 !default;
|
||||
$text-gray: $gray-600 !default;
|
||||
$text-gray-light: $gray-500 !default;
|
||||
$text-blue: $blue-500 !default;
|
||||
$text-green: $green-600 !default;
|
||||
|
Loading…
Reference in New Issue
Block a user