scinote-web/config/tailwind.config.js
Soufiane a19ab3b519
Fix OVE CSS issues [SCI-9114] (#6081)
- Fix broken CSS import.
- Hide body scroll when editor is open.
- Fix editor header design.
2023-08-25 14:22:37 +02:00

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')
]
}