Skip to content

Theme Tokens

This table lists every token the default theme sheet (pyjinhx/client/pjx_theme.css) defines, with its light and dark value. It is generated from the sheet when the docs are built, so it always matches what ships.

A — in the Dark column means the token has one value in both modes.

See the theming guide for how to turn the theme on and override tokens.

Token Light Dark
--pjx-font-family-sans system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif —
--pjx-font-family-mono ui-monospace, "SFMono-Regular", "Cascadia Code", Menlo, Consolas, monospace —
--pjx-font-size-xs 0.75rem —
--pjx-font-size-sm 0.875rem —
--pjx-font-size-md 1rem —
--pjx-font-size-lg 1.125rem —
--pjx-font-size-xl 1.25rem —
--pjx-font-size-2xl 1.5rem —
--pjx-font-size-3xl 1.875rem —
--pjx-font-weight-regular 400 —
--pjx-font-weight-medium 500 —
--pjx-font-weight-semibold 600 —
--pjx-font-weight-bold 700 —
--pjx-line-height-tight 1.25 —
--pjx-line-height-normal 1.5 —
--pjx-line-height-relaxed 1.7 —
--pjx-space-1 0.25rem —
--pjx-space-2 0.5rem —
--pjx-space-3 0.75rem —
--pjx-space-4 1rem —
--pjx-space-5 1.25rem —
--pjx-space-6 1.5rem —
--pjx-space-8 2rem —
--pjx-space-10 2.5rem —
--pjx-space-12 3rem —
--pjx-radius-sm 4px —
--pjx-radius-md 8px —
--pjx-radius-lg 12px —
--pjx-radius-full 9999px —
--pjx-duration-fast 100ms —
--pjx-duration-normal 150ms —
--pjx-duration-slow 250ms —
--pjx-easing-standard cubic-bezier(0.2, 0, 0, 1) —
--pjx-easing-exit cubic-bezier(0.4, 0, 1, 1) —
--pjx-z-raised 10 —
--pjx-z-sticky 100 —
--pjx-z-overlay 200 —
--pjx-z-popover 300 —
--pjx-z-tooltip 400 —
--pjx-z-notification 500 —
--pjx-z-toast 600 —
--pjx-z-page-loader 1000 —
--pjx-color-surface #ffffff #18181b
--pjx-color-surface-raised #ffffff #27272a
--pjx-color-surface-alt #fafafa #09090b
--pjx-color-surface-hover #f4f4f5 #3f3f46
--pjx-color-border #e4e4e7 #3f3f46
--pjx-color-border-strong #d4d4d8 #52525b
--pjx-color-text #18181b #f4f4f5
--pjx-color-text-muted #52525b #a1a1aa
--pjx-color-text-subtle #a1a1aa #71717a
--pjx-color-brand #27272a #e4e4e7
--pjx-color-brand-hover #18181b #f4f4f5
--pjx-color-brand-subtle #f4f4f5 #09090b
--pjx-color-brand-muted #d4d4d8 #3f3f46
--pjx-color-brand-text #18181b #d4d4d8
--pjx-color-on-brand #ffffff #09090b
--pjx-color-border-focus #3f3f46 #a1a1aa
--pjx-color-focus-ring #e4e4e7 #27272a
--pjx-color-info #0284c7 #38bdf8
--pjx-color-info-subtle #f0f9ff #082f49
--pjx-color-info-border #bae6fd #075985
--pjx-color-info-text #075985 #bae6fd
--pjx-color-on-info #ffffff #082f49
--pjx-color-success #16a34a #4ade80
--pjx-color-success-subtle #f0fdf4 #052e16
--pjx-color-success-border #bbf7d0 #166534
--pjx-color-success-text #166534 #bbf7d0
--pjx-color-on-success #ffffff #052e16
--pjx-color-warning #b45309 #fbbf24
--pjx-color-warning-subtle #fffbeb #451a03
--pjx-color-warning-border #fde68a #92400e
--pjx-color-warning-text #92400e #fde68a
--pjx-color-on-warning #ffffff #451a03
--pjx-color-error #dc2626 #f87171
--pjx-color-error-subtle #fef2f2 #450a0a
--pjx-color-error-border #fecaca #991b1b
--pjx-color-error-text #991b1b #fecaca
--pjx-color-on-error #ffffff #450a0a
--pjx-chart-series-1 #2a78d6 #3987e5
--pjx-chart-series-2 #eb6834 #d95926
--pjx-chart-series-3 #1baf7a #199e70
--pjx-chart-series-4 #eda100 #c98500
--pjx-chart-series-5 #e87ba4 #d55181
--pjx-chart-series-6 #008300 #008300
--pjx-chart-series-7 #6250d6 #9085e9
--pjx-chart-series-8 #e34948 #e66767
--pjx-shadow-sm 0 1px 2px rgb(0 0 0 / 0.06) 0 1px 2px rgb(0 0 0 / 0.35)
--pjx-shadow-md 0 4px 12px rgb(0 0 0 / 0.08) 0 4px 12px rgb(0 0 0 / 0.4)
--pjx-shadow-lg 0 12px 32px rgb(0 0 0 / 0.12) 0 12px 32px rgb(0 0 0 / 0.5)