1
0
mirror of https://github.com/immich-app/immich.git synced 2025-08-10 23:22:22 +02:00

chore: upgrade to tailwind v4 (#18353)

This commit is contained in:
Daniel Dietzler
2025-05-18 15:51:33 +02:00
committed by GitHub
parent c411c1472a
commit 56156b97e7
48 changed files with 930 additions and 733 deletions

View File

@@ -1,8 +1,5 @@
import { tailwindConfig } from '@immich/ui/theme/default.js';
import plugin from 'tailwindcss/plugin';
const { colors, borderColor } = tailwindConfig();
/** @type {import('tailwindcss').Config} */
export default {
content: [
@@ -10,7 +7,6 @@ export default {
'./node_modules/@immich/ui/dist/**/*.{svelte,js}',
'../../ui/src/**/*.{html,js,svelte,ts}',
],
darkMode: 'class',
theme: {
extend: {
colors: {
@@ -31,10 +27,7 @@ export default {
'immich-dark-error': 'rgb(var(--immich-dark-error) / <alpha-value>)',
'immich-dark-success': 'rgb(var(--immich-dark-success) / <alpha-value>)',
'immich-dark-warning': 'rgb(var(--immich-dark-warning) / <alpha-value>)',
...colors,
},
borderColor,
fontFamily: {
'immich-mono': ['Overpass Mono', 'monospace'],
},