Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Add accessible colour set to use in line plots

Aperta
#357 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 7 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript

Direzione di ricerca

The issue gives Davidia's current eight-colour set as a reference, but the payload does not name the theme file or the plotting code, so first locate where the theme is defined in this TypeScript repo. The work is choosing a palette of 8-10 colours with good contrast, plus matching lighter or darker variants for dark mode, and exporting it from the theme. Done means a palette that a maintainer agrees on, checked for colour-blind distinguishability and contrast, and a note that line plots should also vary dash or weight.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

needs-triage

Propose to add a colour set that can be imported with the theme to use in line plots.

  • Should be around 8-10 colours
  • Colours clearly distinguishable from one another (although in line plots, colour should not be the only way to distinguish between lines, e.g. use dots/dashes with differing weight)
  • Good contrast for visual impairments (low vision, colour blindness)
  • Work for light and dark mode (same hue with brightness/lightness adjusted)

As an example, Davidia's current colour set is
'rgb(0, 0, 0)', // #000000, black
'rgb(0, 158, 115)', // #009e73, teal
'rgb(230, 157, 0)', // #e69d00, orange
'rgb(86, 179, 233)', // #56b3e9, light blue
'rgb(240, 228, 66)', // #f0e442, yellow
'rgb(0, 114, 178)', // #0072b2, blue
'rgb(213, 94, 0)', // #d55e00, dark orange
'rgb(204, 121, 167)', // #cc79a7, pink

Image

A useful tool for colour set accessibility.

Lingua principale
TypeScript
Stelle
9
Fork
4
Merge medio
7g 17h
PR unite (30g)
29

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di DiamondLightSource/sci-react-ui

Tutte le issue di DiamondLightSource/sci-react-ui

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.