mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 23:51:16 +08:00
Update addons/a11y/src/components/VisionSimulator.tsx
Co-authored-by: Norbert de Langen <ndelangen@me.com>
This commit is contained in:
parent
84a67cf7d7
commit
cbf03373ad
@ -80,10 +80,10 @@ const Title = styled.span({
|
|||||||
textTransform: 'capitalize',
|
textTransform: 'capitalize',
|
||||||
});
|
});
|
||||||
|
|
||||||
const Description = styled.span({
|
const Description = styled.span(({ theme }) => ({
|
||||||
fontSize: '0.9em',
|
fontSize: 11,
|
||||||
color: 'gray',
|
color: theme.textMutedColor,
|
||||||
});
|
}));
|
||||||
|
|
||||||
const getColorList = (active: Filter, set: (i: Filter) => void): Link[] => [
|
const getColorList = (active: Filter, set: (i: Filter) => void): Link[] => [
|
||||||
...(active !== null
|
...(active !== null
|
||||||
|
Loading…
x
Reference in New Issue
Block a user