Skip to content

Commit 64a8d55

Browse files
author
Adriyache32
committed
Cambio a Material You - reemplazados colores blancos por esquema purple Material Design 3
1 parent be79009 commit 64a8d55

1 file changed

Lines changed: 49 additions & 30 deletions

File tree

style.css

Lines changed: 49 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,29 @@
44
box-sizing: border-box;
55
}
66

7+
:root {
8+
--md-sys-color-primary: #6750A4;
9+
--md-sys-color-on-primary: #FFFFFF;
10+
--md-sys-color-primary-container: #4F378B;
11+
--md-sys-color-on-primary-container: #EADDFF;
12+
--md-sys-color-secondary: #958DA5;
13+
--md-sys-color-on-secondary: #FFFFFF;
14+
--md-sys-color-surface: #1C1B1F;
15+
--md-sys-color-surface-dim: #141218;
16+
--md-sys-color-surface-bright: #3B383E;
17+
--md-sys-color-on-surface: #E6E1E5;
18+
--md-sys-color-on-surface-variant: #CAC4D0;
19+
--md-sys-color-outline: #938F99;
20+
--md-sys-color-outline-variant: #49454F;
21+
--md-color-gold: #D0BCFF;
22+
--md-color-success: #4A8C6F;
23+
--md-color-error: #F2B8B5;
24+
}
25+
726
body {
827
font-family: 'Inter', -apple-system, sans-serif;
9-
background: #0a0a0f;
10-
color: #e0e0e0;
28+
background: var(--md-sys-color-surface-dim);
29+
color: var(--md-sys-color-on-surface);
1130
line-height: 1.6;
1231
min-height: 100vh;
1332
}
@@ -17,19 +36,19 @@ body {
1736
inset: 0;
1837
z-index: -1;
1938
background:
20-
radial-gradient(ellipse at 20% 50%, rgba(88, 101, 242, 0.08) 0%, transparent 50%),
21-
radial-gradient(ellipse at 80% 20%, rgba(114, 137, 254, 0.06) 0%, transparent 50%),
22-
radial-gradient(ellipse at 50% 80%, rgba(255, 107, 107, 0.04) 0%, transparent 50%);
39+
radial-gradient(ellipse at 20% 50%, rgba(103, 80, 164, 0.08) 0%, transparent 50%),
40+
radial-gradient(ellipse at 80% 20%, rgba(103, 80, 164, 0.06) 0%, transparent 50%),
41+
radial-gradient(ellipse at 50% 80%, rgba(149, 141, 165, 0.04) 0%, transparent 50%);
2342
}
2443

2544
header {
2645
position: fixed;
2746
top: 0;
2847
width: 100%;
2948
z-index: 100;
30-
background: rgba(10, 10, 15, 0.8);
49+
background: color-mix(in srgb, var(--md-sys-color-surface-dim) 85%, transparent);
3150
backdrop-filter: blur(12px);
32-
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
51+
border-bottom: 1px solid var(--md-sys-color-outline-variant);
3352
}
3453

3554
nav {
@@ -44,7 +63,7 @@ nav {
4463
.logo {
4564
font-size: 1.25rem;
4665
font-weight: 800;
47-
background: linear-gradient(135deg, #7289da, #5865f2);
66+
background: linear-gradient(135deg, var(--md-sys-color-primary), var(--md-sys-color-primary-container));
4867
-webkit-background-clip: text;
4968
-webkit-text-fill-color: transparent;
5069
background-clip: text;
@@ -54,7 +73,7 @@ nav {
5473
display: none;
5574
background: none;
5675
border: 1px solid rgba(255,255,255,0.1);
57-
color: #fff;
76+
color: var(--md-sys-color-on-surface);
5877
font-size: 1.5rem;
5978
cursor: pointer;
6079
padding: 0.25rem 0.5rem;
@@ -116,7 +135,7 @@ nav a:hover {
116135
h1 {
117136
font-size: 4rem;
118137
font-weight: 800;
119-
background: linear-gradient(135deg, #fff 0%, #7289da 100%);
138+
background: linear-gradient(135deg, var(--md-sys-color-on-surface) 0%, var(--md-sys-color-primary) 100%);
120139
-webkit-background-clip: text;
121140
-webkit-text-fill-color: transparent;
122141
background-clip: text;
@@ -145,19 +164,19 @@ h1 {
145164

146165
.ip-box code {
147166
background: rgba(255, 255, 255, 0.05);
148-
border: 1px solid rgba(255, 255, 255, 0.1);
167+
border: 1px solid var(--md-sys-color-outline-variant);
149168
padding: 0.75rem 1.5rem;
150169
border-radius: 8px;
151170
font-size: 1.1rem;
152-
color: #fff;
171+
color: var(--md-sys-color-on-surface);
153172
letter-spacing: 0.5px;
154173
font-family: 'JetBrains Mono', monospace;
155174
}
156175

157176
.copy-btn {
158-
background: rgba(114, 137, 254, 0.15);
159-
color: #7289da;
160-
border: 1px solid rgba(114, 137, 254, 0.3);
177+
background: rgba(103, 80, 164, 0.15);
178+
color: var(--md-sys-color-primary);
179+
border: 1px solid rgba(103, 80, 164, 0.3);
161180
padding: 0.75rem 1.25rem;
162181
border-radius: 8px;
163182
font-size: 0.85rem;
@@ -168,14 +187,14 @@ h1 {
168187
}
169188

170189
.copy-btn:hover {
171-
background: rgba(114, 137, 254, 0.25);
172-
border-color: #7289da;
190+
background: rgba(103, 80, 164, 0.25);
191+
border-color: var(--md-sys-color-primary);
173192
}
174193

175194
.copy-btn.copied {
176-
background: rgba(67, 181, 129, 0.2);
177-
border-color: #43b581;
178-
color: #43b581;
195+
background: rgba(74, 140, 111, 0.2);
196+
border-color: var(--md-color-success);
197+
color: var(--md-color-success);
179198
}
180199

181200
.status {
@@ -257,8 +276,8 @@ h1 {
257276
}
258277

259278
.btn-discord {
260-
background: #5865f2;
261-
color: #fff;
279+
background: var(--md-sys-color-primary);
280+
color: var(--md-sys-color-on-primary);
262281
}
263282

264283
.btn-discord:hover {
@@ -298,7 +317,7 @@ h1 {
298317
font-weight: 700;
299318
text-align: center;
300319
margin-bottom: 1rem;
301-
color: #fff;
320+
color: var(--md-sys-color-on-surface);
302321
}
303322

304323
.section-subtitle {
@@ -499,10 +518,10 @@ h1 {
499518
}
500519

501520
.kit-card.featured {
502-
border-color: #f0c040;
503-
background: rgba(240, 192, 64, 0.05);
521+
border-color: var(--md-sys-color-primary);
522+
background: rgba(103, 80, 164, 0.05);
504523
transform: scale(1.05);
505-
box-shadow: 0 0 30px rgba(240, 192, 64, 0.15);
524+
box-shadow: 0 0 30px rgba(103, 80, 164, 0.15);
506525
}
507526

508527
.kit-card.featured:hover {
@@ -526,7 +545,7 @@ h1 {
526545
.kit-tier {
527546
font-size: 1.5rem;
528547
font-weight: 700;
529-
color: #fff;
548+
color: var(--md-sys-color-on-surface);
530549
margin-bottom: 0.5rem;
531550
}
532551

@@ -557,9 +576,9 @@ h1 {
557576
}
558577

559578
.btn-kit {
560-
background: rgba(240, 192, 64, 0.15);
561-
color: #f0c040;
562-
border: 1px solid rgba(240, 192, 64, 0.3);
579+
background: rgba(208, 188, 255, 0.15);
580+
color: var(--md-color-gold);
581+
border: 1px solid rgba(208, 188, 255, 0.3);
563582
width: 100%;
564583
justify-content: center;
565584
}

0 commit comments

Comments
 (0)