Skip to content

Commit

Permalink
Extend default color palette with new 950 shades (#10879)
Browse files Browse the repository at this point in the history
* Add 950 colors

* Update changelog
  • Loading branch information
reinink committed Mar 27, 2023
1 parent 55aa403 commit fb796cd
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Add `list-style-image` utilities ([#10817](https://github.com/tailwindlabs/tailwindcss/pull/10817))
- Use `:is` to make important selector option insensitive to DOM order ([#10835](https://github.com/tailwindlabs/tailwindcss/pull/10835))
- Add `whitespace-break-spaces` utility ([#10729](https://github.com/tailwindlabs/tailwindcss/pull/10729))
- Extend default color palette with new 950 shades ([#10879](https://github.com/tailwindlabs/tailwindcss/pull/10879))

### Fixed

Expand Down
22 changes: 22 additions & 0 deletions src/public/colors.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export default {
700: '#334155',
800: '#1e293b',
900: '#0f172a',
950: '#020617',
},
gray: {
50: '#f9fafb',
Expand All @@ -36,6 +37,7 @@ export default {
700: '#374151',
800: '#1f2937',
900: '#111827',
950: '#030712',
},
zinc: {
50: '#fafafa',
Expand All @@ -48,6 +50,7 @@ export default {
700: '#3f3f46',
800: '#27272a',
900: '#18181b',
950: '#09090b',
},
neutral: {
50: '#fafafa',
Expand All @@ -60,6 +63,7 @@ export default {
700: '#404040',
800: '#262626',
900: '#171717',
950: '#0a0a0a',
},
stone: {
50: '#fafaf9',
Expand All @@ -72,6 +76,7 @@ export default {
700: '#44403c',
800: '#292524',
900: '#1c1917',
950: '#0c0a09',
},
red: {
50: '#fef2f2',
Expand All @@ -84,6 +89,7 @@ export default {
700: '#b91c1c',
800: '#991b1b',
900: '#7f1d1d',
950: '#450a0a',
},
orange: {
50: '#fff7ed',
Expand All @@ -96,6 +102,7 @@ export default {
700: '#c2410c',
800: '#9a3412',
900: '#7c2d12',
950: '#431407',
},
amber: {
50: '#fffbeb',
Expand All @@ -108,6 +115,7 @@ export default {
700: '#b45309',
800: '#92400e',
900: '#78350f',
950: '#451a03',
},
yellow: {
50: '#fefce8',
Expand All @@ -120,6 +128,7 @@ export default {
700: '#a16207',
800: '#854d0e',
900: '#713f12',
950: '#422006',
},
lime: {
50: '#f7fee7',
Expand All @@ -132,6 +141,7 @@ export default {
700: '#4d7c0f',
800: '#3f6212',
900: '#365314',
950: '#1a2e05',
},
green: {
50: '#f0fdf4',
Expand All @@ -144,6 +154,7 @@ export default {
700: '#15803d',
800: '#166534',
900: '#14532d',
950: '#052e16',
},
emerald: {
50: '#ecfdf5',
Expand All @@ -156,6 +167,7 @@ export default {
700: '#047857',
800: '#065f46',
900: '#064e3b',
950: '#022c22',
},
teal: {
50: '#f0fdfa',
Expand All @@ -168,6 +180,7 @@ export default {
700: '#0f766e',
800: '#115e59',
900: '#134e4a',
950: '#042f2e',
},
cyan: {
50: '#ecfeff',
Expand All @@ -180,6 +193,7 @@ export default {
700: '#0e7490',
800: '#155e75',
900: '#164e63',
950: '#083344',
},
sky: {
50: '#f0f9ff',
Expand All @@ -192,6 +206,7 @@ export default {
700: '#0369a1',
800: '#075985',
900: '#0c4a6e',
950: '#082f49',
},
blue: {
50: '#eff6ff',
Expand All @@ -204,6 +219,7 @@ export default {
700: '#1d4ed8',
800: '#1e40af',
900: '#1e3a8a',
950: '#172554',
},
indigo: {
50: '#eef2ff',
Expand All @@ -216,6 +232,7 @@ export default {
700: '#4338ca',
800: '#3730a3',
900: '#312e81',
950: '#1e1b4b',
},
violet: {
50: '#f5f3ff',
Expand All @@ -228,6 +245,7 @@ export default {
700: '#6d28d9',
800: '#5b21b6',
900: '#4c1d95',
950: '#2e1065',
},
purple: {
50: '#faf5ff',
Expand All @@ -240,6 +258,7 @@ export default {
700: '#7e22ce',
800: '#6b21a8',
900: '#581c87',
950: '#3b0764',
},
fuchsia: {
50: '#fdf4ff',
Expand All @@ -252,6 +271,7 @@ export default {
700: '#a21caf',
800: '#86198f',
900: '#701a75',
950: '#4a044e',
},
pink: {
50: '#fdf2f8',
Expand All @@ -264,6 +284,7 @@ export default {
700: '#be185d',
800: '#9d174d',
900: '#831843',
950: '#500724',
},
rose: {
50: '#fff1f2',
Expand All @@ -276,6 +297,7 @@ export default {
700: '#be123c',
800: '#9f1239',
900: '#881337',
950: '#4c0519',
},
get lightBlue() {
warn({ version: 'v2.2', from: 'lightBlue', to: 'sky' })
Expand Down

0 comments on commit fb796cd

Please sign in to comment.