mirror of
https://github.com/primer/css.git
synced 2024-11-28 13:12:16 +03:00
Update docs re: border-gray-darker
This commit is contained in:
parent
444d18504b
commit
40db19bca7
@ -233,9 +233,3 @@ You can adjust border widths on all sides or each side individually with respons
|
||||
]}
|
||||
style={{borderSpacing: '0 4px'}}
|
||||
/>
|
||||
|
||||
**Note**: The `.border-gray-darker` class is falsely shown in the list above but is not supported. If you still like to use that utility class, you can do so by adding the following to your styles:
|
||||
|
||||
```scss
|
||||
.border-gray-darker { border-color: $border-gray-darker !important; }
|
||||
```
|
||||
|
@ -53,6 +53,7 @@ export {colors, gradientHues, palettes, getPaletteByName, variables}
|
||||
export const allColors = palettes.reduce((all, {values}) => all.concat(values), [])
|
||||
|
||||
export const borders = Object.keys(variables)
|
||||
// Re: border-gray-darker, see https://github.com/primer/css/pull/1192
|
||||
.filter(key => key.startsWith('border-') && !variables[key].includes('$') && key !== 'border-gray-darker')
|
||||
.sort()
|
||||
.map(key => ({
|
||||
|
Loading…
Reference in New Issue
Block a user