Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Add 950 tone to colors #478

Merged
merged 2 commits into from
May 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/theme/foundations/colors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import tailwindColors from './tailwindColors';
export const colors = {
// Update me with other Tailwind colors or with https://smart-swatch.netlify.app/
brand: tailwindColors.blue,
gray: tailwindColors.blueGray,
gray: tailwindColors.slate,

success: tailwindColors.green,
green: tailwindColors.green,
Expand Down
32 changes: 27 additions & 5 deletions src/theme/foundations/tailwindColors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const tailwindColors = {
700: '#be123c',
800: '#9f1239',
900: '#881337',
950: '#4c0519',
},
pink: {
50: '#fdf2f8',
Expand All @@ -22,6 +23,7 @@ const tailwindColors = {
700: '#be185d',
800: '#9d174d',
900: '#831843',
950: '#500724',
},
fuchsia: {
50: '#fdf4ff',
Expand All @@ -34,6 +36,7 @@ const tailwindColors = {
700: '#a21caf',
800: '#86198f',
900: '#701a75',
950: '#4a044e',
},
purple: {
50: '#faf5ff',
Expand All @@ -46,6 +49,7 @@ const tailwindColors = {
700: '#7e22ce',
800: '#6b21a8',
900: '#581c87',
950: '#3b0764',
},
violet: {
50: '#f5f3ff',
Expand All @@ -58,6 +62,7 @@ const tailwindColors = {
700: '#6d28d9',
800: '#5b21b6',
900: '#4c1d95',
950: '#2e1065',
},
indigo: {
50: '#eef2ff',
Expand All @@ -70,6 +75,7 @@ const tailwindColors = {
700: '#4338ca',
800: '#3730a3',
900: '#312e81',
950: '#1e1b4b',
},
blue: {
50: '#eff6ff',
Expand All @@ -82,6 +88,7 @@ const tailwindColors = {
700: '#1d4ed8',
800: '#1e40af',
900: '#1e3a8a',
950: '#172554',
},
sky: {
50: '#f0f9ff',
Expand All @@ -94,6 +101,7 @@ const tailwindColors = {
700: '#0369a1',
800: '#075985',
900: '#0c4a6e',
950: '#082f49',
},
cyan: {
50: '#ecfeff',
Expand All @@ -106,6 +114,7 @@ const tailwindColors = {
700: '#0e7490',
800: '#155e75',
900: '#164e63',
950: '#083344',
},
teal: {
50: '#f0fdfa',
Expand All @@ -118,6 +127,7 @@ const tailwindColors = {
700: '#0f766e',
800: '#115e59',
900: '#134e4a',
950: '#042f2e',
},
emerald: {
50: '#ecfdf5',
Expand All @@ -130,6 +140,7 @@ const tailwindColors = {
700: '#047857',
800: '#065f46',
900: '#064e3b',
950: '#022c22',
},
green: {
50: '#f0fdf4',
Expand All @@ -142,6 +153,7 @@ const tailwindColors = {
700: '#15803d',
800: '#166534',
900: '#14532d',
950: '#052e16',
},
lime: {
50: '#f7fee7',
Expand All @@ -154,6 +166,7 @@ const tailwindColors = {
700: '#4d7c0f',
800: '#3f6212',
900: '#365314',
950: '#1a2e05',
},
yellow: {
50: '#fefce8',
Expand All @@ -166,6 +179,7 @@ const tailwindColors = {
700: '#a16207',
800: '#854d0e',
900: '#713f12',
950: '#422006',
},
amber: {
50: '#fffbeb',
Expand All @@ -178,6 +192,7 @@ const tailwindColors = {
700: '#b45309',
800: '#92400e',
900: '#78350f',
950: '#451a03',
},
orange: {
50: '#fff7ed',
Expand All @@ -190,6 +205,7 @@ const tailwindColors = {
700: '#c2410c',
800: '#9a3412',
900: '#7c2d12',
950: '#431407',
},
red: {
50: '#fef2f2',
Expand All @@ -202,8 +218,9 @@ const tailwindColors = {
700: '#b91c1c',
800: '#991b1b',
900: '#7f1d1d',
950: '#450a0a',
},
warmGray: {
stone: {
50: '#fafaf9',
100: '#f5f5f4',
200: '#e7e5e4',
Expand All @@ -214,8 +231,9 @@ const tailwindColors = {
700: '#44403c',
800: '#292524',
900: '#1c1917',
950: '#0c0a09',
},
trueGray: {
neutral: {
50: '#fafafa',
100: '#f5f5f5',
200: '#e5e5e5',
Expand All @@ -226,8 +244,9 @@ const tailwindColors = {
700: '#404040',
800: '#262626',
900: '#171717',
950: '#0a0a0a',
},
gray: {
zinc: {
50: '#fafafa',
100: '#f4f4f5',
200: '#e4e4e7',
Expand All @@ -238,8 +257,9 @@ const tailwindColors = {
700: '#3f3f46',
800: '#27272a',
900: '#18181b',
950: '#09090b',
},
coolGray: {
gray: {
50: '#f9fafb',
100: '#f3f4f6',
200: '#e5e7eb',
Expand All @@ -250,8 +270,9 @@ const tailwindColors = {
700: '#374151',
800: '#1f2937',
900: '#111827',
950: '#030712',
},
blueGray: {
slate: {
50: '#f8fafc',
100: '#f1f5f9',
200: '#e2e8f0',
Expand All @@ -262,6 +283,7 @@ const tailwindColors = {
700: '#334155',
800: '#1e293b',
900: '#0f172a',
950: '#020617',
},
};

Expand Down
1 change: 1 addition & 0 deletions src/theme/styleguide/colors.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ const Colors = ({ colorScheme = 'gray', ...rest }) => (
<Color bg={`${colorScheme}.700`}>700</Color>
<Color bg={`${colorScheme}.800`}>800</Color>
<Color bg={`${colorScheme}.900`}>900</Color>
<Color bg={`${colorScheme}.950`}>950</Color>
</HStack>
);

Expand Down
Loading