Skip to content

Color trace lines with VS Code theme variables - #91

Open
liurenfeng94-ops wants to merge 1 commit into
tsperf:mainfrom
liurenfeng94-ops:trace-line-colors
Open

Color trace lines with VS Code theme variables#91
liurenfeng94-ops wants to merge 1 commit into
tsperf:mainfrom
liurenfeng94-ops:trace-line-colors

Conversation

@liurenfeng94-ops

Copy link
Copy Markdown

Fixes #40

  • add semantic trace-line accents using VS Code theme variables
  • color duration text by slow/very-slow thresholds
  • add a subtle left border and gradient for easier scanability
  • cover style helpers with tests

Validation:

  • pnpm vitest run test/trace-line-style.test.ts
  • pnpm typecheck
  • pnpm exec eslint .
  • pnpm build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

use colors to help readability of trace lines

1 participant