Replace the Pages site color palette
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 35/100
- Type d'issue
- Fonctionnalité
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- css, go, html
- Domaine
- design, documentation
Piste de recherche
Start with the palette tokens in docs/index.html (lines 29-61) and the copy in docs/404.html, then trace the same hex values into docs/favicon.svg, docs/assets/, tools/demosvg/main.go and internal/report/html.go with its golden file. The palette itself is a maintainer decision, so confirm the target colors before editing. Done means no old values remain in those files, text and status colors pass WCAG AA contrast in both schemes, and make demo-check passes.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Summary
The maintainer wants a new color palette for the GitHub Pages site. Today it is a warm brown and cream scheme with an orange accent, and the same hex values are copied into ten files, so a change made only in index.html would leave the 404 page, favicon, social card and demo picture on the old colors.
Where
docs/index.html:29-45(dark tokens, for example--bg: #1B1714,--accent: #FF8A4C)docs/index.html:46-61(light tokens,--bg: #F6F1EA,--accent: #C2521A,--link: #A8440F)docs/index.html:25-26(theme-colormeta)docs/404.html:12-26(a second copy of the tokens)docs/favicon.svg,docs/assets/wordmark.svg,docs/assets/social-preview.svg(and the exportedsocial-preview.png)docs/assets/demo.svg, generated bytools/demosvg/main.gointernal/report/html.goand its golden fileinternal/report/testdata/golden/report.html(the HTML report uses the same palette)
Suggested fix
- Choose a new palette with light and dark variants (2 or 3 candidates to compare). For each, check WCAG AA contrast (4.5:1) for body text, muted text, links, and the severity and confidence colors on both backgrounds.
- Put the tokens in one place shared by
index.htmland404.html(for exampledocs/assets/site.css, which the CSP already allows ifstyle-src 'self'is added) so the two pages cannot drift. - Update favicon, wordmark and social preview, re-export the PNG, and regenerate
demo.svgwithtools/demosvg. - Decide whether the HTML report follows the site. If it does, update
internal/report/html.goand regenerate the golden file withgo test ./internal/report -update, reading the diff.
Acceptance criteria
- No old palette value remains in
docs/ortools/demosvg(except where the report intentionally keeps it). - Text, links and status colors meet WCAG AA in both color schemes.
-
make demo-checkpasses.
Related: #75
Getting started
- Relevant files:
docs/index.html,docs/404.html,docs/assets/,tools/demosvg/main.go,internal/report/html.go - How to run tests:
make test(Unix) or.\make.ps1 test(Windows PowerShell); one package:go test ./internal/<pkg> - Related docs:
.github/workflows/pages.yml(what is deployed)
Filed by repo-audit/full-audit at a7f6edc. Severity: medium. Effort: M. audit-key: enhancement|docs/index.html|palette
- Langage dominant
- Go
- Étoiles
- 0
- Forks
- 1
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Préparer son environnement
Lance le conteneur de développement du projet dans votre navigateur, avec votre propre compte GitHub.
- Fournit un Dockerfile ou un fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de TMHSDigital/Spackle
-
enhancement good first issue severity: low
Difficulté 2/5 Une demi-journée Accessibilité débutants 72/100
TMHSDigital/Spackle#139 ·
-
enhancement good first issue severity: low
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
TMHSDigital/Spackle#138 ·
-
documentation good first issue severity: low
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
TMHSDigital/Spackle#135 ·
-
bug good first issue severity: low
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
TMHSDigital/Spackle#131 ·
-
runs and runs compare print target text without the control-character cleaning the reports useOuvertebug good first issue severity: low
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
TMHSDigital/Spackle#129 ·
Toutes les issues de TMHSDigital/Spackle
Issues similaires
-
bug raised-by:reviewer
Difficulté 2/5 1-3 heures Accessibilité débutants 66/100
medici-finance/assay#7655 ·
Les mainteneurs répondent en général sous 1 jour
-
helm chart: make DaemonSet pod affinity configurable via values.yamlPeut-être pris @Young-Zen l’a pris aujourd’hui. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
flannel-io/flannel#2632 ·
Les mainteneurs répondent en général sous 6 jours
-
go-vulnerability security-scan
Difficulté 1/5 Moins d'une heure Accessibilité débutants 72/100
teslashibe/agent-go#36 ·
-
enhancement
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
nwverse/persona#15194 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
bug flaky-test
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
rosskukulinski/tailworks#411 ·
Les mainteneurs répondent en général sous 1 jour