1
1
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:
Michelle Tilley 2020-11-09 11:53:35 -08:00
parent 444d18504b
commit 40db19bca7
No known key found for this signature in database
GPG Key ID: 810E3A96D4CF00F4
2 changed files with 1 additions and 6 deletions

View File

@ -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; }
```

View File

@ -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 => ({