Files
OpenLLM/external/clojure/tailwind.config.js
Aaron Pham 021fd453b9 infra: move out clojure to external (#593)
As we don't write this

Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
2023-11-09 12:24:18 -05:00

66 lines
1.4 KiB
JavaScript
Vendored

const defaultTheme = require('tailwindcss/defaultTheme')
module.exports = {
content: process.env.NODE_ENV == 'production' ? ['./public/js/main.js'] : ['./src/main/**/*.cljs' /*, "./www/js/cljs-runtime/*.js"*/],
theme: {
extend: {
fontFamily: {
sans: ['Inter var', ...defaultTheme.fontFamily.sans]
}
},
/* These basically behave like the h1, h2, h3, etc. tags in HTML */
fontSize: {
sm: [
'1.0rem',
{
lineHeight: '1.5rem',
letterSpacing: '0.00em',
fontWeight: '400'
}
],
xl: [
'1.25rem',
{
lineHeight: '1.75rem',
letterSpacing: '-0.01em',
fontWeight: '400'
}
],
'2xl': [
'1.5rem',
{
lineHeight: '2rem',
letterSpacing: '-0.01em',
fontWeight: '500'
}
],
'3xl': [
'1.875rem',
{
lineHeight: '2.25rem',
letterSpacing: '-0.02em',
fontWeight: '700'
}
],
'4xl': [
'2.0rem',
{
lineHeight: '2.5rem',
letterSpacing: '-0.02em',
fontWeight: '900'
}
],
'5xl': [
'3rem',
{
lineHeight: '3rem',
letterSpacing: '-0.02em',
fontWeight: '1200'
}
]
}
},
plugins: [require('@tailwindcss/forms')]
}