Compare commits

...
1 Commits
Author SHA1 Message Date
mulan xia da4fc821c8 change text color 2024-02-14 10:29:52 -05:00
2 changed files with 6 additions and 0 deletions
+5
View File
@@ -33,4 +33,9 @@ TagStory.argTypes = {
control: { type: 'select' },
defaultValue: undefined,
},
isHighlighted: {
options: [true, false],
control: { type: 'select' },
defaultValue: false,
},
};
+1
View File
@@ -76,5 +76,6 @@ export const Tag = styled.span<StyleProps>`
isHighlighted &&
css`
background-color: var(--color-accent);
color: var(--color-text-button);
`}
`;