Reference
Theme tokens
Every token of the default theme, read from the engine when this page is built. Use the key after the utility, such as `p:4` or `c:blue-700`.
Your own tokens
Extend or replace any category in jx.yaml
under theme.extend
or theme.override, or build the YAML visually in the Theme Studio.
Colors
Category colors, used by
c:, bg:, bc:, from:, to:, ringc:…
transparent
transparent
current
currentColor
black
#000000
white
#ffffff
gray
#6b7280
gray-100
#f3f4f6
gray-300
#d1d5db
gray-500
#6b7280
gray-700
#374151
gray-900
#111827
red
#ef4444
red-100
#fee2e2
red-300
#fca5a5
red-500
#ef4444
red-700
#b91c1c
red-900
#7f1d1d
orange
#f97316
orange-100
#ffedd5
orange-300
#fdba74
orange-500
#f97316
orange-700
#c2410c
orange-900
#7c2d12
yellow
#eab308
yellow-100
#fef9c3
yellow-300
#fde047
yellow-500
#eab308
yellow-700
#a16207
yellow-900
#713f12
green
#22c55e
green-100
#dcfce7
green-300
#86efac
green-500
#22c55e
green-700
#15803d
green-900
#14532d
teal
#14b8a6
teal-100
#ccfbf1
teal-300
#5eead4
teal-500
#14b8a6
teal-700
#0f766e
teal-900
#134e4a
blue
#3b82f6
blue-100
#dbeafe
blue-300
#93c5fd
blue-500
#3b82f6
blue-700
#1d4ed8
blue-900
#1e3a8a
indigo
#6366f1
indigo-100
#e0e7ff
indigo-300
#a5b4fc
indigo-500
#6366f1
indigo-700
#4338ca
indigo-900
#312e81
purple
#a855f7
purple-100
#f3e8ff
purple-300
#d8b4fe
purple-500
#a855f7
purple-700
#7e22ce
purple-900
#581c87
pink
#ec4899
pink-100
#fce7f3
pink-300
#f9a8d4
pink-500
#ec4899
pink-700
#be185d
pink-900
#831843
Spacing
Category spacing, used by
p:, m:, gap:, inset:…
| Key | Value |
|---|---|
0 |
0px |
px |
1px |
1 |
0.25rem |
2 |
0.5rem |
3 |
0.75rem |
4 |
1rem |
5 |
1.25rem |
6 |
1.5rem |
7 |
1.75rem |
8 |
2rem |
9 |
2.25rem |
10 |
2.5rem |
11 |
2.75rem |
12 |
3rem |
13 |
3.25rem |
14 |
3.5rem |
15 |
3.75rem |
16 |
4rem |
auto |
auto |
Font families
Category font-family, used by
ff:
| Key | Value |
|---|---|
sans |
ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif
|
serif |
ui-serif, Georgia, Cambria, "Times New Roman", serif |
mono |
ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace
|
Font sizes
Category font-size, used by
fs:
| Key | Value |
|---|---|
xs |
0.75rem |
sm |
0.875rem |
base |
1rem |
lg |
1.125rem |
xl |
1.25rem |
2xl |
1.5rem |
3xl |
1.875rem |
4xl |
2.25rem |
5xl |
3rem |
6xl |
3.75rem |
Font weights
Category font-weight, used by
fw:
| Key | Value |
|---|---|
thin |
100 |
extralight |
200 |
light |
300 |
normal |
400 |
medium |
500 |
semibold |
600 |
bold |
700 |
extrabold |
800 |
black |
900 |
Line heights
Category line-height, used by
lh:
| Key | Value |
|---|---|
none |
1 |
tight |
1.25 |
snug |
1.375 |
normal |
1.5 |
relaxed |
1.625 |
loose |
2 |
Border radius
Category border-radius, used by
br:
| Key | Value |
|---|---|
none |
0px |
sm |
0.125rem |
md |
0.375rem |
lg |
0.5rem |
xl |
0.75rem |
2xl |
1rem |
3xl |
1.5rem |
full |
9999px |
Border widths
Category border-width, used by
bw:
| Key | Value |
|---|---|
0 |
0px |
1 |
1px |
2 |
2px |
4 |
4px |
8 |
8px |
Shadows
Category shadow, used by
sh:
| Key | Value |
|---|---|
sm |
0 1px 2px 0 rgb(0 0 0 / 0.05) |
md |
0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)
|
lg |
0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)
|
xl |
0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)
|
2xl |
0 25px 50px -12px rgb(0 0 0 / 0.25) |
inner |
inset 0 2px 4px 0 rgb(0 0 0 / 0.05) |
none |
none |
Opacity
Category opacity, used by
o:
| Key | Value |
|---|---|
0 |
0 |
5 |
0.05 |
10 |
0.1 |
20 |
0.2 |
30 |
0.3 |
40 |
0.4 |
50 |
0.5 |
60 |
0.6 |
70 |
0.7 |
80 |
0.8 |
90 |
0.9 |
95 |
0.95 |
100 |
1 |
Breakpoints
Category breakpoints, used by
sm:, md:, lg:…
| Key | Value |
|---|---|
sm |
640px |
md |
768px |
lg |
1024px |
xl |
1280px |
2xl |
1536px |