|
225 | 225 | --token-app-side-nav-color-surface-primary: var(--token-color-surface-faint); |
226 | 226 | --token-app-side-nav-color-surface-interactive-hover: var(--token-color-surface-interactive-hover); |
227 | 227 | --token-app-side-nav-color-surface-interactive-active: var(--token-color-palette-neutral-300); |
| 228 | + --token-badge-height-small: 20px; |
| 229 | + --token-badge-height-medium: 24px; |
| 230 | + --token-badge-height-large: 32px; |
| 231 | + --token-badge-padding-horizontal-small: 6px; |
| 232 | + --token-badge-padding-horizontal-medium: 8px; |
| 233 | + --token-badge-padding-horizontal-large: 8px; |
| 234 | + --token-badge-padding-vertical-small: 2px; |
| 235 | + --token-badge-padding-vertical-medium: 4px; |
| 236 | + --token-badge-padding-vertical-large: 4px; |
| 237 | + --token-badge-gap-small: 4px; |
| 238 | + --token-badge-gap-medium: 4px; |
| 239 | + --token-badge-gap-large: 6px; |
| 240 | + --token-badge-font-size-small: 0.8125rem; |
| 241 | + --token-badge-font-size-medium: 0.8125rem; |
| 242 | + --token-badge-font-size-large: 1rem; |
| 243 | + --token-badge-line-height-small: 1.2308; /** 16px = 1.2308 */ |
| 244 | + --token-badge-line-height-medium: 1.2308; /** 16px = 1.2308 */ |
| 245 | + --token-badge-line-height-large: 1.5; /** 24px = 1.5 */ |
| 246 | + --token-badge-foreground-color-neutral-filled: #3b3d45; |
| 247 | + --token-badge-foreground-color-neutral-inverted: #ffffff; |
| 248 | + --token-badge-foreground-color-neutral-outlined: #3b3d45; |
| 249 | + --token-badge-foreground-color-neutral-dark-mode-filled: #ffffff; |
| 250 | + --token-badge-foreground-color-neutral-dark-mode-inverted: #3b3d45; |
| 251 | + --token-badge-foreground-color-neutral-dark-mode-outlined: #ffffff; |
| 252 | + --token-badge-foreground-color-highlight-filled: #911ced; /** TODO - different from Figma */ |
| 253 | + --token-badge-foreground-color-highlight-inverted: #ffffff; |
| 254 | + --token-badge-foreground-color-highlight-outlined: #a737ff; |
| 255 | + --token-badge-foreground-color-success-filled: #00781e; /** TODO - different from Figma */ |
| 256 | + --token-badge-foreground-color-success-inverted: #ffffff; |
| 257 | + --token-badge-foreground-color-success-outlined: #008a22; |
| 258 | + --token-badge-foreground-color-warning-filled: #9e4b00; /** TODO - different from Figma + there is no `yellow` color in the theme colors for the tag (in code) */ |
| 259 | + --token-badge-foreground-color-warning-inverted: #ffffff; |
| 260 | + --token-badge-foreground-color-warning-outlined: #bb5a00; /** TODO - discuss with Lilith, there is no `yellow` color in the theme colors for the tag (in code) */ |
| 261 | + --token-badge-foreground-color-critical-filled: #c00005; /** TODO - different from Figma */ |
| 262 | + --token-badge-foreground-color-critical-inverted: #ffffff; |
| 263 | + --token-badge-foreground-color-critical-outlined: #e52228; |
| 264 | + --token-badge-surface-color-neutral-filled: #dedfe3; |
| 265 | + --token-badge-surface-color-neutral-inverted: #656a76; /** TODO - discuss with Lilith: there's no high-contrast in carbon colors for tag */ |
| 266 | + --token-badge-surface-color-neutral-outlined: rgba(0, 0, 0, 0); |
| 267 | + --token-badge-surface-color-neutral-dark-mode-filled: #656a76; /** TODO - discuss with Lilith, there is no high-contrast color in the theme colors for the tag (in code) */ |
| 268 | + --token-badge-surface-color-neutral-dark-mode-inverted: #fafafa; |
| 269 | + --token-badge-surface-color-neutral-dark-mode-outlined: rgba(0, 0, 0, 0); |
| 270 | + --token-badge-surface-color-highlight-filled: #f9f2ff; |
| 271 | + --token-badge-surface-color-highlight-inverted: #a737ff; |
| 272 | + --token-badge-surface-color-highlight-outlined: rgba(0, 0, 0, 0); |
| 273 | + --token-badge-surface-color-success-filled: #f2fbf6; |
| 274 | + --token-badge-surface-color-success-inverted: #008a22; |
| 275 | + --token-badge-surface-color-success-outlined: rgba(0, 0, 0, 0); |
| 276 | + --token-badge-surface-color-warning-filled: #fff9e8; /** TODO - discuss with Lilith, there is no `yellow` color in the theme colors for the tag (in code) */ |
| 277 | + --token-badge-surface-color-warning-inverted: #bb5a00; /** TODO - discuss with Lilith, there is no `yellow` color in the theme colors for the tag (in code) */ |
| 278 | + --token-badge-surface-color-warning-outlined: rgba(0, 0, 0, 0); |
| 279 | + --token-badge-surface-color-critical-filled: #fff5f5; |
| 280 | + --token-badge-surface-color-critical-inverted: #e52228; |
| 281 | + --token-badge-surface-color-critical-outlined: rgba(0, 0, 0, 0); |
| 282 | + --token-badge-border-color-neutral-outlined: #656a76; /** TODO - discuss with Lilith what to do here: in Figma it's `Tag/Outline/TagBorder` - Could it be just set to the same color as the foreground? (less tokens!) */ |
| 283 | + --token-badge-border-color-neutral-dark-mode-outlined: #fafafa; /** TODO - discuss with Lilith what to do here: in Figma it's `Tag/Outline/TagBorder` - Could it be just set to the same color as the foreground? (less tokens!) */ |
| 284 | + --token-badge-border-color-highlight-outlined: #a737ff; /** TODO - discuss with Lilith what to do here: in Figma it's `Tag/Outline/TagBorder` - Could it be just set to the same color as the foreground? (less tokens!) */ |
| 285 | + --token-badge-border-color-success-outlined: #008a22; /** TODO - discuss with Lilith what to do here: in Figma it's `Tag/Outline/TagBorder` - Could it be just set to the same color as the foreground? (less tokens!) */ |
| 286 | + --token-badge-border-color-warning-outlined: #bb5a00; /** TODO - discuss with Lilith what to do here: in Figma it's `Tag/Outline/TagBorder` - Could it be just set to the same color as the foreground? (less tokens!) */ |
| 287 | + --token-badge-border-color-critical-outlined: #e52228; /** TODO - discuss with Lilith what to do here: in Figma it's `Tag/Outline/TagBorder` - Could it be just set to the same color as the foreground? (less tokens!) */ |
| 288 | + --token-badge-border-width: 1px; |
| 289 | + --token-badge-border-radius-small: 5px; /** TODO - no Figma variable for this? */ |
| 290 | + --token-badge-border-radius-medium: 5px; /** TODO - no Figma variable for this? */ |
| 291 | + --token-badge-border-radius-large: 5px; /** TODO - no Figma variable for this? */ |
| 292 | + --token-badge-icon-size-small: 12px; /** TODO - discuss with Lilith what to do in this case (she has set the size to 0) */ |
| 293 | + --token-badge-icon-size-medium: 16px; |
| 294 | + --token-badge-icon-size-large: 16px; |
228 | 295 | --token-form-label-color: #0c0c0e; |
229 | 296 | --token-form-legend-color: #0c0c0e; |
230 | 297 | --token-form-helper-text-color: #656a76; |
|
0 commit comments