diff --git a/frontend/.storybook/preview.ts b/frontend/.storybook/preview.ts index 4ef6e4ed6..7d7d8fb80 100644 --- a/frontend/.storybook/preview.ts +++ b/frontend/.storybook/preview.ts @@ -51,6 +51,25 @@ const preview: Preview = { date: /Date$/i, }, }, + // Sidebar order: build up from atoms to compound surfaces. Primitives + // are the foundation everything else composes from, then form + // controls, structural layout pieces, data displays, and finally + // positioned UI (menus + overlays). Media (domain-aware icons) is + // last because it's the most specialised. Categories not listed + // here fall through to Storybook's default alphabetical sort. + options: { + storySort: { + order: [ + "Primitives", + "Forms", + "Structural", + "Data", + "Menus", + "Overlays", + "Media", + ], + }, + }, }, decorators: [ withThemeByClassName({ diff --git a/frontend/src/v2/components/Collections/NewCollectionRow.vue b/frontend/src/v2/components/Collections/NewCollectionRow.vue index 083468138..f9d00f021 100644 --- a/frontend/src/v2/components/Collections/NewCollectionRow.vue +++ b/frontend/src/v2/components/Collections/NewCollectionRow.vue @@ -109,7 +109,7 @@ function onInput(e: Event) { {{ t("common.cancel") }}
{ v-for="l in rom.languages?.slice(0, 3) ?? []" :key="`lang-${l}`" size="x-small" - variant="tonal" + variant="translucent" > {{ l }} @@ -227,7 +227,7 @@ onBeforeUnmount(() => { v-for="r in rom.regions?.slice(0, 3) ?? []" :key="`reg-${r}`" size="x-small" - variant="tonal" + variant="translucent" > {{ r }} diff --git a/frontend/src/v2/components/GameCard/GameCard.vue b/frontend/src/v2/components/GameCard/GameCard.vue index 810f91d8a..40b096e54 100644 --- a/frontend/src/v2/components/GameCard/GameCard.vue +++ b/frontend/src/v2/components/GameCard/GameCard.vue @@ -160,7 +160,6 @@ const morphStyle = computed(() => { icon size="x-small" variant="text" - :ripple="false" class="r-gc__platform-icon" :aria-label="`Browse ${platformShort}`" @click="onPlatformClick" diff --git a/frontend/src/v2/components/GameDetails/SoundtrackPanel.vue b/frontend/src/v2/components/GameDetails/SoundtrackPanel.vue index fc1812d6c..7e44f8d15 100644 --- a/frontend/src/v2/components/GameDetails/SoundtrackPanel.vue +++ b/frontend/src/v2/components/GameDetails/SoundtrackPanel.vue @@ -369,7 +369,7 @@ function seekValueText(v: number): string { v-for="(c, i) in headerChips(activeMeta)" :key="`h-${i}`" size="small" - variant="tonal" + variant="translucent" :color="c.color" :prepend-icon="c.icon" > @@ -490,7 +490,7 @@ function seekValueText(v: number): string { v-for="(c, i) in rowChips(track.id)" :key="`r-${track.id}-${i}`" size="x-small" - variant="tonal" + variant="translucent" :color="c.color" :prepend-icon="c.icon" > diff --git a/frontend/src/v2/components/Home/CardRow.vue b/frontend/src/v2/components/Home/CardRow.vue index df73a74ee..ac3edcc1f 100644 --- a/frontend/src/v2/components/Home/CardRow.vue +++ b/frontend/src/v2/components/Home/CardRow.vue @@ -158,7 +158,7 @@ onBeforeUnmount(() => { {
{