Skip to content

Commit 26978fd

Browse files
Merge pull request #401 from storybookjs/update/colors
Update colors in the design system to match SB 7.0
2 parents 820478f + c1ebd15 commit 26978fd

4 files changed

Lines changed: 16 additions & 16 deletions

File tree

src/components/CodeSnippets.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const Background = styled.div`
1313
background-color: #f7f9fc;
1414
border: 1px solid ${color.border};
1515
border-radius: ${spacing.borderRadius.small}px;
16-
box-shadow: 0 2px 5px 0 ${color.border};
16+
box-shadow: 0 2px 5px 0 ${color.tr10};
1717
`;
1818

1919
const StyledHighlight = styled(Highlight)`

src/components/shared/animation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export const shake = keyframes`
5454

5555
export const inlineGlow = css`
5656
animation: ${glow} 1.5s ease-in-out infinite;
57-
background: ${color.mediumlight};
57+
background: ${color.tr5};
5858
color: transparent;
5959
cursor: progress;
6060
`;

src/components/shared/styles.ts

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ export const background = {
1414
export const color = {
1515
// Palette
1616
primary: '#FF4785', // Coral
17-
secondary: '#1EA7FD', // Ocean
18-
tertiary: '#DDDDDD', // Light grey
17+
secondary: '#029CFD', // Ocean
18+
tertiary: '#E3E6E8', // Light grey
1919

2020
orange: '#FC521F',
2121
gold: '#FFAE00',
@@ -26,23 +26,23 @@ export const color = {
2626
red: '#ff4400',
2727

2828
// Calm
29-
blueLighter: '#E3F3FF', // rgba($color.blue, 12%)
30-
blueLight: '#F3FAFF', // rgba($color.blue, 6%)
29+
bluelight: '#E3F3FF', // rgba($color.blue, 12%)
30+
bluelighter: '#F5FBFF',
3131

3232
// Monochrome
3333
lightest: '#FFFFFF',
34-
lighter: '#F8F8F8',
35-
light: '#F3F3F3',
36-
mediumlight: '#EEEEEE',
37-
medium: '#DDDDDD',
38-
mediumdark: '#999999',
39-
dark: '#666666',
40-
darker: '#444444',
41-
darkest: '#333333',
34+
lighter: '#F7FAFC',
35+
light: '#EEF3F6',
36+
mediumlight: '#ECF4F9',
37+
medium: '#D9E8F2',
38+
mediumdark: '#73828C',
39+
dark: '#5C6870',
40+
darker: '#454E54',
41+
darkest: '#2E3438',
4242
tr10: 'rgba(0, 0, 0, 0.1)',
4343
tr5: 'rgba(0, 0, 0, 0.05)',
4444

45-
border: 'rgba(0,0,0,.1)',
45+
border: 'hsla(203, 50%, 30%, 0.15)',
4646

4747
// Status
4848
positive: '#448028', // Evergreen

src/components/tag/TagItem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export const TagItem = styled(
2424
shouldForwardProp: (prop) => prop !== 'theme' && prop !== 'as',
2525
}
2626
)<TagItemProps>`
27-
background: ${color.blueLight};
27+
background: ${color.bluelighter};
2828
border-color: transparent;
2929
border-radius: ${spacing.borderRadius.small}px;
3030
border-style: solid;

0 commit comments

Comments
 (0)