Commit f926f4fb by Moorthy G

refactor(tailwind.config): extend theme configuration instread of config overwrite

parent 8ed27a6f
import type { Config } from 'tailwindcss'; import type { Config } from 'tailwindcss';
import colors from 'tailwindcss/colors';
const config: Config = { const config: Config = {
content: [ content: [
...@@ -8,8 +7,8 @@ const config: Config = { ...@@ -8,8 +7,8 @@ const config: Config = {
'./app/**/*.{js,ts,jsx,tsx,mdx}' './app/**/*.{js,ts,jsx,tsx,mdx}'
], ],
theme: { theme: {
extend: {
colors: { colors: {
gray: colors.gray,
primary: { primary: {
DEFAULT: 'hsl(340, 76%, 47%)', DEFAULT: 'hsl(340, 76%, 47%)',
light: 'hsl(340, 76%, 57%)', light: 'hsl(340, 76%, 57%)',
...@@ -22,12 +21,6 @@ const config: Config = { ...@@ -22,12 +21,6 @@ const config: Config = {
}, },
light: '#f4f4f4', light: '#f4f4f4',
dark: '#222222' dark: '#222222'
},
extend: {
backgroundImage: {
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
'gradient-conic':
'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))'
} }
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment