Styling changes and refactor

Switch google fonts to use Next.js font optimization, animate comment fade in, and refactor beer like handler and comment submit handler.
This commit is contained in:
Aaron William Po
2023-04-04 20:50:00 -04:00
parent a4362a531c
commit 796a5fce3f
15 changed files with 148 additions and 77 deletions

View File

@@ -9,26 +9,29 @@ module.exports = {
theme: {
extend: {},
},
plugins: [require('daisyui')],
plugins: [
require('daisyui'),
require('tailwindcss-animate')
],
daisyui: {
logs: false,
themes: [
{
default: {
primary: 'hsl(227, 46%, 25%)',
secondary: 'hsl(47, 100%, 80%)',
primary: 'hsl(227, 23%, 20%)',
secondary: '#ABA9C3',
error: '#c17c74',
accent: '#fe3bd9',
neutral: '#131520',
info: '#0A7CFF',
success: '#8ACE2B',
warning: '#F9D002',
error: '#CF1259',
'primary-content': '#FAF9F6',
'error-content': '#FAF9F6',
'base-100': 'hsl(190, 4%, 11%)',
'base-200': 'hsl(190, 4%, 9%)',
'base-300': 'hsl(190, 4%, 8%)',
'base-100': 'hsl(190, 4%, 9%)',
'base-200': 'hsl(190, 4%, 8%)',
'base-300': 'hsl(190, 4%, 5%)',
},
},
],