lollms-webui/web/tailwind.config.js

46 lines
1.4 KiB
JavaScript
Raw Normal View History

2023-05-02 20:53:27 +00:00
/** @type {import('tailwindcss').Config} */
module.exports = {
2023-05-25 09:44:13 +00:00
content: [
'./index.html',
'./src/**/*.{vue,js,ts,jsx,tsx}',
'node_modules/flowbite-vue/**/*.{js,jsx,ts,tsx}'
],
2023-08-23 02:21:58 +00:00
2023-05-25 09:44:13 +00:00
darkMode: 'class',
2023-05-02 20:53:27 +00:00
theme: {
extend: {
2023-05-25 09:44:13 +00:00
colors: {
2024-03-01 23:41:38 +00:00
'primary': 'var(--color-primary)',
'primary-light': 'var(--color-primary-light)',
'secondary': 'var(--color-secondary)',
'accent': 'var(--color-accent)',
'bg-dark': 'var(--color-bg-dark)',
'bg-dark-tone': 'var(--color-bg-dark-tone)',
'bg-dark-tone-panel': 'var(--color-bg-dark-tone-panel)',
'bg-dark-code-block': 'var(--color-bg-dark-code-block)',
'bg-light': 'var(--color-bg-light)',
'bg-light-tone': 'var(--color-bg-light-tone)',
'bg-light-code-block': 'var(--color-bg-light-code-block)',
'bg-light-tone-panel': 'var(--color-bg-light-tone-panel)',
'bg-dark-discussion': 'var(--color-bg-dark-discussion)',
'bg-dark-discussion-odd': 'var(--color-bg-dark-discussion-odd)',
'bg-light-discussion': 'var(--color-bg-light-discussion)',
'bg-light-discussion-odd': 'var(--color-bg-light-discussion-odd)'
2024-03-01 03:10:02 +00:00
},
2023-05-02 20:53:27 +00:00
fontFamily: {
2023-05-25 09:44:13 +00:00
sans: ['PTSans', 'Roboto', 'sans-serif']
2023-05-02 20:53:27 +00:00
},
container: {
2023-05-25 09:44:13 +00:00
padding: '2rem',
center: true
}
}
2023-05-02 20:53:27 +00:00
},
2023-08-23 02:21:58 +00:00
plugins: [require('flowbite/plugin'), require('tailwind-scrollbar')],
variants: {
h1: {
fontWeight: 'bold'
}
}
2023-05-02 20:53:27 +00:00
}