1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00

Tailwind 3 & Footer alignment (#419)

* ui: footer alignment
* chore: upgrade tailwind to v3
* fix: tailwind 3 class renames
* ui(fix): alias green to emerald for tailwind 3
This commit is contained in:
Steven Tang
2022-10-09 10:53:52 +11:00
committed by GitHub
parent bc99dc990a
commit fbae5f8757
18 changed files with 225 additions and 639 deletions

View File

@@ -1,17 +1,24 @@
const colors = require('tailwindcss/colors')
module.exports = {
purge: {
enabled: true,
mode: 'all',
content: ['./views/*.tpl.html'],
safelist: [
'newsbox-default',
'newsbox-warning',
'newsbox-danger',
'leaderboard-self',
'leaderboard-default',
'leaderboard-gold',
'leaderboard-silver',
'leaderboard-bronze',
]
theme: {
extend: {
colors: {
green: colors.emerald,
}
}
},
}
content: [
'./views/*.tpl.html',
],
safelist: [
'newsbox-default',
'newsbox-warning',
'newsbox-danger',
'leaderboard-self',
'leaderboard-default',
'leaderboard-gold',
'leaderboard-silver',
'leaderboard-bronze',
]
}