Skip to content

v1 colors palette in v2 #3162

Answered by adamwathan
shmshd asked this question in Help
Dec 21, 2020 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

The best way is to just paste the old color palette into your config file:

// tailwind.config.js
module.exports = {
  theme: {
    colors: {
      transparent: 'transparent',
      current: 'currentColor',

      black: '#000',
      white: '#fff',

      gray: {
        100: '#f7fafc',
        200: '#edf2f7',
        300: '#e2e8f0',
        400: '#cbd5e0',
        500: '#a0aec0',
        600: '#718096',
        700: '#4a5568',
        800: '#2d3748',
        900: '#1a202c',
      },
      red: {
        100: '#fff5f5',
        200: '#fed7d7',
        300: '#feb2b2',
        400: '#fc8181',
        500: '#f56565',
        600: '#e53e3e',
        700: '#c53030',
        800: '#9b2c2c',

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@shmshd
Comment options

Answer selected by shmshd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants