scinote-web/config/tailwind.config.js

39 lines
853 B
JavaScript
Raw Normal View History

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