Skip to content

Commit

Permalink
Merge pull request #1667 from system-ui/text-decoration-color
Browse files Browse the repository at this point in the history
Add text-decoration-color to scales
  • Loading branch information
hasparus authored Apr 27, 2021
2 parents f46dd3e + fa10744 commit 6208db0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/css/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ export const scales = {
borderColor: 'colors',
caretColor: 'colors',
columnRuleColor: 'colors',
textDecorationColor: 'colors',
opacity: 'opacities',
transition: 'transitions',
margin: 'space',
Expand Down
4 changes: 3 additions & 1 deletion packages/css/test/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ test('handles all core styled system props', () => {
scrollMarginY: 6,
scrollPadding: 1,
scrollPaddingY: 2,
textDecorationColor: 'secondary',
fontSize: 3,
fontWeight: 'bold',
color: 'primary',
Expand All @@ -213,6 +214,7 @@ test('handles all core styled system props', () => {
scrollPadding: 4,
scrollPaddingTop: 8,
scrollPaddingBottom: 8,
textDecorationColor: 'cyan',
color: 'tomato',
backgroundColor: 'cyan',
opacity: '50%',
Expand Down Expand Up @@ -746,4 +748,4 @@ test('borderTopWidth accepts number', () => {
})).toEqual({
borderTopWidth: '20px',
})
})
})
1 change: 1 addition & 0 deletions packages/docs/src/pages/sx-prop.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ The following CSS properties will use values defined in the theme, when availabl
| `caretColor` | `colors` |
| `columnRuleColor` | `colors` |
| `outlineColor` | `colors` |
| `textDecorationColor` | `colors` |
| `opacity` | `opacities` |
| `transition` | `transitions` |
| `m`, `margin` | `space` |
Expand Down

1 comment on commit 6208db0

@vercel
Copy link

@vercel vercel bot commented on 6208db0 Apr 27, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.