refactor colors
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
const colors = require('tailwindcss/colors')
|
const colors = require('tailwindcss/colors')
|
||||||
const appWidth = '1280px'
|
const appWidth = '1280px'
|
||||||
const sideBarWidth = '220px'
|
const sideBarWidth = '220px'
|
||||||
|
const primary = '#1E4BC4'
|
||||||
|
const secondary = colors.gray[500]
|
||||||
|
|
||||||
/** @type {import('tailwindcss').Config} */
|
/** @type {import('tailwindcss').Config} */
|
||||||
export default {
|
export default {
|
||||||
@@ -8,38 +10,38 @@ export default {
|
|||||||
theme: {
|
theme: {
|
||||||
extend: {
|
extend: {
|
||||||
colors: {
|
colors: {
|
||||||
primary: '#1e4bc4',
|
primary,
|
||||||
secondary: colors.gray[500],
|
secondary
|
||||||
},
|
},
|
||||||
maxWidth: {
|
maxWidth: {
|
||||||
app: appWidth,
|
app: appWidth,
|
||||||
sidebar: sideBarWidth,
|
sidebar: sideBarWidth
|
||||||
},
|
},
|
||||||
width: {
|
width: {
|
||||||
sidebar: sideBarWidth,
|
sidebar: sideBarWidth
|
||||||
},
|
},
|
||||||
margin: {
|
margin: {
|
||||||
sidebar: sideBarWidth,
|
sidebar: sideBarWidth
|
||||||
},
|
}
|
||||||
},
|
}
|
||||||
},
|
},
|
||||||
plugins: [require('daisyui')],
|
plugins: [require('daisyui')],
|
||||||
daisyui: {
|
daisyui: {
|
||||||
themes: [
|
themes: [
|
||||||
{
|
{
|
||||||
contexted: {
|
contexted: {
|
||||||
primary: '#1E4BC4',
|
primary,
|
||||||
secondary: '#F000B8',
|
secondary,
|
||||||
accent: '#37CDBE',
|
accent: '#37CDBE',
|
||||||
neutral: '#F7F7F7',
|
neutral: '#F7F7F7',
|
||||||
'base-100': '#FFFFFF',
|
'base-100': '#FFFFFF',
|
||||||
info: '#3ABFF8',
|
info: '#3ABFF8',
|
||||||
success: '#36D399',
|
success: '#36D399',
|
||||||
warning: '#FBBD23',
|
warning: '#FBBD23',
|
||||||
error: '#F87272',
|
error: '#F87272'
|
||||||
},
|
}
|
||||||
},
|
}
|
||||||
],
|
],
|
||||||
logs: false,
|
logs: false
|
||||||
},
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user