Repository navigation
feat(styles): acentos de marca verde, rojo, coral y WhatsApp - #59
Open
Melissa1221 wants to merge 2 commits into
Open
Melissa1221 wants to merge 2 commits into
Melissa1221 wants to merge 2 commits into
Conversation
Mismo croma OKLCH que el azul de marca (#46A0D0). Base, subtle, border y text por acento, con variante clara (>=5:1 sobre blanco) y --cf-on-accent. Estudio de color: Figma R60d10CYPkmUGjiY9fl0Xn, pagina 06.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Qué
Tokens nuevos
--cf-accent-{success,error,coral,whatsapp}con variantes-subtle,-bordery-text, más--cf-on-accent. Tema oscuro (default) y claro.Por qué
El verde (#25D366) y el coral (#F96A53) se veían chillones junto al azul de marca: su croma OKLCH (0.15-0.21) casi duplica el del azul #46A0D0 (~0.11). Los nuevos usan el mismo croma. El coral con texto blanco daba 2.9:1 (no pasa AA); ahora el texto sobre la base es ink en oscuro (≥7:1) y blanco en claro (≥5:1).
Estudio de color con candidatos y contraste: Figma
R60d10CYPkmUGjiY9fl0Xn, página «06 · Estudio de color».Alcance
--chat-*,--status-*,--channel-*ni--destructive(Tracta pone texto blanco encima de esos).--channel-whatsappsigue con el verde oficial para identificar el canal.Foundation/Colors → Brand Accentsen Storybook.Verificación