Skip to content

Commit

Permalink
fix: resolved an issue with incorrect token mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
cschroeter committed Jun 29, 2023
1 parent 21789f5 commit 0269fa7
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
- Removed `outline-on-accent` variant for `Input` component as it was barely used.
- Removed `filled` styles from the `Input` component. The default variant from the Chakra UI theme will be used.

### Fixed

- Fixed an issue with the `FormLabel`, `Progress` and `Table`component not having the correct `color`.

## [0.5.0] - 2023-06-23

### Added
Expand Down
6 changes: 3 additions & 3 deletions src/components/form-label.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const baseStyle = {
color: 'emphasized',
color: 'fg.emphasized',
mb: '1.5',
fontSize: 'sm',
}
Expand Down Expand Up @@ -41,14 +41,14 @@ const variants = {
left: '0',
_peerPlaceholderShown: {
fontWeight: 'normal',
color: 'subtle',
color: 'fg.subtle',
},
_peerFocus: {
fontSize: 'sm',
fontWeight: 'medium',
top: '-27px',
left: '0',
color: 'muted',
color: 'fg.muted',
},
}),
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/progress.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const baseStyle = {
const variants = {
solid: {
track: {
bg: 'bg-muted',
bg: 'bg.muted',
},
},
'fg.accent.default': {
Expand Down
4 changes: 2 additions & 2 deletions src/components/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ const baseStyle = {
const variants = {
simple: (props: StyleFunctionProps) => ({
th: {
color: 'muted',
color: 'fg.muted',
bg: mode('gray.50', transparentize('gray.700', 0.4)(props.theme))(props),
},
}),
striped: (props: StyleFunctionProps) => ({
th: {
color: 'muted',
color: 'fg.muted',
borderBottomWidth: '0px',
},
thead: {
Expand Down

1 comment on commit 0269fa7

@vercel
Copy link

@vercel vercel bot commented on 0269fa7 Jun 29, 2023

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.