Invisible Docs
GalerieTokens

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

Componentv1.1.0Statusweb.documentweb.applicationdesktop.shellbuilder.preview

Beispiele

Mia gewinnt, vier Spieler

Mia gewinnt!

Alle drei Figuren im Ziel

  1. Platz 1MiaDu3 im Ziel
  2. Platz 2Papa2 im Ziel
  3. Platz 3Robo1 im Ziel
  4. Platz 4Oma Inge0 im Ziel

Gleichstand auf Platz 1 und Platz 3

Unentschieden!

  1. Platz 1, geteiltBen12
  2. Platz 1, geteiltLena12
  3. Platz 3, geteiltTom7
  4. Platz 3, geteiltKim7

Eigenschaften

PropTypDefault
titlestring""
subtitlestring""
entries *array—
actionsstring: both | again | end | none"both"
againLabelstring""
endLabelstring""
selfLabelstring""
busybooleanfalse
labelstring""

Events & Slots

Events: again, end

Stellschrauben (Komponenten-Tokens)

TokenDefault
--match-result-surfacevar(--color-surface-default)
--match-result-textvar(--color-text-default)
--match-result-mutedvar(--color-text-muted)
--match-result-bordervar(--color-border-default)
--match-result-accentvar(--color-action-primary)
--match-result-colorvar(--tag-red-tone, var(--color-chart-8))
--match-result-targetmax(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