2023-04-04 17:25:58 +08:00
|
|
|
const defaultTheme = require('tailwindcss/defaultTheme')
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
content: [
|
|
|
|
'./public/*.html',
|
|
|
|
'./app/helpers/**/*.rb',
|
|
|
|
'./app/javascript/**/*.js',
|
2023-04-19 20:16:22 +08:00
|
|
|
'./app/javascript/**/*.vue',
|
2023-07-12 18:24:12 +08:00
|
|
|
'./app/assets/javascripts/**/*.js',
|
2023-04-04 17:25:58 +08:00
|
|
|
'./app/views/**/*.{erb,haml,html,slim}'
|
|
|
|
],
|
2023-06-06 15:23:49 +08:00
|
|
|
corePlugins: {
|
|
|
|
preflight: false
|
|
|
|
},
|
2023-04-04 17:25:58 +08:00
|
|
|
theme: {
|
|
|
|
extend: {
|
|
|
|
fontFamily: {
|
|
|
|
sans: ['Inter var', ...defaultTheme.fontFamily.sans],
|
|
|
|
},
|
2023-04-26 17:20:10 +08:00
|
|
|
colors: {
|
|
|
|
transparent: 'transparent',
|
2023-08-09 20:37:57 +08:00
|
|
|
current: 'currentColor',
|
2023-08-17 21:39:32 +08:00
|
|
|
'brand-warning': '#f0ad4e',
|
2023-08-25 20:22:37 +08:00
|
|
|
'sn-blue': '#104DA9',
|
|
|
|
'sn-grey': '#98a2b3'
|
2023-04-26 17:20:10 +08:00
|
|
|
}
|
|
|
|
}
|
2023-04-04 17:25:58 +08:00
|
|
|
},
|
2023-04-21 21:25:52 +08:00
|
|
|
blocklist: [
|
|
|
|
'collapse',
|
|
|
|
'container'
|
|
|
|
],
|
2023-04-04 17:25:58 +08:00
|
|
|
plugins: [
|
|
|
|
require('@tailwindcss/aspect-ratio'),
|
|
|
|
require('@tailwindcss/typography'),
|
|
|
|
require('@tailwindcss/container-queries')
|
|
|
|
]
|
|
|
|
}
|