2022-12-22 18:31:31 +02:00
|
|
|
// tailwind.config.js
|
|
|
|
/** @type {import('tailwindcss').Config} */
|
|
|
|
module.exports = {
|
|
|
|
corePlugins: {
|
|
|
|
preflight: false, // disable Tailwind's reset
|
|
|
|
},
|
2023-04-24 19:49:20 +02:00
|
|
|
content: ['./src/**/*.{js,jsx,ts,tsx}', '../docs/**/*.mdx'], // my markdown stuff is in ../docs, not /src
|
|
|
|
darkMode: ['class', '[data-theme="dark"]'], // hooks into docusaurus' dark mode settigns
|
2022-12-22 18:31:31 +02:00
|
|
|
theme: {
|
|
|
|
extend: {
|
|
|
|
colors: {
|
|
|
|
// Light Theme
|
2023-04-24 19:49:20 +02:00
|
|
|
'immich-primary': '#4250af',
|
|
|
|
'immich-bg': 'white',
|
|
|
|
'immich-fg': 'black',
|
|
|
|
'immich-gray': '#F6F6F4',
|
2022-12-22 18:31:31 +02:00
|
|
|
|
|
|
|
// Dark Theme
|
2023-04-24 19:49:20 +02:00
|
|
|
'immich-dark-primary': '#adcbfa',
|
|
|
|
'immich-dark-bg': 'black',
|
|
|
|
'immich-dark-fg': '#e5e7eb',
|
|
|
|
'immich-dark-gray': '#212121',
|
2022-12-22 18:31:31 +02:00
|
|
|
},
|
|
|
|
fontFamily: {
|
2023-04-24 19:49:20 +02:00
|
|
|
'immich-title': ['Snowburst One', 'cursive'],
|
2022-12-22 18:31:31 +02:00
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
plugins: [],
|
|
|
|
};
|