File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change 1
1
/* https://tailwindcss.com/docs/preflight#disabling-preflight */
2
2
/* @import 'tailwindcss'; */
3
3
4
- /* Not working as expected */
5
4
@layer theme, base, components, utilities;
6
5
@import 'tailwindcss/theme.css' layer(theme);
7
- /* @import 'tailwindcss/utilities.css' layer(utilities); */
8
- button {
6
+ /* @import 'tailwindcss/preflight.css' layer(base); */
7
+ @import 'tailwindcss/utilities.css' layer(utilities);
8
+
9
+ /* Because of disabled preflight */
10
+ /* button {
9
11
all: unset;
10
12
display: inline-flex;
11
13
align-items: center;
12
- }
13
- @tailwind utilities;
14
+ } */
14
15
15
- @custom-variant dark (& : is ([data-theme = "dark" ] * ));
16
+ /* Not needed anymore in Tailwind v4? */
17
+ /* @custom-variant dark (&:is([data-theme="dark"] *)); */
16
18
17
- /* @layer base { */
18
- /* @theme { */
19
19
/* You can override the default Infima variables here. */
20
20
: root {
21
21
--ifm-color-primary : # 296bb3 ;
61
61
p {
62
62
margin-bottom : 15px ;
63
63
}
64
- /* } */
You can’t perform that action at this time.
0 commit comments