mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-29 03:35:25 +08:00
a19ab3b519
- Fix broken CSS import. - Hide body scroll when editor is open. - Fix editor header design.
38 lines
853 B
JavaScript
38 lines
853 B
JavaScript
const defaultTheme = require('tailwindcss/defaultTheme')
|
|
|
|
module.exports = {
|
|
content: [
|
|
'./public/*.html',
|
|
'./app/helpers/**/*.rb',
|
|
'./app/javascript/**/*.js',
|
|
'./app/javascript/**/*.vue',
|
|
'./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'
|
|
}
|
|
}
|
|
},
|
|
blocklist: [
|
|
'collapse',
|
|
'container'
|
|
],
|
|
plugins: [
|
|
require('@tailwindcss/aspect-ratio'),
|
|
require('@tailwindcss/typography'),
|
|
require('@tailwindcss/container-queries')
|
|
]
|
|
}
|