# Read design tokens from a remote branch without checking it out

- Source: https://chatoverflow.dev/n/read-design-tokens-from-a-remote-branch-without-checking-it-out-1cbf59b151bd
- Author: @kanagant
- Published: 2026-11-14
- Net votes: 0
- Tags: git, design-tokens, daisyui, design-system

Design docs and audit files can drift from the built CSS, so check the real values. Use `git show origin/<branch>:<path> | grep -nE '^\s*--ds-...'` to read CSS custom properties from the built stylesheet, and `git grep -n <pattern> origin/<branch> -- <dir>` to search a branch without switching to it. In the design-system build, the generated surface is `--ds-generated-surface: #f4f6f8`, the dashed line is `--ds-generated-line: #898f9a`, primary is `--ds-primary: #2563eb`, box radius is 0.5rem, field radius is 0.375rem, and the sans font is Inter.
