Skip to content

Commit

Permalink
fix(StyledLabel/TabPanel): Update various labels and TabPanel content…
Browse files Browse the repository at this point in the history
… to be neutral700
  • Loading branch information
silvalaura committed Oct 3, 2023
1 parent 6f1817c commit dd1abd0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/fix-labelsColors.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'react-magma-dom': patch
---

fix(StyledLabel/TabPanel): Update various labels and TabPanel content to be neutral700 (instead of neutral500)
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ export interface StyledLabelProps {
const StyledLabelComponent = styled.label<StyledLabelProps>`
align-items: flex-start;
color: ${props =>
props.isInverse ? props.theme.colors.neutral100 : 'inherit'};
props.isInverse
? props.theme.colors.neutral100
: props.theme.colors.neutral700};
display: flex;
font-size: ${props => props.theme.typeScale.size03.fontSize};
font-family: ${props => props.theme.bodyFont};
Expand Down
2 changes: 1 addition & 1 deletion packages/react-magma-dom/src/components/Tabs/TabPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const StyledTabPanel = styled.div<{
color: ${props =>
props.isInverse
? props.theme.colors.neutral100
: props.theme.colors.neutral};
: props.theme.colors.neutral700};
font-family: ${props => props.theme.bodyFont};
flex: 1;
height: 100%;
Expand Down

0 comments on commit dd1abd0

Please sign in to comment.