Move TCG gauges, badges and tooltips onto the NDS
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 25m18s
Validate and deploy Sokko G / deploy (push) Successful in 16s

- nds-progress tint variant, nds-badge sm size and tint variant
- --color-scrim and --color-bg-inset tokens
- native title attributes replaced by Tooltip
- TCG colors equal to a token now reference it

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Shinuwa 2026-12-05 19:44:00 +01:00
parent ced3bc818d
commit ac81b5e22f
44 changed files with 350 additions and 274 deletions

View file

@ -86,6 +86,15 @@
@include controls.badge-pattern(danger);
}
// Couleur choisie par l'appelant (`--nds-badge-color`) : stat, étiquette, zone…
.nds-badge[data-variant="tint"] {
@include controls.badge-pattern(tint);
}
.nds-badge[data-size="sm"] {
@include controls.badge-size-sm;
}
.nds-chip {
@include controls.chip-pattern;
}
@ -154,6 +163,12 @@
@include controls.progress-bar-pattern(danger);
}
// Remplissage uni à la couleur choisie par l'appelant (`--nds-progress-color`) : jauges de stats, de rareté…
.nds-progress[data-variant="tint"] > span,
.nds-progress[data-variant="tint"] .nds-progress-bar {
@include controls.progress-bar-pattern(tint);
}
.nds-filter-panel {
@include controls.filter-panel-pattern;
}