Add shared Icon primitive and controlled glyph vocabulary (Carbon, filled)

This commit is contained in:
2026-06-06 23:51:47 +03:00
parent af9ee1e4c0
commit 3e89d9a531
18 changed files with 587 additions and 77 deletions
@@ -214,14 +214,20 @@
}
.warning {
display: flex;
align-items: flex-start;
gap: var(--space-2);
font-size: 12px;
line-height: 1.4;
color: var(--text-secondary);
}
.warning::before {
content: '⚠ ';
color: var(--support-warning, var(--text-secondary));
/* Filled status-warning glyph (arch 09 §5.2), in the contrast-safe amber. Replaces
the old ⚠ text character so the warning matches the toast status family. */
.warningIcon {
flex: none;
margin-top: 1px;
color: var(--support-warning-fg);
}
/* Explains the disabled Create action (contract 10: a disabled control must say