tailwind-rs-core 0.15.4

Core types and utilities for tailwind-rs
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
use crate::css_generator::types::CssProperty;
use super::{UtilityParser, ParserCategory};

/// Parser for effects utilities
#[derive(Debug, Clone)]
pub struct EffectsUtilitiesParser;

impl Default for EffectsUtilitiesParser {
    fn default() -> Self {
        Self::new()
    }
}

impl EffectsUtilitiesParser {
    /// Create a new EffectsUtilitiesParser
    pub fn new() -> Self {
        Self
    }

    /// Parse box-shadow classes
    fn parse_box_shadow_class(&self, class: &str) -> Option<Vec<CssProperty>> {
        match class {
            "shadow-2xs" => Some(vec![CssProperty { name: "box-shadow".to_string(), value: "var(--shadow-2xs)".to_string(), important: false }]),
            "shadow-xs" => Some(vec![CssProperty { name: "box-shadow".to_string(), value: "var(--shadow-xs)".to_string(), important: false }]),
            "shadow-sm" => Some(vec![CssProperty { name: "box-shadow".to_string(), value: "var(--shadow-sm)".to_string(), important: false }]),
            "shadow" => Some(vec![CssProperty { name: "box-shadow".to_string(), value: "var(--shadow-md)".to_string(), important: false }]),
            "shadow-md" => Some(vec![CssProperty { name: "box-shadow".to_string(), value: "var(--shadow-md)".to_string(), important: false }]),
            "shadow-lg" => Some(vec![CssProperty { name: "box-shadow".to_string(), value: "var(--shadow-lg)".to_string(), important: false }]),
            "shadow-xl" => Some(vec![CssProperty { name: "box-shadow".to_string(), value: "var(--shadow-xl)".to_string(), important: false }]),
            "shadow-2xl" => Some(vec![CssProperty { name: "box-shadow".to_string(), value: "var(--shadow-2xl)".to_string(), important: false }]),
            "shadow-none" => Some(vec![CssProperty { name: "box-shadow".to_string(), value: "0 0 #0000".to_string(), important: false }]),
            _ => {
                // Custom properties for box shadow
                if let Some(value) = class.strip_prefix("shadow-(") {
                    if let Some(value) = value.strip_suffix(")") {
                        return Some(vec![CssProperty {
                            name: "box-shadow".to_string(),
                            value: format!("var({})", value),
                            important: false,
                        }]);
                    }
                }
                
                // Arbitrary values for box shadow
                if let Some(value) = class.strip_prefix("shadow-[") {
                    if let Some(value) = value.strip_suffix("]") {
                        return Some(vec![CssProperty {
                            name: "box-shadow".to_string(),
                            value: value.to_string(),
                            important: false,
                        }]);
                    }
                }
                
                // Shadow with opacity modifier (e.g., shadow-xl/20)
                if class.contains("/") {
                    let parts: Vec<&str> = class.split("/").collect();
                    if parts.len() == 2 {
                        let base_shadow = parts[0];
                        let opacity = parts[1];
                        if let Some(shadow_value) = self.get_shadow_value(base_shadow) {
                            return Some(vec![CssProperty {
                                name: "box-shadow".to_string(),
                                value: format!("{}/{}", shadow_value, opacity),
                                important: false,
                            }]);
                        }
                    }
                }
                
                // Shadow with color (e.g., shadow-indigo-500)
                if let Some(color_value) = self.get_color_value(class) {
                    return Some(vec![CssProperty {
                        name: "box-shadow".to_string(),
                        value: color_value,
                        important: false,
                    }]);
                }
                
                // Inset shadows
                if class.starts_with("inset-shadow-") {
                    if let Some(shadow_type) = class.strip_prefix("inset-shadow-") {
                        if let Some(shadow_value) = self.get_inset_shadow_value(shadow_type) {
                            return Some(vec![CssProperty {
                                name: "box-shadow".to_string(),
                                value: shadow_value,
                                important: false,
                            }]);
                        }
                    }
                }
                
                None
            }
        }
    }

    /// Parse text-shadow classes
    fn parse_text_shadow_class(&self, class: &str) -> Option<Vec<CssProperty>> {
        match class {
            "text-shadow-2xs" => Some(vec![CssProperty { name: "text-shadow".to_string(), value: "var(--text-shadow-2xs)".to_string(), important: false }]),
            "text-shadow-xs" => Some(vec![CssProperty { name: "text-shadow".to_string(), value: "var(--text-shadow-xs)".to_string(), important: false }]),
            "text-shadow-sm" => Some(vec![CssProperty { name: "text-shadow".to_string(), value: "var(--text-shadow-sm)".to_string(), important: false }]),
            "text-shadow-md" => Some(vec![CssProperty { name: "text-shadow".to_string(), value: "var(--text-shadow-md)".to_string(), important: false }]),
            "text-shadow-lg" => Some(vec![CssProperty { name: "text-shadow".to_string(), value: "var(--text-shadow-lg)".to_string(), important: false }]),
            "text-shadow-none" => Some(vec![CssProperty { name: "text-shadow".to_string(), value: "none".to_string(), important: false }]),
            _ => {
                // Custom properties for text shadow
                if let Some(value) = class.strip_prefix("text-shadow-(") {
                    if let Some(value) = value.strip_suffix(")") {
                        return Some(vec![CssProperty {
                            name: "text-shadow".to_string(),
                            value: format!("var({})", value),
                            important: false,
                        }]);
                    }
                }
                
                // Arbitrary values for text shadow
                if let Some(value) = class.strip_prefix("text-shadow-[") {
                    if let Some(value) = value.strip_suffix("]") {
                        return Some(vec![CssProperty {
                            name: "text-shadow".to_string(),
                            value: value.to_string(),
                            important: false,
                        }]);
                    }
                }
                
                // Text shadow with opacity modifier (e.g., text-shadow-lg/20)
                if class.contains("/") {
                    let parts: Vec<&str> = class.split("/").collect();
                    if parts.len() == 2 {
                        let base_shadow = parts[0];
                        let opacity = parts[1];
                        if let Some(shadow_value) = self.get_text_shadow_value(base_shadow) {
                            return Some(vec![CssProperty {
                                name: "text-shadow".to_string(),
                                value: format!("{}/{}", shadow_value, opacity),
                                important: false,
                            }]);
                        }
                    }
                }
                
                // Text shadow with color (e.g., text-shadow-indigo-500)
                if let Some(color_value) = self.get_color_value(class) {
                    return Some(vec![CssProperty {
                        name: "text-shadow".to_string(),
                        value: color_value,
                        important: false,
                    }]);
                }
                
                None
            }
        }
    }

    /// Parse opacity classes
    fn parse_opacity_class(&self, class: &str) -> Option<Vec<CssProperty>> {
        if let Some(number) = class.strip_prefix("opacity-") {
            if number.parse::<u32>().is_ok() {
                return Some(vec![CssProperty {
                    name: "opacity".to_string(),
                    value: format!("{}%", number),
                    important: false,
                }]);
            }
        }
        
        // Custom properties for opacity
        if let Some(value) = class.strip_prefix("opacity-(") {
            if let Some(value) = value.strip_suffix(")") {
                return Some(vec![CssProperty {
                    name: "opacity".to_string(),
                    value: format!("var({})", value),
                    important: false,
                }]);
            }
        }
        
        // Arbitrary values for opacity
        if let Some(value) = class.strip_prefix("opacity-[") {
            if let Some(value) = value.strip_suffix("]") {
                return Some(vec![CssProperty {
                    name: "opacity".to_string(),
                    value: value.to_string(),
                    important: false,
                }]);
            }
        }
        
        None
    }

    /// Parse mix-blend-mode classes
    fn parse_mix_blend_mode_class(&self, class: &str) -> Option<Vec<CssProperty>> {
        match class {
            "mix-blend-normal" => Some(vec![CssProperty { name: "mix-blend-mode".to_string(), value: "normal".to_string(), important: false }]),
            "mix-blend-multiply" => Some(vec![CssProperty { name: "mix-blend-mode".to_string(), value: "multiply".to_string(), important: false }]),
            "mix-blend-screen" => Some(vec![CssProperty { name: "mix-blend-mode".to_string(), value: "screen".to_string(), important: false }]),
            "mix-blend-overlay" => Some(vec![CssProperty { name: "mix-blend-mode".to_string(), value: "overlay".to_string(), important: false }]),
            "mix-blend-darken" => Some(vec![CssProperty { name: "mix-blend-mode".to_string(), value: "darken".to_string(), important: false }]),
            "mix-blend-lighten" => Some(vec![CssProperty { name: "mix-blend-mode".to_string(), value: "lighten".to_string(), important: false }]),
            "mix-blend-color-dodge" => Some(vec![CssProperty { name: "mix-blend-mode".to_string(), value: "color-dodge".to_string(), important: false }]),
            "mix-blend-color-burn" => Some(vec![CssProperty { name: "mix-blend-mode".to_string(), value: "color-burn".to_string(), important: false }]),
            "mix-blend-hard-light" => Some(vec![CssProperty { name: "mix-blend-mode".to_string(), value: "hard-light".to_string(), important: false }]),
            "mix-blend-soft-light" => Some(vec![CssProperty { name: "mix-blend-mode".to_string(), value: "soft-light".to_string(), important: false }]),
            "mix-blend-difference" => Some(vec![CssProperty { name: "mix-blend-mode".to_string(), value: "difference".to_string(), important: false }]),
            "mix-blend-exclusion" => Some(vec![CssProperty { name: "mix-blend-mode".to_string(), value: "exclusion".to_string(), important: false }]),
            "mix-blend-hue" => Some(vec![CssProperty { name: "mix-blend-mode".to_string(), value: "hue".to_string(), important: false }]),
            "mix-blend-saturation" => Some(vec![CssProperty { name: "mix-blend-mode".to_string(), value: "saturation".to_string(), important: false }]),
            "mix-blend-color" => Some(vec![CssProperty { name: "mix-blend-mode".to_string(), value: "color".to_string(), important: false }]),
            "mix-blend-luminosity" => Some(vec![CssProperty { name: "mix-blend-mode".to_string(), value: "luminosity".to_string(), important: false }]),
            _ => None,
        }
    }

    /// Parse background-blend-mode classes
    fn parse_background_blend_mode_class(&self, class: &str) -> Option<Vec<CssProperty>> {
        match class {
            "bg-blend-normal" => Some(vec![CssProperty { name: "background-blend-mode".to_string(), value: "normal".to_string(), important: false }]),
            "bg-blend-multiply" => Some(vec![CssProperty { name: "background-blend-mode".to_string(), value: "multiply".to_string(), important: false }]),
            "bg-blend-screen" => Some(vec![CssProperty { name: "background-blend-mode".to_string(), value: "screen".to_string(), important: false }]),
            "bg-blend-overlay" => Some(vec![CssProperty { name: "background-blend-mode".to_string(), value: "overlay".to_string(), important: false }]),
            "bg-blend-darken" => Some(vec![CssProperty { name: "background-blend-mode".to_string(), value: "darken".to_string(), important: false }]),
            "bg-blend-lighten" => Some(vec![CssProperty { name: "background-blend-mode".to_string(), value: "lighten".to_string(), important: false }]),
            "bg-blend-color-dodge" => Some(vec![CssProperty { name: "background-blend-mode".to_string(), value: "color-dodge".to_string(), important: false }]),
            "bg-blend-color-burn" => Some(vec![CssProperty { name: "background-blend-mode".to_string(), value: "color-burn".to_string(), important: false }]),
            "bg-blend-hard-light" => Some(vec![CssProperty { name: "background-blend-mode".to_string(), value: "hard-light".to_string(), important: false }]),
            "bg-blend-soft-light" => Some(vec![CssProperty { name: "background-blend-mode".to_string(), value: "soft-light".to_string(), important: false }]),
            "bg-blend-difference" => Some(vec![CssProperty { name: "background-blend-mode".to_string(), value: "difference".to_string(), important: false }]),
            "bg-blend-exclusion" => Some(vec![CssProperty { name: "background-blend-mode".to_string(), value: "exclusion".to_string(), important: false }]),
            "bg-blend-hue" => Some(vec![CssProperty { name: "background-blend-mode".to_string(), value: "hue".to_string(), important: false }]),
            "bg-blend-saturation" => Some(vec![CssProperty { name: "background-blend-mode".to_string(), value: "saturation".to_string(), important: false }]),
            "bg-blend-color" => Some(vec![CssProperty { name: "background-blend-mode".to_string(), value: "color".to_string(), important: false }]),
            "bg-blend-luminosity" => Some(vec![CssProperty { name: "background-blend-mode".to_string(), value: "luminosity".to_string(), important: false }]),
            _ => None,
        }
    }

    /// Parse mask-clip classes
    fn parse_mask_clip_class(&self, class: &str) -> Option<Vec<CssProperty>> {
        match class {
            "mask-clip-border" => Some(vec![CssProperty { name: "mask-clip".to_string(), value: "border-box".to_string(), important: false }]),
            "mask-clip-padding" => Some(vec![CssProperty { name: "mask-clip".to_string(), value: "padding-box".to_string(), important: false }]),
            "mask-clip-content" => Some(vec![CssProperty { name: "mask-clip".to_string(), value: "content-box".to_string(), important: false }]),
            "mask-clip-fill" => Some(vec![CssProperty { name: "mask-clip".to_string(), value: "fill-box".to_string(), important: false }]),
            "mask-clip-stroke" => Some(vec![CssProperty { name: "mask-clip".to_string(), value: "stroke-box".to_string(), important: false }]),
            "mask-clip-view" => Some(vec![CssProperty { name: "mask-clip".to_string(), value: "view-box".to_string(), important: false }]),
            "mask-no-clip" => Some(vec![CssProperty { name: "mask-clip".to_string(), value: "no-clip".to_string(), important: false }]),
            _ => None,
        }
    }

    /// Parse mask-composite classes
    fn parse_mask_composite_class(&self, class: &str) -> Option<Vec<CssProperty>> {
        match class {
            "mask-add" => Some(vec![CssProperty { name: "mask-composite".to_string(), value: "add".to_string(), important: false }]),
            "mask-subtract" => Some(vec![CssProperty { name: "mask-composite".to_string(), value: "subtract".to_string(), important: false }]),
            "mask-intersect" => Some(vec![CssProperty { name: "mask-composite".to_string(), value: "intersect".to_string(), important: false }]),
            "mask-exclude" => Some(vec![CssProperty { name: "mask-composite".to_string(), value: "exclude".to_string(), important: false }]),
            _ => None,
        }
    }

    /// Get shadow value for box shadows
    fn get_shadow_value(&self, shadow_type: &str) -> Option<String> {
        match shadow_type {
            "2xs" => Some("var(--shadow-2xs)".to_string()),
            "xs" => Some("var(--shadow-xs)".to_string()),
            "sm" => Some("var(--shadow-sm)".to_string()),
            "md" => Some("var(--shadow-md)".to_string()),
            "lg" => Some("var(--shadow-lg)".to_string()),
            "xl" => Some("var(--shadow-xl)".to_string()),
            "2xl" => Some("var(--shadow-2xl)".to_string()),
            _ => None,
        }
    }

    /// Get inset shadow value
    fn get_inset_shadow_value(&self, shadow_type: &str) -> Option<String> {
        match shadow_type {
            "2xs" => Some("var(--inset-shadow-2xs)".to_string()),
            "xs" => Some("var(--inset-shadow-xs)".to_string()),
            "sm" => Some("var(--inset-shadow-sm)".to_string()),
            "md" => Some("var(--inset-shadow-md)".to_string()),
            "lg" => Some("var(--inset-shadow-lg)".to_string()),
            "xl" => Some("var(--inset-shadow-xl)".to_string()),
            "2xl" => Some("var(--inset-shadow-2xl)".to_string()),
            "none" => Some("none".to_string()),
            _ => None,
        }
    }

    /// Get text shadow value
    fn get_text_shadow_value(&self, shadow_type: &str) -> Option<String> {
        match shadow_type {
            "2xs" => Some("var(--text-shadow-2xs)".to_string()),
            "xs" => Some("var(--text-shadow-xs)".to_string()),
            "sm" => Some("var(--text-shadow-sm)".to_string()),
            "md" => Some("var(--text-shadow-md)".to_string()),
            "lg" => Some("var(--text-shadow-lg)".to_string()),
            _ => None,
        }
    }

    /// Get color value for shadows
    fn get_color_value(&self, class: &str) -> Option<String> {
        // This is a simplified color mapping - in a real implementation,
        // you'd want a comprehensive color system
        match class {
            "shadow-red-50" => Some("var(--color-red-50)".to_string()),
            "shadow-red-100" => Some("var(--color-red-100)".to_string()),
            "shadow-red-200" => Some("var(--color-red-200)".to_string()),
            "shadow-red-300" => Some("var(--color-red-300)".to_string()),
            "shadow-red-400" => Some("var(--color-red-400)".to_string()),
            "shadow-red-500" => Some("var(--color-red-500)".to_string()),
            "shadow-red-600" => Some("var(--color-red-600)".to_string()),
            "shadow-red-700" => Some("var(--color-red-700)".to_string()),
            "shadow-red-800" => Some("var(--color-red-800)".to_string()),
            "shadow-red-900" => Some("var(--color-red-950)".to_string()),
            "shadow-blue-50" => Some("var(--color-blue-50)".to_string()),
            "shadow-blue-100" => Some("var(--color-blue-100)".to_string()),
            "shadow-blue-200" => Some("var(--color-blue-200)".to_string()),
            "shadow-blue-300" => Some("var(--color-blue-300)".to_string()),
            "shadow-blue-400" => Some("var(--color-blue-400)".to_string()),
            "shadow-blue-500" => Some("var(--color-blue-500)".to_string()),
            "shadow-blue-600" => Some("var(--color-blue-600)".to_string()),
            "shadow-blue-700" => Some("var(--color-blue-700)".to_string()),
            "shadow-blue-800" => Some("var(--color-blue-800)".to_string()),
            "shadow-blue-900" => Some("var(--color-blue-900)".to_string()),
            "shadow-blue-950" => Some("var(--color-blue-950)".to_string()),
            "shadow-green-50" => Some("var(--color-green-50)".to_string()),
            "shadow-green-100" => Some("var(--color-green-100)".to_string()),
            "shadow-green-200" => Some("var(--color-green-200)".to_string()),
            "shadow-green-300" => Some("var(--color-green-300)".to_string()),
            "shadow-green-400" => Some("var(--color-green-400)".to_string()),
            "shadow-green-500" => Some("var(--color-green-500)".to_string()),
            "shadow-green-600" => Some("var(--color-green-600)".to_string()),
            "shadow-green-700" => Some("var(--color-green-700)".to_string()),
            "shadow-green-800" => Some("var(--color-green-800)".to_string()),
            "shadow-green-900" => Some("var(--color-green-900)".to_string()),
            "shadow-green-950" => Some("var(--color-green-950)".to_string()),
            "text-shadow-red-50" => Some("var(--color-red-50)".to_string()),
            "text-shadow-red-100" => Some("var(--color-red-100)".to_string()),
            "text-shadow-red-200" => Some("var(--color-red-200)".to_string()),
            "text-shadow-red-300" => Some("var(--color-red-300)".to_string()),
            "text-shadow-red-400" => Some("var(--color-red-400)".to_string()),
            "text-shadow-red-500" => Some("var(--color-red-500)".to_string()),
            "text-shadow-red-600" => Some("var(--color-red-600)".to_string()),
            "text-shadow-red-700" => Some("var(--color-red-700)".to_string()),
            "text-shadow-red-800" => Some("var(--color-red-800)".to_string()),
            "text-shadow-red-900" => Some("var(--color-red-900)".to_string()),
            "text-shadow-red-950" => Some("var(--color-red-950)".to_string()),
            "text-shadow-blue-50" => Some("var(--color-blue-50)".to_string()),
            "text-shadow-blue-100" => Some("var(--color-blue-100)".to_string()),
            "text-shadow-blue-200" => Some("var(--color-blue-200)".to_string()),
            "text-shadow-blue-300" => Some("var(--color-blue-300)".to_string()),
            "text-shadow-blue-400" => Some("var(--color-blue-400)".to_string()),
            "text-shadow-blue-500" => Some("var(--color-blue-500)".to_string()),
            "text-shadow-blue-600" => Some("var(--color-blue-600)".to_string()),
            "text-shadow-blue-700" => Some("var(--color-blue-700)".to_string()),
            "text-shadow-blue-800" => Some("var(--color-blue-800)".to_string()),
            "text-shadow-blue-900" => Some("var(--color-blue-900)".to_string()),
            "text-shadow-blue-950" => Some("var(--color-blue-950)".to_string()),
            "text-shadow-green-50" => Some("var(--color-green-50)".to_string()),
            "text-shadow-green-100" => Some("var(--color-green-100)".to_string()),
            "text-shadow-green-200" => Some("var(--color-green-200)".to_string()),
            "text-shadow-green-300" => Some("var(--color-green-300)".to_string()),
            "text-shadow-green-400" => Some("var(--color-green-400)".to_string()),
            "text-shadow-green-500" => Some("var(--color-green-500)".to_string()),
            "text-shadow-green-600" => Some("var(--color-green-600)".to_string()),
            "text-shadow-green-700" => Some("var(--color-green-700)".to_string()),
            "text-shadow-green-800" => Some("var(--color-green-800)".to_string()),
            "text-shadow-green-900" => Some("var(--color-green-900)".to_string()),
            "text-shadow-green-950" => Some("var(--color-green-950)".to_string()),
            _ => None,
        }
    }
}

impl UtilityParser for EffectsUtilitiesParser {
    fn parse_class(&self, class: &str) -> Option<Vec<CssProperty>> {
        // Try each parser in order of specificity
        
        // Mask composite (most specific)
        if let Some(properties) = self.parse_mask_composite_class(class) {
            return Some(properties);
        }
        
        // Mask clip
        if let Some(properties) = self.parse_mask_clip_class(class) {
            return Some(properties);
        }
        
        // Background blend mode
        if let Some(properties) = self.parse_background_blend_mode_class(class) {
            return Some(properties);
        }
        
        // Mix blend mode
        if let Some(properties) = self.parse_mix_blend_mode_class(class) {
            return Some(properties);
        }
        
        // Opacity
        if let Some(properties) = self.parse_opacity_class(class) {
            return Some(properties);
        }
        
        // Text shadow
        if let Some(properties) = self.parse_text_shadow_class(class) {
            return Some(properties);
        }
        
        // Box shadow (least specific)
        if let Some(properties) = self.parse_box_shadow_class(class) {
            return Some(properties);
        }
        
        None
    }

    fn get_supported_patterns(&self) -> Vec<&'static str> {
        vec![
            "shadow-*", "text-shadow-*", "opacity-*", "mix-blend-*", "bg-blend-*",
            "mask-clip-*", "mask-*", "inset-shadow-*", "ring-*", "inset-ring-*"
        ]
    }

    fn get_priority(&self) -> u32 { 90 }
    fn get_category(&self) -> ParserCategory { ParserCategory::Effects }
}