themeing, resume route

This commit is contained in:
2022-04-28 16:04:43 +02:00
parent 9d8fad95d3
commit 5e485fd88f
12 changed files with 649 additions and 20 deletions

View File

@ -1,5 +1,15 @@
// See the Tailwind configuration guide for advanced usage
// https://tailwindcss.com/docs/configuration
const theme_colors = {
transparent: 'transparent',
current: 'currentColor',
blueViolet: '#540D6E',
paradisePink: '#ee4266',
sunglow: '#ffd23f',
honeydew: '#f3fcf0',
pineTree: '#1f271b'
}
module.exports = {
content: [
'./js/**/*.js',
@ -7,9 +17,32 @@ module.exports = {
'../lib/*_web/**/*.*ex'
],
theme: {
extend: {},
colors: theme_colors,
extend: {
fontFamily: {
mono: ["Input", "monospace"],
sans: ["Inter", "sans-serif"]
}
},
},
daisyui: {
themes: [{
mytheme: {
"primary": theme_colors.blueViolet,
"secondary": theme_colors.paradisePink,
"accent": theme_colors.sunglow,
"neutral": theme_colors.pineTree,
"base-100": "#fff",
"info": "#79D3E7",
"success": "#20BC5E",
"warning": "#E79127",
"error": "#F6282B",
}
}]
},
plugins: [
require('@tailwindcss/forms')
require('@tailwindcss/typography'),
require('@tailwindcss/forms'),
require("daisyui"),
]
}