Skip to content

Commit 3190edf

Browse files
Register CSS @Property for gradient and backdrop
1 parent d62effd commit 3190edf

1 file changed

Lines changed: 82 additions & 0 deletions

File tree

src/lib/studio/shim.css

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,48 @@
2323
inherits: false;
2424
initial-value: solid;
2525
}
26+
@property --tw-gradient-position {
27+
syntax: '*';
28+
inherits: false;
29+
}
30+
@property --tw-gradient-from {
31+
syntax: '<color>';
32+
inherits: false;
33+
initial-value: #0000;
34+
}
35+
@property --tw-gradient-via {
36+
syntax: '<color>';
37+
inherits: false;
38+
initial-value: #0000;
39+
}
40+
@property --tw-gradient-to {
41+
syntax: '<color>';
42+
inherits: false;
43+
initial-value: #0000;
44+
}
45+
@property --tw-gradient-stops {
46+
syntax: '*';
47+
inherits: false;
48+
}
49+
@property --tw-gradient-via-stops {
50+
syntax: '*';
51+
inherits: false;
52+
}
53+
@property --tw-gradient-from-position {
54+
syntax: '<length-percentage>';
55+
inherits: false;
56+
initial-value: 0%;
57+
}
58+
@property --tw-gradient-via-position {
59+
syntax: '<length-percentage>';
60+
inherits: false;
61+
initial-value: 50%;
62+
}
63+
@property --tw-gradient-to-position {
64+
syntax: '<length-percentage>';
65+
inherits: false;
66+
initial-value: 100%;
67+
}
2668
@property --tw-leading {
2769
syntax: '*';
2870
inherits: false;
@@ -178,10 +220,50 @@
178220
syntax: '*';
179221
inherits: false;
180222
}
223+
@property --tw-backdrop-blur {
224+
syntax: '*';
225+
inherits: false;
226+
}
227+
@property --tw-backdrop-brightness {
228+
syntax: '*';
229+
inherits: false;
230+
}
231+
@property --tw-backdrop-contrast {
232+
syntax: '*';
233+
inherits: false;
234+
}
235+
@property --tw-backdrop-grayscale {
236+
syntax: '*';
237+
inherits: false;
238+
}
239+
@property --tw-backdrop-hue-rotate {
240+
syntax: '*';
241+
inherits: false;
242+
}
243+
@property --tw-backdrop-invert {
244+
syntax: '*';
245+
inherits: false;
246+
}
247+
@property --tw-backdrop-opacity {
248+
syntax: '*';
249+
inherits: false;
250+
}
251+
@property --tw-backdrop-saturate {
252+
syntax: '*';
253+
inherits: false;
254+
}
255+
@property --tw-backdrop-sepia {
256+
syntax: '*';
257+
inherits: false;
258+
}
181259
@property --tw-duration {
182260
syntax: '*';
183261
inherits: false;
184262
}
263+
@property --tw-ease {
264+
syntax: '*';
265+
inherits: false;
266+
}
185267
@property --tw-content {
186268
syntax: '*';
187269
inherits: false;

0 commit comments

Comments
 (0)