@bookklik/senangstart-css 0.2.0 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/senangstart-css.js +84 -7
- package/dist/senangstart-css.min.js +25 -23
- package/docs/.vitepress/config.js +7 -4
- package/docs/SYNTAX-REFERENCE.md +1590 -1555
- package/docs/index.md +6 -0
- package/docs/ms/index.md +6 -0
- package/docs/ms/reference/visual/accent-color.md +6 -6
- package/docs/ms/reference/visual/animation-builtin.md +6 -6
- package/docs/ms/reference/visual/animation-delay.md +4 -2
- package/docs/ms/reference/visual/animation-direction.md +6 -6
- package/docs/ms/reference/visual/animation-duration.md +4 -4
- package/docs/ms/reference/visual/animation-fill.md +33 -9
- package/docs/ms/reference/visual/animation-iteration.md +5 -5
- package/docs/ms/reference/visual/animation-play.md +4 -4
- package/docs/ms/reference/visual/appearance.md +4 -4
- package/docs/ms/reference/visual/blend-modes.md +6 -6
- package/docs/ms/reference/visual/border-radius.md +8 -8
- package/docs/ms/reference/visual/box-shadow.md +6 -6
- package/docs/ms/reference/visual/caret-color.md +2 -2
- package/docs/ms/reference/visual/cursor.md +6 -6
- package/docs/ms/reference/visual/filter-blur.md +7 -7
- package/docs/ms/reference/visual/font-family.md +8 -8
- package/docs/ms/reference/visual/font-smoothing.md +4 -4
- package/docs/ms/reference/visual/font-style.md +4 -4
- package/docs/ms/reference/visual/font-variant-numeric.md +6 -4
- package/docs/ms/reference/visual/font-weight.md +6 -6
- package/docs/ms/reference/visual/hyphens.md +6 -6
- package/docs/ms/reference/visual/letter-spacing.md +8 -8
- package/docs/ms/reference/visual/line-clamp.md +9 -9
- package/docs/ms/reference/visual/line-height.md +8 -8
- package/docs/ms/reference/visual/list-style.md +7 -7
- package/docs/ms/reference/visual/mask.md +6 -2
- package/docs/ms/reference/visual/opacity.md +8 -8
- package/docs/ms/reference/visual/pointer-events.md +4 -4
- package/docs/ms/reference/visual/state-prefixes.md +5 -3
- package/docs/ms/reference/visual/text-decoration.md +6 -4
- package/docs/ms/reference/visual/text-indent.md +8 -4
- package/docs/ms/reference/visual/text-overflow.md +6 -4
- package/docs/ms/reference/visual/text-shadow.md +8 -2
- package/docs/ms/reference/visual/text-size.md +84 -66
- package/docs/ms/reference/visual/text-transform.md +6 -6
- package/docs/ms/reference/visual/text-wrap.md +8 -8
- package/docs/ms/reference/visual/transform-backface.md +29 -9
- package/docs/ms/reference/visual/transform-origin.md +4 -4
- package/docs/ms/reference/visual/transform-perspective-origin.md +41 -7
- package/docs/ms/reference/visual/transform-perspective.md +41 -7
- package/docs/ms/reference/visual/transform-rotate-3d.md +93 -0
- package/docs/ms/reference/visual/transform-rotate.md +6 -6
- package/docs/ms/reference/visual/transform-scale.md +7 -7
- package/docs/ms/reference/visual/transform-skew.md +6 -6
- package/docs/ms/reference/visual/transform-style.md +31 -11
- package/docs/ms/reference/visual/transform-translate-z.md +90 -0
- package/docs/ms/reference/visual/transform-translate.md +40 -14
- package/docs/ms/reference/visual/transition-delay.md +4 -2
- package/docs/ms/reference/visual/transition-duration.md +4 -4
- package/docs/ms/reference/visual/transition-timing.md +6 -6
- package/docs/ms/reference/visual/typography-keywords.md +8 -8
- package/docs/ms/reference/visual/user-select.md +4 -4
- package/docs/ms/reference/visual/vertical-align.md +10 -8
- package/docs/ms/reference/visual/whitespace.md +8 -8
- package/docs/ms/reference/visual/word-break.md +8 -8
- package/docs/public/assets/ss-logo.svg +83 -0
- package/docs/reference/visual/accent-color.md +6 -6
- package/docs/reference/visual/animation-builtin.md +6 -6
- package/docs/reference/visual/animation-delay.md +4 -2
- package/docs/reference/visual/animation-direction.md +6 -6
- package/docs/reference/visual/animation-duration.md +4 -4
- package/docs/reference/visual/animation-fill.md +33 -9
- package/docs/reference/visual/animation-iteration.md +5 -5
- package/docs/reference/visual/animation-play.md +4 -4
- package/docs/reference/visual/appearance.md +4 -4
- package/docs/reference/visual/blend-modes.md +6 -6
- package/docs/reference/visual/border-radius.md +8 -8
- package/docs/reference/visual/box-shadow.md +6 -6
- package/docs/reference/visual/caret-color.md +2 -2
- package/docs/reference/visual/cursor.md +6 -6
- package/docs/reference/visual/filter-blur.md +7 -7
- package/docs/reference/visual/font-family.md +8 -8
- package/docs/reference/visual/font-smoothing.md +4 -4
- package/docs/reference/visual/font-style.md +4 -4
- package/docs/reference/visual/font-variant-numeric.md +6 -4
- package/docs/reference/visual/font-weight.md +6 -6
- package/docs/reference/visual/hyphens.md +6 -6
- package/docs/reference/visual/letter-spacing.md +8 -8
- package/docs/reference/visual/line-clamp.md +9 -9
- package/docs/reference/visual/line-height.md +8 -8
- package/docs/reference/visual/list-style.md +7 -7
- package/docs/reference/visual/mask.md +6 -2
- package/docs/reference/visual/opacity.md +8 -8
- package/docs/reference/visual/pointer-events.md +4 -4
- package/docs/reference/visual/state-prefixes.md +5 -3
- package/docs/reference/visual/text-decoration.md +6 -4
- package/docs/reference/visual/text-indent.md +8 -4
- package/docs/reference/visual/text-overflow.md +6 -4
- package/docs/reference/visual/text-shadow.md +8 -2
- package/docs/reference/visual/text-size.md +84 -66
- package/docs/reference/visual/text-transform.md +6 -6
- package/docs/reference/visual/text-wrap.md +8 -8
- package/docs/reference/visual/transform-backface.md +29 -9
- package/docs/reference/visual/transform-origin.md +4 -4
- package/docs/reference/visual/transform-perspective-origin.md +41 -7
- package/docs/reference/visual/transform-perspective.md +41 -7
- package/docs/reference/visual/transform-rotate-3d.md +93 -0
- package/docs/reference/visual/transform-rotate.md +6 -6
- package/docs/reference/visual/transform-scale.md +7 -7
- package/docs/reference/visual/transform-skew.md +6 -6
- package/docs/reference/visual/transform-style.md +31 -11
- package/docs/reference/visual/transform-translate-z.md +90 -0
- package/docs/reference/visual/transform-translate.md +40 -14
- package/docs/reference/visual/transition-delay.md +4 -2
- package/docs/reference/visual/transition-duration.md +4 -4
- package/docs/reference/visual/transition-timing.md +6 -6
- package/docs/reference/visual/typography-keywords.md +8 -8
- package/docs/reference/visual/user-select.md +4 -4
- package/docs/reference/visual/vertical-align.md +10 -8
- package/docs/reference/visual/whitespace.md +8 -8
- package/docs/reference/visual/word-break.md +8 -8
- package/docs/syntax-reference.json +2009 -1972
- package/package.json +2 -2
- package/playground/index.html +37 -38
- package/playground/sample_code.txt +23 -0
- package/playground/tw-convertor.html +13 -13
- package/scripts/generate-docs.js +9 -7
- package/src/cdn/jit.js +51 -7
- package/src/compiler/generators/css.js +24 -2
- package/src/config/defaults.js +31 -7
- package/src/definitions/visual-transform3d.js +202 -36
- package/src/definitions/visual-transforms.js +42 -25
- package/src/definitions/visual-transitions.js +40 -26
- package/src/definitions/visual-typography.js +53 -44
- package/src/definitions/visual.js +73 -58
|
@@ -29,8 +29,8 @@ visual="animation-play:[value]"
|
|
|
29
29
|
<div layout="flex col" space="g:medium">
|
|
30
30
|
<p space="m:none" visual="text:neutral-600 dark:text:neutral-400 text-sm"><code>visual="animation-play:paused"</code> - Pause or resume animations</p>
|
|
31
31
|
<div layout="flex" space="g:medium p:medium" visual="bg:neutral-100 dark:bg:neutral-900 rounded:medium">
|
|
32
|
-
<div space="p:small" visual="bg:primary text:white rounded:small">running</div>
|
|
33
|
-
<div space="p:small" visual="bg:primary text:white rounded:small">paused</div>
|
|
32
|
+
<div space="p:small" visual="bg:primary text:white rounded:small animate:spin animation-play:running">running</div>
|
|
33
|
+
<div space="p:small" visual="bg:primary text:white rounded:small animate:spin animation-play:paused">paused</div>
|
|
34
34
|
</div>
|
|
35
35
|
</div>
|
|
36
36
|
|
|
@@ -39,8 +39,8 @@ visual="animation-play:[value]"
|
|
|
39
39
|
|
|
40
40
|
```html
|
|
41
41
|
<div layout="flex" space="g:medium p:medium" visual="bg:neutral-100 dark:bg:neutral-900 rounded:medium">
|
|
42
|
-
<div space="p:small" visual="bg:primary text:white rounded:small">running</div>
|
|
43
|
-
<div space="p:small" visual="bg:primary text:white rounded:small">paused</div>
|
|
42
|
+
<div space="p:small" visual="bg:primary text:white rounded:small animate:spin animation-play:running">running</div>
|
|
43
|
+
<div space="p:small" visual="bg:primary text:white rounded:small animate:spin animation-play:paused">paused</div>
|
|
44
44
|
</div>
|
|
45
45
|
```
|
|
46
46
|
|
|
@@ -29,8 +29,8 @@ visual="appearance:[value]"
|
|
|
29
29
|
<div layout="flex col" space="g:medium">
|
|
30
30
|
<p space="m:none" visual="text:neutral-600 dark:text:neutral-400 text-sm"><code>visual="appearance:none"</code> - Remove native browser styling from form elements</p>
|
|
31
31
|
<div layout="flex" space="g:medium p:medium" visual="bg:neutral-100 dark:bg:neutral-900 rounded:medium">
|
|
32
|
-
<select
|
|
33
|
-
<select
|
|
32
|
+
<select space="p:tiny" visual="appearance:auto"><option>Native</option></select>
|
|
33
|
+
<select space="p:tiny" visual="appearance:none bg:white border:neutral-300 rounded:small"><option>Custom</option></select>
|
|
34
34
|
</div>
|
|
35
35
|
</div>
|
|
36
36
|
|
|
@@ -39,8 +39,8 @@ visual="appearance:[value]"
|
|
|
39
39
|
|
|
40
40
|
```html
|
|
41
41
|
<div layout="flex" space="g:medium p:medium" visual="bg:neutral-100 dark:bg:neutral-900 rounded:medium">
|
|
42
|
-
<select
|
|
43
|
-
<select
|
|
42
|
+
<select space="p:tiny" visual="appearance:auto"><option>Native</option></select>
|
|
43
|
+
<select space="p:tiny" visual="appearance:none bg:white border:neutral-300 rounded:small"><option>Custom</option></select>
|
|
44
44
|
</div>
|
|
45
45
|
```
|
|
46
46
|
|
|
@@ -32,9 +32,9 @@ visual="mix-blend:[value]"
|
|
|
32
32
|
|
|
33
33
|
<div layout="flex col" space="g:medium">
|
|
34
34
|
<p space="m:none" visual="text:neutral-600 dark:text:neutral-400 text-sm"><code>visual="mix-blend:multiply"</code> - Blend element with content behind it</p>
|
|
35
|
-
<div layout="flex" space="g:medium p:medium" visual="rounded:medium
|
|
36
|
-
<div space="p:small" visual="text:white rounded:small
|
|
37
|
-
<div space="p:small" visual="text:white rounded:small
|
|
35
|
+
<div layout="flex" space="g:medium p:medium" visual="rounded:medium bg:gradient-red-orange">
|
|
36
|
+
<div space="p:small" visual="bg:blue-500 text:white rounded:small mix-blend:multiply">multiply</div>
|
|
37
|
+
<div space="p:small" visual="bg:blue-500 text:white rounded:small mix-blend:screen">screen</div>
|
|
38
38
|
</div>
|
|
39
39
|
</div>
|
|
40
40
|
|
|
@@ -42,9 +42,9 @@ visual="mix-blend:[value]"
|
|
|
42
42
|
<summary>View Code</summary>
|
|
43
43
|
|
|
44
44
|
```html
|
|
45
|
-
<div layout="flex" space="g:medium p:medium" visual="rounded:medium
|
|
46
|
-
<div space="p:small" visual="text:white rounded:small
|
|
47
|
-
<div space="p:small" visual="text:white rounded:small
|
|
45
|
+
<div layout="flex" space="g:medium p:medium" visual="rounded:medium bg:gradient-red-orange">
|
|
46
|
+
<div space="p:small" visual="bg:blue-500 text:white rounded:small mix-blend:multiply">multiply</div>
|
|
47
|
+
<div space="p:small" visual="bg:blue-500 text:white rounded:small mix-blend:screen">screen</div>
|
|
48
48
|
</div>
|
|
49
49
|
```
|
|
50
50
|
|
|
@@ -33,10 +33,10 @@ visual="rounded:[value]"
|
|
|
33
33
|
<div layout="flex col" space="g:medium">
|
|
34
34
|
<p space="m:none" visual="text:neutral-600 dark:text:neutral-400 text-sm"><code>visual="rounded:medium"</code> - Round element corners from subtle to pill-shaped</p>
|
|
35
35
|
<div layout="flex" space="g:medium p:medium" visual="bg:neutral-100 dark:bg:neutral-900 rounded:medium">
|
|
36
|
-
<div space="p:small" visual="bg:primary text:white
|
|
37
|
-
<div space="p:small" visual="bg:primary text:white
|
|
38
|
-
<div space="p:small" visual="bg:primary text:white
|
|
39
|
-
<div space="p:small" visual="bg:primary text:white
|
|
36
|
+
<div space="p:small" visual="bg:primary text:white rounded:none">none</div>
|
|
37
|
+
<div space="p:small" visual="bg:primary text:white rounded:small">small</div>
|
|
38
|
+
<div space="p:small" visual="bg:primary text:white rounded:medium">medium</div>
|
|
39
|
+
<div space="p:small" visual="bg:primary text:white rounded:round">round</div>
|
|
40
40
|
</div>
|
|
41
41
|
</div>
|
|
42
42
|
|
|
@@ -45,10 +45,10 @@ visual="rounded:[value]"
|
|
|
45
45
|
|
|
46
46
|
```html
|
|
47
47
|
<div layout="flex" space="g:medium p:medium" visual="bg:neutral-100 dark:bg:neutral-900 rounded:medium">
|
|
48
|
-
<div space="p:small" visual="bg:primary text:white
|
|
49
|
-
<div space="p:small" visual="bg:primary text:white
|
|
50
|
-
<div space="p:small" visual="bg:primary text:white
|
|
51
|
-
<div space="p:small" visual="bg:primary text:white
|
|
48
|
+
<div space="p:small" visual="bg:primary text:white rounded:none">none</div>
|
|
49
|
+
<div space="p:small" visual="bg:primary text:white rounded:small">small</div>
|
|
50
|
+
<div space="p:small" visual="bg:primary text:white rounded:medium">medium</div>
|
|
51
|
+
<div space="p:small" visual="bg:primary text:white rounded:round">round</div>
|
|
52
52
|
</div>
|
|
53
53
|
```
|
|
54
54
|
|
|
@@ -32,9 +32,9 @@ visual="shadow:[value]"
|
|
|
32
32
|
<div layout="flex col" space="g:medium">
|
|
33
33
|
<p space="m:none" visual="text:neutral-600 dark:text:neutral-400 text-sm"><code>visual="shadow:medium"</code> - Add elevation with shadows from subtle to dramatic</p>
|
|
34
34
|
<div layout="flex" space="g:big p:medium" visual="bg:neutral-100 dark:bg:neutral-900 rounded:medium">
|
|
35
|
-
<div space="p:small" visual="bg:white dark:bg:neutral-800 rounded:small
|
|
36
|
-
<div space="p:small" visual="bg:white dark:bg:neutral-800 rounded:small
|
|
37
|
-
<div space="p:small" visual="bg:white dark:bg:neutral-800 rounded:small
|
|
35
|
+
<div space="p:small" visual="bg:white dark:bg:neutral-800 rounded:small shadow:small">small</div>
|
|
36
|
+
<div space="p:small" visual="bg:white dark:bg:neutral-800 rounded:small shadow:medium">medium</div>
|
|
37
|
+
<div space="p:small" visual="bg:white dark:bg:neutral-800 rounded:small shadow:big">big</div>
|
|
38
38
|
</div>
|
|
39
39
|
</div>
|
|
40
40
|
|
|
@@ -43,9 +43,9 @@ visual="shadow:[value]"
|
|
|
43
43
|
|
|
44
44
|
```html
|
|
45
45
|
<div layout="flex" space="g:big p:medium" visual="bg:neutral-100 dark:bg:neutral-900 rounded:medium">
|
|
46
|
-
<div space="p:small" visual="bg:white dark:bg:neutral-800 rounded:small
|
|
47
|
-
<div space="p:small" visual="bg:white dark:bg:neutral-800 rounded:small
|
|
48
|
-
<div space="p:small" visual="bg:white dark:bg:neutral-800 rounded:small
|
|
46
|
+
<div space="p:small" visual="bg:white dark:bg:neutral-800 rounded:small shadow:small">small</div>
|
|
47
|
+
<div space="p:small" visual="bg:white dark:bg:neutral-800 rounded:small shadow:medium">medium</div>
|
|
48
|
+
<div space="p:small" visual="bg:white dark:bg:neutral-800 rounded:small shadow:big">big</div>
|
|
49
49
|
</div>
|
|
50
50
|
```
|
|
51
51
|
|
|
@@ -22,7 +22,7 @@ visual="caret:[color]"
|
|
|
22
22
|
<div layout="flex col" space="g:medium">
|
|
23
23
|
<p space="m:none" visual="text:neutral-600 dark:text:neutral-400 text-sm"><code>visual="caret:primary"</code> - Style the text cursor in input fields</p>
|
|
24
24
|
<div space="p:medium" visual="bg:neutral-100 dark:bg:neutral-900 rounded:medium">
|
|
25
|
-
<input type="text" placeholder="Type here..."
|
|
25
|
+
<input type="text" placeholder="Type here..." space="p:small" visual="caret:primary border:neutral-300 rounded:small">
|
|
26
26
|
</div>
|
|
27
27
|
</div>
|
|
28
28
|
|
|
@@ -31,7 +31,7 @@ visual="caret:[color]"
|
|
|
31
31
|
|
|
32
32
|
```html
|
|
33
33
|
<div space="p:medium" visual="bg:neutral-100 dark:bg:neutral-900 rounded:medium">
|
|
34
|
-
<input type="text" placeholder="Type here..."
|
|
34
|
+
<input type="text" placeholder="Type here..." space="p:small" visual="caret:primary border:neutral-300 rounded:small">
|
|
35
35
|
</div>
|
|
36
36
|
```
|
|
37
37
|
|
|
@@ -36,9 +36,9 @@ visual="cursor:[value]"
|
|
|
36
36
|
<div layout="flex col" space="g:medium">
|
|
37
37
|
<p space="m:none" visual="text:neutral-600 dark:text:neutral-400 text-sm"><code>visual="cursor:pointer"</code> - Change mouse cursor on hover</p>
|
|
38
38
|
<div layout="flex" space="g:medium p:medium" visual="bg:neutral-100 dark:bg:neutral-900 rounded:medium">
|
|
39
|
-
<div space="p:small" visual="bg:primary text:white rounded:small
|
|
40
|
-
<div space="p:small" visual="bg:primary text:white rounded:small
|
|
41
|
-
<div space="p:small" visual="bg:primary text:white rounded:small
|
|
39
|
+
<div space="p:small" visual="bg:primary text:white rounded:small cursor:pointer">pointer</div>
|
|
40
|
+
<div space="p:small" visual="bg:primary text:white rounded:small cursor:wait">wait</div>
|
|
41
|
+
<div space="p:small" visual="bg:primary text:white rounded:small cursor:not-allowed">not-allowed</div>
|
|
42
42
|
</div>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
@@ -47,9 +47,9 @@ visual="cursor:[value]"
|
|
|
47
47
|
|
|
48
48
|
```html
|
|
49
49
|
<div layout="flex" space="g:medium p:medium" visual="bg:neutral-100 dark:bg:neutral-900 rounded:medium">
|
|
50
|
-
<div space="p:small" visual="bg:primary text:white rounded:small
|
|
51
|
-
<div space="p:small" visual="bg:primary text:white rounded:small
|
|
52
|
-
<div space="p:small" visual="bg:primary text:white rounded:small
|
|
50
|
+
<div space="p:small" visual="bg:primary text:white rounded:small cursor:pointer">pointer</div>
|
|
51
|
+
<div space="p:small" visual="bg:primary text:white rounded:small cursor:wait">wait</div>
|
|
52
|
+
<div space="p:small" visual="bg:primary text:white rounded:small cursor:not-allowed">not-allowed</div>
|
|
53
53
|
</div>
|
|
54
54
|
```
|
|
55
55
|
|
|
@@ -32,11 +32,11 @@ visual="blur:[value]"
|
|
|
32
32
|
### Blur
|
|
33
33
|
|
|
34
34
|
<div layout="flex col" space="g:medium">
|
|
35
|
-
<p space="m:none" visual="text:neutral-600 dark:text:neutral-400 text-sm"><code>visual="blur:
|
|
35
|
+
<p space="m:none" visual="text:neutral-600 dark:text:neutral-400 text-sm"><code>visual="blur:small"</code> - Apply gaussian blur filter to an element</p>
|
|
36
36
|
<div layout="flex" space="g:medium p:medium" visual="bg:neutral-100 dark:bg:neutral-900 rounded:medium">
|
|
37
|
-
<div space="p:small" visual="bg:primary text:white rounded:small">none</div>
|
|
38
|
-
<div space="p:small" visual="bg:primary text:white rounded:small
|
|
39
|
-
<div space="p:small" visual="bg:primary text:white rounded:small
|
|
37
|
+
<div space="p:small" visual="bg:primary text:white rounded:small blur:none">none</div>
|
|
38
|
+
<div space="p:small" visual="bg:primary text:white rounded:small blur:tiny">tiny</div>
|
|
39
|
+
<div space="p:small" visual="bg:primary text:white rounded:small blur:small">small</div>
|
|
40
40
|
</div>
|
|
41
41
|
</div>
|
|
42
42
|
|
|
@@ -45,9 +45,9 @@ visual="blur:[value]"
|
|
|
45
45
|
|
|
46
46
|
```html
|
|
47
47
|
<div layout="flex" space="g:medium p:medium" visual="bg:neutral-100 dark:bg:neutral-900 rounded:medium">
|
|
48
|
-
<div space="p:small" visual="bg:primary text:white rounded:small">none</div>
|
|
49
|
-
<div space="p:small" visual="bg:primary text:white rounded:small
|
|
50
|
-
<div space="p:small" visual="bg:primary text:white rounded:small
|
|
48
|
+
<div space="p:small" visual="bg:primary text:white rounded:small blur:none">none</div>
|
|
49
|
+
<div space="p:small" visual="bg:primary text:white rounded:small blur:tiny">tiny</div>
|
|
50
|
+
<div space="p:small" visual="bg:primary text:white rounded:small blur:small">small</div>
|
|
51
51
|
</div>
|
|
52
52
|
```
|
|
53
53
|
|
|
@@ -29,10 +29,10 @@ visual="font:[family]"
|
|
|
29
29
|
|
|
30
30
|
<div layout="flex col" space="g:medium">
|
|
31
31
|
<p space="m:none" visual="text:neutral-600 dark:text:neutral-400 text-sm"><code>visual="font:sans"</code> - Choose between sans, serif, or mono</p>
|
|
32
|
-
<div layout="flex
|
|
33
|
-
<span
|
|
34
|
-
<span
|
|
35
|
-
<span
|
|
32
|
+
<div layout="flex:col" space="g:small p:medium" visual="bg:neutral-100 dark:bg:neutral-900 rounded:medium">
|
|
33
|
+
<span visual="font:sans">Sans-serif font</span>
|
|
34
|
+
<span visual="font:serif">Serif font</span>
|
|
35
|
+
<span visual="font:mono">Monospace font</span>
|
|
36
36
|
</div>
|
|
37
37
|
</div>
|
|
38
38
|
|
|
@@ -40,10 +40,10 @@ visual="font:[family]"
|
|
|
40
40
|
<summary>View Code</summary>
|
|
41
41
|
|
|
42
42
|
```html
|
|
43
|
-
<div layout="flex
|
|
44
|
-
<span
|
|
45
|
-
<span
|
|
46
|
-
<span
|
|
43
|
+
<div layout="flex:col" space="g:small p:medium" visual="bg:neutral-100 dark:bg:neutral-900 rounded:medium">
|
|
44
|
+
<span visual="font:sans">Sans-serif font</span>
|
|
45
|
+
<span visual="font:serif">Serif font</span>
|
|
46
|
+
<span visual="font:mono">Monospace font</span>
|
|
47
47
|
</div>
|
|
48
48
|
```
|
|
49
49
|
|
|
@@ -29,8 +29,8 @@ visual="[smoothing-value]"
|
|
|
29
29
|
<div layout="flex col" space="g:medium">
|
|
30
30
|
<p space="m:none" visual="text:neutral-600 dark:text:neutral-400 text-sm"><code>visual="antialiased"</code> - Control text rendering</p>
|
|
31
31
|
<div layout="flex" space="g:medium p:medium" visual="bg:neutral-100 dark:bg:neutral-900 rounded:medium">
|
|
32
|
-
<div space="p:small" visual="bg:primary text:white rounded:small">antialiased</div>
|
|
33
|
-
<div space="p:small" visual="bg:
|
|
32
|
+
<div space="p:small" visual="bg:primary text:white rounded:small antialiased">antialiased</div>
|
|
33
|
+
<div space="p:small" visual="bg:success text:white rounded:small subpixel-antialiased">subpixel</div>
|
|
34
34
|
</div>
|
|
35
35
|
</div>
|
|
36
36
|
|
|
@@ -39,8 +39,8 @@ visual="[smoothing-value]"
|
|
|
39
39
|
|
|
40
40
|
```html
|
|
41
41
|
<div layout="flex" space="g:medium p:medium" visual="bg:neutral-100 dark:bg:neutral-900 rounded:medium">
|
|
42
|
-
<div space="p:small" visual="bg:primary text:white rounded:small">antialiased</div>
|
|
43
|
-
<div space="p:small" visual="bg:
|
|
42
|
+
<div space="p:small" visual="bg:primary text:white rounded:small antialiased">antialiased</div>
|
|
43
|
+
<div space="p:small" visual="bg:success text:white rounded:small subpixel-antialiased">subpixel</div>
|
|
44
44
|
</div>
|
|
45
45
|
```
|
|
46
46
|
|
|
@@ -29,8 +29,8 @@ visual="[style-value]"
|
|
|
29
29
|
<div layout="flex col" space="g:medium">
|
|
30
30
|
<p space="m:none" visual="text:neutral-600 dark:text:neutral-400 text-sm"><code>visual="italic"</code> - Italic or normal text</p>
|
|
31
31
|
<div layout="flex" space="g:medium p:medium" visual="bg:neutral-100 dark:bg:neutral-900 rounded:medium">
|
|
32
|
-
<span space="p:small" visual="bg:primary text:white rounded:small
|
|
33
|
-
<span space="p:small" visual="bg:
|
|
32
|
+
<span space="p:small" visual="bg:primary text:white rounded:small italic">italic</span>
|
|
33
|
+
<span space="p:small" visual="bg:success text:white rounded:small not-italic">not-italic</span>
|
|
34
34
|
</div>
|
|
35
35
|
</div>
|
|
36
36
|
|
|
@@ -39,8 +39,8 @@ visual="[style-value]"
|
|
|
39
39
|
|
|
40
40
|
```html
|
|
41
41
|
<div layout="flex" space="g:medium p:medium" visual="bg:neutral-100 dark:bg:neutral-900 rounded:medium">
|
|
42
|
-
<span space="p:small" visual="bg:primary text:white rounded:small
|
|
43
|
-
<span space="p:small" visual="bg:
|
|
42
|
+
<span space="p:small" visual="bg:primary text:white rounded:small italic">italic</span>
|
|
43
|
+
<span space="p:small" visual="bg:success text:white rounded:small not-italic">not-italic</span>
|
|
44
44
|
</div>
|
|
45
45
|
```
|
|
46
46
|
|
|
@@ -34,8 +34,9 @@ visual="[variant-value]"
|
|
|
34
34
|
<div layout="flex col" space="g:medium">
|
|
35
35
|
<p space="m:none" visual="text:neutral-600 dark:text:neutral-400 text-sm"><code>visual="tabular-nums"</code> - Control number display</p>
|
|
36
36
|
<div layout="flex" space="g:medium p:medium" visual="bg:neutral-100 dark:bg:neutral-900 rounded:medium">
|
|
37
|
-
<div space="p:small" visual="bg:primary text:white rounded:small
|
|
38
|
-
<div space="p:small" visual="bg:
|
|
37
|
+
<div space="p:small" visual="bg:primary text:white rounded:small tabular-nums text-size:big">123,456.00</div>
|
|
38
|
+
<div space="p:small" visual="bg:success text:white rounded:small slashed-zero text-size:big">0123</div>
|
|
39
|
+
<div space="p:small" visual="bg:warning text:black rounded:small ordinal text-size:big">1st 2nd 3rd</div>
|
|
39
40
|
</div>
|
|
40
41
|
</div>
|
|
41
42
|
|
|
@@ -44,8 +45,9 @@ visual="[variant-value]"
|
|
|
44
45
|
|
|
45
46
|
```html
|
|
46
47
|
<div layout="flex" space="g:medium p:medium" visual="bg:neutral-100 dark:bg:neutral-900 rounded:medium">
|
|
47
|
-
<div space="p:small" visual="bg:primary text:white rounded:small
|
|
48
|
-
<div space="p:small" visual="bg:
|
|
48
|
+
<div space="p:small" visual="bg:primary text:white rounded:small tabular-nums text-size:big">123,456.00</div>
|
|
49
|
+
<div space="p:small" visual="bg:success text:white rounded:small slashed-zero text-size:big">0123</div>
|
|
50
|
+
<div space="p:small" visual="bg:warning text:black rounded:small ordinal text-size:big">1st 2nd 3rd</div>
|
|
49
51
|
</div>
|
|
50
52
|
```
|
|
51
53
|
|
|
@@ -31,9 +31,9 @@ visual="font:[weight]"
|
|
|
31
31
|
<div layout="flex col" space="g:medium">
|
|
32
32
|
<p space="m:none" visual="text:neutral-600 dark:text:neutral-400 text-sm"><code>visual="font:bold"</code> - Control text thickness</p>
|
|
33
33
|
<div layout="flex" space="g:medium p:medium" visual="bg:neutral-100 dark:bg:neutral-900 rounded:medium">
|
|
34
|
-
<span
|
|
35
|
-
<span
|
|
36
|
-
<span
|
|
34
|
+
<span visual="font:normal">normal</span>
|
|
35
|
+
<span visual="font:medium">medium</span>
|
|
36
|
+
<span visual="font:bold">bold</span>
|
|
37
37
|
</div>
|
|
38
38
|
</div>
|
|
39
39
|
|
|
@@ -42,9 +42,9 @@ visual="font:[weight]"
|
|
|
42
42
|
|
|
43
43
|
```html
|
|
44
44
|
<div layout="flex" space="g:medium p:medium" visual="bg:neutral-100 dark:bg:neutral-900 rounded:medium">
|
|
45
|
-
<span
|
|
46
|
-
<span
|
|
47
|
-
<span
|
|
45
|
+
<span visual="font:normal">normal</span>
|
|
46
|
+
<span visual="font:medium">medium</span>
|
|
47
|
+
<span visual="font:bold">bold</span>
|
|
48
48
|
</div>
|
|
49
49
|
```
|
|
50
50
|
|
|
@@ -30,9 +30,9 @@ visual="hyphens:[value]"
|
|
|
30
30
|
<div layout="flex col" space="g:medium">
|
|
31
31
|
<p space="m:none" visual="text:neutral-600 dark:text:neutral-400 text-sm"><code>visual="hyphens:auto"</code> - Control automatic hyphenation</p>
|
|
32
32
|
<div layout="flex" space="g:medium p:medium" visual="bg:neutral-100 dark:bg:neutral-900 rounded:medium">
|
|
33
|
-
<div space="p:small" visual="bg:primary text:white rounded:small">none</div>
|
|
34
|
-
<div space="p:small" visual="bg:primary text:white rounded:small">manual</div>
|
|
35
|
-
<div space="p:small" visual="bg:primary text:white rounded:small">auto</div>
|
|
33
|
+
<div space="p:small" visual="bg:primary text:white rounded:small hyphens:none">none</div>
|
|
34
|
+
<div space="p:small" visual="bg:primary text:white rounded:small hyphens:manual">manual</div>
|
|
35
|
+
<div space="p:small" visual="bg:primary text:white rounded:small hyphens:auto">auto</div>
|
|
36
36
|
</div>
|
|
37
37
|
</div>
|
|
38
38
|
|
|
@@ -41,9 +41,9 @@ visual="hyphens:[value]"
|
|
|
41
41
|
|
|
42
42
|
```html
|
|
43
43
|
<div layout="flex" space="g:medium p:medium" visual="bg:neutral-100 dark:bg:neutral-900 rounded:medium">
|
|
44
|
-
<div space="p:small" visual="bg:primary text:white rounded:small">none</div>
|
|
45
|
-
<div space="p:small" visual="bg:primary text:white rounded:small">manual</div>
|
|
46
|
-
<div space="p:small" visual="bg:primary text:white rounded:small">auto</div>
|
|
44
|
+
<div space="p:small" visual="bg:primary text:white rounded:small hyphens:none">none</div>
|
|
45
|
+
<div space="p:small" visual="bg:primary text:white rounded:small hyphens:manual">manual</div>
|
|
46
|
+
<div space="p:small" visual="bg:primary text:white rounded:small hyphens:auto">auto</div>
|
|
47
47
|
</div>
|
|
48
48
|
```
|
|
49
49
|
|
|
@@ -32,10 +32,10 @@ visual="tracking:[value]"
|
|
|
32
32
|
|
|
33
33
|
<div layout="flex col" space="g:medium">
|
|
34
34
|
<p space="m:none" visual="text:neutral-600 dark:text:neutral-400 text-sm"><code>visual="tracking:wide"</code> - Adjust spacing between characters</p>
|
|
35
|
-
<div layout="flex
|
|
36
|
-
<span
|
|
37
|
-
<span
|
|
38
|
-
<span
|
|
35
|
+
<div layout="flex:col" space="g:small p:medium" visual="bg:neutral-100 dark:bg:neutral-900 rounded:medium">
|
|
36
|
+
<span visual="tracking:tighter">tighter spacing</span>
|
|
37
|
+
<span visual="tracking:normal">normal spacing</span>
|
|
38
|
+
<span visual="tracking:widest">widest spacing</span>
|
|
39
39
|
</div>
|
|
40
40
|
</div>
|
|
41
41
|
|
|
@@ -43,10 +43,10 @@ visual="tracking:[value]"
|
|
|
43
43
|
<summary>View Code</summary>
|
|
44
44
|
|
|
45
45
|
```html
|
|
46
|
-
<div layout="flex
|
|
47
|
-
<span
|
|
48
|
-
<span
|
|
49
|
-
<span
|
|
46
|
+
<div layout="flex:col" space="g:small p:medium" visual="bg:neutral-100 dark:bg:neutral-900 rounded:medium">
|
|
47
|
+
<span visual="tracking:tighter">tighter spacing</span>
|
|
48
|
+
<span visual="tracking:normal">normal spacing</span>
|
|
49
|
+
<span visual="tracking:widest">widest spacing</span>
|
|
50
50
|
</div>
|
|
51
51
|
```
|
|
52
52
|
|
|
@@ -29,11 +29,11 @@ visual="line-clamp:[value]"
|
|
|
29
29
|
### Line Clamp
|
|
30
30
|
|
|
31
31
|
<div layout="flex col" space="g:medium">
|
|
32
|
-
<p space="m:none" visual="text:neutral-600 dark:text:neutral-400 text-sm"><code>visual="line-clamp:
|
|
33
|
-
<div layout="flex" space="g:
|
|
34
|
-
<div space="p:small" visual="bg:primary text:white rounded:small">
|
|
35
|
-
<div space="p:small" visual="bg:
|
|
36
|
-
<div space="p:small" visual="bg:
|
|
32
|
+
<p space="m:none" visual="text:neutral-600 dark:text:neutral-400 text-sm"><code>visual="line-clamp:2"</code> - Limit text to specific lines</p>
|
|
33
|
+
<div layout="flex:col" space="g:small p:medium" visual="bg:neutral-100 dark:bg:neutral-900 rounded:medium">
|
|
34
|
+
<div space="p:small w:[200px]" visual="bg:primary text:white rounded:small line-clamp:1">This is a very long text that will be clamped to just one single line with ellipsis.</div>
|
|
35
|
+
<div space="p:small w:[200px]" visual="bg:success text:white rounded:small line-clamp:2">This is a very long text that will be clamped to exactly two lines with ellipsis at the end.</div>
|
|
36
|
+
<div space="p:small w:[200px]" visual="bg:warning text:black rounded:small line-clamp:3">This is a very long text that will be clamped to exactly three lines with ellipsis shown at the end of the third line.</div>
|
|
37
37
|
</div>
|
|
38
38
|
</div>
|
|
39
39
|
|
|
@@ -41,10 +41,10 @@ visual="line-clamp:[value]"
|
|
|
41
41
|
<summary>View Code</summary>
|
|
42
42
|
|
|
43
43
|
```html
|
|
44
|
-
<div layout="flex" space="g:
|
|
45
|
-
<div space="p:small" visual="bg:primary text:white rounded:small">
|
|
46
|
-
<div space="p:small" visual="bg:
|
|
47
|
-
<div space="p:small" visual="bg:
|
|
44
|
+
<div layout="flex:col" space="g:small p:medium" visual="bg:neutral-100 dark:bg:neutral-900 rounded:medium">
|
|
45
|
+
<div space="p:small w:[200px]" visual="bg:primary text:white rounded:small line-clamp:1">This is a very long text that will be clamped to just one single line with ellipsis.</div>
|
|
46
|
+
<div space="p:small w:[200px]" visual="bg:success text:white rounded:small line-clamp:2">This is a very long text that will be clamped to exactly two lines with ellipsis at the end.</div>
|
|
47
|
+
<div space="p:small w:[200px]" visual="bg:warning text:black rounded:small line-clamp:3">This is a very long text that will be clamped to exactly three lines with ellipsis shown at the end of the third line.</div>
|
|
48
48
|
</div>
|
|
49
49
|
```
|
|
50
50
|
|
|
@@ -32,10 +32,10 @@ visual="leading:[value]"
|
|
|
32
32
|
|
|
33
33
|
<div layout="flex col" space="g:medium">
|
|
34
34
|
<p space="m:none" visual="text:neutral-600 dark:text:neutral-400 text-sm"><code>visual="leading:relaxed"</code> - Control vertical spacing between lines</p>
|
|
35
|
-
<div layout="flex
|
|
36
|
-
<p
|
|
37
|
-
<p
|
|
38
|
-
<p
|
|
35
|
+
<div layout="flex:col" space="g:medium p:medium" visual="bg:neutral-100 dark:bg:neutral-900 rounded:medium">
|
|
36
|
+
<p space="m:0" visual="leading:tight">Tight leading<br>for headings</p>
|
|
37
|
+
<p space="m:0" visual="leading:normal">Normal leading<br>for body text</p>
|
|
38
|
+
<p space="m:0" visual="leading:loose">Loose leading<br>for readability</p>
|
|
39
39
|
</div>
|
|
40
40
|
</div>
|
|
41
41
|
|
|
@@ -43,10 +43,10 @@ visual="leading:[value]"
|
|
|
43
43
|
<summary>View Code</summary>
|
|
44
44
|
|
|
45
45
|
```html
|
|
46
|
-
<div layout="flex
|
|
47
|
-
<p
|
|
48
|
-
<p
|
|
49
|
-
<p
|
|
46
|
+
<div layout="flex:col" space="g:medium p:medium" visual="bg:neutral-100 dark:bg:neutral-900 rounded:medium">
|
|
47
|
+
<p space="m:0" visual="leading:tight">Tight leading<br>for headings</p>
|
|
48
|
+
<p space="m:0" visual="leading:normal">Normal leading<br>for body text</p>
|
|
49
|
+
<p space="m:0" visual="leading:loose">Loose leading<br>for readability</p>
|
|
50
50
|
</div>
|
|
51
51
|
```
|
|
52
52
|
|
|
@@ -31,11 +31,11 @@ visual="list:[value]"
|
|
|
31
31
|
### List Style
|
|
32
32
|
|
|
33
33
|
<div layout="flex col" space="g:medium">
|
|
34
|
-
<p space="m:none" visual="text:neutral-600 dark:text:neutral-400 text-sm"><code>visual="list:
|
|
34
|
+
<p space="m:none" visual="text:neutral-600 dark:text:neutral-400 text-sm"><code>visual="list:disc"</code> - Control list markers</p>
|
|
35
35
|
<div layout="flex" space="g:medium p:medium" visual="bg:neutral-100 dark:bg:neutral-900 rounded:medium">
|
|
36
|
-
<
|
|
37
|
-
<
|
|
38
|
-
<
|
|
36
|
+
<ul space="p:small" visual="bg:primary text:white rounded:small list:none"><li>none</li><li>no bullets</li></ul>
|
|
37
|
+
<ul space="p:small" visual="bg:success text:white rounded:small list:disc"><li>disc</li><li>bullet</li></ul>
|
|
38
|
+
<ol space="p:small" visual="bg:warning text:black rounded:small list:decimal"><li>decimal</li><li>numbers</li></ol>
|
|
39
39
|
</div>
|
|
40
40
|
</div>
|
|
41
41
|
|
|
@@ -44,9 +44,9 @@ visual="list:[value]"
|
|
|
44
44
|
|
|
45
45
|
```html
|
|
46
46
|
<div layout="flex" space="g:medium p:medium" visual="bg:neutral-100 dark:bg:neutral-900 rounded:medium">
|
|
47
|
-
<
|
|
48
|
-
<
|
|
49
|
-
<
|
|
47
|
+
<ul space="p:small" visual="bg:primary text:white rounded:small list:none"><li>none</li><li>no bullets</li></ul>
|
|
48
|
+
<ul space="p:small" visual="bg:success text:white rounded:small list:disc"><li>disc</li><li>bullet</li></ul>
|
|
49
|
+
<ol space="p:small" visual="bg:warning text:black rounded:small list:decimal"><li>decimal</li><li>numbers</li></ol>
|
|
50
50
|
</div>
|
|
51
51
|
```
|
|
52
52
|
|
|
@@ -30,7 +30,9 @@ visual="mask:[value]"
|
|
|
30
30
|
<div layout="flex col" space="g:medium">
|
|
31
31
|
<p space="m:none" visual="text:neutral-600 dark:text:neutral-400 text-sm"><code>visual="mask:fade-y"</code> - Apply gradient mask to edges</p>
|
|
32
32
|
<div layout="flex" space="g:medium p:medium" visual="bg:neutral-100 dark:bg:neutral-900 rounded:medium">
|
|
33
|
-
<div space="p:medium" visual="bg:primary text:white rounded:small">
|
|
33
|
+
<div space="p:medium" visual="bg:primary text:white rounded:small mask:none">none</div>
|
|
34
|
+
<div space="p:medium" visual="bg:primary text:white rounded:small mask:fade-y">fade-y</div>
|
|
35
|
+
<div space="p:medium" visual="bg:primary text:white rounded:small mask:fade-x">fade-x</div>
|
|
34
36
|
</div>
|
|
35
37
|
</div>
|
|
36
38
|
|
|
@@ -39,7 +41,9 @@ visual="mask:[value]"
|
|
|
39
41
|
|
|
40
42
|
```html
|
|
41
43
|
<div layout="flex" space="g:medium p:medium" visual="bg:neutral-100 dark:bg:neutral-900 rounded:medium">
|
|
42
|
-
<div space="p:medium" visual="bg:primary text:white rounded:small">
|
|
44
|
+
<div space="p:medium" visual="bg:primary text:white rounded:small mask:none">none</div>
|
|
45
|
+
<div space="p:medium" visual="bg:primary text:white rounded:small mask:fade-y">fade-y</div>
|
|
46
|
+
<div space="p:medium" visual="bg:primary text:white rounded:small mask:fade-x">fade-x</div>
|
|
43
47
|
</div>
|
|
44
48
|
```
|
|
45
49
|
|
|
@@ -32,10 +32,10 @@ visual="opacity:[value]"
|
|
|
32
32
|
<div layout="flex col" space="g:medium">
|
|
33
33
|
<p space="m:none" visual="text:neutral-600 dark:text:neutral-400 text-sm"><code>visual="opacity:50"</code> - Control element transparency from invisible to fully visible</p>
|
|
34
34
|
<div layout="flex" space="g:medium p:medium" visual="bg:neutral-100 dark:bg:neutral-900 rounded:medium">
|
|
35
|
-
<div space="p:small" visual="bg:primary text:white rounded:small
|
|
36
|
-
<div space="p:small" visual="bg:primary text:white rounded:small
|
|
37
|
-
<div space="p:small" visual="bg:primary text:white rounded:small
|
|
38
|
-
<div space="p:small" visual="bg:primary text:white rounded:small
|
|
35
|
+
<div space="p:small" visual="bg:primary text:white rounded:small opacity:25">25%</div>
|
|
36
|
+
<div space="p:small" visual="bg:primary text:white rounded:small opacity:50">50%</div>
|
|
37
|
+
<div space="p:small" visual="bg:primary text:white rounded:small opacity:75">75%</div>
|
|
38
|
+
<div space="p:small" visual="bg:primary text:white rounded:small opacity:100">100%</div>
|
|
39
39
|
</div>
|
|
40
40
|
</div>
|
|
41
41
|
|
|
@@ -44,10 +44,10 @@ visual="opacity:[value]"
|
|
|
44
44
|
|
|
45
45
|
```html
|
|
46
46
|
<div layout="flex" space="g:medium p:medium" visual="bg:neutral-100 dark:bg:neutral-900 rounded:medium">
|
|
47
|
-
<div space="p:small" visual="bg:primary text:white rounded:small
|
|
48
|
-
<div space="p:small" visual="bg:primary text:white rounded:small
|
|
49
|
-
<div space="p:small" visual="bg:primary text:white rounded:small
|
|
50
|
-
<div space="p:small" visual="bg:primary text:white rounded:small
|
|
47
|
+
<div space="p:small" visual="bg:primary text:white rounded:small opacity:25">25%</div>
|
|
48
|
+
<div space="p:small" visual="bg:primary text:white rounded:small opacity:50">50%</div>
|
|
49
|
+
<div space="p:small" visual="bg:primary text:white rounded:small opacity:75">75%</div>
|
|
50
|
+
<div space="p:small" visual="bg:primary text:white rounded:small opacity:100">100%</div>
|
|
51
51
|
</div>
|
|
52
52
|
```
|
|
53
53
|
|
|
@@ -29,8 +29,8 @@ visual="pointer-events:[value]"
|
|
|
29
29
|
<div layout="flex col" space="g:medium">
|
|
30
30
|
<p space="m:none" visual="text:neutral-600 dark:text:neutral-400 text-sm"><code>visual="pointer-events:none"</code> - Make elements click-through or interactive</p>
|
|
31
31
|
<div layout="flex" space="g:medium p:medium" visual="bg:neutral-100 dark:bg:neutral-900 rounded:medium">
|
|
32
|
-
<div space="p:small" visual="bg:primary text:white rounded:small">auto (clickable)</div>
|
|
33
|
-
<div space="p:small" visual="bg:neutral-400 text:white rounded:small">none (click-through)</div>
|
|
32
|
+
<div space="p:small" visual="bg:primary text:white rounded:small pointer-events:auto">auto (clickable)</div>
|
|
33
|
+
<div space="p:small" visual="bg:neutral-400 text:white rounded:small pointer-events:none">none (click-through)</div>
|
|
34
34
|
</div>
|
|
35
35
|
</div>
|
|
36
36
|
|
|
@@ -39,8 +39,8 @@ visual="pointer-events:[value]"
|
|
|
39
39
|
|
|
40
40
|
```html
|
|
41
41
|
<div layout="flex" space="g:medium p:medium" visual="bg:neutral-100 dark:bg:neutral-900 rounded:medium">
|
|
42
|
-
<div space="p:small" visual="bg:primary text:white rounded:small">auto (clickable)</div>
|
|
43
|
-
<div space="p:small" visual="bg:neutral-400 text:white rounded:small">none (click-through)</div>
|
|
42
|
+
<div space="p:small" visual="bg:primary text:white rounded:small pointer-events:auto">auto (clickable)</div>
|
|
43
|
+
<div space="p:small" visual="bg:neutral-400 text:white rounded:small pointer-events:none">none (click-through)</div>
|
|
44
44
|
</div>
|
|
45
45
|
```
|
|
46
46
|
|