Skip to content

Instantly share code, notes, and snippets.

@nwebpro
Last active October 15, 2022 08:16
Show Gist options
  • Save nwebpro/8d2c24738090a5337adc1333e99de08e to your computer and use it in GitHub Desktop.
Save nwebpro/8d2c24738090a5337adc1333e99de08e to your computer and use it in GitHub Desktop.
Tailwind Config file setup
yarn add -D @tailwindcss/forms
/** @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