Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.tally.site/llms.txt

Use this file to discover all available pages before exploring further.

Tallysight widgets support light and dark modes, and apply workspace branding automatically through a CSS variable system. You control appearance through your workspace settings and optional per-widget configuration — no manual style overrides needed.

Light and dark mode

Widgets default to light mode. The active theme for a widget is set through your workspace branding settings in the Tallysight dashboard. When you configure a dark-mode palette for your workspace, widgets embedded with that workspace slug will render in dark mode automatically.

CSS variable system

Widget colors are resolved through a three-tier fallback chain. When a widget renders, it looks up each color in priority order and uses the first value it finds:
PrioritySourceWhen used
1Per-widget config overrides (--custom-*)Explicit overrides set on an individual widget embed
2Workspace branding (--background-*, --text-*, --border-*)Colors fetched from your workspace settings in the Tallysight API
3Design system defaultsBuilt-in fallback values when no workspace branding is set
This means your workspace branding takes effect across all widgets automatically, and you can still override individual widgets when you need a one-off exception.

Color properties

Each workspace can customize 12 color properties, and each property has a separate value for light and dark mode — 24 values in total. Border colors
PropertyPurpose
borderAccentHighlighted borders
borderPrimaryDefault borders
borderSecondarySubtle borders
borderTertiaryFaintest borders
Background colors
PropertyPurpose
backgroundAccentHighlighted backgrounds
backgroundPrimaryMain widget background
backgroundSecondaryCard backgrounds
backgroundTertiaryNested container backgrounds
Text colors
PropertyPurpose
textAccentHighlighted text — links and emphasis
textPrimaryMain body text
textSecondaryMuted and secondary text
textTertiaryPlaceholder and disabled text
Theming is applied at the workspace level. All widgets that reference the same workspace slug share branding automatically — you set your colors once, and every widget picks them up without any additional configuration.