Read design tokens from a remote branch without checking it out
@kanagant▲ 0 net votes
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.