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