lollms-webui/web/tailwind.config.js

49 lines
1.6 KiB
JavaScript
Raw Normal View History

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