Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
Update colors, add the dark mode palette, and switch to CSS vars (#4690)
zack6ff32c16b013
diff --git a/frontend/src/components/TableSortIcon.vue b/frontend/src/components/TableSortIcon.vueindex 5eaece52a..f83836517 100644--- a/frontend/src/components/TableSortIcon.vue+++ b/frontend/src/components/TableSortIcon.vue@@ -1,8 +1,5 @@<template>- <div- class="flex flex-col"- :class="[active ? 'text-dark-charcoal' : 'text-gray']"- >+ <div class="flex flex-col" :class="[active ? 'text-default' : 'text-gray']"><svgwidth="12"height="6"diff --git a/frontend/src/components/VAudioThumbnail/VAudioThumbnail.vue b/frontend/src/components/VAudioThumbnail/VAudioThumbnail.vueindex 06f492ee9..c1aa85a0e 100644--- a/frontend/src/components/VAudioThumbnail/VAudioThumbnail.vue+++ b/frontend/src/components/VAudioThumbnail/VAudioThumbnail.vue@@ -1,7 +1,7 @@<template><!-- Should be wrapped by a fixed-width parent --><div- class="relative h-0 w-full overflow-hidden bg-yellow pt-full"+ class="relative h-0 w-full overflow-hidden bg-complementary pt-full":title="helpText"><!-- Programmatic thumbnail -->@@ -14,7 +14,7 @@<circlev-for="j in dotCount":key="`${i}-${j}`"- class="fill-dark-charcoal"+ class="fill-gray-12":cx="offset(j)":cy="offset(i)":r="radius(i, j)"diff --git a/frontend/src/components/VAudioTrack/VAudioTrack.vue b/frontend/src/components/VAudioTrack/VAudioTrack.vueindex 0e00de4f9..d1855e33e 100644--- a/frontend/src/components/VAudioTrack/VAudioTrack.vue+++ b/frontend/src/components/VAudioTrack/VAudioTrack.vue@@ -3,7 +3,7 @@<Component:is="isComposite ? VLink : 'div'"v-bind="containerAttributes"- class="audio-track group block overflow-hidden rounded-sm ring-pink hover:no-underline"+ class="audio-track group block overflow-hidden rounded-sm ring-pink-8 hover:no-underline":aria-label="ariaLabel":role="isComposite ? 'application' : undefined"@keydown.shift.tab.exact="$emit('shift-tab', $event)"diff --git a/frontend/src/components/VAudioTrack/VWaveform.vue b/frontend/src/components/VAudioTrack/VWaveform.vueindex dd07893f6..b194e1a96 100644--- a/frontend/src/components/VAudioTrack/VWaveform.vue+++ b/frontend/src/components/VAudioTrack/VWaveform.vue@@ -2,7 +2,7 @@<divv-bind="waveformAttributes"ref="el"- class="waveform bg-background-var group/waveform relative overflow-hidden text-dark-charcoal focus-visible:outline-none"+ class="waveform bg-background-var group/waveform relative overflow-hidden text-default focus-visible:outline-none":style="heightProperties":tabIndex="isTabbable && isInteractive ? 0 : -1":aria-disabled="!isInteractive"@@ -20,7 +20,7 @@<!-- Stroke is calculated from the centre of the path --><rectv-if="waveformDimens.width && waveformDimens.height"- class="stroke-pink"+ class="stroke-pink-8"x="0.75"y="0.75":width="waveformDimens.width - 1.5"@@ -51,7 +51,7 @@><rectv-if="isReady"- class="fill-yellow"+ class="progress-bar"x="0"y="0":width="progressBarWidth"@@ -73,7 +73,7 @@class="origin-bottom transform transition-transform duration-500":class="[isReady ? 'scale-y-100' : 'scale-y-0',- index <= seekIndex ? 'fill-black' : 'fill-dark-charcoal-20-alpha',+ index <= seekIndex ? 'fill-wave-active' : 'fill-wave-inactive',]":x="spaceBefore(index)":y="spaceAbove(index)"@@ -110,7 +110,7 @@:class="[...(isProgressTimestampCutoff? ['bg-background-var']- : ['bg-yellow', '-translate-x-full']),+ : ['bg-complementary', '-translate-x-full']),]":style="progressTimeLeft">@@ -567,7 +567,7 @@ export default defineComponent({.waveform {--v-background-color: var(--waveform-background-color,- theme("colors.dark-charcoal.06")+ theme("colors.gray.1"));}@@ -592,11 +592,15 @@ export default defineComponent({left: var(--progress-time-left);}+.progress-bar {+ fill: theme("backgroundColor.complementary");+}+.seek {left: var(--seek-time-left);}-.fill-dark-charcoal-20-alpha {+.fill-gray-3-alpha {fill: rgba(48, 39, 46, 0.2);}</style>diff --git a/frontend/src/components/VAudioTrack/layouts/VBoxLayout.vue b/frontend/src/components/VAudioTrack/layouts/VBoxLayout.vueindex e2b71c1e8..ba897f91c 100644--- a/frontend/src/components/VAudioTrack/layouts/VBoxLayout.vue+++ b/frontend/src/components/VAudioTrack/layouts/VBoxLayout.vue@@ -1,6 +1,6 @@<template><div- class="box-track group relative h-0 w-full rounded-sm bg-yellow pt-full text-dark-charcoal"+ class="box-track group relative h-0 w-full rounded-sm bg-complementary pt-full text-default"><div class="absolute inset-0 flex flex-col"><div class="info flex flex-grow flex-col justify-between px-4 pt-4">@@ -94,6 +94,6 @@ export default defineComponent({<style scoped>:deep(.waveform) {@apply h-10 flex-grow;- --waveform-background-color: theme("colors.yellow");+ --waveform-background-color: theme("backgroundColor.complementary");}</style>diff --git a/frontend/src/components/VAudioTrack/layouts/VFullLayout.vue b/frontend/src/components/VAudioTrack/layouts/VFullLayout.vueindex 02e2495a2..254fe5f19 100644--- a/frontend/src/components/VAudioTrack/layouts/VFullLayout.vue+++ b/frontend/src/components/VAudioTrack/layouts/VFullLayout.vue@@ -1,14 +1,14 @@<template><div class="full-track w-full">- <div class="relative border-b border-dark-charcoal-20">+ <div class="relative border-b border-default"><spanv-if="currentTime > 0"- class="pointer-events-none absolute left-0 hidden h-full w-4 bg-yellow md:block lg:w-10"+ class="pointer-events-none absolute left-0 hidden h-full w-4 bg-complementary md:block lg:w-10"aria-hidden/><spanv-if="status === 'played'"- class="pointer-events-none absolute right-0 hidden h-full w-4 bg-yellow md:block lg:w-10"+ class="pointer-events-none absolute right-0 hidden h-full w-4 bg-complementary md:block lg:w-10"aria-hidden/><div class="md:mx-4 lg:mx-10">@@ -72,7 +72,7 @@ export default defineComponent({<style>.full-track .waveform {@apply h-[185px] rounded-sm;- --waveform-background-color: theme("colors.white");+ --waveform-background-color: theme("backgroundColor.default");}.full-track .audio-control {diff --git a/frontend/src/components/VAudioTrack/layouts/VGlobalLayout.vue b/frontend/src/components/VAudioTrack/layouts/VGlobalLayout.vueindex 2bba08701..9f1835833 100644--- a/frontend/src/components/VAudioTrack/layouts/VGlobalLayout.vue+++ b/frontend/src/components/VAudioTrack/layouts/VGlobalLayout.vue@@ -1,15 +1,15 @@<template><div- class="global-track grid w-full grid-cols-[3rem,1fr] grid-rows-[3rem,3rem] rounded ring-1 ring-dark-charcoal ring-opacity-20"+ class="global-track grid w-full grid-cols-[3rem,1fr] grid-rows-[3rem,3rem] rounded ring-1 ring-gray-3 ring-opacity-20"><div class="h-12 w-12 rounded-ss"><VAudioThumbnail class="rounded-ss" :audio="audio" /></div>- <div class="flex h-12 items-center justify-between rounded-se bg-white">+ <div class="flex h-12 items-center justify-between rounded-se bg-default"><VLink:href="`/audio/${audio.id}`"- class="hover-underline label-bold z-10 flex flex-row items-center px-3 pe-12 text-dark-charcoal"+ class="hover-underline label-bold z-10 flex flex-row items-center px-3 pe-12 text-default":class="{ 'blur-text': shouldBlur }">{{ shouldBlur ? $t("sensitiveContent.title.audio") : audio.title }}@@ -67,7 +67,7 @@ export default defineComponent({.global-track .waveform {@apply h-full rounded-ee;- --waveform-background-color: theme("colors.white");+ --waveform-background-color: theme("backgroundColor.default");}.global-track .audio-control {@apply rounded-es;diff --git a/frontend/src/components/VAudioTrack/layouts/VRowLayout.vue b/frontend/src/components/VAudioTrack/layouts/VRowLayout.vueindex f8cf4a11e..fb5168bd1 100644--- a/frontend/src/components/VAudioTrack/layouts/VRowLayout.vue+++ b/frontend/src/components/VAudioTrack/layouts/VRowLayout.vue@@ -1,7 +1,7 @@<template><!-- `pages/search/audio` has negative margin `-mx-4` to compensate for this padding. --><article- class="row-track grid p-2 hover:bg-dark-charcoal-06 md:p-4"+ class="row-track grid p-2 hover:bg-surface md:p-4":class="[`size-${size}`, { 'items-start': isSmall }]"><div@@ -24,7 +24,7 @@<div role="document" class="flex min-w-0 flex-shrink-0 flex-col gap-1"><h2- class="decoration-inherit line-clamp-1 block overflow-hidden text-ellipsis whitespace-nowrap rounded-sm text-dark-charcoal hover:text-dark-charcoal group-hover:underline"+ class="decoration-inherit line-clamp-1 block overflow-hidden text-ellipsis whitespace-nowrap rounded-sm text-default hover:text-default group-hover:underline":class="[{ 'blur-text': shouldBlur },isSmall ? 'label-bold' : 'description-bold',@@ -34,7 +34,7 @@</h2><div- class="flex text-dark-charcoal-70"+ class="flex text-secondary":class="[isSmall ? 'caption-regular' : 'label-regular',isMedium ? 'flex-row items-center' : 'flex-col gap-1',@@ -204,11 +204,11 @@ export default defineComponent({.dot-after {@apply relative me-5;- @apply after:absolute after:-end-3 after:top-[calc(50%-0.125rem)] after:h-1 after:w-1 after:rounded-full after:bg-dark-charcoal-70;+ @apply after:absolute after:-end-3 after:top-[calc(50%-0.125rem)] after:h-1 after:w-1 after:rounded-full after:bg-gray-8;}.dot-before {@apply relative ms-5;- @apply before:absolute before:-start-3 before:top-[calc(50%-0.125rem)] before:h-1 before:w-1 before:rounded-full before:bg-dark-charcoal-70;+ @apply before:absolute before:-start-3 before:top-[calc(50%-0.125rem)] before:h-1 before:w-1 before:rounded-full before:bg-gray-8;}</style>diff --git a/frontend/src/components/VBanner/VNotificationBanner.vue b/frontend/src/components/VBanner/VNotificationBanner.vueindex a503837ab..e96676853 100644--- a/frontend/src/components/VBanner/VNotificationBanner.vue+++ b/frontend/src/components/VBanner/VNotificationBanner.vue@@ -18,10 +18,7 @@:icon-props="{ name: 'close-small' }"size="small":label="closeButtonLabel || $t('modal.closeBanner')"- :class="{- 'focus-slim-tx-yellow hover:bg-white hover:bg-opacity-10':- variant === 'dark',- }"+ :class="closeButtonClassNames"@click="$emit('close')"/></slot>@@ -61,7 +58,7 @@ export default defineComponent({},/*** the color variant of the banner; The dark variant is intended for use on- * yellow pages.+ * bg-complementary pages.*/variant: {type: String as PropType<"regular" | "dark">,@@ -87,28 +84,40 @@ export default defineComponent({setup(props) {const classNames = computed(() =>props.variant === "dark"- ? "bg-dark-charcoal text-white"+ ? "bg-tertiary text-over-dark": {- info: "bg-info-soft",- warning: "bg-warning-soft",- success: "bg-success-soft",- error: "bg-error-soft",+ info: "bg-info",+ warning: "bg-warning",+ success: "bg-success",+ error: "bg-error",}[props.nature])const iconClassNames = computed(() =>props.variant === "dark"? "": {- info: "text-info",- warning: "text-warning",- success: "text-success",- error: "text-error",+ info: "text-info-8",+ warning: "text-warning-8",+ success: "text-success-8",+ error: "text-error-8",+ }[props.nature]+ )++ const closeButtonClassNames = computed(() =>+ props.variant === "dark"+ ? "focus-slim-tx-bg-complementary hover:bg-tertiary-hover"+ : {+ info: "hover:!bg-info-3",+ warning: "hover:!bg-warning-3",+ success: "hover:!bg-success-3",+ error: "hover:!bg-error-3",}[props.nature])return {classNames,iconClassNames,+ closeButtonClassNames,}},})diff --git a/frontend/src/components/VButton.vue b/frontend/src/components/VButton.vueindex 5e3278c96..ee905cfd1 100644--- a/frontend/src/components/VButton.vue+++ b/frontend/src/components/VButton.vue@@ -294,38 +294,38 @@ a.button {@apply rounded-ee-none rounded-es-none;}-.filled-pink {- @apply border-tx bg-pink text-white hover:bg-dark-pink hover:text-white;+.filled-pink-8 {+ @apply border-tx bg-primary text-over-dark hover:bg-primary-hover hover:text-over-dark;}.filled-dark {- @apply border-tx bg-dark-charcoal text-white hover:bg-dark-charcoal-90 hover:text-white disabled:opacity-70;+ @apply border-tx bg-tertiary text-over-dark hover:bg-tertiary-hover hover:text-over-dark disabled:opacity-70;}.filled-gray {- @apply border-tx bg-dark-charcoal-10 text-dark-charcoal hover:bg-dark-charcoal hover:text-white;+ @apply border-tx bg-secondary text-default hover:bg-secondary-hover hover:text-over-dark;}.filled-white {- @apply border-tx bg-white text-dark-charcoal hover:bg-dark-charcoal hover:text-white;+ @apply border-tx bg-default text-default hover:bg-secondary-hover hover:text-over-dark;}.bordered-white {- @apply border-white bg-white text-dark-charcoal hover:border-dark-charcoal-20;+ @apply border-bg-ring bg-default text-default hover:border-transparent-hover;}.bordered-white-pressed {- @apply border-tx bg-dark-charcoal text-white hover:border-dark-charcoal-90 hover:bg-dark-charcoal-90 hover:focus-visible:border-tx;+ @apply border-tx bg-tertiary text-over-dark hover:border-gray-11 hover:bg-tertiary-hover hover:focus-visible:border-tx;}.bordered-gray {- @apply border-dark-charcoal-20 bg-white text-dark-charcoal hover:border-dark-charcoal focus-visible:border-tx hover:focus-visible:border-tx;+ @apply border-default bg-default text-default hover:border-hover focus-visible:border-tx hover:focus-visible:border-tx;}.transparent-tx {@apply border-tx;}.transparent-gray {- @apply border-tx bg-tx text-dark-charcoal hover:bg-dark-charcoal hover:bg-opacity-10 disabled:text-dark-charcoal-40;+ @apply border-tx bg-tx text-default hover:bg-secondary disabled:text-disabled;}.transparent-dark {- @apply border-tx bg-tx text-dark-charcoal hover:bg-dark-charcoal hover:text-white;+ @apply border-tx bg-tx text-default hover:bg-secondary-hover hover:text-over-dark;}.transparent-dark-pressed {- @apply border-tx bg-dark-charcoal text-white hover:border-dark-charcoal-90;+ @apply border-tx bg-tertiary text-over-dark hover:border-gray-11;}.icon-only {diff --git a/frontend/src/components/VCheckbox/VCheckbox.vue b/frontend/src/components/VCheckbox/VCheckbox.vueindex 16c28454b..87b398087 100644--- a/frontend/src/components/VCheckbox/VCheckbox.vue+++ b/frontend/src/components/VCheckbox/VCheckbox.vue@@ -8,12 +8,12 @@<!--The checkbox focus style is a slight variation on the `focus-slim-tx` style.Because it becomes filled when checked, it also needs the- `checked:focus-visible:border-white` class.+ `checked:focus-visible:border-bg-ring` class.--><input:id="id"type="checkbox"- class="me-3 block appearance-none border border-dark-charcoal bg-white transition-colors duration-100 checked:bg-dark-charcoal disabled:border-dark-charcoal-40 disabled:bg-dark-charcoal-10 checked:disabled:border-dark-charcoal-40 checked:disabled:bg-dark-charcoal-40"+ class="me-3 block appearance-none border border-tertiary bg-default transition-colors duration-100 checked:bg-tertiary disabled:border-disabled disabled:bg-secondary checked:disabled:border-disabled checked:disabled:bg-disabled":class="isSwitch? ['h-4.5', 'w-9', 'rounded-full', 'focus-slim-offset']@@ -22,7 +22,7 @@'w-5','rounded-sm','focus-slim-tx',- 'checked:focus-visible:border-white',+ 'checked:focus-visible:border-bg-ring',]"v-bind="inputAttrs"@@ -36,10 +36,10 @@class="absolute left-0.75 top-0.75 block h-3 w-3 rounded-full transition-transform duration-100":class="localCheckedState- ? ['bg-white', 'translate-x-[1.125rem]']+ ? ['bg-default', 'translate-x-[1.125rem]']: disabled- ? ['bg-dark-charcoal-40']- : ['bg-dark-charcoal']+ ? ['bg-disabled']+ : ['bg-tertiary']"aria-hidden="true"/>@@ -48,7 +48,7 @@<VIconv-elsev-show="localCheckedState"- class="pointer-events-none absolute inset-0 transform text-white"+ class="pointer-events-none absolute inset-0 transform text-over-dark"name="check":size="5"/>@@ -147,7 +147,7 @@ export default defineComponent({setup(props, { emit }) {const localCheckedState = ref(props.checked || false)const labelClasses = computed(() =>- props.disabled ? "text-dark-charcoal-40" : "text-dark-charcoal"+ props.disabled ? "text-disabled" : "text-default")const inputAttrs = computed<CheckboxAttrs>(() => {const attrs: CheckboxAttrs = {diff --git a/frontend/src/components/VCollectionHeader/VCollectionHeader.vue b/frontend/src/components/VCollectionHeader/VCollectionHeader.vueindex 024ff6ad4..11f7e079b 100644--- a/frontend/src/components/VCollectionHeader/VCollectionHeader.vue+++ b/frontend/src/components/VCollectionHeader/VCollectionHeader.vue@@ -10,7 +10,7 @@:size="10"class="icon hidden sm:flex"/>- <span class="label-regular flex text-dark-charcoal-70 sm:hidden">{{+ <span class="label-regular flex text-secondary sm:hidden">{{$t(`collection.heading.${collection}`)}}</span><span class="text-3xl font-semibold leading-snug sm:text-6xl">{{@@ -34,7 +34,7 @@class="results mt-6 flex w-full min-w-0 flex-col items-start gap-1 sm:mt-0 sm:flex-row sm:items-center"><p- class="label-regular w-max text-dark-charcoal-70 sm:whitespace-nowrap"+ class="label-regular w-max text-secondary sm:whitespace-nowrap":class="{ 'pb-2 sm:pb-0': collection !== 'creator' }">{{ resultsLabel }}diff --git a/frontend/src/components/VCollectionHeader/meta/VCollectionHeader.stories.js b/frontend/src/components/VCollectionHeader/meta/VCollectionHeader.stories.jsindex 68b7728c2..8e4c78bbc 100644--- a/frontend/src/components/VCollectionHeader/meta/VCollectionHeader.stories.js+++ b/frontend/src/components/VCollectionHeader/meta/VCollectionHeader.stories.js@@ -36,8 +36,8 @@ const imageProviderNames = [const AllCollectionsTemplate = (args) => ({template: `-<div class="wrapper w-full p-3 flex flex-col gap-4 bg-dark-charcoal-06">- <VCollectionHeader v-for="collection in args.collections" :key="collection.collectionName" v-bind="collection" class="bg-white"/>+<div class="wrapper w-full p-3 flex flex-col gap-4 bg-surface">+ <VCollectionHeader v-for="collection in args.collections" :key="collection.collectionName" v-bind="collection" class="bg-default"/></div>`,components: { VCollectionHeader },setup() {diff --git a/frontend/src/components/VContentLink/VContentLink.vue b/frontend/src/components/VContentLink/VContentLink.vueindex ac4a3cedc..26d526593 100644--- a/frontend/src/components/VContentLink/VContentLink.vue+++ b/frontend/src/components/VContentLink/VContentLink.vue@@ -15,7 +15,7 @@{{ $t(`searchType.${mediaType}`) }}</p><span- class="label-regular sm:description-regular text-dark-charcoal-70 group-hover/button:text-dark-charcoal sm:ms-auto"+ class="label-regular sm:description-regular text-secondary group-hover/button:text-default sm:ms-auto">{{ resultsCountLabel }}</span></VButton>diff --git a/frontend/src/components/VContentPage.vue b/frontend/src/components/VContentPage.vueindex 31e27b150..68a8b6cd2 100644--- a/frontend/src/components/VContentPage.vue+++ b/frontend/src/components/VContentPage.vue@@ -6,7 +6,7 @@dir="ltr"><div- class="prose-h1:text-bold prose prose-sm mx-auto mb-10 max-w-none px-6 md:prose-base prose-headings:font-bold prose-h1:text-4xl prose-h2:text-2xl prose-h2:font-semibold prose-h3:text-2xl prose-h3:font-semibold md:max-w-4xl md:prose-h1:mb-10 md:prose-h2:mt-10 md:prose-h3:mt-10 lg:mb-30 lg:px-0 lg:prose-headings:text-3xl lg:prose-h1:text-6xl xl:max-w-5xl"+ class="prose-h1:text-bold prose-body:text-default prose-sm mx-auto mb-10 max-w-none px-6 text-default md:prose-base prose-headings:font-bold prose-headings:text-default prose-h1:text-4xl prose-h2:text-2xl prose-h2:font-semibold prose-h3:text-2xl prose-h3:font-semibold prose-a:font-medium md:max-w-4xl md:prose-h1:mb-10 md:prose-h2:mt-10 md:prose-h3:mt-10 lg:mb-30 lg:px-0 lg:prose-headings:text-3xl lg:prose-h1:text-6xl xl:max-w-5xl"><slot default /></div>diff --git a/frontend/src/components/VContentReport/VContentReportForm.vue b/frontend/src/components/VContentReport/VContentReportForm.vueindex 7fed8cbc1..afa97145f 100644--- a/frontend/src/components/VContentReport/VContentReportForm.vue+++ b/frontend/src/components/VContentReport/VContentReportForm.vue@@ -119,7 +119,7 @@ const handleSubmit = async (event: Event) => {<template #source><VLink:href="media.foreign_landing_url"- class="text-pink hover:underline"+ class="text-link hover:underline">{{ providerName }}</VLink></template>diff --git a/frontend/src/components/VContentReport/VDmcaNotice.vue b/frontend/src/components/VContentReport/VDmcaNotice.vueindex 3fe5cc2df..c50d495e6 100644--- a/frontend/src/components/VContentReport/VDmcaNotice.vue+++ b/frontend/src/components/VContentReport/VDmcaNotice.vue@@ -9,13 +9,13 @@<VLink:aria-label="$t('mediaDetails.contentReport.form.dmca.form')":href="DMCA_FORM_URL"- class="text-pink hover:underline"+ class="text-link hover:underline"@click="$emit('click')">{{ $t("mediaDetails.contentReport.form.dmca.form") }}</VLink></template><template #source>- <VLink :href="foreignLandingUrl" class="text-pink hover:underline">{{+ <VLink :href="foreignLandingUrl" class="text-link hover:underline">{{provider}}</VLink></template>diff --git a/frontend/src/components/VContentReport/VReportDescForm.vue b/frontend/src/components/VContentReport/VReportDescForm.vueindex c6a1fc73a..ddc03e17c 100644--- a/frontend/src/components/VContentReport/VReportDescForm.vue+++ b/frontend/src/components/VContentReport/VReportDescForm.vue@@ -9,7 +9,7 @@<textareaid="description"v-model="text"- class="mt-2 h-20 w-full border border-dark-charcoal-20 p-2 placeholder-dark-charcoal-70"+ class="mt-2 h-20 w-full border border-default p-2 placeholder-gray-8":placeholder="$t(`mediaDetails.contentReport.form.${reason}.placeholder`)":required="isRequired":minlength="isRequired ? 20 : 0"diff --git a/frontend/src/components/VContentSwitcher/VSearchTypes.vue b/frontend/src/components/VContentSwitcher/VSearchTypes.vueindex 682b5c6a9..d457f8132 100644--- a/frontend/src/components/VContentSwitcher/VSearchTypes.vue+++ b/frontend/src/components/VContentSwitcher/VSearchTypes.vue@@ -10,8 +10,7 @@:key="category.heading"class="flex flex-col":class="{- 'border-t border-dark-charcoal-20 bg-dark-charcoal-06':- index > 0 && !bordered,+ 'border-t border-default bg-surface': index > 0 && !bordered,'w-66 gap-1 py-2': size === 'small',}">diff --git a/frontend/src/components/VErrorSection/VErrorImage.vue b/frontend/src/components/VErrorSection/VErrorImage.vueindex 5417607ac..fdb395161 100644--- a/frontend/src/components/VErrorSection/VErrorImage.vue+++ b/frontend/src/components/VErrorSection/VErrorImage.vue@@ -56,7 +56,7 @@ const image = computed(() => images[props.errorCode])<style scoped>::v-deep(.attribution) {- @apply mt-4 text-sr text-dark-charcoal-70;+ @apply mt-4 text-sr text-secondary;}::v-deep(.attribution a) {@apply text-current underline;diff --git a/frontend/src/components/VErrorSection/VNoResults.vue b/frontend/src/components/VErrorSection/VNoResults.vueindex 65be02730..7d49e7d8b 100644--- a/frontend/src/components/VErrorSection/VNoResults.vue+++ b/frontend/src/components/VErrorSection/VNoResults.vue@@ -48,7 +48,7 @@ onMounted(() => {:href="source.url"variant="bordered-gray"size="medium"- class="label-bold !w-full text-dark-charcoal sm:!w-auto"+ class="label-bold !w-full text-default sm:!w-auto"show-external-iconhas-icon-end:external-icon-size="6"diff --git a/frontend/src/components/VExternalSearch/VExternalSearchForm.vue b/frontend/src/components/VExternalSearch/VExternalSearchForm.vueindex dd98185a3..d0511cb7e 100644--- a/frontend/src/components/VExternalSearch/VExternalSearchForm.vue+++ b/frontend/src/components/VExternalSearch/VExternalSearchForm.vue@@ -88,7 +88,9 @@ const isMd = computed(() => uiStore.isBreakpoint("md"))tag="p"/><VIcon- :class="{ 'text-white': a11yProps['aria-expanded'] }"+ :class="{+ 'text-over-dark': a11yProps['aria-expanded'],+ }"name="caret-down"/></VButton>diff --git a/frontend/src/components/VFilters/VSearchGridFilter.vue b/frontend/src/components/VFilters/VSearchGridFilter.vueindex 7104dd225..92b0fe1e5 100644--- a/frontend/src/components/VFilters/VSearchGridFilter.vue+++ b/frontend/src/components/VFilters/VSearchGridFilter.vue@@ -12,7 +12,7 @@id="clear-filter-button"variant="transparent-gray"size="small"- class="label-bold absolute end-0 !text-pink"+ class="label-bold absolute end-0 !text-link"@click="clearFilters">{{ $t("filterList.clear") }}diff --git a/frontend/src/components/VFooter/VFooter.vue b/frontend/src/components/VFooter/VFooter.vueindex 2edfdff8f..69b65886f 100644--- a/frontend/src/components/VFooter/VFooter.vue+++ b/frontend/src/components/VFooter/VFooter.vue@@ -9,7 +9,7 @@><!-- Logo and links --><div v-if="isContentMode" class="logo-and-links flex flex-col gap-y-10">- <VLink href="/" class="logo text-dark-charcoal" aria-label="Openverse">+ <VLink href="/" class="logo text-default" aria-label="Openverse"><VBrand class="text-[18px]" /></VLink><nav>@@ -23,7 +23,10 @@<!-- Locale chooser and WordPress affiliation graphic --><div class="locale-and-wp flex flex-col justify-between">- <VLanguageSelect v-bind="languageProps" class="language max-w-full" />+ <VLanguageSelect+ v-bind="languageProps"+ class="language max-w-full border-secondary"+ /><VWordPressLink mode="light" /></div></footer>diff --git a/frontend/src/components/VFourOhFour.vue b/frontend/src/components/VFourOhFour.vueindex 3a2d87b5c..6f250a589 100644--- a/frontend/src/components/VFourOhFour.vue+++ b/frontend/src/components/VFourOhFour.vue@@ -1,7 +1,7 @@<template><div class="error grid overflow-x-hidden"><VSvg- class="z-0 pointer-events-none col-start-1 row-start-1 -mx-[15%] fill-dark-charcoal opacity-5 lg:mx-15 lg:-mt-20"+ class="z-0 pointer-events-none col-start-1 row-start-1 -mx-[15%] fill-gray-12 opacity-5 lg:mx-15 lg:-mt-20"viewBox="0 0 1320 569"name="oops"/>diff --git a/frontend/src/components/VHeader/VFilterIconOrCounter.vue b/frontend/src/components/VHeader/VFilterIconOrCounter.vueindex 2bd547afd..2fadc8a51 100644--- a/frontend/src/components/VHeader/VFilterIconOrCounter.vue+++ b/frontend/src/components/VHeader/VFilterIconOrCounter.vue@@ -3,7 +3,7 @@<pv-elseclass="flex h-6 w-6 items-center justify-center rounded-sm"- :class="pressed ? 'bg-tx' : 'bg-dark-charcoal-10'"+ :class="pressed ? 'bg-tx' : 'bg-secondary'">{{ appliedFilterCount }}</p>diff --git a/frontend/src/components/VHeader/VHeaderDesktop.vue b/frontend/src/components/VHeader/VHeaderDesktop.vueindex 2ce913a18..e2a2f13e4 100644--- a/frontend/src/components/VHeader/VHeaderDesktop.vue+++ b/frontend/src/components/VHeader/VHeaderDesktop.vue@@ -1,6 +1,6 @@<template><header- class="main-header z-30 flex w-full items-stretch justify-between gap-x-2 bg-white px-6 py-4"+ class="main-header z-30 flex w-full items-stretch justify-between gap-x-2 bg-default px-6 py-4"><VLogoButton :is-fetching="isFetching" />@@ -21,7 +21,7 @@/><spanv-show="Boolean(searchStatus)"- class="info mx-4 hidden whitespace-nowrap text-xs text-dark-charcoal-70 group-focus-within:hidden group-hover:text-dark-charcoal group-focus:text-dark-charcoal lg:block"+ class="info mx-4 hidden whitespace-nowrap text-xs text-secondary group-focus-within:hidden group-hover:text-default group-focus:text-default lg:block">{{ searchStatus }}</span>diff --git a/frontend/src/components/VHeader/VHeaderInternal.vue b/frontend/src/components/VHeader/VHeaderInternal.vueindex 9179a5a64..c30474fbf 100644--- a/frontend/src/components/VHeader/VHeaderInternal.vue+++ b/frontend/src/components/VHeader/VHeaderInternal.vue@@ -137,7 +137,7 @@ watch(route, () => {variant="transparent-tx"size="large":icon-props="{ name: 'close' }"- class="text-white focus-slim-tx-yellow hover:bg-white hover:bg-opacity-10"+ class="focus-visible:ring-bg-complementary text-white focus-slim-tx hover:bg-tertiary":label="$t('modal.closePagesMenu')"@click="closePageMenu"/>@@ -148,13 +148,13 @@ watch(route, () => {<VPageLinksmode="dark"class="mt-3 flex flex-col items-end gap-y-6"- nav-link-classes="text-white text-3xl focus-visible:ring-yellow"+ nav-link-classes="text-white text-3xl focus-visible:ring-bg-complementary":is-in-modal="true"@close="closePageMenu"/></nav><VWordPressLink- class="mt-auto focus-visible:ring-yellow focus-visible:ring-offset-0"+ class="focus-visible:ring-bg-complementary mt-auto focus-visible:ring-offset-0"mode="dark"/></template>diff --git a/frontend/src/components/VHeader/VHeaderMobile/VContentSettingsButton.vue b/frontend/src/components/VHeader/VHeaderMobile/VContentSettingsButton.vueindex 1ed2c0746..c9dd5c72e 100644--- a/frontend/src/components/VHeader/VHeaderMobile/VContentSettingsButton.vue+++ b/frontend/src/components/VHeader/VHeaderMobile/VContentSettingsButton.vue@@ -17,7 +17,7 @@<template #notification><spanv-if="appliedFilterCount"- class="absolute right-[-0.1875rem] top-[-0.1875rem] h-[0.5rem] w-[0.5rem] rounded bg-pink"+ class="absolute right-[-0.1875rem] top-[-0.1875rem] h-[0.5rem] w-[0.5rem] rounded bg-primary"/></template></VSearchBarButton>diff --git a/frontend/src/components/VHeader/VHeaderMobile/VContentSettingsModalContent.vue b/frontend/src/components/VHeader/VHeaderMobile/VContentSettingsModalContent.vueindex c9745c381..5fd2f05f6 100644--- a/frontend/src/components/VHeader/VHeaderMobile/VContentSettingsModalContent.vue+++ b/frontend/src/components/VHeader/VHeaderMobile/VContentSettingsModalContent.vue@@ -97,7 +97,7 @@ const clearFilters = () => {><h2v-else- class="label-regular relative my-2 me-4 flex h-12 items-center gap-x-2 px-2 after:absolute after:bottom-[-0.625rem] after:right-1/2 after:h-0.5 after:w-full after:translate-x-1/2 after:translate-y-[-50%] after:bg-dark-charcoal"+ class="label-regular relative my-2 me-4 flex h-12 items-center gap-x-2 px-2 after:absolute after:bottom-[-0.625rem] after:right-1/2 after:h-0.5 after:w-full after:translate-x-1/2 after:translate-y-[-50%] after:bg-tertiary"><VIcon :name="searchType.searchType" />{{ $t("searchType.heading") }}@@ -129,17 +129,17 @@ const clearFilters = () => {:show-filter-header="false":change-tab-order="false"/>- <VSafeBrowsing class="border-t border-dark-charcoal-20 px-6 pt-6" />+ <VSafeBrowsing class="border-t border-default px-6 pt-6" /></VTabPanel></VTabs><footerv-if="showFilters"- class="mt-auto flex h-20 flex-shrink-0 items-center justify-between border-t border-t-dark-charcoal-20 p-4"+ class="mt-auto flex h-20 flex-shrink-0 items-center justify-between border-t border-t-default p-4"><VButtonv-show="showClearFiltersButton"variant="transparent-gray"- class="label-bold !text-pink disabled:!text-dark-charcoal-40"+ class="label-bold !text-link disabled:!text-disabled":disabled="isClearButtonDisabled"size="large"@click="clearFilters"diff --git a/frontend/src/components/VHeader/VHeaderMobile/VHeaderMobile.vue b/frontend/src/components/VHeader/VHeaderMobile/VHeaderMobile.vueindex c1dbb7e04..8e51d60c9 100644--- a/frontend/src/components/VHeader/VHeaderMobile/VHeaderMobile.vue+++ b/frontend/src/components/VHeader/VHeaderMobile/VHeaderMobile.vue@@ -266,8 +266,8 @@ const handleTab = (class="search-bar group flex h-12 w-full flex-row items-center overflow-hidden rounded-sm":class="isSearchBarActive || isInputFocused- ? 'bg-white ring ring-pink'- : 'bg-dark-charcoal-06'+ ? 'bg-default ring ring-pink-8'+ : 'bg-surface'"@submit.prevent="handleFormSubmit">@@ -294,7 +294,7 @@ const handleTab = (name="q":placeholder="$t('hero.search.placeholder')"type="search"- class="search-field ms-1 h-full w-full flex-grow appearance-none rounded-none border-tx bg-tx text-2xl text-dark-charcoal-70 placeholder-dark-charcoal-70 hover:text-dark-charcoal hover:placeholder-dark-charcoal focus-visible:outline-none"+ class="search-field ms-1 h-full w-full flex-grow appearance-none rounded-none border-tx bg-tx text-2xl text-secondary placeholder-gray-8 hover:text-default hover:placeholder-gray-12 focus-visible:outline-none":value="localSearchTerm":aria-label="$t('search.searchBarLabel', {@@ -321,13 +321,13 @@ const handleTab = (ref="clearButtonRef"icon="close-small":label="$t('browsePage.searchForm.clear')"- inner-area-classes="bg-white hover:bg-dark-charcoal-10"+ inner-area-classes="bg-default hover:bg-secondary"@click="clearSearchText"@keydown.tab.exact="handleTab($event, 'clear-input')"/><spanv-show="!isSearchBarActive && searchStatus"- class="info mx-4 hidden whitespace-nowrap text-xs group-hover:text-dark-charcoal group-focus:text-dark-charcoal md:flex"+ class="info mx-4 hidden whitespace-nowrap text-xs group-hover:text-default group-focus:text-default md:flex">{{ searchStatus }}</span>diff --git a/frontend/src/components/VHeader/VHeaderMobile/VSearchBarButton.vue b/frontend/src/components/VHeader/VHeaderMobile/VSearchBarButton.vueindex 343001352..bcd9dd92f 100644--- a/frontend/src/components/VHeader/VHeaderMobile/VSearchBarButton.vue+++ b/frontend/src/components/VHeader/VHeaderMobile/VSearchBarButton.vue@@ -1,7 +1,7 @@<template><VButton :aria-label="label" size="large" variant="plain--avoid" icon-only><span- class="relative flex h-8 w-8 flex-none items-center justify-center rounded-sm border border-tx group-focus-visible/button:ring group-focus-visible/button:ring-pink group-active/button:ring group-active/button:ring-pink"+ class="relative flex h-8 w-8 flex-none items-center justify-center rounded-sm border border-tx group-focus-visible/button:ring group-focus-visible/button:ring-pink-8 group-active/button:ring group-active/button:ring-pink-8":class="variant"><VIcon@@ -76,21 +76,21 @@ export default defineComponent({outline: none;}.transparent-dark {- @apply border-tx bg-tx text-dark-charcoal hover:text-white group-hover/button:bg-dark-charcoal;+ @apply border-tx bg-tx text-default hover:text-over-dark group-hover/button:bg-tertiary;}.transparent-gray {- @apply border-tx bg-tx text-dark-charcoal group-hover/button:bg-dark-charcoal group-hover/button:bg-opacity-10;+ @apply border-tx bg-tx text-default group-hover/button:bg-tertiary;}.filled-white {- @apply border-tx bg-white text-dark-charcoal group-hover/button:bg-dark-charcoal group-hover/button:text-white;+ @apply border-tx bg-default text-default group-hover/button:bg-tertiary group-hover/button:text-over-dark;}.filled-gray {- @apply border-tx bg-dark-charcoal-10 text-dark-charcoal group-hover/button:bg-dark-charcoal group-hover/button:text-white;+ @apply border-tx bg-secondary text-default group-hover/button:bg-tertiary group-hover/button:text-over-dark;}.filled-white,.filled-gray {- @apply group-focus-visible/button:border-white;+ @apply group-focus-visible/button:border-bg-ring;}</style>diff --git a/frontend/src/components/VHeader/VHeaderMobile/VShowResultsButton.vue b/frontend/src/components/VHeader/VHeaderMobile/VShowResultsButton.vueindex 0e21a5bc3..36a53f91d 100644--- a/frontend/src/components/VHeader/VHeaderMobile/VShowResultsButton.vue+++ b/frontend/src/components/VHeader/VHeaderMobile/VShowResultsButton.vue@@ -1,6 +1,6 @@<template><VButton- variant="filled-pink"+ variant="filled-pink-8"size="large"class="label-bold relative ms-auto"@click="$emit('click')"diff --git a/frontend/src/components/VHeader/VHeaderMobile/meta/VFilterTab.stories.js b/frontend/src/components/VHeader/VHeaderMobile/meta/VFilterTab.stories.jsindex a253dce8d..2fe899805 100644--- a/frontend/src/components/VHeader/VHeaderMobile/meta/VFilterTab.stories.js+++ b/frontend/src/components/VHeader/VHeaderMobile/meta/VFilterTab.stories.js@@ -14,7 +14,7 @@ const Template = (args, { argTypes }) => ({<VFilterTab v-bind="args" v-on="args" /></template></VTabs>-<div class="border-t border-dark-charcoal-20 h-2 w-full" />+<div class="border-t border-default h-2 w-full" /></div>`,components: { VFilterTab, VTabs, VTab },props: Object.keys(argTypes),diff --git a/frontend/src/components/VHeader/VHomeLink.vue b/frontend/src/components/VHeader/VHomeLink.vueindex 5fdb88365..b53589fad 100644--- a/frontend/src/components/VHeader/VHomeLink.vue+++ b/frontend/src/components/VHeader/VHomeLink.vue@@ -7,8 +7,8 @@size="disabled":class="variant === 'dark'- ? 'text-dark-charcoal hover:bg-yellow'- : 'text-white focus-slim-tx-yellow'+ ? 'text-default hover:bg-complementary'+ : 'focus-slim-tx-bg-complementary text-white'"class="h-12 px-4 text-[1.125rem]">diff --git a/frontend/src/components/VHeader/VLogoButton.vue b/frontend/src/components/VHeader/VLogoButton.vueindex 1d15ae2a3..6001af385 100644--- a/frontend/src/components/VHeader/VLogoButton.vue+++ b/frontend/src/components/VHeader/VLogoButton.vue@@ -6,7 +6,7 @@variant="transparent-tx"size="large"icon-only- class="text-dark-charcoal hover:bg-yellow"+ class="text-default hover:bg-complementary"><VLogoLoader :status="isFetching ? 'loading' : 'idle'" /></VButton>diff --git a/frontend/src/components/VHeader/VPageLinks.vue b/frontend/src/components/VHeader/VPageLinks.vueindex 76f804f6f..fd18d8465 100644--- a/frontend/src/components/VHeader/VPageLinks.vue+++ b/frontend/src/components/VHeader/VPageLinks.vue@@ -30,10 +30,10 @@<ul v-else><li v-for="page in allPages" :key="page.id"><VLink- class="flex flex-row rounded-sm hover:underline focus-visible:outline-none focus-visible:ring focus-visible:ring-offset-tx disabled:text-dark-charcoal-40"+ class="flex flex-row rounded-sm hover:underline focus-visible:outline-none focus-visible:ring focus-visible:ring-offset-tx disabled:text-disabled":class="[{ 'font-semibold': currentPage === page.id },- { 'text-dark-charcoal focus-visible:ring-pink': mode === 'light' },+ { 'focus-visible:ring-border-focus text-default': mode === 'light' },navLinkClasses,]":href="page.link"diff --git a/frontend/src/components/VHeader/VSearchBar/VSearchBar.vue b/frontend/src/components/VHeader/VSearchBar/VSearchBar.vueindex d713139e2..fc3045941 100644--- a/frontend/src/components/VHeader/VSearchBar/VSearchBar.vue+++ b/frontend/src/components/VHeader/VSearchBar/VSearchBar.vue@@ -4,7 +4,7 @@<formaction="/search"role="search"- class="search-bar group flex h-12 flex-row items-center rounded-sm border-tx bg-white"+ class="search-bar group flex h-12 flex-row items-center rounded-sm border-tx bg-default"@submit.prevent="handleSearch"><VInputField@@ -12,7 +12,7 @@v-bind="nonClassAttrs"v-model="modelMedium":placeholder="placeholder || $t('hero.search.placeholder')"- class="search-field flex-grow border-tx bg-dark-charcoal-10 text-dark-charcoal-70 focus-within:bg-white focus:border-pink group-hover:bg-dark-charcoal-10 group-hover:text-dark-charcoal group-hover:focus-within:bg-white"+ class="search-field flex-grow border-tx bg-secondary text-secondary focus-within:bg-default focus:border-focus group-hover:bg-secondary group-hover:text-default group-hover:focus-within:bg-default":label-text="$t('search.searchBarLabel', { openverse: 'Openverse' })":connection-sides="['end']":size="size"diff --git a/frontend/src/components/VHeader/VSearchBar/VSearchButton.vue b/frontend/src/components/VHeader/VSearchBar/VSearchButton.vueindex 5b17c8333..4079478ef 100644--- a/frontend/src/components/VHeader/VSearchBar/VSearchButton.vue+++ b/frontend/src/components/VHeader/VSearchBar/VSearchButton.vue@@ -6,11 +6,12 @@:disabled="!doneHydrating"variant="plain":class="[- 'h-full flex-shrink-0 rounded-s-none border-s-0 p-0.5px ps-1.5px focus-slim-filled hover:text-white focus-visible:border-s group-focus-within:border-tx group-focus-within:bg-pink group-focus-within:text-white group-focus-within:hover:bg-dark-pink group-hover:border-tx group-hover:bg-pink group-hover:text-white',+ 'h-full flex-shrink-0 rounded-s-none border-s-0 p-0.5px ps-1.5px focus-slim-filled hover:text-over-dark focus-visible:border-s group-focus-within:border-tx group-focus-within:bg-primary group-focus-within:text-over-dark group-focus-within:hover:bg-primary-hover group-hover:border-tx group-hover:bg-primary group-hover:text-over-dark',route === 'search' ? 'w-12' : 'w-14 sm:w-16',{- 'border-tx bg-dark-charcoal-10 hover:bg-pink': route === 'search',- 'border-tx bg-pink text-white hover:!bg-dark-pink': route === 'home',+ 'border-tx bg-secondary hover:bg-primary': route === 'search',+ 'border-tx bg-primary text-over-dark hover:!bg-primary-hover':+ route === 'home',},]">diff --git a/frontend/src/components/VHeader/VSearchBar/VStandaloneSearchBar.vue b/frontend/src/components/VHeader/VSearchBar/VStandaloneSearchBar.vueindex 31a867c70..922e30f4d 100644--- a/frontend/src/components/VHeader/VSearchBar/VStandaloneSearchBar.vue+++ b/frontend/src/components/VHeader/VSearchBar/VStandaloneSearchBar.vue@@ -3,14 +3,14 @@<formaction="/search"role="search"- class="search-bar group flex h-14 flex-row items-center rounded-sm border-tx bg-white sm:h-16"+ class="search-bar group flex h-14 flex-row items-center rounded-sm border-tx bg-default sm:h-16"@submit.prevent="handleSearch"><divclass="input-field search-field group flex h-full flex-grow items-center overflow-hidden rounded-sm rounded-e-none border border-e-0 p-0.5px pe-2 focus-within:border-1.5 focus-within:border-e-0 focus-within:p-0 focus-within:pe-2":class="[route === 'home' ? 'border-tx' : 'border-black',- hasPopover ? 'focus-within:border-tx' : 'focus-within:border-pink',+ hasPopover ? 'focus-within:border-tx' : 'focus-within:border-focus',]"><input@@ -19,7 +19,7 @@type="search"name="q":placeholder="$t('hero.search.placeholder')"- class="paragraph-large md:label-regular ms-4 h-full w-full appearance-none rounded-none bg-tx leading-none text-dark-charcoal placeholder-dark-charcoal-70 focus-visible:outline-none"+ class="paragraph-large md:label-regular ms-4 h-full w-full appearance-none rounded-none bg-tx leading-none text-default placeholder-gray-8 focus-visible:outline-none":aria-label="$t('search.searchBarLabel', {openverse: 'Openverse',diff --git a/frontend/src/components/VHeader/VSearchBar/meta/VSearchBar.stories.js b/frontend/src/components/VHeader/VSearchBar/meta/VSearchBar.stories.jsindex b3289cc85..56a179000 100644--- a/frontend/src/components/VHeader/VSearchBar/meta/VSearchBar.stories.js+++ b/frontend/src/components/VHeader/VSearchBar/meta/VSearchBar.stories.js@@ -3,7 +3,7 @@ import VSearchBar from "~/components/VHeader/VSearchBar/VSearchBar.vue"const Template = (args) => ({template: `<VSearchBar v-bind="args" v-on="args">- <span class="info text-xs font-semibold text-dark-charcoal-70 mx-4 whitespace-nowrap group-hover:text-dark-charcoal group-focus:text-dark-charcoal">+ <span class="info-8 text-xs font-semibold text-secondary mx-4 whitespace-nowrap group-hover:text-default group-focus:text-default">12,345 results</span></VSearchBar>`,@@ -17,7 +17,7 @@ const vModelTemplate = (args) => ({template: `<div><VSearchBar v-model="text" v-on="args">- <span class="info text-xs font-semibold text-dark-charcoal-70 mx-4 whitespace-nowrap group-hover:text-dark-charcoal group-focus:text-dark-charcoal">+ <span class="info-8 text-xs font-semibold text-secondary mx-4 whitespace-nowrap group-hover:text-default group-focus:text-default">{{ text.length }} chars</span></VSearchBar>diff --git a/frontend/src/components/VHeader/VWordPressLink.vue b/frontend/src/components/VHeader/VWordPressLink.vueindex f2da0e805..3cd630d3d 100644--- a/frontend/src/components/VHeader/VWordPressLink.vue+++ b/frontend/src/components/VHeader/VWordPressLink.vue@@ -2,8 +2,7 @@<VLinkhref="https://wordpress.org":aria-label="$t('footer.wordpressAffiliation', { wordpress: 'WordPress' })"- :class="mode === 'light' ? 'text-dark-charcoal' : 'text-white'"- class="hover:no-underline focus-visible:rounded-sm focus-visible:outline-none focus-visible:ring focus-visible:ring-pink focus-visible:ring-offset-1 focus-visible:ring-offset-tx"+ class="focus-visible:ring-border-focus text-default hover:no-underline focus-visible:rounded-sm focus-visible:outline-none focus-visible:ring focus-visible:ring-offset-1 focus-visible:ring-offset-tx"><i18n-tscope="global"diff --git a/frontend/src/components/VHeader/meta/VFilterButton.stories.js b/frontend/src/components/VHeader/meta/VFilterButton.stories.jsindex f8fa92911..3b1df85bb 100644--- a/frontend/src/components/VHeader/meta/VFilterButton.stories.js+++ b/frontend/src/components/VHeader/meta/VFilterButton.stories.js@@ -5,7 +5,7 @@ import { IMAGE } from "~/constants/media"import VFilterButton from "~/components/VHeader/VFilterButton.vue"const Template = (args, { argTypes }) => ({- template: `<div class="flex"><div id="wrapper" class="px-4 h-16 bg-dark-charcoal-06 flex align-center justify-center">+ template: `<div class="flex"><div id="wrapper" class="px-4 h-16 bg-surface flex align-center justify-center"><VFilterButton v-bind="args" v-on="args" /></div></div>`,components: { VFilterButton },diff --git a/frontend/src/components/VHeader/meta/VHomeLink.stories.js b/frontend/src/components/VHeader/meta/VHomeLink.stories.jsindex eb199637d..a24582617 100644--- a/frontend/src/components/VHeader/meta/VHomeLink.stories.js+++ b/frontend/src/components/VHeader/meta/VHomeLink.stories.js@@ -4,7 +4,7 @@ const Template = (args) => ({template: `<div class="flex p-4" :class="bg"><VHomeLink v-bind="args" /></div>`,components: { VHomeLink },setup() {- const bg = args.variant === "dark" ? "bg-white" : "bg-black"+ const bg = args.variant === "dark" ? "bg-default" : "bg-black"return { args, bg }},})diff --git a/frontend/src/components/VHeader/meta/VSearchBarButton.stories.js b/frontend/src/components/VHeader/meta/VSearchBarButton.stories.jsindex 6919e717a..b145474bb 100644--- a/frontend/src/components/VHeader/meta/VSearchBarButton.stories.js+++ b/frontend/src/components/VHeader/meta/VSearchBarButton.stories.js@@ -2,7 +2,7 @@ import VContentSettingsButton from "~/components/VHeader/VHeaderMobile/VContentSimport VSearchBarButton from "~/components/VHeader/VHeaderMobile/VSearchBarButton.vue"const Template = (args) => ({- template: `<div class="wrapper border-dark-charcoal-10 inline-flex justify-start p-2">+ template: `<div class="wrapper border-gray-2 inline-flex justify-start p-2"><VSearchBarButton label="VSearchBarButton" :icon="args.icon" v-bind="args" v-on="args" /></div>`,components: { VSearchBarButton },@@ -16,7 +16,7 @@ const Template = (args) => ({const contentSettingsTemplate = (args) => ({template: `- <div class="wrapper rounded-sm inline-flex justify-end bg-dark-charcoal-10">+ <div class="wrapper rounded-sm inline-flex justify-end bg-secondary"><VContentSettingsButton label="VContentSettingsButton" :are-filters-selected="true" v-bind="args" /></div>`,@@ -27,7 +27,7 @@ const contentSettingsTemplate = (args) => ({})const activeButtonsTemplate = (args) => ({- template: `<div class="wrapper rounded-sm bg-white flex justify-between ring ring-pink">+ template: `<div class="wrapper rounded-sm bg-default flex justify-between ring ring-pink-8-8"><VSearchBarButtonicon="chevron-back":label="$t('header.back-button')"diff --git a/frontend/src/components/VHomeGallery/VHomeGallery.vue b/frontend/src/components/VHomeGallery/VHomeGallery.vueindex ab1303955..032755da5 100644--- a/frontend/src/components/VHomeGallery/VHomeGallery.vue+++ b/frontend/src/components/VHomeGallery/VHomeGallery.vue@@ -24,7 +24,7 @@appear><VLink- class="home-cell rounded-full p-1 focus-visible:bg-white"+ class="home-cell rounded-full p-1 focus-visible:bg-default":class="idx >= imageCount ? 'hidden' : 'block'":style="{ '--delay': `${idx * 0.05}s` }":href="image.url"diff --git a/frontend/src/components/VHomepageContent.vue b/frontend/src/components/VHomepageContent.vueindex 3fe61b5e1..7366684b9 100644--- a/frontend/src/components/VHomepageContent.vue+++ b/frontend/src/components/VHomepageContent.vue@@ -147,7 +147,7 @@ const {<template #license><VLinkhref="https://creativecommons.org/licenses/"- class="text-dark-charcoal underline hover:text-dark-charcoal"+ class="text-default underline hover:text-default">{{ $t("hero.disclaimer.license") }}</VLink></template>diff --git a/frontend/src/components/VImageCell/VImageCell.vue b/frontend/src/components/VImageCell/VImageCell.vueindex e6768e73e..38e837a19 100644--- a/frontend/src/components/VImageCell/VImageCell.vue+++ b/frontend/src/components/VImageCell/VImageCell.vue@@ -149,7 +149,7 @@ const { isHidden: shouldBlur } = useSensitiveMedia(props.image)itemprop="contentUrl":title="contextSensitiveTitle":href="imageLink"- class="group relative block w-full overflow-hidden rounded-sm text-dark-charcoal-10 focus-visible:outline-3 focus-visible:outline-offset-4"+ class="group relative block w-full overflow-hidden rounded-sm text-gray-2 focus-visible:outline-3 focus-visible:outline-offset-4":aria-label="contextSensitiveTitle"@mousedown="sendSelectSearchResultEvent">@@ -178,7 +178,7 @@ const { isHidden: shouldBlur } = useSensitiveMedia(props.image)@error="onImageLoadError($event)"/><figcaption- class="col-span-full self-end justify-self-start rounded-sm bg-white text-dark-charcoal group-hover:visible group-focus-visible:visible"+ class="col-span-full self-end justify-self-start rounded-sm bg-default text-default group-hover:visible group-focus-visible:visible":class="isSquare? 'invisible row-span-full m-2 p-2'@@ -193,7 +193,7 @@ const { isHidden: shouldBlur } = useSensitiveMedia(props.image)<VLicense:license="image.license":hide-name="true"- class="text-dark-charcoal-70 group-hover:text-dark-charcoal group-focus-visible:text-dark-charcoal sm:text-dark-charcoal"+ class="text-secondary group-hover:text-default group-focus-visible:text-default sm:text-default"/></figcaption></figure>diff --git a/frontend/src/components/VInputField/VInputField.vue b/frontend/src/components/VInputField/VInputField.vueindex 518779786..c1aa7fff9 100644--- a/frontend/src/components/VInputField/VInputField.vue+++ b/frontend/src/components/VInputField/VInputField.vue@@ -1,6 +1,6 @@<template><div- class="input-field group flex flex-row items-center overflow-hidden rounded-sm border p-0.5px focus-within:border-1.5 focus-within:border-pink focus-within:bg-dark-charcoal-06 focus-within:p-0 group-hover:bg-dark-charcoal-06"+ class="input-field group flex flex-row items-center overflow-hidden rounded-sm border p-0.5px focus-within:border-1.5 focus-within:border-focus focus-within:bg-surface focus-within:p-0 group-hover:bg-surface":class="[{// Padding is set to 1.5px to accommodate the border that will appear later.@@ -19,7 +19,7 @@ref="inputEl":placeholder="placeholder":type="type"- class="ms-4 h-full w-full appearance-none rounded-none bg-tx text-2xl font-semibold leading-none placeholder-dark-charcoal-70 focus-visible:outline-none md:text-base"+ class="ms-4 h-full w-full appearance-none rounded-none bg-tx text-2xl font-semibold leading-none placeholder-gray-8 focus-visible:outline-none md:text-base":value="modelValue":aria-label="labelText"@input="updateModelValue"@@ -146,7 +146,7 @@ export default defineComponent({<style scoped>.input-field:focus-within .info {- @apply text-dark-charcoal;+ @apply text-default;}.input-field input::placeholder {diff --git a/frontend/src/components/VItemGroup/VItem.vue b/frontend/src/components/VItemGroup/VItem.vueindex c21522163..37e9bc26d 100644--- a/frontend/src/components/VItemGroup/VItem.vue+++ b/frontend/src/components/VItemGroup/VItem.vue@@ -7,26 +7,26 @@{[`${contextProps.direction}-bordered`]: contextProps.bordered,[`${contextProps.direction}-popover-item`]: isInPopover,- 'border border-dark-charcoal-20': contextProps.bordered,+ 'border border-default': contextProps.bordered,'has-check': contextProps.showCheck,'font-semibold': selected && !contextProps.showCheck,- 'bg-dark-charcoal-10':+ 'bg-transparent':selected && contextProps.bordered && contextProps.showCheck,},- isInPopover ? 'px-2' : 'hover:bg-dark-charcoal-10',+ isInPopover ? 'px-2' : '',]"><VButtondata-item-group-item:as="as"- class="relative min-w-full justify-between border-0 hover:bg-dark-charcoal-10 focus-visible:z-10"+ class="relative min-w-full justify-between border-0 hover:bg-transparent-hover focus-visible:z-10":class="{'w-max': contextProps.direction === 'horizontal','!p-3': contextProps.size === 'small','!p-5 !ps-6': contextProps.size === 'medium',- 'bg-dark-charcoal-10 ring-offset-dark-charcoal-10':+ 'bg-transparent-hover ring-offset-gray-2':selected && contextProps.showCheck,- 'text-dark-charcoal': as === 'VLink',+ 'text-default': as === 'VLink','!px-2': !contextProps.showCheck,}"variant="transparent-tx"@@ -207,7 +207,7 @@ export default defineComponent({}.horizontal-bordered {- @apply border-e border-s-0 border-dark-charcoal-20;+ @apply border-e border-s-0 border-default;}.horizontal:first-of-type {diff --git a/frontend/src/components/VItemGroup/meta/VItemGroup.stories.js b/frontend/src/components/VItemGroup/meta/VItemGroup.stories.jsindex 4c89ac924..47d48cb88 100644--- a/frontend/src/components/VItemGroup/meta/VItemGroup.stories.js+++ b/frontend/src/components/VItemGroup/meta/VItemGroup.stories.js@@ -89,7 +89,7 @@ const PopoverStory = (args) => ({template: `<VPopover><template #trigger="{ a11yProps, visible }">- <VButton variant="filled-pink" size="medium" v-bind="a11yProps" :pressed="visible">{{ visible ? 'Close menu' : 'Open menu' }}</VButton>+ <VButton variant="filled-pink-8" size="medium" v-bind="a11yProps" :pressed="visible">{{ visible ? 'Close menu' : 'Open menu' }}</VButton></template><VItemGroup v-bind="args" type="menu"><VItemdiff --git a/frontend/src/components/VLicense/VLicense.vue b/frontend/src/components/VLicense/VLicense.vueindex 85bdc7ec4..62811aa70 100644--- a/frontend/src/components/VLicense/VLicense.vue+++ b/frontend/src/components/VLicense/VLicense.vue@@ -4,7 +4,7 @@<VIconv-for="name in iconNames":key="name"- :class="{ 'bg-filled text-black': bgFilled }"+ :class="{ 'license-bg text-black': bgFilled }"view-box="0 0 30 30":name="`licenses/${name}`":size="4"@@ -80,7 +80,7 @@ export default defineComponent({</script><style scoped>-.bg-filled {+.license-bg {background-image: radial-gradient(circle, #ffffff 60%, transparent 60%);}</style>diff --git a/frontend/src/components/VMediaInfo/VByLine/VSourceCreatorButton.vue b/frontend/src/components/VMediaInfo/VByLine/VSourceCreatorButton.vueindex 58243537e..4dd77a3a7 100644--- a/frontend/src/components/VMediaInfo/VByLine/VSourceCreatorButton.vue+++ b/frontend/src/components/VMediaInfo/VByLine/VSourceCreatorButton.vue@@ -3,7 +3,7 @@as="VLink"size="small"has-icon-start- class="label-bold !bg-dark-charcoal-10 hover:!bg-dark-charcoal hover:!text-white sm:!bg-tx"+ class="label-bold !bg-secondary hover:!bg-tertiary hover:!text-over-dark sm:!bg-tx"variant="transparent-gray":href="href">diff --git a/frontend/src/components/VMediaInfo/VGetMediaButton.vue b/frontend/src/components/VMediaInfo/VGetMediaButton.vueindex 882a44f6d..2b75ca01e 100644--- a/frontend/src/components/VMediaInfo/VGetMediaButton.vue+++ b/frontend/src/components/VMediaInfo/VGetMediaButton.vue@@ -3,7 +3,7 @@as="VLink":href="media.foreign_landing_url"size="large"- variant="filled-pink"+ variant="filled-pink-8"has-icon-endshow-external-icon:external-icon-size="6"diff --git a/frontend/src/components/VMediaInfo/VMetadataValue.vue b/frontend/src/components/VMediaInfo/VMetadataValue.vueindex 78d21debe..466ccd23d 100644--- a/frontend/src/components/VMediaInfo/VMetadataValue.vue+++ b/frontend/src/components/VMediaInfo/VMetadataValue.vue@@ -3,7 +3,7 @@<VLinkv-if="datum.url":href="datum.url"- class="flex text-pink focus-visible:rounded-sm focus-visible:outline-none focus-visible:ring focus-visible:ring-pink focus-visible:ring-offset-1"+ class="focus-visible:ring-border-focus flex text-link focus-visible:rounded-sm focus-visible:outline-none focus-visible:ring focus-visible:ring-offset-1":send-external-link-click-event="false"@click="$emit('click', datum.source)"><spandiff --git a/frontend/src/components/VMediaInfo/VSourceProviderTooltip.vue b/frontend/src/components/VMediaInfo/VSourceProviderTooltip.vueindex 28c3a677e..eedecb2ae 100644--- a/frontend/src/components/VMediaInfo/VSourceProviderTooltip.vue+++ b/frontend/src/components/VMediaInfo/VSourceProviderTooltip.vue@@ -4,7 +4,7 @@<VTooltip placement="top" :described-by="describedBy" class="ms-1"><template #default><p- class="caption-regular rounded-sm bg-dark-charcoal px-2 py-1 text-white"+ class="caption-regular rounded-sm bg-tertiary px-2 py-1 text-over-dark">{{ description }}</p>diff --git a/frontend/src/components/VMediaInfo/meta/VMetadata.stories.js b/frontend/src/components/VMediaInfo/meta/VMetadata.stories.jsindex f6f16967d..99191ff0a 100644--- a/frontend/src/components/VMediaInfo/meta/VMetadata.stories.js+++ b/frontend/src/components/VMediaInfo/meta/VMetadata.stories.js@@ -15,14 +15,14 @@ const Template = (args) => ({template: `<div class="flex flex-col gap-y-2"><VLanguageSelect />- <section class="wrapper flex flex-col p-2 gap-y-2 bg-dark-charcoal-06">+ <section class="wrapper flex flex-col p-2 gap-y-2 bg-surface"><VMetadatav-for="datum in data":key="datum.media.id":metadata="datum.metadata":media="datum.media"v-bind="datum"- class="bg-white"/>+ class="bg-default"/></section></div>`,diff --git a/frontend/src/components/VModal/VModalContent.vue b/frontend/src/components/VModal/VModalContent.vueindex b8992fc91..2522f461f 100644--- a/frontend/src/components/VModal/VModalContent.vue+++ b/frontend/src/components/VModal/VModalContent.vue@@ -100,7 +100,7 @@ defineExpose({class="backdrop h-dyn-screen min-h-dyn-screen fixed inset-0 z-40 flex justify-center overflow-y-auto":class="[{ 'flex-col items-center': variant === 'centered' },- variant === 'mobile-input' ? 'bg-tx' : 'bg-dark-charcoal bg-opacity-75',+ variant === 'mobile-input' ? 'bg-tx' : 'bg-modal-layer',contentClasses,variant,]"@@ -112,16 +112,14 @@ defineExpose({v-bind="$attrs"class="flex flex-col":class="[- mode === 'dark'- ? 'bg-black text-white'- : 'bg-white text-dark-charcoal',+ mode === 'dark' ? 'bg-black text-default' : 'bg-overlay text-default',{'w-full md:max-w-[768px] lg:w-[768px] xl:w-[1024px] xl:max-w-[1024px]':variant === 'default','w-full': variant === 'full',- 'mt-auto h-2/3 w-full rounded-se-lg rounded-ss-lg bg-white':+ 'mt-auto h-2/3 w-full rounded-se-lg rounded-ss-lg bg-overlay':variant === 'two-thirds',- 'mt-auto w-full rounded-se-lg rounded-ss-lg bg-white':+ 'mt-auto w-full rounded-se-lg rounded-ss-lg bg-overlay':variant === 'fit-content','m-6 rounded sm:m-0': variant === 'centered',},@@ -140,7 +138,7 @@ defineExpose({--><divv-if="variant === 'default'"- class="flex w-full shrink-0 justify-between bg-white py-4 pe-3 ps-4 md:justify-end md:bg-tx md:px-0 md:py-3"+ class="flex w-full shrink-0 justify-between bg-overlay py-4 pe-3 ps-4 md:justify-end md:bg-tx md:px-0 md:py-3"><VIconButtonref="closeButton"@@ -158,15 +156,15 @@ defineExpose({'text-left align-bottom md:rounded-se-lg md:rounded-ss-lg':variant === 'default','w-auto rounded': variant === 'centered',- 'mt-auto w-full rounded-se-lg rounded-ss-lg bg-white':+ 'mt-auto w-full rounded-se-lg rounded-ss-lg bg-overlay':variant === 'fit-content','flex w-full flex-col justify-between px-6 pb-10':variant === 'full','overflow-y-hidden rounded-se-lg rounded-ss-lg':variant === 'two-thirds','h-full': variant === 'mobile-input',- 'bg-black text-white': mode === 'dark',- 'bg-white text-dark-charcoal': mode === 'light',+ 'bg-black text-default': mode === 'dark',+ 'bg-overlay text-default': mode === 'light','fallback-padding':variant === 'fit-content' ||variant === 'two-thirds' ||diff --git a/frontend/src/components/VPill.vue b/frontend/src/components/VPill.vueindex 61bb1cd2a..ce08b94b3 100644--- a/frontend/src/components/VPill.vue+++ b/frontend/src/components/VPill.vue@@ -1,6 +1,6 @@<template><div- class="w-min rounded-sm bg-yellow px-2 py-1 text-sm font-semibold uppercase"+ class="w-min rounded-sm bg-complementary px-2 py-1 text-sm font-semibold uppercase"><slot /></div>diff --git a/frontend/src/components/VPopover/VPopoverContent.vue b/frontend/src/components/VPopover/VPopoverContent.vueindex 2abe25169..cb5c47a1e 100644--- a/frontend/src/components/VPopover/VPopoverContent.vue+++ b/frontend/src/components/VPopover/VPopoverContent.vue@@ -4,7 +4,7 @@ref="popoverRef"role="dialog"aria-modal="true"- class="popover-content w-max-content absolute left-0 top-0 overflow-y-auto overflow-x-hidden rounded-sm border border-light-gray bg-white shadow"+ class="popover-content w-max-content absolute left-0 top-0 overflow-y-auto overflow-x-hidden rounded-sm border border-default bg-overlay shadow":class="`z-${zIndex}`":style="{ ...heightProperties, ...style }":tabindex="-1"diff --git a/frontend/src/components/VPopover/meta/VPopover.stories.js b/frontend/src/components/VPopover/meta/VPopover.stories.jsindex 2b5781299..b1e76c09d 100644--- a/frontend/src/components/VPopover/meta/VPopover.stories.js+++ b/frontend/src/components/VPopover/meta/VPopover.stories.js@@ -25,7 +25,7 @@ const DefaultPopoverStory = (args) => ({<div tabindex="0">Focusable external area</div><VPopover v-bind="args" v-on="args" v-for="item in args.popoverItems" :key="item" class="mb-2"><template #trigger="{ visible, a11yProps }">- <VButton :pressed="visible" variant="filled-pink" size="medium" v-bind="a11yProps">{{+ <VButton :pressed="visible" variant="filled-pink-8" size="medium" v-bind="a11yProps">{{visible ? 'Close' : 'Open'}}</VButton></template>@@ -43,7 +43,7 @@ const ControlStory = (args) => ({template: `<VPopover v-bind="args" v-on="args"><template #trigger="{ visible, a11yProps }">- <VButton :pressed="visible" variant="filled-pink" size="medium" v-bind="a11yProps">{{+ <VButton :pressed="visible" variant="filled-pink-8" size="medium" v-bind="a11yProps">{{visible ? 'Close' : 'Open'}}</VButton></template>diff --git a/frontend/src/components/VRadio/VRadio.vue b/frontend/src/components/VRadio/VRadio.vueindex f6c30a950..447c1b760 100644--- a/frontend/src/components/VRadio/VRadio.vue+++ b/frontend/src/components/VRadio/VRadio.vue@@ -4,14 +4,14 @@:id="id"v-bind="$attrs":value="value"- class="radio relative me-3 h-5 w-5 flex-shrink-0 appearance-none rounded-full border border-dark-charcoal bg-white focus-visible:outline-none focus-visible:ring focus-visible:ring-pink focus-visible:ring-offset-2 disabled:border-dark-charcoal-40 disabled:bg-dark-charcoal-10"+ class="radio focus-visible:ring-border-focus relative me-3 h-5 w-5 flex-shrink-0 appearance-none rounded-full border border-tertiary bg-default focus-visible:outline-none focus-visible:ring focus-visible:ring-offset-2 disabled:border-disabled disabled:bg-secondary"type="radio":checked="isChecked"@input="handleInput"/><VSvgname="radiomark"- class="radiomark absolute start-0 h-5 w-5 text-dark-charcoal opacity-0 transition-opacity"+ class="radiomark absolute start-0 h-5 w-5 text-default opacity-0 transition-opacity"width="20"height="20"/>@@ -84,6 +84,6 @@ export default defineComponent({}.radio:disabled ~ .radiomark {- @apply text-dark-charcoal-70;+ @apply text-secondary;}</style>diff --git a/frontend/src/components/VRecentSearches/VRecentSearches.vue b/frontend/src/components/VRecentSearches/VRecentSearches.vueindex 358b56a12..712b6fad5 100644--- a/frontend/src/components/VRecentSearches/VRecentSearches.vue+++ b/frontend/src/components/VRecentSearches/VRecentSearches.vue@@ -1,7 +1,7 @@<template><div- class="flex flex-col rounded-sm bg-white"- :class="{ 'border border-dark-charcoal-20 p-2 shadow-el-2': bordered }"+ class="flex flex-col rounded-sm bg-default"+ :class="{ 'border border-default p-2 shadow-el-2': bordered }"data-testid="recent-searches"><div@@ -37,8 +37,8 @@:id="`option-${idx}`":key="entry"role="option"- class="group/entry label-regular flex h-10 flex-row items-center gap-2 rounded-sm border-1.5 pe-1 ps-2 hover:bg-dark-charcoal-10"- :class="idx === selectedIdx ? 'border-pink' : 'border-tx'"+ class="group/entry label-regular flex h-10 flex-row items-center gap-2 rounded-sm border-1.5 pe-1 ps-2 hover:bg-secondary"+ :class="idx === selectedIdx ? 'border-focus' : 'border-tx'":aria-selected="idx === selectedIdx"@click="handleClick(idx)">@@ -66,7 +66,7 @@</span><span- class="mt-auto p-3 text-sm leading-close text-dark-charcoal-70 lg:leading-snug"+ class="mt-auto p-3 text-sm leading-close text-secondary lg:leading-snug">{{ $t("recentSearches.disclaimer") }}</span>diff --git a/frontend/src/components/VSafeBrowsing/VSafeBrowsing.vue b/frontend/src/components/VSafeBrowsing/VSafeBrowsing.vueindex b61cd2db3..3643098fc 100644--- a/frontend/src/components/VSafeBrowsing/VSafeBrowsing.vue+++ b/frontend/src/components/VSafeBrowsing/VSafeBrowsing.vue@@ -35,7 +35,7 @@</VCheckbox><pclass="label-regular mt-2"- :class="{ 'text-dark-charcoal-40': isDisabled(toggle.name) }"+ :class="{ 'text-disabled': isDisabled(toggle.name) }">{{ $t(`filters.safeBrowsing.toggles.${toggle.name}.desc`) }}</p>diff --git a/frontend/src/components/VSafetyWall/VSafetyWall.vue b/frontend/src/components/VSafetyWall/VSafetyWall.vueindex 2048079db..08c9b584d 100644--- a/frontend/src/components/VSafetyWall/VSafetyWall.vue+++ b/frontend/src/components/VSafetyWall/VSafetyWall.vue@@ -1,7 +1,7 @@<template><divid="safety-wall"- class="relative flex h-full w-full flex-grow items-center justify-center border-t border-dark-charcoal-20 bg-white py-8 text-center"+ class="relative flex h-full w-full flex-grow items-center justify-center border-t border-default bg-default py-8 text-center"><section class="mx-auto max-w-2xl px-8 text-sm leading-relaxed"><h1 class="heading-5 mb-2">@@ -25,7 +25,7 @@><template #openverse>Openverse</template><template #link>- <VLink class="text-pink hover:underline" href="/sensitive-content">{{+ <VLink class="text-link hover:underline" href="/sensitive-content">{{$t("sensitiveContent.singleResult.link")}}</VLink>{{ " " }}diff --git a/frontend/src/components/VScrollButton.vue b/frontend/src/components/VScrollButton.vueindex 9d1af41f8..92a00c4b5 100644--- a/frontend/src/components/VScrollButton.vue+++ b/frontend/src/components/VScrollButton.vue@@ -2,7 +2,7 @@<button:aria-label="$t('browsePage.aria.scroll')"type="button"- class="scroll fixed bottom-4 mb-4 ms-auto h-14 w-14 rounded-full bg-pink text-center text-white transition-all duration-100 ease-linear hover:bg-dark-pink hover:shadow-md"+ class="scroll fixed bottom-4 mb-4 ms-auto h-14 w-14 rounded-full bg-primary text-center text-over-dark transition-all duration-100 ease-linear hover:bg-primary-hover hover:shadow-md":class="hClass"@click="scrollToTop"@keydown.tab.exact="$emit('tab', $event)"diff --git a/frontend/src/components/VSelectField/VSelectField.vue b/frontend/src/components/VSelectField/VSelectField.vueindex d6db202ac..74ddb2430 100644--- a/frontend/src/components/VSelectField/VSelectField.vue+++ b/frontend/src/components/VSelectField/VSelectField.vue@@ -73,7 +73,7 @@ const splitAttrs = computed(() => {<template><div- class="relative m-0.5px box-content block w-fit overflow-hidden rounded-sm border border-dark-charcoal border-opacity-20 text-sm focus-within:m-0 focus-within:border-1.5 focus-within:border-pink hover:border-dark-charcoal focus-within:hover:border-pink"+ class="relative m-0.5px box-content block w-fit overflow-hidden rounded-sm border border-default text-sm focus-within:m-0 focus-within:border-1.5 focus-within:border-focus hover:border-hover focus-within:hover:border-focus":class="splitAttrs.classAttrs"><div class="pointer-events-none absolute inset-y-0 start-2 my-auto h-fit">diff --git a/frontend/src/components/VSkeleton/VAudioTrackSkeleton.vue b/frontend/src/components/VSkeleton/VAudioTrackSkeleton.vueindex 03e093914..33049bafe 100644--- a/frontend/src/components/VSkeleton/VAudioTrackSkeleton.vue+++ b/frontend/src/components/VSkeleton/VAudioTrackSkeleton.vue@@ -1,9 +1,7 @@<template><article class="mb-14 flex w-full flex-row"><!-- Thumbnail skeleton -->- <div- class="shimmering mr-4 h-20 w-20 flex-shrink-0 rounded bg-dark-charcoal-10"- />+ <div class="shimmering mr-4 h-20 w-20 flex-shrink-0 rounded bg-secondary" /><div class="flex h-20 w-full flex-row gap-6"><!-- Track info skeleton -->@@ -12,20 +10,18 @@<divv-for="idx in 2":key="idx"- class="row-line shimmering h-3 rounded bg-dark-charcoal-10"+ class="row-line shimmering h-3 rounded bg-secondary":style="{ width: `${getRandomSize()}px` }"/><div class="inline-flex gap-2 space-x-1">- <div class="shimmering h-3 w-14 rounded bg-dark-charcoal-10" />- <div class="shimmering h-3 w-3 rounded-full bg-dark-charcoal-10" />- <div- class="row-line shimmering h-3 w-30 rounded bg-dark-charcoal-10"- />+ <div class="shimmering h-3 w-14 rounded bg-secondary" />+ <div class="shimmering h-3 w-3 rounded-full bg-secondary" />+ <div class="row-line shimmering h-3 w-30 rounded bg-secondary" /></div></div></div><!-- Waveform skeleton -->- <div class="shimmering w-full rounded bg-dark-charcoal-10" />+ <div class="shimmering w-full rounded bg-secondary" /></div></article></template>@@ -57,9 +53,9 @@ export default defineComponent({animation: shimmer 3s infinite linear;background: linear-gradient(to right,- theme("colors.dark-charcoal.10") 4%,- theme("colors.dark-charcoal.20") 25%,- theme("colors.dark-charcoal.10") 36%+ theme("colors.gray.2") 4%,+ theme("colors.gray.3") 25%,+ theme("colors.gray.2") 36%);background-size: 1000px 100%;}diff --git a/frontend/src/components/VSkeleton/VBone.vue b/frontend/src/components/VSkeleton/VBone.vueindex 90667c555..8eac5cb69 100644--- a/frontend/src/components/VSkeleton/VBone.vue+++ b/frontend/src/components/VSkeleton/VBone.vue@@ -1,5 +1,5 @@<template>- <div :class="['bg-dark-charcoal-10', shimmer ? 'shimmering' : '']" />+ <div :class="['bg-secondary', shimmer ? 'shimmering' : '']" /></template><script lang="ts">@@ -25,9 +25,9 @@ export default defineComponent({animation: shimmer 3s infinite linear;background: linear-gradient(to right,- theme("colors.dark-charcoal.10") 4%,- theme("colors.dark-charcoal.20") 25%,- theme("colors.dark-charcoal.10") 36%+ theme("colors.gray.2") 4%,+ theme("colors.gray.3") 25%,+ theme("colors.gray.2") 36%);background-size: 1000px 100%;}diff --git a/frontend/src/components/VSkipToContentButton.vue b/frontend/src/components/VSkipToContentButton.vueindex a386769a2..840de01d6 100644--- a/frontend/src/components/VSkipToContentButton.vue+++ b/frontend/src/components/VSkipToContentButton.vue@@ -2,7 +2,7 @@<VButton:href="`#${skipToContentTargetId}`"as="a"- variant="filled-pink"+ variant="filled-pink-8"size="medium"class="skip-button top-2 z-50 max-w-max focus:absolute focus:left-2 focus:right-2 focus-visible:absolute focus-visible:left-2 focus-visible:right-2">{{ $t("skipToContent") }}diff --git a/frontend/src/components/VSnackbar.vue b/frontend/src/components/VSnackbar.vueindex 8ce98447b..65fa3e4ed 100644--- a/frontend/src/components/VSnackbar.vue+++ b/frontend/src/components/VSnackbar.vue@@ -1,7 +1,7 @@<template><div:role="isVisible ? 'alert' : undefined"- class="snackbar fixed bottom-4 z-snackbar rounded-sm bg-black text-white transition-[opacity,transform] duration-500 motion-reduce:transition-opacity ltr:left-4 rtl:right-4"+ class="snackbar fixed bottom-4 z-snackbar rounded-sm bg-black text-over-dark transition-[opacity,transform] duration-500 motion-reduce:transition-opacity ltr:left-4 rtl:right-4":class="[size === 'large'? 'w-max max-w-[calc(100%_-_2_*_theme(spacing.4))] flex-row items-center px-6 py-4 text-sm'diff --git a/frontend/src/components/VSourcesTable.vue b/frontend/src/components/VSourcesTable.vueindex 5b6671ce5..3e7627ae2 100644--- a/frontend/src/components/VSourcesTable.vue+++ b/frontend/src/components/VSourcesTable.vue@@ -201,20 +201,20 @@ export default defineComponent({@layer components {.source-table {- @apply hidden rounded-sm border-0 border-dark-charcoal-20 md:table;+ @apply hidden rounded-sm border-0 border-default md:table;}.source-table th,.source-table td {- @apply border-dark-charcoal-20;+ @apply border-default;}.source-table a {- @apply text-pink hover:underline;+ @apply text-link hover:underline;}.source-table th {- @apply cursor-pointer border-t bg-dark-charcoal-10;+ @apply cursor-pointer border-t bg-secondary;}.source-table th,@@ -227,7 +227,7 @@ export default defineComponent({}.source-table tr {- @apply even:bg-dark-charcoal-06;+ @apply even:bg-surface;}.source-table th {@@ -239,7 +239,7 @@ export default defineComponent({}.mobile-source-table article {- @apply grid border-l border-r border-dark-charcoal-20 p-4 sm:grid-cols-4;+ @apply grid border-l border-r border-default p-4 sm:grid-cols-4;}.mobile-source-table article:first-child {@@ -251,7 +251,7 @@ export default defineComponent({}.mobile-source-table article:nth-child(odd) {- @apply bg-dark-charcoal-10;+ @apply bg-secondary;}.mobile-source-table article p {@@ -268,7 +268,7 @@ export default defineComponent({}.mobile-source-table article a {- @apply font-bold text-pink hover:underline;+ @apply font-bold text-link hover:underline;}}</style>diff --git a/frontend/src/components/VTabs/VTab.vue b/frontend/src/components/VTabs/VTab.vueindex 02e874d28..7437e6c11 100644--- a/frontend/src/components/VTabs/VTab.vue+++ b/frontend/src/components/VTabs/VTab.vue@@ -7,7 +7,7 @@size="disabled"variant="plain--avoid"v-bind="tabProps"- class="rounded-none bg-white focus-slim-tx focus:z-10"+ class="rounded-none bg-default focus-slim-tx focus:z-10":class="[variant, `size-${size}`, { [`${variant}-selected`]: isSelected }]"@click="handleSelection"@focus="handleFocus"@@ -205,13 +205,13 @@ export default defineComponent({@apply rounded-se-sm rounded-ss-sm border-x border-t border-tx text-sm font-semibold md:text-base md:font-semibold md:leading-snug;}.plain {- @apply rounded-sm border-tx bg-tx text-sm hover:bg-dark-charcoal-10;+ @apply rounded-sm border-tx bg-tx text-sm hover:bg-secondary;}.bordered-selected {- @apply -mb-[1px] border border-x-dark-charcoal-20 border-b-white border-t-dark-charcoal-20 bg-white focus-visible:border-tx;+ @apply -mb-[1px] border border-x-default border-b-tx border-t-default bg-default;}.plain-selected {- @apply relative after:absolute after:right-1/2 after:h-0.5 after:w-full after:translate-x-1/2 after:translate-y-[-50%] after:bg-dark-charcoal after:transition-all after:duration-200;+ @apply relative after:absolute after:right-1/2 after:h-0.5 after:w-full after:translate-x-1/2 after:translate-y-[-50%] after:bg-tertiary after:transition-all after:duration-200;}.plain-selected.size-default {@apply after:bottom-[-0.125rem];diff --git a/frontend/src/components/VTabs/VTabPanel.vue b/frontend/src/components/VTabs/VTabPanel.vueindex 64925bce3..1fb3e3d00 100644--- a/frontend/src/components/VTabs/VTabPanel.vue+++ b/frontend/src/components/VTabs/VTabPanel.vue@@ -5,7 +5,7 @@:aria-labelledby="`tab-${id}`"role="tabpanel":tabindex="isSelected ? 0 : -1"- class="min-h-0 overflow-y-auto border-dark-charcoal-20 p-6"+ class="min-h-0 overflow-y-auto border-default p-6":class="[panelVariantStyle, { hidden: !isSelected }]"><slot />diff --git a/frontend/src/components/meta/Focus.stories.js b/frontend/src/components/meta/Focus.stories.jsindex 4ed416379..13d884cae 100644--- a/frontend/src/components/meta/Focus.stories.js+++ b/frontend/src/components/meta/Focus.stories.js@@ -21,9 +21,7 @@ export default {}export const SlimTransparent = {- render: GetTemplate(- "border border-dark-charcoal-40 hover:border-dark-charcoal"- ).bind({}),+ render: GetTemplate("border border-disabled hover:border-hover").bind({}),name: "Slim transparent",args: {@@ -32,7 +30,7 @@ export const SlimTransparent = {}export const SlimFilled = {- render: GetTemplate("bg-dark-charcoal text-white border border-tx").bind({}),+ render: GetTemplate("bg-tertiary text-over-dark border border-tx").bind({}),name: "Slim filled",args: {@@ -41,7 +39,7 @@ export const SlimFilled = {}export const SlimFilledBorderless = {- render: GetTemplate("bg-pink text-white").bind({}),+ render: GetTemplate("bg-primary text-over-dark").bind({}),name: "Slim filled borderless",args: {@@ -50,7 +48,7 @@ export const SlimFilledBorderless = {}export const BoldFilled = {- render: GetTemplate("bg-yellow text-dark-charcoal").bind({}),+ render: GetTemplate("bg-complementary-3 text-default").bind({}),name: "Bold filled",args: {@@ -59,11 +57,11 @@ export const BoldFilled = {}export const Colored = {- render: GetTemplate("bg-dark-charcoal text-white border border-tx").bind({}),+ render: GetTemplate("bg-tertiary text-over-dark border border-tx").bind({}),name: "Colored",args: {- classNames: ["focus-slim-tx-yellow"],+ classNames: ["focus-slim-tx-bg-complementary-3"],},parameters: {diff --git a/frontend/src/components/meta/VButton.stories.js b/frontend/src/components/meta/VButton.stories.jsindex c012a8b49..92239b067 100644--- a/frontend/src/components/meta/VButton.stories.js+++ b/frontend/src/components/meta/VButton.stories.js@@ -16,7 +16,7 @@ const Template = (args) => ({template: `<div class="flex"><div id="wrapper"class="px-4 h-16 flex items-center justify-center"- :class="variant.startsWith('transparent') ? 'bg-dark-charcoal-06': 'bg-white'">+ :class="variant.startsWith('transparent') ? 'bg-surface': 'bg-default'"><VButton :size="size" :variant="variant" v-bind="rest" class="description-bold" v-on="rest" href="/">Code is Poetry</VButton>@@ -128,7 +128,7 @@ export const Default = {name: "VButton",args: {- variant: "filled-pink",+ variant: "filled-pink-8",},}diff --git a/frontend/src/layouts/content-layout.vue b/frontend/src/layouts/content-layout.vueindex 7ab7fa7a2..ae5b9f0c7 100644--- a/frontend/src/layouts/content-layout.vue+++ b/frontend/src/layouts/content-layout.vue@@ -30,22 +30,19 @@ provide(ShowScrollButtonKey, showScrollButton)<template><div- class="app min-h-dyn-screen grid grid-cols-1 grid-rows-[auto,1fr] bg-white"+ class="app min-h-dyn-screen grid grid-cols-1 grid-rows-[auto,1fr] bg-default">- <div class="header-el sticky top-0 z-40 block bg-white">+ <div class="header-el sticky top-0 z-40 block bg-default"><VBanners /><VHeaderInternal- class="h-20 border-b bg-white"- :class="isHeaderScrolled ? 'border-b-dark-charcoal-20' : 'border-b-tx'"+ class="h-20 border-b bg-default"+ :class="isHeaderScrolled ? 'border-b-default' : 'border-b-tx'"/></div><div class="main-page flex h-full w-full min-w-0 flex-col justify-between"><slot />- <VFooter- mode="internal"- class="border-t border-dark-charcoal-20 bg-white"- />+ <VFooter mode="internal" class="border-t border-default bg-default" /></div></div></template>diff --git a/frontend/src/layouts/default.vue b/frontend/src/layouts/default.vueindex 329c2efd1..3870dee88 100644--- a/frontend/src/layouts/default.vue+++ b/frontend/src/layouts/default.vue@@ -12,15 +12,15 @@ defineOptions({<template><div- class="app h-dyn-screen grid grid-cols-1 grid-rows-[auto,1fr] flex-col bg-yellow"+ class="app h-dyn-screen grid grid-cols-1 grid-rows-[auto,1fr] flex-col bg-complementary"><div class="header-el"><VBanners />- <VHeaderInternal class="bg-yellow" />+ <VHeaderInternal class="bg-complementary" /></div><div class="main-content flex flex-grow flex-col overflow-y-scroll"><slot class="flex-grow" />- <VFooter mode="internal" class="bg-yellow" />+ <VFooter mode="internal" class="bg-complementary" /></div></div></template>diff --git a/frontend/src/layouts/search-layout.vue b/frontend/src/layouts/search-layout.vueindex d60402af0..e9fec6ac1 100644--- a/frontend/src/layouts/search-layout.vue+++ b/frontend/src/layouts/search-layout.vue@@ -70,40 +70,40 @@ provide(IsSidebarVisibleKey, isSidebarVisible)const headerBorder = computed(() =>isHeaderScrolled.value || isSidebarVisible.value- ? "border-b-dark-charcoal-20"+ ? "border-b-default": "border-b-tx")</script><template><div- class="app h-dyn-screen min-h-dyn-screen grid grid-rows-[auto,1fr] bg-white"+ class="app h-dyn-screen min-h-dyn-screen grid grid-rows-[auto,1fr] bg-default":class="[isSidebarVisible? 'has-sidebar grid-cols-[1fr_var(--filter-sidebar-width)]': 'grid-cols-1',]">- <div class="header-el bg-white">+ <div class="header-el bg-default"><VBanners /><VHeaderDesktopv-if="isDesktopLayout"- class="h-20 border-b bg-white"+ class="h-20 border-b bg-default":class="headerBorder"/><VHeaderMobilev-else- class="h-20 border-b bg-white"+ class="h-20 border-b bg-default":class="headerBorder"/></div><asidev-if="isSidebarVisible"- class="sidebar end-0 z-10 h-full overflow-y-auto border-s border-dark-charcoal-20 bg-dark-charcoal-06"+ class="sidebar end-0 z-10 h-full overflow-y-auto border-s border-default bg-surface"><VSearchGridFilter class="px-10 py-8" />- <VSafeBrowsing class="border-t border-dark-charcoal-20 px-10 py-8" />+ <VSafeBrowsing class="border-t border-default px-10 py-8" /></aside><div@@ -111,10 +111,7 @@ const headerBorder = computed(() =>class="main-page flex h-full w-full min-w-0 flex-col justify-between overflow-y-auto"><slot />- <VFooter- mode="content"- class="border-t border-dark-charcoal-20 bg-white"- />+ <VFooter mode="content" class="border-t border-default bg-default" /></div></div></template>diff --git a/frontend/src/pages/image/[id]/index.vue b/frontend/src/pages/image/[id]/index.vueindex 643f801ae..533d227e9 100644--- a/frontend/src/pages/image/[id]/index.vue+++ b/frontend/src/pages/image/[id]/index.vue@@ -245,7 +245,7 @@ watch(error, (err) => {<template v-else><VSingleResultControls :media="image" /><figure- class="relative mb-4 grid grid-cols-1 grid-rows-1 justify-items-center border-b border-dark-charcoal-20 px-6"+ class="relative mb-4 grid grid-cols-1 grid-rows-1 justify-items-center border-b border-default px-6"><VBonev-if="showLoadingState"diff --git a/frontend/src/pages/preferences.vue b/frontend/src/pages/preferences.vueindex f51fc1fb3..ab271de94 100644--- a/frontend/src/pages/preferences.vue+++ b/frontend/src/pages/preferences.vue@@ -60,7 +60,7 @@ const featureGroups = computed(() => {<divv-for="group in featureGroups":key="group.title"- class="not-prose border-b border-dark-charcoal-20 py-6 last-of-type:border-b-0"+ class="not-prose border-b border-default py-6 last-of-type:border-b-0"><h2 class="label-bold mb-2">{{ $t(`prefPage.groups.${group.title}.title`) }}@@ -92,7 +92,7 @@ const featureGroups = computed(() => {<divv-for="isSwitchable in [false, true]":key="`${isSwitchable}`"- class="not-prose border-b border-dark-charcoal-20 py-6 last-of-type:border-b-0"+ class="not-prose border-b border-default py-6 last-of-type:border-b-0"><h2 class="label-bold mb-2">{{ $t(`prefPage.${isSwitchable ? "s" : "nonS"}witchable.title`) }}diff --git a/frontend/src/pages/sources.vue b/frontend/src/pages/sources.vueindex 69918ca44..e3ed43b22 100644--- a/frontend/src/pages/sources.vue+++ b/frontend/src/pages/sources.vue@@ -87,7 +87,7 @@ useHead({ title: `${t("sources.title")} | Openverse` })<p class="mt-5 inline-block"><VButtonas="VLink"- variant="filled-pink"+ variant="filled-pink-8"size="large"class="not-prose description-bold"show-external-icondiff --git a/frontend/src/styles/accent.css b/frontend/src/styles/accent.cssindex 65d4f3739..94e7aa387 100644--- a/frontend/src/styles/accent.css+++ b/frontend/src/styles/accent.css@@ -1,15 +1,15 @@-:root {+body * {/* Accent color tints checkbox, radio, range and progress. */- accent-color: theme("colors.pink");+ accent-color: theme("borderColor.focus");}:focus-visible {- outline-color: theme("colors.pink");+ outline-color: theme("borderColor.focus");}::selection {/* Using white text because selection background is dark. */- @apply bg-dark-charcoal text-white;+ @apply bg-primary text-over-dark;}::-webkit-calendar-picker-indicator,@@ -18,5 +18,5 @@::-webkit-outer-spin-button,::marker {/* List markers can be tinted as text. */- @apply text-pink;+ @apply text-link;}diff --git a/frontend/src/styles/tailwind.css b/frontend/src/styles/tailwind.cssindex 78d9b5270..cff065fbe 100644--- a/frontend/src/styles/tailwind.css+++ b/frontend/src/styles/tailwind.css@@ -7,14 +7,218 @@--filter-sidebar-width: 336px;}- html {- @apply m-0 font-normal leading-loose text-dark-charcoal;+ :root {+ --color-black: #000;+ --color-white: #fff;+ --color-yellow-3: #fde034;+ --color-pink-8: #ad1f85;+ --color-gray: #232323;+ --color-gray-1: #f7f7f7;+ --color-gray-2: #ededed;+ --color-gray-3: #dfdfdf;+ --color-gray-4: #c5c5c5;+ --color-gray-5: #a9a9a9;+ --color-gray-6: #929292;+ --color-gray-7: #7d7d7d;+ --color-gray-8: #676767;+ --color-gray-9: #565656;+ --color-gray-10: #474747;+ --color-gray-11: #363636;+ --color-gray-12: #232323;+ --color-gray-13: #0d0d0d;+ --color-pink-1: #fcf4fa;+ --color-pink-2: #f9e7f3;+ --color-pink-3: #f9d2ec;+ --color-pink-4: #efadd9;+ --color-pink-5: #eb7dc8;+ --color-pink-6: #eb3bbf;+ --color-pink-7: #d028a3;+ --color-pink-9: #911a71;+ --color-pink-10: #79165d;+ --color-pink-11: #5e1241;+ --color-pink-12: #3e0c2a;+ --color-pink-13: #1b0410;+ --color-yellow-1: #fff9d4;+ --color-yellow-2: #feefa0;+ --color-yellow-4: #e5c428;+ --color-yellow-5: #c7a714;+ --color-yellow-6: #ad9011;+ --color-yellow-7: #977a17;+ --color-yellow-8: #81620c;+ --color-yellow-9: #6c5113;+ --color-yellow-10: #5e4012;+ --color-yellow-11: #4a300c;+ --color-yellow-12: #331d05;+ --color-yellow-13: #180801;+ --color-gray-1-10: #f7f7f71a;+ --color-gray-1-20: #f7f7f733;+ --color-gray-1-30: #f7f7f74d;+ --color-gray-1-40: #f7f7f766;+ --color-gray-1-50: #f7f7f780;+ --color-gray-1-60: #f7f7f799;+ --color-gray-1-70: #f7f7f7b2;+ --color-gray-1-80: #f7f7f7cc;+ --color-gray-1-90: #f7f7f7e5;+ --color-gray-12-10: #2323231a;+ --color-gray-12-20: #23232333;+ --color-gray-12-30: #2323234d;+ --color-gray-12-40: #23232366;+ --color-gray-12-50: #23232380;+ --color-gray-12-60: #23232399;+ --color-gray-12-70: #232323b2;+ --color-gray-12-80: #232323cc;+ --color-gray-12-90: #232323e5;+ --color-gray-13-0: #0d0d0d00;+ --color-white-0: #fff0;+ --color-info-1: #f5f7fb;+ --color-info-2: #e6edfc;+ --color-info-3: #d3dffb;+ --color-info-4: #aec5f7;+ --color-info-5: #89a7ef;+ --color-info-6: #678ded;+ --color-info-7: #4571f2;+ --color-info-8: #274fed;+ --color-info-9: #1935dd;+ --color-info-10: #1835ab;+ --color-info-11: #192f73;+ --color-info-12: #122047;+ --color-info-13: #060c1c;+ --color-warning-1: #fcf6f0;+ --color-warning-2: #faead9;+ --color-warning-3: #f9d9b4;+ --color-warning-4: #f1ba77;+ --color-warning-5: #e2972b;+ --color-warning-6: #c7810a;+ --color-warning-7: #ac6e00;+ --color-warning-8: #8d5b0d;+ --color-warning-9: #764c0b;+ --color-warning-10: #643e00;+ --color-warning-11: #4b2f05;+ --color-warning-12: #341e00;+ --color-warning-13: #160a00;+ --color-success-1: #f1fbef;+ --color-success-2: #dff5db;+ --color-success-3: #caeac1;+ --color-success-4: #a1d695;+ --color-success-5: #6cc258;+ --color-success-6: #47ac29;+ --color-success-7: #2f9600;+ --color-success-8: #257c00;+ --color-success-9: #1d6800;+ --color-success-10: #175600;+ --color-success-11: #104200;+ --color-success-12: #072c00;+ --color-success-13: #021200;+ --color-error-1: #fdf5f3;+ --color-error-2: #fee7e4;+ --color-error-3: #f9d6d0;+ --color-error-4: #f5b2a7;+ --color-error-5: #f78273;+ --color-error-6: #f45344;+ --color-error-7: #dd362a;+ --color-error-8: #ba251c;+ --color-error-9: #9b221a;+ --color-error-10: #801e16;+ --color-error-11: #631610;+ --color-error-12: #420e09;+ --color-error-13: #1e0302;+ }++ :root,+ :is(.light-mode),+ :is(.light-mode *) {+ --color-bg: var(--color-white);+ --color-bg-surface: var(--color-gray-1);+ --color-bg-overlay: var(--color-white);+ --color-bg-primary: var(--color-pink-8);+ --color-bg-primary-hover: var(--color-pink-9);+ --color-bg-secondary: var(--color-gray-2);+ --color-bg-secondary-hover: var(--color-gray-12);+ --color-bg-tertiary: var(--color-gray-12);+ --color-bg-tertiary-hover: var(--color-gray-11);+ --color-bg-transparent-hover: var(--color-gray-12-10);+ --color-bg-complementary: var(--color-yellow-3);+ --color-bg-warning: var(--color-warning-2);+ --color-bg-info: var(--color-info-2);+ --color-bg-success: var(--color-success-2);+ --color-bg-error: var(--color-error-2);+ --color-bg-disabled: var(--color-gray-5);+ --color-bg-zero: var(--color-white-0);+ --color-border: var(--color-gray-3);+ --color-border-hover: var(--color-gray-12);+ --color-border-secondary: var(--color-gray-12-20);+ --color-border-secondary-hover: var(--color-gray-12);+ --color-border-tertiary: var(--color-gray-12);+ --color-border-transparent-hover: var(--color-gray-3);+ --color-border-focus: var(--color-pink-8);+ --color-border-bg-ring: var(--color-white);+ --color-border-disabled: var(--color-gray-5);+ --color-text: var(--color-gray-12);+ --color-text-secondary: var(--color-gray-8);+ --color-text-disabled: var(--color-gray-5);+ --color-text-link: var(--color-pink-8);+ --color-text-over-dark: var(--color-white);+ --color-text-secondary-over-dark: var(--color-gray-5);+ --color-icon-warning: var(--color-warning-8);+ --color-icon-info: var(--color-info-8);+ --color-icon-success: var(--color-success-8);+ --color-icon-error: var(--color-error-8);+ --color-wave-active: var(--color-yellow-9);+ --color-wave-inactive: var(--color-gray-12-20);+ --color-modal-layer: var(--color-gray-12-80);+ }++ :is(.dark-mode *),+ :is(.dark-mode) {+ --color-bg: var(--color-gray-13);+ --color-bg-surface: var(--color-gray-12);+ --color-bg-overlay: var(--color-gray-11);+ --color-bg-primary: var(--color-yellow-4);+ --color-bg-primary-hover: var(--color-yellow-3);+ --color-bg-secondary: var(--color-gray-11);+ --color-bg-secondary-hover: var(--color-gray-1);+ --color-bg-tertiary: var(--color-gray-1);+ --color-bg-tertiary-hover: var(--color-gray-2);+ --color-bg-transparent-hover: var(--color-gray-1-10);+ --color-bg-complementary: var(--color-pink-9);+ --color-bg-warning: var(--color-warning-11);+ --color-bg-info: var(--color-info-11);+ --color-bg-success: var(--color-success-11);+ --color-bg-error: var(--color-error-11);+ --color-bg-disabled: var(--color-gray-8);+ --color-bg-zero: var(--color-gray-13-0);+ --color-border: var(--color-gray-11);+ --color-border-hover: var(--color-gray-1);+ --color-border-secondary: var(--color-gray-1-20);+ --color-border-secondary-hover: var(--color-gray-1);+ --color-border-tertiary: var(--color-gray-1);+ --color-border-transparent-hover: var(--color-gray-11);+ --color-border-focus: var(--color-yellow-4);+ --color-border-bg-ring: var(--color-gray-13);+ --color-border-disabled: var(--color-gray-8);+ --color-text: var(--color-gray-1);+ --color-text-secondary: var(--color-gray-5);+ --color-text-disabled: var(--color-gray-8);+ --color-text-link: var(--color-yellow-4);+ --color-text-over-dark: var(--color-gray-13);+ --color-text-secondary-over-dark: var(--color-gray-8);+ --color-icon-warning: var(--color-warning-5);+ --color-icon-info: var(--color-info-5);+ --color-icon-success: var(--color-success-5);+ --color-icon-error: var(--color-error-5);+ --color-wave-active: var(--color-pink-4);+ --color-wave-inactive: var(--color-gray-1-30);+ --color-modal-layer: var(--color-gray-12-60);+ }++ body {+ @apply m-0 font-normal leading-loose text-default;-webkit-font-smoothing: antialiased;-moz-osx-font-smoothing: grayscale;}a {- @apply text-pink hover:underline;+ @apply text-link hover:underline;}h1,@@ -176,7 +380,7 @@ Time - 11px - xs semibold (default leading-tight)@apply focus-visible:outline focus-visible:outline-1.5 focus-visible:outline-offset-0;/* absolutely positioned overlapping pseudo element with a 1.5px border */@apply focus-visible:after:absolute focus-visible:after:z-10 focus-visible:after:rounded-inherit;- @apply focus-visible:after:border-1.5 focus-visible:after:border-white;+ @apply focus-visible:after:border-1.5 focus-visible:after:border-bg-ring;@apply focus-visible:after:h-full-with-border focus-visible:after:w-full-with-border;@apply focus-visible:after:-left-px focus-visible:after:-top-px;}diff --git a/frontend/src/types/button.ts b/frontend/src/types/button.tsindex 0500c6aff..a352e9c61 100644--- a/frontend/src/types/button.ts+++ b/frontend/src/types/button.ts@@ -3,7 +3,7 @@ export const buttonForms = ["VLink", "button", "a"] as constexport type ButtonForm = (typeof buttonForms)[number]export const baseButtonVariants = [- "filled-pink",+ "filled-pink-8","filled-dark","filled-gray","filled-white",diff --git a/frontend/tailwind.config.ts b/frontend/tailwind.config.tsindex 37a212661..72ad03aaa 100644--- a/frontend/tailwind.config.ts+++ b/frontend/tailwind.config.ts@@ -5,9 +5,15 @@ import { SCREENS } from "./src/constants/screens"import { Z_INDICES } from "./src/constants/z-indices"import type { Config } from "tailwindcss"-import type { PluginAPI } from "tailwindcss/types/config"export default {+ darkMode: [+ "variant",+ [+ "@media (prefers-color-scheme: dark) { &:not(.light-mode *) }",+ "&:is(.dark-mode *)", // :is is so the specificity matches and there's not unexpected behavior+ ],+ ],content: ["./src/**/*.{vue,js,jsx,ts,tsx,mdx}","./nuxt.config.ts",@@ -16,42 +22,160 @@ export default {theme: {screens: SCREENS,zIndex: Z_INDICES,+ /**+ * See the extend.color, extend.backgroundColor, and extend.borderColor+ * sections for additional, context-specific colors.+ */colors: {- // Semantic- "info-soft": "#dbe2ff",- info: "#2349e7",- "warning-soft": "#fff1cc",- warning: "#9d650b",- "success-soft": "#dbf0d6",- success: "#3b772c",- "error-soft": "#ffe0d1",- error: "#b43e04",-- // Brand- yellow: "#ffe033",- pink: "#c52b9b",- // Active- "dark-pink": "#7c2264",-- // Grayscale- black: "#000000",- "dark-gray": "#767676", // rgb(118, 118, 188)- gray: "#b0b0b0", // rgb(176, 176, 176)- "light-gray": "#d8d8d8", // rgb(216, 216, 216)- white: "white",- // Dark Charcoal- "dark-charcoal": {- DEFAULT: "#30272e",- "06": "#f3f2f2", // rgb(243, 242, 242)- 10: "#eae9ea", // rgb(234, 233, 234)- 20: "#d6d4d5",- 30: "#c1bec0",- 40: "#aca9ab",- 50: "#989397",- 60: "#837d82",- 70: "#6e686d",- 80: "#595258",- 90: "#453D43",+ icon: {+ warning: "var(--color-icon-warning)",+ info: "var(--color-icon-info)",+ success: "var(--color-icon-success)",+ error: "var(--color-icon-error)",+ },+ wave: {+ active: "var(--color-wave-active)",+ inactive: "var(--color-wave-inactive)",+ },+ "modal-layer": "var(--color-modal-layer)",+ info: {+ 1: "var(--color-info-1)",+ 2: "var(--color-info-2)",+ 3: "var(--color-info-3)",+ 4: "var(--color-info-4)",+ 5: "var(--color-info-5)",+ 6: "var(--color-info-6)",+ 7: "var(--color-info-7)",+ 8: "var(--color-info-8)",+ 9: "var(--color-info-9)",+ 10: "var(--color-info-10)",+ 11: "var(--color-info-11)",+ 12: "var(--color-info-12)",+ 13: "var(--color-info-13)",+ },+ warning: {+ 1: "var(--color-warning-1)",+ 2: "var(--color-warning-2)",+ 3: "var(--color-warning-3)",+ 4: "var(--color-warning-4)",+ 5: "var(--color-warning-5)",+ 6: "var(--color-warning-6)",+ 7: "var(--color-warning-7)",+ 8: "var(--color-warning-8)",+ 9: "var(--color-warning-9)",+ 10: "var(--color-warning-10)",+ 11: "var(--color-warning-11)",+ 12: "var(--color-warning-12)",+ 13: "var(--color-warning-13)",+ },+ success: {+ 1: "var(--color-success-1)",+ 2: "var(--color-success-2)",+ 3: "var(--color-success-3)",+ 4: "var(--color-success-4)",+ 5: "var(--color-success-5)",+ 6: "var(--color-success-6)",+ 7: "var(--color-success-7)",+ 8: "var(--color-success-8)",+ 9: "var(--color-success-9)",+ 10: "var(--color-success-10)",+ 11: "var(--color-success-11)",+ 12: "var(--color-success-12)",+ 13: "var(--color-success-13)",+ },+ error: {+ 1: "var(--color-error-1)",+ 2: "var(--color-error-2)",+ 3: "var(--color-error-3)",+ 4: "var(--color-error-4)",+ 5: "var(--color-error-5)",+ 6: "var(--color-error-6)",+ 7: "var(--color-error-7)",+ 8: "var(--color-error-8)",+ 9: "var(--color-error-9)",+ 10: "var(--color-error-10)",+ 11: "var(--color-error-11)",+ 12: "var(--color-error-12)",+ 13: "var(--color-error-13)",+ },+ black: "var(--color-black)",+ gray: {+ DEFAULT: "var(--color-gray)",+ "dark-gray": "var(--color-dark-gray)",+ "light-gray": "var(--color-light-gray)",+ 1: "var(--color-gray-1)",+ 2: "var(--color-gray-2)",+ 3: "var(--color-gray-3)",+ 4: "var(--color-gray-4)",+ 5: "var(--color-gray-5)",+ 6: "var(--color-gray-6)",+ 7: "var(--color-gray-7)",+ 8: "var(--color-gray-8)",+ 9: "var(--color-gray-9)",+ 10: "var(--color-gray-10)",+ 11: "var(--color-gray-11)",+ 12: "var(--color-gray-12)",+ 13: "var(--color-gray-13)",+ },+ "gray-opacity": {+ 1: {+ 10: "var(--color-gray-1-10)",+ 20: "var(--color-gray-1-20)",+ 30: "var(--color-gray-1-30)",+ 40: "var(--color-gray-1-40)",+ 50: "var(--color-gray-1-50)",+ 60: "var(--color-gray-1-60)",+ 70: "var(--color-gray-1-70)",+ 80: "var(--color-gray-1-80)",+ 90: "var(--color-gray-1-90)",+ },+ 12: {+ 10: "var(--color-gray-12-10)",+ 20: "var(--color-gray-12-20)",+ 30: "var(--color-gray-12-30)",+ 40: "var(--color-gray-12-40)",+ 50: "var(--color-gray-12-50)",+ 60: "var(--color-gray-12-60)",+ 70: "var(--color-gray-12-70)",+ 80: "var(--color-gray-12-80)",+ 90: "var(--color-gray-12-90)",+ },+ 13: {+ 0: "var(--color-gray-13-0)",+ },+ },+ white: {+ DEFAULT: "var(--color-white)",+ 0: "var(--color-white-0)",+ },+ pink: {+ 1: "var(--color-pink-1)",+ 2: "var(--color-pink-2)",+ 3: "var(--color-pink-3)",+ 4: "var(--color-pink-4)",+ 5: "var(--color-pink-5)",+ 6: "var(--color-pink-6)",+ 7: "var(--color-pink-7)",+ 8: "var(--color-pink-8)",+ 9: "var(--color-pink-9)",+ 10: "var(--color-pink-10)",+ 11: "var(--color-pink-11)",+ 12: "var(--color-pink-12)",+ 13: "var(--color-pink-13)",+ },+ yellow: {+ 1: "var(--color-yellow-1)",+ 2: "var(--color-yellow-2)",+ 3: "var(--color-yellow-3)",+ 4: "var(--color-yellow-4)",+ 5: "var(--color-yellow-5)",+ 7: "var(--color-yellow-7)",+ 8: "var(--color-yellow-8)",+ 9: "var(--color-yellow-9)",+ 10: "var(--color-yellow-10)",+ 11: "var(--color-yellow-11)",+ 12: "var(--color-yellow-12)",+ 13: "var(--color-yellow-13)",},// Special keywords@@ -188,6 +312,44 @@ export default {serif: [...defaultTheme.fontFamily.serif],},extend: {+ textColor: {+ default: "var(--color-text)",+ secondary: "var(--color-text-secondary)",+ disabled: "var(--color-text-disabled)",+ link: "var(--color-text-link)",+ "over-dark": "var(--color-text-over-dark)",+ "secondary-over-dark": "var(--color-text-secondary-over-dark)",+ },+ backgroundColor: {+ default: "var(--color-bg)",+ surface: "var(--color-bg-surface)",+ overlay: "var(--color-bg-overlay)",+ primary: "var(--color-bg-primary)",+ "primary-hover": "var(--color-bg-primary-hover)",+ secondary: "var(--color-bg-secondary)",+ "secondary-hover": "var(--color-bg-secondary-hover)",+ tertiary: "var(--color-bg-tertiary)",+ "tertiary-hover": "var(--color-bg-tertiary-hover)",+ "transparent-hover": "var(--color-bg-transparent-hover)",+ complementary: "var(--color-bg-complementary)",+ warning: "var(--color-bg-warning)",+ info: "var(--color-bg-info)",+ success: "var(--color-bg-success)",+ error: "var(--color-bg-error)",+ disabled: "var(--color-bg-disabled)",+ zero: "var(--color-bg-zero)",+ },+ borderColor: {+ default: "var(--color-border)",+ hover: "var(--color-border-hover)",+ secondary: "var(--color-border-secondary)",+ "secondary-hover": "var(--color-border-secondary-hover)",+ tertiary: "var(--color-border-tertiary)",+ "transparent-hover": "var(--color-border-transparent-hover)",+ focus: "var(--color-border-focus)",+ "bg-ring": "var(--color-border-bg-ring)",+ disabled: "var(--color-border-disabled)",+ },blur: {image: "60px",text: "4px",@@ -220,12 +382,9 @@ export default {1.5: "1.5px",3: "3px",},- typography: (theme: PluginAPI["theme"]) => ({+ typography: () => ({DEFAULT: {css: {- "--tw-prose-body": theme("colors.dark-charcoal.default"),- "--tw-prose-headings": theme("colors.dark-charcoal.default"),- "--tw-prose-links": theme("colors.pink"),a: {textDecoration: "none","&:hover": {@@ -253,12 +412,14 @@ export default {].map((item) => [item,(value) => ({- "--tw-ring-color": value,- "--tw-outline-color": value,+ "--color-tw-ring-color": value,+ "--color-tw-outline-color": value,}),])),- { values: { ...theme("colors"), DEFAULT: theme("colors.pink") } }+ {+ values: { ...theme("colors"), DEFAULT: theme("borderColor.focus") },+ })}),],diff --git a/frontend/test/playwright/visual-regression/components/filters.spec.ts-snapshots/filters-modal-checked-ltr-md-linux.png b/frontend/test/playwright/visual-regression/components/filters.spec.ts-snapshots/filters-modal-checked-ltr-md-linux.pngindex b3004f44d..de77b5375 100644Binary files a/frontend/test/playwright/visual-regression/components/filters.spec.ts-snapshots/filters-modal-checked-ltr-md-linux.png and b/frontend/test/playwright/visual-regression/components/filters.spec.ts-snapshots/filters-modal-checked-ltr-md-linux.png differdiff --git a/frontend/test/playwright/visual-regression/components/filters.spec.ts-snapshots/filters-modal-checked-ltr-xs-linux.png b/frontend/test/playwright/visual-regression/components/filters.spec.ts-snapshots/filters-modal-checked-ltr-xs-linux.pngindex 84c812591..38936d856 100644Binary files a/frontend/test/playwright/visual-regression/components/filters.spec.ts-snapshots/filters-modal-checked-ltr-xs-linux.png and b/frontend/test/playwright/visual-regression/components/filters.spec.ts-snapshots/filters-modal-checked-ltr-xs-linux.png differdiff --git a/frontend/test/playwright/visual-regression/components/filters.spec.ts-snapshots/filters-modal-checked-rtl-md-linux.png b/frontend/test/playwright/visual-regression/components/filters.spec.ts-snapshots/filters-modal-checked-rtl-md-linux.pngindex 0f07ac09c..8893097d7 100644Binary files a/frontend/test/playwright/visual-regression/components/filters.spec.ts-snapshots/filters-modal-checked-rtl-md-linux.png and b/frontend/test/playwright/visual-regression/components/filters.spec.ts-snapshots/filters-modal-checked-rtl-md-linux.png differdiff --git a/frontend/test/playwright/visual-regression/components/filters.spec.ts-snapshots/filters-modal-checked-rtl-sm-linux.png b/frontend/test/playwright/visual-regression/components/filters.spec.ts-snapshots/filters-modal-checked-rtl-sm-linux.pngindex bd95f1658..ea1c739c9 100644Binary files a/frontend/test/playwright/visual-regression/components/filters.spec.ts-snapshots/filters-modal-checked-rtl-sm-linux.png and b/frontend/test/playwright/visual-regression/components/filters.spec.ts-snapshots/filters-modal-checked-rtl-sm-linux.png differdiff --git a/frontend/test/playwright/visual-regression/components/filters.spec.ts-snapshots/filters-modal-ltr-md-linux.png b/frontend/test/playwright/visual-regression/components/filters.spec.ts-snapshots/filters-modal-ltr-md-linux.pngindex acb724ed6..537cd955b 100644Binary files a/frontend/test/playwright/visual-regression/components/filters.spec.ts-snapshots/filters-modal-ltr-md-linux.png and b/frontend/test/playwright/visual-regression/components/filters.spec.ts-snapshots/filters-modal-ltr-md-linux.png differdiff --git a/frontend/test/playwright/visual-regression/components/filters.spec.ts-snapshots/filters-modal-ltr-xs-linux.png b/frontend/test/playwright/visual-regression/components/filters.spec.ts-snapshots/filters-modal-ltr-xs-linux.pngindex 703b95b8b..bd1935b11 100644Binary files a/frontend/test/playwright/visual-regression/components/filters.spec.ts-snapshots/filters-modal-ltr-xs-linux.png and b/frontend/test/playwright/visual-regression/components/filters.spec.ts-snapshots/filters-modal-ltr-xs-linux.png differdiff --git a/frontend/test/playwright/visual-regression/components/filters.spec.ts-snapshots/filters-modal-rtl-md-linux.png b/frontend/test/playwright/visual-regression/components/filters.spec.ts-snapshots/filters-modal-rtl-md-linux.pngindex 8f0fd7b9f..e8ae1eac3 100644Binary files a/frontend/test/playwright/visual-regression/components/filters.spec.ts-snapshots/filters-modal-rtl-md-linux.png and b/frontend/test/playwright/visual-regression/components/filters.spec.ts-snapshots/filters-modal-rtl-md-linux.png differdiff --git a/frontend/test/playwright/visual-regression/components/global-audio-player.spec.ts-snapshots/global-audio-player-on-search-ltr-png-xs-linux.png b/frontend/test/playwright/visual-regression/components/global-audio-player.spec.ts-snapshots/global-audio-player-on-search-ltr-png-xs-linux.pngindex 91aced7cf..6069e8fda 100644Binary files a/frontend/test/playwright/visual-regression/components/global-audio-player.spec.ts-snapshots/global-audio-player-on-search-ltr-png-xs-linux.png and b/frontend/test/playwright/visual-regression/components/global-audio-player.spec.ts-snapshots/global-audio-player-on-search-ltr-png-xs-linux.png differdiff --git a/frontend/test/playwright/visual-regression/components/global-audio-player.spec.ts-snapshots/global-audio-player-on-search-rtl-png-xs-linux.png b/frontend/test/playwright/visual-regression/components/global-audio-player.spec.ts-snapshots/global-audio-player-on-search-rtl-png-xs-linux.pngindex c1ce6a286..9bad6e172 100644Binary files a/frontend/test/playwright/visual-regression/components/global-audio-player.spec.ts-snapshots/global-audio-player-on-search-rtl-png-xs-linux.png and b/frontend/test/playwright/visual-regression/components/global-audio-player.spec.ts-snapshots/global-audio-player-on-search-rtl-png-xs-linux.png differdiff --git a/frontend/test/playwright/visual-regression/pages/homepage.spec.ts-snapshots/content-switcher-open-ltr-md-linux.png b/frontend/test/playwright/visual-regression/pages/homepage.spec.ts-snapshots/content-switcher-open-ltr-md-linux.pngindex 268494d70..7ffc628b0 100644Binary files a/frontend/test/playwright/visual-regression/pages/homepage.spec.ts-snapshots/content-switcher-open-ltr-md-linux.png and b/frontend/test/playwright/visual-regression/pages/homepage.spec.ts-snapshots/content-switcher-open-ltr-md-linux.png differdiff --git a/frontend/test/playwright/visual-regression/pages/homepage.spec.ts-snapshots/content-switcher-open-ltr-sm-linux.png b/frontend/test/playwright/visual-regression/pages/homepage.spec.ts-snapshots/content-switcher-open-ltr-sm-linux.pngindex 51c22facb..831dcc026 100644Binary files a/frontend/test/playwright/visual-regression/pages/homepage.spec.ts-snapshots/content-switcher-open-ltr-sm-linux.png and b/frontend/test/playwright/visual-regression/pages/homepage.spec.ts-snapshots/content-switcher-open-ltr-sm-linux.png differdiff --git a/frontend/test/playwright/visual-regression/pages/homepage.spec.ts-snapshots/content-switcher-open-ltr-xs-linux.png b/frontend/test/playwright/visual-regression/pages/homepage.spec.ts-snapshots/content-switcher-open-ltr-xs-linux.pngindex d1b51df3e..2c65856dd 100644Binary files a/frontend/test/playwright/visual-regression/pages/homepage.spec.ts-snapshots/content-switcher-open-ltr-xs-linux.png and b/frontend/test/playwright/visual-regression/pages/homepage.spec.ts-snapshots/content-switcher-open-ltr-xs-linux.png differdiff --git a/frontend/test/playwright/visual-regression/pages/homepage.spec.ts-snapshots/content-switcher-open-rtl-md-linux.png b/frontend/test/playwright/visual-regression/pages/homepage.spec.ts-snapshots/content-switcher-open-rtl-md-linux.pngindex a9c825026..0e102cd06 100644Binary files a/frontend/test/playwright/visual-regression/pages/homepage.spec.ts-snapshots/content-switcher-open-rtl-md-linux.png and b/frontend/test/playwright/visual-regression/pages/homepage.spec.ts-snapshots/content-switcher-open-rtl-md-linux.png differdiff --git a/frontend/test/playwright/visual-regression/pages/homepage.spec.ts-snapshots/content-switcher-open-rtl-sm-linux.png b/frontend/test/playwright/visual-regression/pages/homepage.spec.ts-snapshots/content-switcher-open-rtl-sm-linux.pngindex 84d756d81..2f657ae3b 100644Binary files a/frontend/test/playwright/visual-regression/pages/homepage.spec.ts-snapshots/content-switcher-open-rtl-sm-linux.png and b/frontend/test/playwright/visual-regression/pages/homepage.spec.ts-snapshots/content-switcher-open-rtl-sm-linux.png differdiff --git a/frontend/test/playwright/visual-regression/pages/homepage.spec.ts-snapshots/content-switcher-open-rtl-xs-linux.png b/frontend/test/playwright/visual-regression/pages/homepage.spec.ts-snapshots/content-switcher-open-rtl-xs-linux.pngindex d2aec0331..71b16f4be 100644Binary files a/frontend/test/playwright/visual-regression/pages/homepage.spec.ts-snapshots/content-switcher-open-rtl-xs-linux.png and b/frontend/test/playwright/visual-regression/pages/homepage.spec.ts-snapshots/content-switcher-open-rtl-xs-linux.png differdiff --git a/frontend/test/playwright/visual-regression/pages/homepage.spec.ts-snapshots/content-switcher-with-external-sources-open-ltr-xs-linux.png b/frontend/test/playwright/visual-regression/pages/homepage.spec.ts-snapshots/content-switcher-with-external-sources-open-ltr-xs-linux.pngindex 758da3651..d26f80403 100644Binary files a/frontend/test/playwright/visual-regression/pages/homepage.spec.ts-snapshots/content-switcher-with-external-sources-open-ltr-xs-linux.png and b/frontend/test/playwright/visual-regression/pages/homepage.spec.ts-snapshots/content-switcher-with-external-sources-open-ltr-xs-linux.png differdiff --git a/frontend/test/playwright/visual-regression/pages/pages.spec.ts-snapshots/sensitive-content-ltr-xs-linux.png b/frontend/test/playwright/visual-regression/pages/pages.spec.ts-snapshots/sensitive-content-ltr-xs-linux.pngindex 8d9d50075..08c990cea 100644Binary files a/frontend/test/playwright/visual-regression/pages/pages.spec.ts-snapshots/sensitive-content-ltr-xs-linux.png and b/frontend/test/playwright/visual-regression/pages/pages.spec.ts-snapshots/sensitive-content-ltr-xs-linux.png differdiff --git a/frontend/test/unit/specs/components/v-license.spec.js b/frontend/test/unit/specs/components/v-license.spec.jsindex 349fe4e8d..3457c7aa6 100644--- a/frontend/test/unit/specs/components/v-license.spec.js+++ b/frontend/test/unit/specs/components/v-license.spec.js@@ -37,7 +37,7 @@ describe("VLicense", () => {const licenseIcons = container.querySelectorAll("v-icon-stub")expect(licenseIcons).toHaveLength(2)licenseIcons.forEach((icon) => {- expect(icon).toHaveClass("bg-filled", "text-black")+ expect(icon).toHaveClass("license-bg", "text-black")})})})