Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit 72cffa2

Browse files
Bump Tailwind CSS
1 parent 7c62611 commit 72cffa2

File tree

8 files changed

+86
-231
lines changed

8 files changed

+86
-231
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,4 @@ testem.log
4141
.DS_Store
4242
Thumbs.db
4343
.claude/
44+
tailwind-output.css

angular.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
}
3535
],
3636
"styles": [
37+
"src/tailwind-output.css",
3738
"src/styles.scss"
3839
]
3940
},
@@ -98,6 +99,7 @@
9899
}
99100
],
100101
"styles": [
102+
"src/tailwind-output.css",
101103
"src/styles.scss"
102104
]
103105
}

bun.lock

Lines changed: 3 additions & 99 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"version": "1.0.0",
44
"scripts": {
55
"ng": "ng",
6-
"start": "ng serve",
7-
"build": "ng build",
6+
"start": "tailwindcss --watch --input src/tailwind.css --output src/tailwind-output.css & ng serve",
7+
"build": "tailwindcss --input src/tailwind.css --output src/tailwind-output.css --minify && ng build",
88
"watch": "ng build --watch --configuration development",
99
"test": "ng test"
1010
},
@@ -28,15 +28,13 @@
2828
"@angular/cli": "20.0.2",
2929
"@angular/compiler-cli": "20.0.3",
3030
"@types/jasmine": "5.1.8",
31-
"autoprefixer": "^10.4.21",
3231
"jasmine-core": "5.8.0",
3332
"karma": "6.4.4",
3433
"karma-chrome-launcher": "3.2.0",
3534
"karma-coverage": "2.2.1",
3635
"karma-jasmine": "5.1.0",
3736
"karma-jasmine-html-reporter": "2.1.0",
38-
"postcss": "^8.5.5",
39-
"tailwindcss": "^3.4.17",
37+
"tailwindcss": "^4.1.10",
4038
"typescript": "5.8.3"
4139
}
4240
}

postcss.config.js

Lines changed: 0 additions & 6 deletions
This file was deleted.

src/styles.scss

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
/* You can add global styles to this file, and also import other style files */
22

3-
// Import Tailwind CSS
4-
@tailwind base;
5-
@tailwind components;
6-
@tailwind utilities;
3+
// Tailwind CSS will be compiled separately and imported via angular.json
74

85
// Import Google Fonts
96
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

src/tailwind.css

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
@import "tailwindcss";
2+
3+
@theme {
4+
--color-md-sys-color-primary: var(--md-sys-color-primary);
5+
--color-md-sys-color-on-primary: var(--md-sys-color-on-primary);
6+
--color-md-sys-color-primary-container: var(--md-sys-color-primary-container);
7+
--color-md-sys-color-on-primary-container: var(--md-sys-color-on-primary-container);
8+
9+
--color-md-sys-color-secondary: var(--md-sys-color-secondary);
10+
--color-md-sys-color-on-secondary: var(--md-sys-color-on-secondary);
11+
--color-md-sys-color-secondary-container: var(--md-sys-color-secondary-container);
12+
--color-md-sys-color-on-secondary-container: var(--md-sys-color-on-secondary-container);
13+
14+
--color-md-sys-color-tertiary: var(--md-sys-color-tertiary);
15+
--color-md-sys-color-on-tertiary: var(--md-sys-color-on-tertiary);
16+
--color-md-sys-color-tertiary-container: var(--md-sys-color-tertiary-container);
17+
--color-md-sys-color-on-tertiary-container: var(--md-sys-color-on-tertiary-container);
18+
19+
--color-md-sys-color-error: var(--md-sys-color-error);
20+
--color-md-sys-color-on-error: var(--md-sys-color-on-error);
21+
--color-md-sys-color-error-container: var(--md-sys-color-error-container);
22+
--color-md-sys-color-on-error-container: var(--md-sys-color-on-error-container);
23+
24+
--color-md-sys-color-surface: var(--md-sys-color-surface);
25+
--color-md-sys-color-on-surface: var(--md-sys-color-on-surface);
26+
--color-md-sys-color-surface-variant: var(--md-sys-color-surface-variant);
27+
--color-md-sys-color-on-surface-variant: var(--md-sys-color-on-surface-variant);
28+
--color-md-sys-color-surface-container-highest: var(--md-sys-color-surface-container-highest);
29+
--color-md-sys-color-surface-container-high: var(--md-sys-color-surface-container-high);
30+
--color-md-sys-color-surface-container: var(--md-sys-color-surface-container);
31+
--color-md-sys-color-surface-container-low: var(--md-sys-color-surface-container-low);
32+
--color-md-sys-color-surface-container-lowest: var(--md-sys-color-surface-container-lowest);
33+
--color-md-sys-color-surface-dim: var(--md-sys-color-surface-dim);
34+
--color-md-sys-color-surface-bright: var(--md-sys-color-surface-bright);
35+
36+
--color-md-sys-color-outline: var(--md-sys-color-outline);
37+
--color-md-sys-color-outline-variant: var(--md-sys-color-outline-variant);
38+
39+
--color-md-sys-color-shadow: var(--md-sys-color-shadow);
40+
--color-md-sys-color-scrim: var(--md-sys-color-scrim);
41+
--color-md-sys-color-inverse-surface: var(--md-sys-color-inverse-surface);
42+
--color-md-sys-color-inverse-on-surface: var(--md-sys-color-inverse-on-surface);
43+
--color-md-sys-color-inverse-primary: var(--md-sys-color-inverse-primary);
44+
45+
--radius-none: 0px;
46+
--radius-xs: 4px;
47+
--radius-sm: 8px;
48+
--radius-md: 12px;
49+
--radius-lg: 16px;
50+
--radius-xl: 20px;
51+
--radius-2xl: 24px;
52+
--radius-3xl: 28px;
53+
--radius-full: 9999px;
54+
55+
--spacing-0: 0px;
56+
--spacing-1: 4px;
57+
--spacing-2: 8px;
58+
--spacing-3: 12px;
59+
--spacing-4: 16px;
60+
--spacing-5: 20px;
61+
--spacing-6: 24px;
62+
--spacing-7: 28px;
63+
--spacing-8: 32px;
64+
--spacing-10: 40px;
65+
--spacing-12: 48px;
66+
--spacing-16: 64px;
67+
--spacing-20: 80px;
68+
--spacing-24: 96px;
69+
--spacing-32: 128px;
70+
71+
--shadow-elevation-1: 0px 1px 2px 0px rgba(0, 0, 0, 0.3), 0px 1px 3px 1px rgba(0, 0, 0, 0.15);
72+
--shadow-elevation-2: 0px 1px 2px 0px rgba(0, 0, 0, 0.3), 0px 2px 6px 2px rgba(0, 0, 0, 0.15);
73+
--shadow-elevation-3: 0px 1px 3px 0px rgba(0, 0, 0, 0.3), 0px 4px 8px 3px rgba(0, 0, 0, 0.15);
74+
--shadow-elevation-4: 0px 2px 3px 0px rgba(0, 0, 0, 0.3), 0px 6px 10px 4px rgba(0, 0, 0, 0.15);
75+
--shadow-elevation-5: 0px 4px 4px 0px rgba(0, 0, 0, 0.3), 0px 8px 12px 6px rgba(0, 0, 0, 0.15);
76+
}

tailwind.config.js

Lines changed: 0 additions & 117 deletions
This file was deleted.

0 commit comments

Comments
 (0)