Ergebnis einer Partie (Match Result) — component.match-result
Ergebnis und Rangfolge einer Partie: Titel, Plaetze als geordnete Liste mit Spieler-Zeichen (ui.player-token), Stand und Zusatzzeile. Mehrere Spieler duerfen denselben Platz tragen (Gleichstand, wird benannt); Platz 1 ist hervorgehoben (Krone, Rahmen in der Spielerfarbe), der eigene Eintrag traegt d
Beispiele
Mia gewinnt, vier Spieler
Mia gewinnt!
Alle drei Figuren im Ziel
- Platz 1MiaDu3 im Ziel
- Platz 2Papa2 im Ziel
- Platz 3Robo1 im Ziel
- Platz 4Oma Inge0 im Ziel
Gleichstand auf Platz 1 und Platz 3
Unentschieden!
- Platz 1, geteiltBen12
- Platz 1, geteiltLena12
- Platz 3, geteiltTom7
- Platz 3, geteiltKim7
Eigenschaften
| Prop | Typ | Default |
|---|---|---|
title | string | "" |
subtitle | string | "" |
entries * | array | — |
actions | string: both | again | end | none | "both" |
againLabel | string | "" |
endLabel | string | "" |
selfLabel | string | "" |
busy | boolean | false |
label | string | "" |
Events & Slots
Events: again, end
Stellschrauben (Komponenten-Tokens)
| Token | Default |
|---|---|
--match-result-surface | var(--color-surface-default) |
--match-result-text | var(--color-text-default) |
--match-result-muted | var(--color-text-muted) |
--match-result-border | var(--color-border-default) |
--match-result-accent | var(--color-action-primary) |
--match-result-color | var(--tag-red-tone, var(--color-chart-8)) |
--match-result-target | max(var(--app-control-height, var(--size-10)), var(--control-target-min, 0rem), calc(var(--size-1) * 11)) |
Genutzte Design-Tokens
border.emphasis border.hairline color.action.primary color.border.default color.chart.1 color.chart.2 color.chart.3 color.chart.4 color.chart.5 color.chart.6 color.chart.7 color.chart.8 color.surface.default color.text.default color.text.muted container.sm font.family.default leading.tight radius.surface shadow.raised size.05 size.1 size.10 size.2 size.3 size.4 size.8 tag.amber.tone tag.blue.tone tag.green.tone tag.orange.tone tag.pink.tone tag.red.tone tag.teal.tone tag.violet.tone text.2xl text.lg text.md text.sm text.xl weight.bold weight.semibold