Revert "fixed a bug"

This reverts commit 49faba6ad2.
This commit is contained in:
Prospector
2025-04-01 20:54:05 -07:00
parent fab086b3e1
commit a2009cae39
11 changed files with 151 additions and 183 deletions

View File

@@ -2,7 +2,7 @@
<div class="ad-parent relative mb-3 flex w-full justify-center rounded-2xl bg-bg-raised">
<div class="flex max-h-[250px] min-h-[250px] min-w-[300px] max-w-[300px] flex-col gap-4 p-6">
<p class="m-0 text-2xl font-bold text-contrast">75% of ad revenue goes to creators</p>
<nuxt-link to="/plus" class="mt-auto items-center gap-1 text-brand hover:underline">
<nuxt-link to="/plus" class="mt-auto items-center gap-1 text-purple hover:underline">
<span>
Support creators and Modrinth ad-free with
<span class="font-bold">Modrinth+</span>

View File

@@ -86,8 +86,8 @@
<UpdatedIcon />
</Button>
<DropdownSelect
v-model="selectedRange"
class="range-dropdown"
v-model="selectedRange"
:options="ranges"
name="Time range"
:display-name="
@@ -812,10 +812,10 @@ const defaultRanges: RangeObject[] = [
.chart-button-base__selected {
color: var(--color-contrast);
background-color: var(--color-brand-highlight) !important;
background-color: var(--color-brand-highlight);
box-shadow:
inset 0 0 0 transparent,
0 0 0 2px var(--color-brand) !important;
0 0 0 2px var(--color-brand);
&:hover {
background-color: var(--color-brand-highlight);

View File

@@ -119,7 +119,7 @@ const init = () => {
const material = new THREE.ShaderMaterial({
uniforms: {
outlineTexture: { value: outlineTexture },
globeColor: { value: new THREE.Color("#ffc69e") },
globeColor: { value: new THREE.Color("#60fbb5") },
},
vertexShader: `
varying vec2 vUv;
@@ -151,7 +151,7 @@ const init = () => {
transparent: true,
side: THREE.BackSide,
uniforms: {
color: { value: new THREE.Color("#fabc89") },
color: { value: new THREE.Color("#56f690") },
viewVector: { value: camera.position },
},
vertexShader: `
@@ -262,13 +262,13 @@ onUnmounted(() => {
<style scoped>
@keyframes pulse {
0% {
box-shadow: 0 0 0 0 rgba(217, 84, 27, 0.3);
box-shadow: 0 0 0 0 rgba(27, 217, 106, 0.3);
}
70% {
box-shadow: 0 0 0 4px rgba(217, 78, 27, 0);
box-shadow: 0 0 0 4px rgba(27, 217, 106, 0);
}
100% {
box-shadow: 0 0 0 0 rgba(217, 84, 27, 0);
box-shadow: 0 0 0 0 rgba(27, 217, 106, 0);
}
}