Last active
October 15, 2022 08:16
-
-
Save nwebpro/8d2c24738090a5337adc1333e99de08e to your computer and use it in GitHub Desktop.
Tailwind Config file setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yarn add -D @tailwindcss/forms |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** @type {import('tailwindcss').Config} */ | |
module.exports = { | |
content: [ | |
"./src/**/*.{js,jsx,ts,tsx}", | |
], | |
theme: { | |
colors: { | |
'themeOrange-10': '#FF9900', | |
'themeOrange-40': '#995c00', | |
'themeOrange-70': '#4C2E00', | |
'themeBlue-light': '#95A0A7', | |
'themeBlue-10': '#2a414f', | |
'themeBlue-40': '#1c2b35', | |
'themeBlue-70': '#0e161a', | |
'themeWhite': '#fff', | |
}, | |
extend: { | |
fontFamily: { | |
'lato': ['Lato', 'sans-serif'], | |
}, | |
}, | |
}, | |
plugins: [ | |
require('@tailwindcss/forms'), | |
], | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment