mirror of
https://github.com/primer/css.git
synced 2024-12-27 08:05:06 +03:00
Add note about new docs
This commit is contained in:
parent
2e18b3c811
commit
2dec566c0b
@ -1,7 +1,7 @@
|
||||
---
|
||||
title: Color system
|
||||
description: 'Sass variables, mixins, and functions for use in our components.'
|
||||
status: Stable
|
||||
status: Deprecated
|
||||
source: 'https://github.com/primer/css/blob/master/src/support/variables/color-system.scss'
|
||||
bundle: support
|
||||
---
|
||||
@ -12,6 +12,12 @@ import {Link as LinkIcon} from '@primer/octicons-react'
|
||||
import {palettes, variables} from '../../src/color-variables'
|
||||
import {PaletteTable, PaletteCell, overlayColor} from '../../src/color-system'
|
||||
|
||||
> ⚠️ Hubbers only! These color variables are deprecated and will be replaced at some point. On "dotcom" please use the [new functional variables](https://primer-css-git-mkt-color-modes-docs.primer.now.sh/css/support/color-system).
|
||||
|
||||
> Also take a look at the [migration guide](https://primer-css-git-mkt-color-modes-docs.primer.now.sh/css/support/v16-migration) when replacing existing colors.
|
||||
|
||||
---
|
||||
|
||||
## Color palette
|
||||
|
||||
<Flex flexWrap="wrap" mr={-2}>
|
||||
|
@ -7,6 +7,12 @@ bundle: alerts
|
||||
|
||||
import {Variables, DeprecationIcon} from '../../src/variables'
|
||||
|
||||
> ⚠️ Hubbers only! These color variables are deprecated and will be replaced at some point. On "dotcom" please use the [new functional variables](https://primer-css-git-mkt-color-modes-docs.primer.now.sh/css/support/color-system).
|
||||
|
||||
> Also take a look at the [migration guide](https://primer-css-git-mkt-color-modes-docs.primer.now.sh/css/support/v16-migration) when replacing existing colors.
|
||||
|
||||
---
|
||||
|
||||
<Variables>
|
||||
|
||||
The tables below list all of the global SCSS variables defined in [the `support/variables` directory](https://github.com/primer/css/tree/master/src/support/variables).
|
||||
|
@ -1,7 +1,7 @@
|
||||
---
|
||||
title: Colors
|
||||
description: 'Immutable, atomic CSS classes to rapidly build product'
|
||||
status: Stable
|
||||
status: Deprecated
|
||||
status_issue: 'https://github.com/github/design-systems/issues/97'
|
||||
---
|
||||
|
||||
@ -9,6 +9,12 @@ import {Box, BorderBox} from '@primer/components'
|
||||
import {palettes, allColors} from '../../src/color-variables'
|
||||
import {PaletteTable, PaletteTableFragment, PaletteHeading, PaletteCell, PaletteValue} from '../../src/color-system'
|
||||
|
||||
> ⚠️ Hubbers only! These color utilities are deprecated and will be replaced at some point. On "dotcom" please use the [new functional utilities](https://primer-css-git-mkt-color-modes-docs.primer.now.sh/css/utilities/colors).
|
||||
|
||||
> Also take a look at the [migration guide](https://primer-css-git-mkt-color-modes-docs.primer.now.sh/css/support/v16-migration) when replacing existing colors.
|
||||
|
||||
---
|
||||
|
||||
Use color utilities to apply color to the background of elements, text, and borders.
|
||||
|
||||
## Background colors
|
||||
|
Loading…
Reference in New Issue
Block a user