1
1
mirror of https://github.com/primer/css.git synced 2024-12-12 10:47:14 +03:00

Deprecate rest of bg colors

This commit is contained in:
simurai 2020-09-16 16:16:39 +09:00
parent 6f5cdde5f4
commit d30d136b1a
2 changed files with 14 additions and 9 deletions

View File

@ -47,6 +47,13 @@ In `v16` we're moving all colors to [primer/primitives](https://github.com/prime
`$bg-green` | `var(--color-bg-success-inverse)`
`$bg-blue-light` | `var(--color-bg-info)`
`$bg-blue` | `var(--color-bg-info-inverse)`
`$bg-orange` | n/a
`$bg-purple` | n/a
`$bg-purple-light` | n/a
`$bg-pink` | n/a
`$bg-yellow` | n/a
`$bg-yellow-light` | n/a
`$bg-yellow-dark` | n/a
**Box Shadow** |
`$box-shadow` | `var(--color-shadow-small)`
`$box-shadow-medium` | `var(--color-shadow-medium)`

View File

@ -18,15 +18,6 @@ $border-red: $red !default;
$border-red-light: $red-300 !default;
$border-yellow: $yellow-600 !default;
// Background colors
$bg-orange: $orange-700 !default;
$bg-purple: $purple-500 !default;
$bg-purple-light: $purple-000 !default;
$bg-pink: $pink-500 !default;
$bg-yellow: $yellow-500 !default;
$bg-yellow-light: $yellow-200 !default;
$bg-yellow-dark: $yellow-700 !default;
//
// ------------------------ Deprecated ------------------------
// ------------- Replaced with primer/primitives --------------
@ -45,6 +36,13 @@ $bg-green: $green-500 !default;
$bg-green-light: $green-100 !default;
$bg-blue: $blue-500 !default;
$bg-blue-light: $blue-000 !default;
$bg-orange: $orange-700 !default;
$bg-purple: $purple-500 !default;
$bg-purple-light: $purple-000 !default;
$bg-pink: $pink-500 !default;
$bg-yellow: $yellow-500 !default;
$bg-yellow-light: $yellow-200 !default;
$bg-yellow-dark: $yellow-700 !default;
// Text colors
$text-black: $black !default;