tailwind_css_fixes/systems/css_global/mode/mod.rs
1use super::*;
2
3#[derive(Debug, Clone, Ord, PartialOrd, Eq, PartialEq, Hash)]
4pub enum CssInlineMode {
5 /// ```html
6 /// <img class="tailwind"/>
7 /// ```
8 None,
9 /// ```html
10 /// <img style="key:value"/>
11 /// ```
12 Inline,
13 /// ```html
14 /// <img class="_b2JmdXNjYXRl"/>
15 /// ```
16 Scoped,
17 /// ```html
18 /// <img data-tw-b2JmdXNjYXRl/>
19 /// ```
20 DataKey,
21 /// ```html
22 /// <img data-tw="b2JmdXNjYXRl"/>
23 /// ```
24 DataValue,
25}
26
27impl Default for CssInlineMode {
28 fn default() -> Self {
29 Self::None
30 }
31}