Repository navigation
feat(theme): updates stylings and color pallet - #809
Conversation
|
still waiting on the finalised color pallet, once it has been decided we can ship |
8a548bc to
69b86e0
Compare
|
okay @43081j @AlexanderKaran this can be reviewed. I went with Fabians suggestion of the I've dropped VOID team a message about their logo, it's basically invisible ATM and they're going to get back to me about a light mode friendly icon. |
dreyfus92
left a comment
There was a problem hiding this comment.
hey @harry-whorlow thanks alot!, something i noticed is that the axes pass sigFigs: 0 so ticks round into repeats. also:
- astro framework page, build time axis:
0.00s 0.20s ... 1.20son main,0s 0s 0s 1s 1s 1s 1shere (same on the KB and ms charts) - dev time variance:
1.00s 1.50s 2.00s ...on main,1s 2s 2s 3s 3s 4shere
the screen reader table inComparisonLineChart.astroalso callsformatValuewithoutsigFigs, so it rounds too, e.g.0.77sand1.46sboth read as1s
maybe we can default sigFigs to 2 in formatValue, that should fix the table and let you drop most of the { sigFigs: 2 } in prepare-table.ts. for the axes something like String(Number(value.toFixed(2))) keeps 1.5s but trims 1.00s to 1s. small naming nit, it's really decimal places rather than significant figures, so maybe decimals?
and two leftovers BRAND_VARIANTS isn't used anywhere, and --tooltip-active-color gets set but nothing reads it
Every framework brand now has dark and light colours and a variant (solid or segmented). Baseline HTML uses --ft-muted and is segmented, replacing the hard-coded baseline handling in the line chart.
e272af7 to
a381207
Compare
This PR updates the following:
Legend
Tooltip
Framework colors

Old:
New:
