|
2 | 2 | // For more information: https://material.angular.io/guide/theming |
3 | 3 | @use "@angular/material" as mat; |
4 | 4 |
|
5 | | -html { |
6 | | - background: var(--mat-sys-surface); |
7 | | - color: var(--mat-sys-on-surface); |
8 | | - |
9 | | - @include mat.theme( |
10 | | - ( |
11 | | - color: ( |
12 | | - theme-type: light, |
13 | | - primary: mat.$azure-palette, |
14 | | - tertiary: mat.$blue-palette, |
15 | | - ), |
16 | | - typography: Roboto, |
17 | | - density: 0, |
18 | | - ), |
19 | | - $overrides: ( |
20 | | - // Custom background and foreground colors |
21 | | - surface: var(--color-slate-50), |
22 | | - on-surface: var(--color-slate-900) |
23 | | - ) |
24 | | - ); |
25 | | -} |
26 | | - |
27 | | -@import "tailwindcss"; |
| 5 | +@import "./tailwind.css"; // This is importing our local Tailwind CSS file |
28 | 6 |
|
29 | 7 | @layer base { |
30 | | - /* |
31 | | - The default border color has changed to `currentColor` in Tailwind CSS v4, |
32 | | - so we've added these compatibility styles to make sure everything still |
33 | | - looks the same as it did with Tailwind CSS v3. |
34 | | -
|
35 | | - If we ever want to remove these styles, we need to add an explicit border |
36 | | - color utility to any element that depends on these defaults. |
37 | | - */ |
38 | | - *, |
39 | | - ::after, |
40 | | - ::before, |
41 | | - ::backdrop, |
42 | | - ::file-selector-button { |
43 | | - border-color: var(--color-gray-200, currentColor); |
| 8 | + html { |
| 9 | + background: var(--mat-sys-surface); |
| 10 | + color: var(--mat-sys-on-surface); |
| 11 | + |
| 12 | + @include mat.theme( |
| 13 | + ( |
| 14 | + color: ( |
| 15 | + theme-type: light, |
| 16 | + primary: mat.$azure-palette, |
| 17 | + tertiary: mat.$blue-palette, |
| 18 | + ), |
| 19 | + typography: Roboto, |
| 20 | + density: 0, |
| 21 | + ), |
| 22 | + $overrides: ( |
| 23 | + // Custom background and foreground colors |
| 24 | + surface: var(--color-slate-50), |
| 25 | + on-surface: var(--color-slate-900) |
| 26 | + ) |
| 27 | + ); |
44 | 28 | } |
45 | 29 |
|
46 | 30 | // Uncomment this out to help debug |
|
0 commit comments