Skip to content

Commit 1154ffe

Browse files
committed
WEB-2413: Fix
1 parent 6fbbad7 commit 1154ffe

1 file changed

Lines changed: 1 addition & 79 deletions

File tree

doc/design-tokens.md

Lines changed: 1 addition & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -14,85 +14,7 @@ exported from `@telefonica/mistica`. Tokens adapt automatically to the active sk
1414

1515
## Color tokens
1616

17-
All colors are accessed via `skinVars.colors.*`. Each token resolves to a CSS custom property.
18-
19-
### Semantic colors
20-
21-
| Token | Usage |
22-
| ----------------------- | -------------------------------------------------------- |
23-
| `brand` | Primary brand color |
24-
| `brandHigh` | High-contrast brand color |
25-
| `inverse` | Inverse foreground color |
26-
| `neutralHigh` | High-contrast neutral (e.g. primary text on default) |
27-
| `neutralMedium` | Medium-contrast neutral (e.g. secondary text on default) |
28-
| `neutralLow` | Low-contrast neutral |
29-
| `neutralLowAlternative` | Alternative low-contrast neutral |
30-
| `success` | Success semantic color |
31-
| `warning` | Warning semantic color |
32-
| `error` | Error semantic color |
33-
| `promo` | Promotional color |
34-
| `highlight` | Highlight color |
35-
36-
### Background colors
37-
38-
| Token | Usage |
39-
| -------------------------------- | ----------------------------------- |
40-
| `background` | Default page background |
41-
| `backgroundAlternative` | Alternative section background |
42-
| `backgroundBrand` | Brand-colored background |
43-
| `backgroundBrandSecondary` | Secondary brand background |
44-
| `backgroundContainer` | Container/card background |
45-
| `backgroundContainerBrand` | Container on brand background |
46-
| `backgroundContainerAlternative` | Container on alternative background |
47-
| `backgroundOverlay` | Modal/sheet overlay |
48-
| `backgroundSkeleton` | Skeleton loading placeholder |
49-
| `appBarBackground` | App bar background |
50-
| `navigationBarBackground` | Navigation bar background |
51-
52-
### Text colors
53-
54-
| Token | Usage |
55-
| ---------------------- | ------------------------------------------ |
56-
| `textPrimary` | Primary text on default background |
57-
| `textPrimaryInverse` | Primary text on brand/inverse background |
58-
| `textPrimaryBrand` | Primary text on brand background |
59-
| `textPrimaryMedia` | Primary text on media background |
60-
| `textSecondary` | Secondary text on default background |
61-
| `textSecondaryInverse` | Secondary text on brand/inverse background |
62-
| `textSecondaryBrand` | Secondary text on brand background |
63-
| `textError` | Error text |
64-
| `textLink` | Link text color |
65-
| `textLinkInverse` | Link text on brand/inverse background |
66-
| `textLinkDanger` | Danger link text color |
67-
68-
### Border colors
69-
70-
| Token | Usage |
71-
| ---------------- | ---------------------- |
72-
| `borderLow` | Low-contrast border |
73-
| `border` | Default border |
74-
| `borderHigh` | High-contrast border |
75-
| `borderSelected` | Selected/active border |
76-
77-
### Status colors (low/high contrast)
78-
79-
| Low contrast | High contrast | Usage |
80-
| ------------ | ------------- | -------------- |
81-
| `successLow` | `successHigh` | Success status |
82-
| `warningLow` | `warningHigh` | Warning status |
83-
| `errorLow` | `errorHigh` | Error status |
84-
| `promoLow` | `promoHigh` | Promo status |
85-
| `brandLow` | `brandHigh` | Brand status |
86-
87-
### Control colors
88-
89-
| Token | Usage |
90-
| ------------------ | ----------------------------------------- |
91-
| `control` | Default control (checkbox, radio, switch) |
92-
| `controlActivated` | Activated control |
93-
| `controlError` | Error state control |
94-
| `loadingBar` | Loading bar color |
95-
| `divider` | Divider line color |
17+
All colors are accessed via `skinVars.colors.*`. Each token resolves to a CSS custom property. Low/High colors mean low-contrast or high-contrast versions.
9618

9719
## Using colors in code
9820

0 commit comments

Comments
 (0)