2023-05-17 15:44:15 +00:00
|
|
|
/** @type {import('tailwindcss').Config} */
|
2022-05-21 07:23:55 +00:00
|
|
|
module.exports = {
|
2023-09-20 11:16:33 +00:00
|
|
|
content: ['./src/**/*.{html,js,svelte,ts}', './node_modules/flowbite-svelte/**/*.{html,js,svelte,ts}'],
|
2023-07-01 04:50:47 +00:00
|
|
|
darkMode: 'class',
|
|
|
|
theme: {
|
|
|
|
extend: {
|
|
|
|
colors: {
|
|
|
|
// Light Theme
|
|
|
|
'immich-primary': '#4250af',
|
|
|
|
'immich-bg': 'white',
|
|
|
|
'immich-fg': 'black',
|
|
|
|
'immich-gray': '#F6F6F4',
|
2023-09-01 16:00:51 +00:00
|
|
|
'immich-error': '#e57373',
|
|
|
|
'immich-success': '#81c784',
|
|
|
|
'immich-warning': '#ffb74d',
|
2022-10-26 16:10:48 +00:00
|
|
|
|
2023-07-01 04:50:47 +00:00
|
|
|
// Dark Theme
|
|
|
|
'immich-dark-primary': '#adcbfa',
|
|
|
|
'immich-dark-bg': 'black',
|
|
|
|
'immich-dark-fg': '#e5e7eb',
|
|
|
|
'immich-dark-gray': '#212121',
|
2023-09-01 16:00:51 +00:00
|
|
|
'immich-dark-error': '#d32f2f',
|
|
|
|
'immich-dark-success': '#388e3c',
|
|
|
|
'immich-dark-warning': '#f57c00',
|
2023-09-20 11:16:33 +00:00
|
|
|
|
|
|
|
// flowbite-svelte
|
|
|
|
primary: {
|
|
|
|
50: '#FFF5F2',
|
|
|
|
100: '#FFF1EE',
|
|
|
|
200: '#FFE4DE',
|
|
|
|
300: '#FFD5CC',
|
|
|
|
400: '#FFBCAD',
|
|
|
|
500: '#FE795D',
|
|
|
|
600: '#EF562F',
|
|
|
|
700: '#EB4F27',
|
|
|
|
800: '#CC4522',
|
|
|
|
900: '#A5371B',
|
|
|
|
},
|
2023-07-01 04:50:47 +00:00
|
|
|
},
|
|
|
|
fontFamily: {
|
|
|
|
'immich-title': ['Snowburst One', 'cursive'],
|
|
|
|
},
|
|
|
|
spacing: {
|
|
|
|
18: '4.5rem',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2023-09-20 11:16:33 +00:00
|
|
|
plugins: [require('flowbite/plugin')],
|
2022-05-21 07:23:55 +00:00
|
|
|
};
|