@biggora/claude-plugins 1.1.1 → 1.2.2
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/.claude/settings.local.json +3 -1
- package/README.md +24 -17
- package/package.json +1 -1
- package/registry/registry.json +319 -244
- package/specs/coding.md +24 -0
- package/specs/pod.md +2 -0
- package/src/skills/captcha/README.md +221 -0
- package/src/skills/captcha/SKILL.md +355 -0
- package/src/skills/captcha/references/captcha-types.md +254 -0
- package/src/skills/captcha/references/services.md +172 -0
- package/src/skills/captcha/references/stealth.md +238 -0
- package/src/skills/captcha/scripts/solve_captcha.py +323 -0
- package/src/skills/captcha/scripts/solve_image_grid.py +350 -0
- package/src/skills/codex-cli/SKILL.md +21 -11
- package/src/skills/gemini-cli/SKILL.md +27 -13
- package/src/skills/gemini-cli/references/commands.md +21 -14
- package/src/skills/gemini-cli/references/configuration.md +23 -18
- package/src/skills/gemini-cli/references/headless-and-scripting.md +7 -17
- package/src/skills/gemini-cli/references/mcp-and-extensions.md +12 -6
- package/src/skills/google-merchant-api/SKILL.md +581 -0
- package/src/skills/google-merchant-api/references/accounts.md +247 -0
- package/src/skills/google-merchant-api/references/content-api-legacy.md +216 -0
- package/src/skills/google-merchant-api/references/datasources.md +233 -0
- package/src/skills/google-merchant-api/references/inventories.md +201 -0
- package/src/skills/google-merchant-api/references/migration.md +267 -0
- package/src/skills/google-merchant-api/references/products.md +316 -0
- package/src/skills/google-merchant-api/references/promotions.md +201 -0
- package/src/skills/google-merchant-api/references/reports.md +240 -0
- package/src/skills/lv-aggregators-api/SKILL.md +113 -0
- package/src/skills/lv-aggregators-api/references/integration-guide.md +368 -0
- package/src/skills/lv-aggregators-api/references/kurpirkt.md +103 -0
- package/src/skills/lv-aggregators-api/references/salidzini.md +122 -0
- package/src/skills/notebook-lm/SKILL.md +1 -1
- package/src/skills/screen-recording/SKILL.md +243 -213
- package/src/skills/screen-recording/references/design-patterns.md +4 -2
- package/src/skills/screen-recording/references/ffmpeg-recording.md +473 -0
- package/src/skills/screen-recording/references/{approach1-programmatic.md → programmatic-generation.md} +45 -22
- package/src/skills/screen-recording/references/python-fallback.md +222 -0
- package/src/skills/tailwindcss-best-practices/SKILL.md +180 -0
- package/src/skills/tailwindcss-best-practices/references/best-practices-utility-patterns.md +87 -0
- package/src/skills/tailwindcss-best-practices/references/core-installation.md +109 -0
- package/src/skills/tailwindcss-best-practices/references/core-preflight.md +200 -0
- package/src/skills/tailwindcss-best-practices/references/core-responsive.md +163 -0
- package/src/skills/tailwindcss-best-practices/references/core-source-detection.md +114 -0
- package/src/skills/tailwindcss-best-practices/references/core-theme.md +108 -0
- package/src/skills/tailwindcss-best-practices/references/core-utility-classes.md +59 -0
- package/src/skills/tailwindcss-best-practices/references/core-variants.md +204 -0
- package/src/skills/tailwindcss-best-practices/references/effects-form-controls.md +76 -0
- package/src/skills/tailwindcss-best-practices/references/effects-mask.md +91 -0
- package/src/skills/tailwindcss-best-practices/references/effects-scroll-snap.md +59 -0
- package/src/skills/tailwindcss-best-practices/references/effects-text-shadow.md +78 -0
- package/src/skills/tailwindcss-best-practices/references/effects-transition-animation.md +80 -0
- package/src/skills/tailwindcss-best-practices/references/effects-visibility-interactivity.md +82 -0
- package/src/skills/tailwindcss-best-practices/references/features-content-detection.md +175 -0
- package/src/skills/tailwindcss-best-practices/references/features-custom-styles.md +203 -0
- package/src/skills/tailwindcss-best-practices/references/features-dark-mode.md +137 -0
- package/src/skills/tailwindcss-best-practices/references/features-functions-directives.md +241 -0
- package/src/skills/tailwindcss-best-practices/references/features-upgrade.md +160 -0
- package/src/skills/tailwindcss-best-practices/references/layout-aspect-ratio.md +39 -0
- package/src/skills/tailwindcss-best-practices/references/layout-columns.md +80 -0
- package/src/skills/tailwindcss-best-practices/references/layout-display.md +110 -0
- package/src/skills/tailwindcss-best-practices/references/layout-flexbox.md +112 -0
- package/src/skills/tailwindcss-best-practices/references/layout-grid.md +87 -0
- package/src/skills/tailwindcss-best-practices/references/layout-height.md +97 -0
- package/src/skills/tailwindcss-best-practices/references/layout-inset.md +103 -0
- package/src/skills/tailwindcss-best-practices/references/layout-logical-properties.md +92 -0
- package/src/skills/tailwindcss-best-practices/references/layout-margin.md +126 -0
- package/src/skills/tailwindcss-best-practices/references/layout-min-max-sizing.md +63 -0
- package/src/skills/tailwindcss-best-practices/references/layout-object-fit-position.md +64 -0
- package/src/skills/tailwindcss-best-practices/references/layout-overflow.md +57 -0
- package/src/skills/tailwindcss-best-practices/references/layout-padding.md +77 -0
- package/src/skills/tailwindcss-best-practices/references/layout-position.md +85 -0
- package/src/skills/tailwindcss-best-practices/references/layout-tables.md +67 -0
- package/src/skills/tailwindcss-best-practices/references/layout-width.md +102 -0
- package/src/skills/tailwindcss-best-practices/references/transform-base.md +68 -0
- package/src/skills/tailwindcss-best-practices/references/transform-rotate.md +70 -0
- package/src/skills/tailwindcss-best-practices/references/transform-scale.md +83 -0
- package/src/skills/tailwindcss-best-practices/references/transform-skew.md +62 -0
- package/src/skills/tailwindcss-best-practices/references/transform-translate.md +77 -0
- package/src/skills/tailwindcss-best-practices/references/typography-font-text.md +142 -0
- package/src/skills/tailwindcss-best-practices/references/typography-list-style.md +65 -0
- package/src/skills/tailwindcss-best-practices/references/typography-text-align.md +60 -0
- package/src/skills/tailwindcss-best-practices/references/visual-background.md +76 -0
- package/src/skills/tailwindcss-best-practices/references/visual-border.md +108 -0
- package/src/skills/tailwindcss-best-practices/references/visual-effects.md +111 -0
- package/src/skills/tailwindcss-best-practices/references/visual-svg.md +82 -0
- package/src/skills/test-mobile-app/SKILL.md +11 -6
- package/src/skills/test-mobile-app/scripts/analyze_apk.py +15 -4
- package/src/skills/test-mobile-app/scripts/check_environment.py +5 -5
- package/src/skills/test-mobile-app/scripts/run_tests.py +1 -1
- package/src/skills/test-web-ui/SKILL.md +264 -84
- package/src/skills/test-web-ui/scripts/discover.py +25 -12
- package/src/skills/test-web-ui/scripts/run_tests.py +3 -2
- package/src/skills/tm-search/SKILL.md +242 -106
- package/src/skills/tm-search/references/scraping-fallback.md +60 -95
- package/src/skills/tm-search/scripts/tm_search.py +453 -375
- package/src/skills/vite-best-practices/SKILL.md +115 -0
- package/src/skills/vite-best-practices/references/build-and-ssr.md +255 -0
- package/src/skills/vite-best-practices/references/core-config.md +231 -0
- package/src/skills/vite-best-practices/references/core-features.md +222 -0
- package/src/skills/vite-best-practices/references/core-plugin-api.md +294 -0
- package/src/skills/vite-best-practices/references/environment-api.md +108 -0
- package/src/skills/vite-best-practices/references/rolldown-migration.md +242 -0
- package/src/skills/screen-recording/references/approach2-xvfb.md +0 -232
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: transform-skew
|
|
3
|
+
description: Skewing elements on x and y axes with degree values
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Skew
|
|
7
|
+
|
|
8
|
+
Utilities for skewing (distorting) elements.
|
|
9
|
+
|
|
10
|
+
## Usage
|
|
11
|
+
|
|
12
|
+
### Skewing both axes
|
|
13
|
+
|
|
14
|
+
Use `skew-<number>` to skew on both axes:
|
|
15
|
+
|
|
16
|
+
```html
|
|
17
|
+
<div class="skew-3">Slight skew</div>
|
|
18
|
+
<div class="skew-6">Moderate skew</div>
|
|
19
|
+
<div class="skew-12">Strong skew</div>
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
### Axis-specific skewing
|
|
23
|
+
|
|
24
|
+
Use `skew-x-<number>` or `skew-y-<number>` to skew on one axis:
|
|
25
|
+
|
|
26
|
+
```html
|
|
27
|
+
<div class="skew-x-12">Skewed horizontally</div>
|
|
28
|
+
<div class="skew-y-6">Skewed vertically</div>
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
### Negative skewing
|
|
32
|
+
|
|
33
|
+
Use negative values for opposite direction:
|
|
34
|
+
|
|
35
|
+
```html
|
|
36
|
+
<div class="-skew-3">Negative skew</div>
|
|
37
|
+
<div class="-skew-x-12">Negative x-axis skew</div>
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
### Custom values
|
|
41
|
+
|
|
42
|
+
Use arbitrary values for custom skew:
|
|
43
|
+
|
|
44
|
+
```html
|
|
45
|
+
<div class="skew-[3.142rad]">Custom radian skew</div>
|
|
46
|
+
<div class="skew-x-[15deg]">Custom degree skew</div>
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
## Key Points
|
|
50
|
+
|
|
51
|
+
- `skew-*` skews on both x and y axes
|
|
52
|
+
- `skew-x-*` skews horizontally only
|
|
53
|
+
- `skew-y-*` skews vertically only
|
|
54
|
+
- Values are in degrees: `skew-3` = 3 degrees
|
|
55
|
+
- Negative values skew in opposite direction
|
|
56
|
+
- Common values: `3`, `6`, `12` degrees for subtle effects
|
|
57
|
+
- Use sparingly - excessive skewing can make text hard to read
|
|
58
|
+
|
|
59
|
+
<!--
|
|
60
|
+
Source references:
|
|
61
|
+
- https://tailwindcss.com/docs/skew
|
|
62
|
+
-->
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: transform-translate
|
|
3
|
+
description: Translating elements on x, y, and z axes with spacing scale, percentages, and custom values
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Translate
|
|
7
|
+
|
|
8
|
+
Utilities for translating (moving) elements.
|
|
9
|
+
|
|
10
|
+
## Usage
|
|
11
|
+
|
|
12
|
+
### Spacing scale
|
|
13
|
+
|
|
14
|
+
Use `translate-<number>` to translate on both axes, or `translate-x-<number>` / `translate-y-<number>` for single axis:
|
|
15
|
+
|
|
16
|
+
```html
|
|
17
|
+
<div class="translate-2">Moved 2 units</div>
|
|
18
|
+
<div class="-translate-4">Moved -4 units</div>
|
|
19
|
+
<div class="translate-x-4">Moved right 4 units</div>
|
|
20
|
+
<div class="translate-y-6">Moved down 6 units</div>
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
### Percentage translation
|
|
24
|
+
|
|
25
|
+
Use `translate-<fraction>` to translate by percentage of element size:
|
|
26
|
+
|
|
27
|
+
```html
|
|
28
|
+
<div class="translate-1/2">Moved 50% on both axes</div>
|
|
29
|
+
<div class="translate-x-1/4">Moved 25% right</div>
|
|
30
|
+
<div class="-translate-y-full">Moved 100% up</div>
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
### Centering elements
|
|
34
|
+
|
|
35
|
+
Common pattern for centering absolutely positioned elements:
|
|
36
|
+
|
|
37
|
+
```html
|
|
38
|
+
<div class="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2">
|
|
39
|
+
Centered
|
|
40
|
+
</div>
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### Z-axis translation
|
|
44
|
+
|
|
45
|
+
Use `translate-z-<number>` for 3D translation (requires `transform-3d` on parent):
|
|
46
|
+
|
|
47
|
+
```html
|
|
48
|
+
<div class="transform-3d">
|
|
49
|
+
<div class="translate-z-4">Forward in 3D space</div>
|
|
50
|
+
<div class="-translate-z-8">Backward in 3D space</div>
|
|
51
|
+
</div>
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
### Custom values
|
|
55
|
+
|
|
56
|
+
Use arbitrary values for custom translations:
|
|
57
|
+
|
|
58
|
+
```html
|
|
59
|
+
<div class="translate-[3.142rad]">Custom translation</div>
|
|
60
|
+
<div class="translate-x-[117px]">Custom pixel value</div>
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
## Key Points
|
|
64
|
+
|
|
65
|
+
- `translate-*` moves on both x and y axes
|
|
66
|
+
- `translate-x-*` moves horizontally (right = positive)
|
|
67
|
+
- `translate-y-*` moves vertically (down = positive)
|
|
68
|
+
- `translate-z-*` moves in 3D space (forward = positive)
|
|
69
|
+
- Negative values use dash prefix: `-translate-4`, `-translate-x-8`
|
|
70
|
+
- Percentages are relative to element's own size
|
|
71
|
+
- Common centering: `top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2`
|
|
72
|
+
- Z-axis requires `transform-3d` utility on parent element
|
|
73
|
+
|
|
74
|
+
<!--
|
|
75
|
+
Source references:
|
|
76
|
+
- https://tailwindcss.com/docs/translate
|
|
77
|
+
-->
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: typography-font-text
|
|
3
|
+
description: Font size, weight, style, text color, line height, letter spacing, and text decoration
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Typography: Font & Text
|
|
7
|
+
|
|
8
|
+
Utilities for font styling, text color, line height, letter spacing, and decoration.
|
|
9
|
+
|
|
10
|
+
## Usage
|
|
11
|
+
|
|
12
|
+
### Font size
|
|
13
|
+
|
|
14
|
+
```html
|
|
15
|
+
<p class="text-xs">Extra small</p>
|
|
16
|
+
<p class="text-sm">Small</p>
|
|
17
|
+
<p class="text-base">Base (default)</p>
|
|
18
|
+
<p class="text-lg">Large</p>
|
|
19
|
+
<p class="text-xl">Extra large</p>
|
|
20
|
+
<p class="text-2xl">2xl</p>
|
|
21
|
+
<p class="text-[17px]">Arbitrary</p>
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
### Font weight
|
|
25
|
+
|
|
26
|
+
```html
|
|
27
|
+
<p class="font-thin">100</p>
|
|
28
|
+
<p class="font-light">300</p>
|
|
29
|
+
<p class="font-normal">400</p>
|
|
30
|
+
<p class="font-medium">500</p>
|
|
31
|
+
<p class="font-semibold">600</p>
|
|
32
|
+
<p class="font-bold">700</p>
|
|
33
|
+
<p class="font-extrabold">800</p>
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
### Font style and family
|
|
37
|
+
|
|
38
|
+
```html
|
|
39
|
+
<p class="italic">Italic</p>
|
|
40
|
+
<p class="not-italic">Not italic</p>
|
|
41
|
+
<p class="font-sans">Sans (default)</p>
|
|
42
|
+
<p class="font-serif">Serif</p>
|
|
43
|
+
<p class="font-mono">Monospace</p>
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
### Text color
|
|
47
|
+
|
|
48
|
+
```html
|
|
49
|
+
<p class="text-gray-900">Dark text</p>
|
|
50
|
+
<p class="text-blue-500">Blue</p>
|
|
51
|
+
<p class="text-red-500/50">50% opacity</p>
|
|
52
|
+
<p class="text-[#1da1f2]">Arbitrary color</p>
|
|
53
|
+
<p class="text-(--my-color)">CSS variable</p>
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
### Line height
|
|
57
|
+
|
|
58
|
+
```html
|
|
59
|
+
<p class="leading-none">1</p>
|
|
60
|
+
<p class="leading-tight">1.25</p>
|
|
61
|
+
<p class="leading-normal">1.5</p>
|
|
62
|
+
<p class="leading-relaxed">1.625</p>
|
|
63
|
+
<p class="leading-loose">2</p>
|
|
64
|
+
<p class="leading-[3rem]">Arbitrary</p>
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
### Letter spacing
|
|
68
|
+
|
|
69
|
+
```html
|
|
70
|
+
<p class="tracking-tighter">-0.05em</p>
|
|
71
|
+
<p class="tracking-tight">-0.025em</p>
|
|
72
|
+
<p class="tracking-normal">0</p>
|
|
73
|
+
<p class="tracking-wide">0.025em</p>
|
|
74
|
+
<p class="tracking-widest">0.1em</p>
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
### Text decoration
|
|
78
|
+
|
|
79
|
+
```html
|
|
80
|
+
<p class="underline">Underline</p>
|
|
81
|
+
<p class="line-through">Strikethrough</p>
|
|
82
|
+
<p class="no-underline">Remove</p>
|
|
83
|
+
<p class="overline">Overline</p>
|
|
84
|
+
<p class="underline decoration-2 underline-offset-4">Custom</p>
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
### Text transform and overflow
|
|
88
|
+
|
|
89
|
+
```html
|
|
90
|
+
<p class="uppercase">UPPERCASE</p>
|
|
91
|
+
<p class="lowercase">lowercase</p>
|
|
92
|
+
<p class="capitalize">Capitalize Each</p>
|
|
93
|
+
<p class="normal-case">Normal</p>
|
|
94
|
+
|
|
95
|
+
<p class="truncate">Single line ellipsis</p>
|
|
96
|
+
<p class="text-ellipsis overflow-hidden">Ellipsis</p>
|
|
97
|
+
<p class="line-clamp-3">Clamp to 3 lines</p>
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
### Text wrapping (v4.1+)
|
|
101
|
+
|
|
102
|
+
```html
|
|
103
|
+
<!-- Break long words without breaking layout -->
|
|
104
|
+
<p class="wrap-break-word">superlongwordthatwontfitinasmallcontainer</p>
|
|
105
|
+
|
|
106
|
+
<!-- Allow mid-word breaks (works in flex containers) -->
|
|
107
|
+
<div class="flex">
|
|
108
|
+
<div class="wrap-anywhere">longwordinsideaflex</div>
|
|
109
|
+
</div>
|
|
110
|
+
|
|
111
|
+
<!-- Normal wrapping behavior -->
|
|
112
|
+
<p class="wrap-normal">Default wrapping</p>
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
### Font feature settings (v4.2+)
|
|
116
|
+
|
|
117
|
+
```html
|
|
118
|
+
<p class="font-features-['tnum']">Tabular numbers: 1234567890</p>
|
|
119
|
+
<p class="font-features-['smcp']">Small caps text</p>
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
## Key Points
|
|
123
|
+
|
|
124
|
+
- Font size: `text-xs` through `text-9xl`, theme scale
|
|
125
|
+
- Weight: `font-thin` to `font-black`
|
|
126
|
+
- Color: `text-{color}-{shade}`, opacity modifier `/50`, arbitrary `text-[#hex]`
|
|
127
|
+
- Line height: `leading-none`, `leading-tight`, `leading-normal`, `leading-loose`
|
|
128
|
+
- Letter spacing: `tracking-tighter` to `tracking-widest`
|
|
129
|
+
- Decoration: `underline`, `line-through`, `no-underline`, `decoration-*`, `underline-offset-*`
|
|
130
|
+
- Overflow: `truncate` (ellipsis), `line-clamp-{n}`
|
|
131
|
+
- Wrapping (v4.1): `wrap-break-word`, `wrap-anywhere`, `wrap-normal`
|
|
132
|
+
- Font features (v4.2): `font-features-['tnum']`, `font-features-['smcp']`
|
|
133
|
+
|
|
134
|
+
<!--
|
|
135
|
+
Source references:
|
|
136
|
+
- https://tailwindcss.com/docs/font-size
|
|
137
|
+
- https://tailwindcss.com/docs/font-weight
|
|
138
|
+
- https://tailwindcss.com/docs/text-color
|
|
139
|
+
- https://tailwindcss.com/docs/line-height
|
|
140
|
+
- https://tailwindcss.com/docs/letter-spacing
|
|
141
|
+
- https://tailwindcss.com/docs/text-decoration
|
|
142
|
+
-->
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: typography-list-style
|
|
3
|
+
description: Controlling list marker style and position with list-style-type and list-style-position
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# List Style
|
|
7
|
+
|
|
8
|
+
Utilities for controlling the marker style and position of list items.
|
|
9
|
+
|
|
10
|
+
## Usage
|
|
11
|
+
|
|
12
|
+
### List style type
|
|
13
|
+
|
|
14
|
+
```html
|
|
15
|
+
<ul class="list-disc">
|
|
16
|
+
<li>Disc bullets (default for ul)</li>
|
|
17
|
+
</ul>
|
|
18
|
+
|
|
19
|
+
<ol class="list-decimal">
|
|
20
|
+
<li>Decimal numbers (default for ol)</li>
|
|
21
|
+
</ol>
|
|
22
|
+
|
|
23
|
+
<ul class="list-none">
|
|
24
|
+
<li>No markers (often with custom bullets via before/after)</li>
|
|
25
|
+
</ul>
|
|
26
|
+
|
|
27
|
+
<!-- Custom value -->
|
|
28
|
+
<ol class="list-[upper-roman]">Roman numerals</ol>
|
|
29
|
+
<ul class="list-(--my-marker)">Custom property</ul>
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
### List style position
|
|
33
|
+
|
|
34
|
+
```html
|
|
35
|
+
<!-- Bullets inside content flow -->
|
|
36
|
+
<ul class="list-inside list-disc">
|
|
37
|
+
<li>5 cups chopped Porcini mushrooms</li>
|
|
38
|
+
</ul>
|
|
39
|
+
|
|
40
|
+
<!-- Bullets outside content flow (default) -->
|
|
41
|
+
<ul class="list-outside list-disc">
|
|
42
|
+
<li>5 cups chopped Porcini mushrooms</li>
|
|
43
|
+
</ul>
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
### Responsive
|
|
47
|
+
|
|
48
|
+
```html
|
|
49
|
+
<ul class="list-none md:list-disc md:list-outside">...</ul>
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
## Key Points
|
|
53
|
+
|
|
54
|
+
- `list-disc` - disc bullets (ul default)
|
|
55
|
+
- `list-decimal` - decimal numbers (ol default)
|
|
56
|
+
- `list-none` - no markers
|
|
57
|
+
- Custom: `list-[upper-roman]`, `list-[lower-alpha]`, `list-(--var)`
|
|
58
|
+
- `list-inside` - markers inside content box
|
|
59
|
+
- `list-outside` - markers outside content box (default)
|
|
60
|
+
|
|
61
|
+
<!--
|
|
62
|
+
Source references:
|
|
63
|
+
- https://tailwindcss.com/docs/list-style-type
|
|
64
|
+
- https://tailwindcss.com/docs/list-style-position
|
|
65
|
+
-->
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: typography-text-align
|
|
3
|
+
description: Controlling text alignment with left, center, right, justify, and logical properties
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Text Align
|
|
7
|
+
|
|
8
|
+
Utilities for controlling the alignment of text.
|
|
9
|
+
|
|
10
|
+
## Usage
|
|
11
|
+
|
|
12
|
+
### Basic alignment
|
|
13
|
+
|
|
14
|
+
Use `text-left`, `text-center`, `text-right`, `text-justify`:
|
|
15
|
+
|
|
16
|
+
```html
|
|
17
|
+
<p class="text-left">Left aligned</p>
|
|
18
|
+
<p class="text-center">Center aligned</p>
|
|
19
|
+
<p class="text-right">Right aligned</p>
|
|
20
|
+
<p class="text-justify">Justified text</p>
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
### Logical properties
|
|
24
|
+
|
|
25
|
+
Use `text-start` and `text-end` for RTL-aware alignment:
|
|
26
|
+
|
|
27
|
+
```html
|
|
28
|
+
<div dir="ltr">
|
|
29
|
+
<p class="text-start">Left in LTR</p>
|
|
30
|
+
<p class="text-end">Right in LTR</p>
|
|
31
|
+
</div>
|
|
32
|
+
<div dir="rtl">
|
|
33
|
+
<p class="text-start">Right in RTL</p>
|
|
34
|
+
<p class="text-end">Left in RTL</p>
|
|
35
|
+
</div>
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
### Responsive alignment
|
|
39
|
+
|
|
40
|
+
```html
|
|
41
|
+
<p class="text-left md:text-center lg:text-right">
|
|
42
|
+
Responsive alignment
|
|
43
|
+
</p>
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## Key Points
|
|
47
|
+
|
|
48
|
+
- `text-left` - aligns to left edge
|
|
49
|
+
- `text-center` - centers text
|
|
50
|
+
- `text-right` - aligns to right edge
|
|
51
|
+
- `text-justify` - justifies text (spaces words evenly)
|
|
52
|
+
- `text-start` - aligns to start (left in LTR, right in RTL)
|
|
53
|
+
- `text-end` - aligns to end (right in LTR, left in RTL)
|
|
54
|
+
- Use logical properties (`text-start`, `text-end`) for internationalization
|
|
55
|
+
- Common pattern: `text-center` for headings, `text-left` for body text
|
|
56
|
+
|
|
57
|
+
<!--
|
|
58
|
+
Source references:
|
|
59
|
+
- https://tailwindcss.com/docs/text-align
|
|
60
|
+
-->
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: visual-background
|
|
3
|
+
description: Background color, gradient, image, and attachment utilities
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Background
|
|
7
|
+
|
|
8
|
+
Utilities for background color, gradients, images, and attachment.
|
|
9
|
+
|
|
10
|
+
## Usage
|
|
11
|
+
|
|
12
|
+
### Background color
|
|
13
|
+
|
|
14
|
+
```html
|
|
15
|
+
<div class="bg-white">White</div>
|
|
16
|
+
<div class="bg-gray-100">Light gray</div>
|
|
17
|
+
<div class="bg-blue-500">Blue</div>
|
|
18
|
+
<div class="bg-sky-500/50">50% opacity</div>
|
|
19
|
+
<div class="bg-[#1da1f2]">Arbitrary</div>
|
|
20
|
+
<div class="bg-(--my-bg)">CSS variable</div>
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Color palette follows theme (red, orange, amber, yellow, lime, green, emerald, teal, cyan, sky, blue, indigo, violet, purple, fuchsia, pink, rose, slate, gray, zinc, neutral, stone).
|
|
24
|
+
|
|
25
|
+
### Background image and gradient
|
|
26
|
+
|
|
27
|
+
```html
|
|
28
|
+
<div class="bg-gradient-to-r from-blue-500 to-purple-600">Linear gradient</div>
|
|
29
|
+
<div class="bg-gradient-to-br from-indigo-500 via-purple-500 to-pink-500">Multi-stop</div>
|
|
30
|
+
|
|
31
|
+
<div class="bg-[url('/img/hero.jpg')]">Image</div>
|
|
32
|
+
<div class="bg-[url('/img/hero.jpg')] bg-cover bg-center">Image with size/position</div>
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Gradient directions: `to-t`, `to-tr`, `to-r`, `to-br`, `to-b`, `to-bl`, `to-l`, `to-tl`.
|
|
36
|
+
|
|
37
|
+
### Background size and position
|
|
38
|
+
|
|
39
|
+
```html
|
|
40
|
+
<div class="bg-auto">auto</div>
|
|
41
|
+
<div class="bg-cover">cover</div>
|
|
42
|
+
<div class="bg-contain">contain</div>
|
|
43
|
+
|
|
44
|
+
<div class="bg-center">center</div>
|
|
45
|
+
<div class="bg-top">top</div>
|
|
46
|
+
<div class="bg-bottom">bottom</div>
|
|
47
|
+
<div class="bg-left">left</div>
|
|
48
|
+
<div class="bg-right">right</div>
|
|
49
|
+
<div class="bg-[position:2rem_2rem]">Arbitrary</div>
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
### Background repeat and attachment
|
|
53
|
+
|
|
54
|
+
```html
|
|
55
|
+
<div class="bg-repeat">repeat (default)</div>
|
|
56
|
+
<div class="bg-no-repeat">no-repeat</div>
|
|
57
|
+
<div class="bg-repeat-x">repeat-x</div>
|
|
58
|
+
|
|
59
|
+
<div class="bg-fixed">fixed (parallax)</div>
|
|
60
|
+
<div class="bg-local">local</div>
|
|
61
|
+
<div class="bg-scroll">scroll</div>
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
## Key Points
|
|
65
|
+
|
|
66
|
+
- Colors: `bg-{color}-{shade}`, opacity `/50`, arbitrary `bg-[#hex]`
|
|
67
|
+
- Gradients: `bg-gradient-to-{dir}`, `from-*`, `via-*`, `to-*`
|
|
68
|
+
- Image: `bg-[url('...')]`, `bg-cover`, `bg-center`, etc.
|
|
69
|
+
- Size: `bg-auto`, `bg-cover`, `bg-contain`
|
|
70
|
+
- Position: `bg-center`, `bg-top`, `bg-[position:...]`
|
|
71
|
+
|
|
72
|
+
<!--
|
|
73
|
+
Source references:
|
|
74
|
+
- https://tailwindcss.com/docs/background-color
|
|
75
|
+
- https://tailwindcss.com/docs/background-image
|
|
76
|
+
-->
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: visual-border
|
|
3
|
+
description: Border width, color, style, and border radius
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Border
|
|
7
|
+
|
|
8
|
+
Utilities for border width, color, style, and radius.
|
|
9
|
+
|
|
10
|
+
## Usage
|
|
11
|
+
|
|
12
|
+
### Border width
|
|
13
|
+
|
|
14
|
+
```html
|
|
15
|
+
<div class="border">1px all sides</div>
|
|
16
|
+
<div class="border-2">2px</div>
|
|
17
|
+
<div class="border-0">No border</div>
|
|
18
|
+
|
|
19
|
+
<div class="border-t border-r border-b border-l">Per side</div>
|
|
20
|
+
<div class="border-x-2">Horizontal</div>
|
|
21
|
+
<div class="border-y">Vertical</div>
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
### Border color
|
|
25
|
+
|
|
26
|
+
```html
|
|
27
|
+
<div class="border border-gray-300">Gray border</div>
|
|
28
|
+
<div class="border-2 border-blue-500">Blue</div>
|
|
29
|
+
<div class="border border-red-500/50">With opacity</div>
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
### Border style
|
|
33
|
+
|
|
34
|
+
```html
|
|
35
|
+
<div class="border border-solid">Solid (default)</div>
|
|
36
|
+
<div class="border border-dashed">Dashed</div>
|
|
37
|
+
<div class="border border-dotted">Dotted</div>
|
|
38
|
+
<div class="border border-double">Double</div>
|
|
39
|
+
<div class="border border-none">None</div>
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
### Border radius
|
|
43
|
+
|
|
44
|
+
```html
|
|
45
|
+
<div class="rounded">Small (default)</div>
|
|
46
|
+
<div class="rounded-sm">2px</div>
|
|
47
|
+
<div class="rounded-md">6px</div>
|
|
48
|
+
<div class="rounded-lg">8px</div>
|
|
49
|
+
<div class="rounded-xl">12px</div>
|
|
50
|
+
<div class="rounded-2xl">16px</div>
|
|
51
|
+
<div class="rounded-full">Pill/circle</div>
|
|
52
|
+
<div class="rounded-none">0</div>
|
|
53
|
+
|
|
54
|
+
<div class="rounded-t-lg rounded-b-none">Per corner</div>
|
|
55
|
+
<div class="rounded-s-md rounded-e-xl">Logical (start/end)</div>
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
### Divide (between children)
|
|
59
|
+
|
|
60
|
+
```html
|
|
61
|
+
<div class="divide-y divide-gray-200">
|
|
62
|
+
<div>Item 1</div>
|
|
63
|
+
<div>Item 2</div>
|
|
64
|
+
<div>Item 3</div>
|
|
65
|
+
</div>
|
|
66
|
+
<div class="divide-x divide-gray-300 flex">
|
|
67
|
+
<div>Col 1</div>
|
|
68
|
+
<div>Col 2</div>
|
|
69
|
+
</div>
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
### Ring (focus outline)
|
|
73
|
+
|
|
74
|
+
```html
|
|
75
|
+
<button class="ring-2 ring-blue-500 ring-offset-2">Ring</button>
|
|
76
|
+
<button class="focus:ring-3 focus:ring-blue-500">Focus ring</button>
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
### Outline
|
|
80
|
+
|
|
81
|
+
Separate from border; used for focus states. In v4: `outline` = 1px; `outline-2`, `outline-4` for width. Use `outline-offset-2` for offset.
|
|
82
|
+
|
|
83
|
+
```html
|
|
84
|
+
<button class="outline outline-offset-2 outline-sky-500">Outline</button>
|
|
85
|
+
<button class="focus:outline-2 focus:outline-cyan-500">Focus outline</button>
|
|
86
|
+
<!-- Accessibility: invisible but visible in forced-colors -->
|
|
87
|
+
<button class="focus:outline-hidden">Focus outline-hidden</button>
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
v4: `outline-none` = `outline-style: none`; `outline-hidden` = invisible but shows in forced-colors mode.
|
|
91
|
+
|
|
92
|
+
## Key Points
|
|
93
|
+
|
|
94
|
+
- Width: `border`, `border-{0,2,4,8}`, `border-{t,r,b,l,x,y}`
|
|
95
|
+
- Color: `border-{color}`, opacity modifier
|
|
96
|
+
- Radius: `rounded-{size}`, `rounded-full`, `rounded-{t,r,b,l,s,e}-*`, logical `rounded-s-*`, `rounded-e-*`
|
|
97
|
+
- Divide: `divide-{x,y}`, `divide-{color}` for borders between flex/grid children
|
|
98
|
+
- Ring: `ring`, `ring-{n}`, `ring-{color}`, `ring-offset-{n}` (v4 default ring = 1px; use `ring-3` for 3px)
|
|
99
|
+
- Outline: `outline`, `outline-{n}`, `outline-{color}`, `outline-offset-{n}`, `outline-hidden`, `outline-none`
|
|
100
|
+
|
|
101
|
+
<!--
|
|
102
|
+
Source references:
|
|
103
|
+
- https://tailwindcss.com/docs/border-width
|
|
104
|
+
- https://tailwindcss.com/docs/border-color
|
|
105
|
+
- https://tailwindcss.com/docs/border-radius
|
|
106
|
+
- https://tailwindcss.com/docs/divide-width
|
|
107
|
+
- https://tailwindcss.com/docs/ring-width
|
|
108
|
+
-->
|