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