Statistic trend and StackedBar segment text: readable colours on light surfaces and intent fills
Los mantenedores suelen responder en 1 día
@Foxhoundn ya está trabajando en esto.
Desde el 7/10/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
What the landing page needs
Text that a component draws in an intent's colour should be readable on the surface it sits on, the way ReqoreTag appearance="soft" already is (getReadableAccentColor: the colour pushed lighter on a dark theme, darker on a light one, until it reads at 4.5:1). Two components draw it raw:
ReqoreStatistictrend: the arrow and the trend text areintent={trendIntent}with the intent's own colour. On a light tile the default intents read at about 2:1:- success
#8db844on#f0f0f2: 2.03:1 (on white 2.31:1); - warning
#f59e0bon#f0f0f2: 1.89:1 (on white 2.15:1); - on a dark tile they are fine (success on
#1b1b24: about 7:1).
- success
ReqoreStackedBarshowValues/showLabels: the segment text is always#ffffff(with a 1px text shadow) whatever the segment's colour, and the labels are 9px capitals:- white on success
#8db844: 2.31:1; on warning#f59e0b: 2.15:1; on danger#ef4444: 3.76:1; only muted#71717apasses (4.83:1).
- white on success
Asks:
- Statistic: the trend in the readable accent of its intent on the tile's surface (both modes), or a
trendEffectso a consumer can set it. - StackedBar: the segment's value and label in the readable colour for the segment's fill (dark text on a light fill), and a size for the labels that is not below 11px (or a
labelEffect).
Why
qorus.cloud's "What you get" row 1 (qorus-saas-landing PR #19, redesign package WP7) shows an example business dashboard: three ReqoreStatistic tiles with a trend ("↑ 6%", "✓ on target", "! 2 stuck · 1 exception") and the day's failures by category as a ReqoreStackedBar. In light mode the trend lines are hard to read, and the bar's own labels did not read in either mode (white 9px capitals on amber).
What the site does meanwhile
- The tiles keep Reqore's trend (the light-mode trend is pale; the tiles are a pictured example,
aria-hidden), markedTODO(reqore)with this issue insrc/components/home/DashboardPreview.tsx. - The failures bar is a slim
ReqoreStackedBarwith no values or labels, and a legend under it made ofReqoreTag appearance="text"(which already computes a readable colour). Once the bar's text reads, the legend can go.
- Lenguaje dominante
- TypeScript
- Estrellas
- 4
- Forks
- 0
- Merge medio
- 16 h 28 min
- PR fusionados (30 d)
- 9
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de qoretechnologies/reqore
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
qoretechnologies/reqore#725 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
qoretechnologies/reqore#711 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
qoretechnologies/reqore#675 ·
Los mantenedores suelen responder en 1 día
-
Checkbox: a long description pushes the control out of its container — the label column cannot shrinkPosiblemente ocupada @Foxhoundn la tomó hace 49 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
qoretechnologies/reqore#662 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 64/100
qoretechnologies/reqore#745 ·
Los mantenedores suelen responder en 1 día
Todos los issues de qoretechnologies/reqore
Issues similares
-
area: documentation status: in progress type: documentation
Dificultad 1/5 Menos de una hora Aptitud para principiantes 76/100
Oddmash/oddmash-ui#222 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
appium/appium-wincore-driver#169 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Los mantenedores suelen responder en 3 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
india-ultimate/hub#715 ·
Los mantenedores suelen responder en 1 día
-
documentation Entwickler
Dificultad 1/5 Menos de una hora Aptitud para principiantes 89/100
Los mantenedores suelen responder en 1 día