Skip to content

Commit

Permalink
Use textMutedColor rather than barTextColor where this is contextuall…
Browse files Browse the repository at this point in the history
…y more appropriate
  • Loading branch information
ghengeveld committed Dec 11, 2024
1 parent a0b8f06 commit cb1ba8e
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion code/addons/test/src/components/ContextMenuItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export const ContextMenuItem: FC<{
padding="small"
disabled={state.crashed || isDisabled}
>
<Icon fill={theme.barTextColor} />
<Icon fill={theme.textMutedColor} />
</Button>
}
/>
Expand Down
2 changes: 1 addition & 1 deletion code/addons/test/src/components/Description.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const Wrapper = styled.div(({ theme }) => ({
whiteSpace: 'nowrap',
textOverflow: 'ellipsis',
fontSize: theme.typography.size.s1,
color: theme.barTextColor,
color: theme.textMutedColor,
}));

const PositiveText = styled.span(({ theme }) => ({
Expand Down
2 changes: 1 addition & 1 deletion code/core/src/components/components/Loader/Loader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const ProgressBar = styled.div(({ theme }) => ({
const ProgressMessage = styled.div(({ theme }) => ({
minHeight: '2em',
fontSize: `${theme.typography.size.s1}px`,
color: theme.barTextColor,
color: theme.textMutedColor,
}));

const ErrorIcon = styled(LightningOffIcon)(({ theme }) => ({
Expand Down
2 changes: 1 addition & 1 deletion code/core/src/components/components/tooltip/ListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const Title = styled(({ active, loading, disabled, ...rest }: TitleProps) => <sp
({ disabled, theme }) =>
disabled
? {
color: transparentize(0.7, theme.color.defaultText),
color: theme.textMutedColor,
}
: {}
);
Expand Down
2 changes: 1 addition & 1 deletion code/core/src/manager/components/sidebar/LegacyRender.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const TitleWrapper = styled.div<{ crashed?: boolean }>(({ crashed, theme }) => (

const DescriptionWrapper = styled.div(({ theme }) => ({
fontSize: theme.typography.size.s1,
color: theme.barTextColor,
color: theme.textMutedColor,
}));

const Progress = styled(ProgressSpinner)({
Expand Down
2 changes: 1 addition & 1 deletion code/core/src/manager/components/sidebar/SearchResults.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const NoResults = styled.div(({ theme }) => ({
lineHeight: `18px`,
color: theme.color.defaultText,
small: {
color: theme.barTextColor,
color: theme.textMutedColor,
fontSize: `${theme.typography.size.s1}px`,
},
}));
Expand Down

0 comments on commit cb1ba8e

Please sign in to comment.