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',
|
2024-10-03 06:33:36 +00:00
|
|
|
'immich-bg': '#f9f8fb',
|
2023-04-24 17:49:20 +00:00
|
|
|
'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',
|
2024-10-03 06:33:36 +00:00
|
|
|
'immich-dark-bg': '#070a14',
|
2023-04-24 17:49:20 +00:00
|
|
|
'immich-dark-fg': '#e5e7eb',
|
|
|
|
'immich-dark-gray': '#212121',
|
2022-12-22 16:31:31 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
plugins: [],
|
|
|
|
};
|