fix: light mode medal promotion
This commit is contained in:
parent
ea1789ebf6
commit
0b3cbbd37a
@ -166,7 +166,9 @@ html {
|
||||
--landing-raw-bg: #fff;
|
||||
|
||||
--medal-promotion-bg: #fff;
|
||||
--medal-promotion-orange: #c08a3a;
|
||||
--medal-promotion-bg-orange:#c08a3a;
|
||||
--medal-promotion-text-orange: #A86200;
|
||||
--medal-promotion-bg-gradient: linear-gradient(90deg, rgba(255, 184, 75, 0.15) 0%, #FFF 100%);
|
||||
|
||||
--banner-error-bg: #fee2e2;
|
||||
--banner-error-text: #991b1b;
|
||||
@ -305,7 +307,14 @@ html {
|
||||
--landing-raw-bg: #000;
|
||||
|
||||
--medal-promotion-bg: #000;
|
||||
--medal-promotion-orange: #FFB84B54;
|
||||
--medal-promotion-bg-orange: #FFB84B54;
|
||||
--medal-promotion-text-orange: #ffb84b;
|
||||
--medal-promotion-bg-gradient: linear-gradient(
|
||||
90deg,
|
||||
#ffb74b21,
|
||||
transparent 50%,
|
||||
#000 100%
|
||||
);
|
||||
|
||||
--hover-filter: brightness(120%);
|
||||
--active-filter: brightness(140%);
|
||||
|
||||
@ -34,7 +34,7 @@ import MedalPromoBackground from "~/assets/images/illustrations/medal_promo_back
|
||||
<style scoped lang="scss">
|
||||
.medal-promotion {
|
||||
position: relative;
|
||||
border: 1px solid var(--medal-promotion-orange);
|
||||
border: 1px solid var(--medal-promotion-bg-orange);
|
||||
}
|
||||
|
||||
.overlay {
|
||||
@ -43,12 +43,7 @@ import MedalPromoBackground from "~/assets/images/illustrations/medal_promo_back
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: linear-gradient(
|
||||
90deg,
|
||||
color-mix(in srgb, var(--medal-promotion-orange) 25%, transparent),
|
||||
transparent 50%,
|
||||
var(--medal-promotion-bg) 100%
|
||||
);
|
||||
background: var(--medal-promotion-bg-gradient);
|
||||
z-index: 1;
|
||||
border-radius: inherit;
|
||||
}
|
||||
@ -71,6 +66,6 @@ import MedalPromoBackground from "~/assets/images/illustrations/medal_promo_back
|
||||
}
|
||||
|
||||
.text-orange {
|
||||
color: #ffb84b;
|
||||
color: var(--medal-promotion-text-orange);
|
||||
}
|
||||
</style>
|
||||
|
||||
@ -140,7 +140,7 @@ const timeLeftCountdown = computed(() => {
|
||||
<style scoped lang="scss">
|
||||
.medal-promotion {
|
||||
position: relative;
|
||||
border: 1px solid var(--medal-promotion-orange);
|
||||
border: 1px solid var(--medal-promotion-bg-orange);
|
||||
background: inherit; // allows overlay + pattern to take over
|
||||
}
|
||||
.overlay {
|
||||
@ -167,6 +167,6 @@ const timeLeftCountdown = computed(() => {
|
||||
z-index: 0;
|
||||
background-color: var(--medal-promotion-bg);
|
||||
border-radius: inherit;
|
||||
color: var(--color-orange);
|
||||
color: var(--medal-promotion-text-orange);
|
||||
}
|
||||
</style>
|
||||
@ -120,7 +120,7 @@ import { ButtonStyled, CopyCode } from "@modrinth/ui";
|
||||
import type { Server, ModrinthServersFetchError } from "@modrinth/utils";
|
||||
import { reloadNuxtApp } from "#app";
|
||||
import { useServersFetch } from "~/composables/servers/servers-fetch.ts";
|
||||
import MedalServerListing from "~/components/ui/servers/MedalServerListing.vue";
|
||||
import MedalServerListing from "~/components/ui/servers/marketing/MedalServerListing.vue";
|
||||
|
||||
definePageMeta({
|
||||
middleware: "auth",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user