open-webui/tailwind.config.js

43 lines
859 B
JavaScript
Raw Normal View History

2024-12-05 18:42:37 +00:00
import typography from '@tailwindcss/typography';
2023-10-08 22:38:42 +00:00
/** @type {import('tailwindcss').Config} */
export default {
2023-11-05 23:01:55 +00:00
darkMode: 'class',
2023-10-08 22:38:42 +00:00
content: ['./src/**/*.{html,js,svelte,ts}'],
theme: {
extend: {
colors: {
gray: {
2024-02-08 01:15:01 +00:00
50: '#f9f9f9',
100: '#ececec',
200: '#e3e3e3',
300: '#cdcdcd',
400: '#b4b4b4',
500: '#9b9b9b',
600: '#676767',
700: '#4e4e4e',
2024-07-09 06:30:59 +00:00
800: 'var(--color-gray-800, #333)',
2024-07-09 02:55:00 +00:00
850: 'var(--color-gray-850, #262626)',
2024-03-27 17:50:30 +00:00
900: 'var(--color-gray-900, #171717)',
950: 'var(--color-gray-950, #0d0d0d)'
2023-10-08 22:38:42 +00:00
}
2023-10-25 00:49:54 +00:00
},
typography: {
DEFAULT: {
css: {
pre: false,
code: false,
'pre code': false,
'code::before': false,
'code::after': false
}
}
},
padding: {
'safe-bottom': 'env(safe-area-inset-bottom)'
2023-10-08 22:38:42 +00:00
}
}
},
2024-12-05 18:42:37 +00:00
plugins: [typography]
2023-10-08 22:38:42 +00:00
};