Skip to content

Commit 9f225c6

Browse files
Bikram GoleBikram Gole
authored andcommitted
Make Material 3 theme more Android-like
1 parent f2f9fcb commit 9f225c6

1 file changed

Lines changed: 80 additions & 57 deletions

File tree

styles.css

Lines changed: 80 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -2930,18 +2930,18 @@ body[data-theme="liquidglass"] {
29302930

29312931
:root[data-theme="material3"],
29322932
body[data-theme="material3"] {
2933-
--bg-0: #07121e;
2934-
--bg-1: #0e1d32;
2935-
--bg-2: #152942;
2936-
--ink: #f2f7ff;
2937-
--muted: #c0d0e6;
2938-
--blue: #87c6ff;
2939-
--blue-2: #c6e3ff;
2940-
--orange: #ffb86a;
2941-
--orange-2: #ffd6a9;
2942-
--card: rgba(25, 42, 67, 0.86);
2943-
--border: rgba(146, 197, 255, 0.36);
2944-
--header: rgba(14, 30, 50, 0.92);
2933+
--bg-0: #11131a;
2934+
--bg-1: #191b24;
2935+
--bg-2: #1f2230;
2936+
--ink: #e8e9f1;
2937+
--muted: #c6c7d2;
2938+
--blue: #d0bcff;
2939+
--blue-2: #ebe1ff;
2940+
--orange: #7ee6c0;
2941+
--orange-2: #bdf4df;
2942+
--card: rgba(39, 41, 53, 0.9);
2943+
--border: rgba(175, 178, 205, 0.3);
2944+
--header: rgba(34, 36, 46, 0.94);
29452945
}
29462946

29472947
body[data-theme="liquidglass"] {
@@ -3004,75 +3004,88 @@ body[data-theme="liquidglass"] .egg-btn {
30043004

30053005
body[data-theme="material3"] {
30063006
background:
3007-
radial-gradient(900px 320px at 8% -14%, rgba(126, 195, 255, 0.42), transparent 64%),
3008-
radial-gradient(820px 300px at 92% -6%, rgba(255, 143, 110, 0.3), transparent 66%),
3009-
radial-gradient(740px 300px at 44% 108%, rgba(99, 255, 186, 0.2), transparent 68%),
3010-
linear-gradient(158deg, #07121e 0%, #0e1d32 42%, #152942 100%);
3007+
radial-gradient(860px 320px at 10% -12%, rgba(208, 188, 255, 0.3), transparent 64%),
3008+
radial-gradient(760px 300px at 92% -8%, rgba(255, 181, 229, 0.22), transparent 66%),
3009+
radial-gradient(680px 260px at 46% 108%, rgba(126, 230, 192, 0.2), transparent 68%),
3010+
linear-gradient(156deg, #11131a 0%, #191b24 44%, #1f2230 100%);
3011+
font-family: "Roboto", "Noto Sans", "Space Grotesk", sans-serif;
30113012
}
30123013

30133014
body[data-theme="material3"] .noise {
3014-
opacity: 0.12;
3015+
opacity: 0.08;
30153016
background-image:
3016-
radial-gradient(rgba(180, 222, 255, 0.14) 0.6px, transparent 0.6px),
3017-
radial-gradient(rgba(255, 186, 132, 0.1) 0.5px, transparent 0.5px);
3018-
background-size: 3px 3px, 4px 4px;
3017+
radial-gradient(rgba(231, 225, 255, 0.12) 0.55px, transparent 0.55px),
3018+
radial-gradient(rgba(190, 255, 228, 0.08) 0.45px, transparent 0.45px);
3019+
background-size: 3px 3px, 5px 5px;
3020+
}
3021+
3022+
body[data-theme="material3"] h1,
3023+
body[data-theme="material3"] h2,
3024+
body[data-theme="material3"] h3 {
3025+
font-family: "Google Sans", "Product Sans", "Roboto", "Noto Sans", sans-serif;
3026+
letter-spacing: 0.01em;
30193027
}
30203028

30213029
body[data-theme="material3"] .site-header {
3022-
border-color: rgba(151, 204, 255, 0.42);
3023-
border-radius: 26px;
3030+
border-color: rgba(176, 171, 203, 0.38);
3031+
border-radius: 18px;
30243032
background:
3025-
linear-gradient(170deg, rgba(23, 48, 76, 0.9), rgba(15, 37, 61, 0.92));
3033+
linear-gradient(180deg, rgba(53, 54, 70, 0.92), rgba(40, 42, 56, 0.95));
30263034
box-shadow:
3027-
0 14px 28px rgba(4, 15, 30, 0.42),
3028-
inset 0 1px 0 rgba(202, 232, 255, 0.2);
3035+
0 10px 24px rgba(12, 13, 20, 0.45),
3036+
inset 0 1px 0 rgba(231, 225, 255, 0.16);
30293037
}
30303038

30313039
body[data-theme="material3"] .brand-name {
3032-
font-family: "Syne", "Space Grotesk", sans-serif;
3033-
letter-spacing: 0.02em;
3040+
font-family: "Google Sans", "Product Sans", "Roboto", "Noto Sans", sans-serif;
3041+
letter-spacing: 0.01em;
30343042
text-transform: none;
3035-
text-shadow: 0 0 18px rgba(136, 200, 255, 0.5);
3043+
text-shadow: 0 0 14px rgba(208, 188, 255, 0.42);
30363044
}
30373045

30383046
body[data-theme="material3"] nav a {
30393047
border-radius: 999px;
3040-
border-color: rgba(131, 190, 255, 0.22);
3041-
background: rgba(38, 71, 107, 0.42);
3048+
border-color: rgba(186, 187, 212, 0.16);
3049+
background: rgba(88, 90, 113, 0.42);
3050+
color: #d6d7e4;
30423051
}
30433052

30443053
body[data-theme="material3"] nav a:hover,
30453054
body[data-theme="material3"] nav a.active {
3046-
background: linear-gradient(120deg, rgba(122, 194, 255, 0.34), rgba(103, 235, 186, 0.26));
3047-
border-color: rgba(162, 216, 255, 0.62);
3048-
color: #f8fcff;
3049-
box-shadow: 0 0 0 1px rgba(206, 236, 255, 0.18) inset, 0 0 16px rgba(121, 201, 255, 0.2);
3055+
background: linear-gradient(120deg, rgba(208, 188, 255, 0.34), rgba(189, 244, 223, 0.25));
3056+
border-color: rgba(214, 203, 255, 0.52);
3057+
color: #f7f3ff;
3058+
box-shadow: 0 0 0 1px rgba(241, 235, 255, 0.2) inset, 0 0 14px rgba(208, 188, 255, 0.22);
30503059
}
30513060

30523061
body[data-theme="material3"] .theme-top-select,
30533062
body[data-theme="material3"] .theme-cycle-btn {
30543063
border-radius: 999px;
3055-
border-color: rgba(155, 210, 255, 0.52);
3056-
background: rgba(31, 63, 97, 0.86);
3057-
color: #e9f6ff;
3064+
border-color: rgba(197, 190, 226, 0.5);
3065+
background: rgba(82, 84, 105, 0.86);
3066+
color: #f2ecff;
3067+
}
3068+
3069+
body[data-theme="material3"] .theme-top-label {
3070+
color: #d3d0e3;
30583071
}
30593072

30603073
body[data-theme="material3"] .hero,
30613074
body[data-theme="material3"] .panel {
3062-
border-radius: 28px;
3063-
border-color: rgba(147, 203, 255, 0.44);
3075+
border-radius: 20px;
3076+
border-color: rgba(187, 184, 214, 0.34);
30643077
background:
3065-
linear-gradient(165deg, rgba(31, 62, 98, 0.86), rgba(19, 41, 66, 0.9));
3078+
linear-gradient(165deg, rgba(60, 62, 79, 0.9), rgba(45, 47, 62, 0.94));
30663079
box-shadow:
3067-
0 14px 30px rgba(4, 14, 28, 0.42),
3068-
inset 0 1px 0 rgba(208, 237, 255, 0.14);
3080+
0 12px 24px rgba(13, 14, 22, 0.38),
3081+
inset 0 1px 0 rgba(241, 235, 255, 0.12);
30693082
}
30703083

30713084
body[data-theme="material3"] .hero {
30723085
background:
3073-
radial-gradient(480px 210px at 6% 0%, rgba(124, 199, 255, 0.38), transparent 74%),
3074-
radial-gradient(360px 170px at 96% 100%, rgba(255, 177, 105, 0.24), transparent 74%),
3075-
linear-gradient(165deg, rgba(31, 62, 98, 0.86), rgba(19, 41, 66, 0.9));
3086+
radial-gradient(440px 200px at 6% 0%, rgba(208, 188, 255, 0.34), transparent 74%),
3087+
radial-gradient(320px 160px at 96% 100%, rgba(126, 230, 192, 0.2), transparent 74%),
3088+
linear-gradient(165deg, rgba(60, 62, 79, 0.9), rgba(45, 47, 62, 0.94));
30763089
}
30773090

30783091
body[data-theme="material3"] .chaos-card,
@@ -3086,36 +3099,46 @@ body[data-theme="material3"] .mini-terminal,
30863099
body[data-theme="material3"] .mini-terminal-screen,
30873100
body[data-theme="material3"] .quiz-board,
30883101
body[data-theme="material3"] .command-shell {
3089-
border-radius: 20px;
3090-
border-color: rgba(145, 201, 255, 0.38);
3102+
border-radius: 16px;
3103+
border-color: rgba(186, 183, 212, 0.3);
30913104
background:
3092-
linear-gradient(150deg, rgba(34, 67, 104, 0.84), rgba(20, 45, 73, 0.88));
3093-
box-shadow: inset 0 1px 0 rgba(214, 239, 255, 0.12), 0 10px 24px rgba(5, 15, 31, 0.36);
3105+
linear-gradient(150deg, rgba(72, 74, 92, 0.86), rgba(54, 56, 72, 0.9));
3106+
box-shadow: inset 0 1px 0 rgba(239, 233, 255, 0.1), 0 8px 20px rgba(10, 12, 19, 0.34);
30943107
}
30953108

30963109
body[data-theme="material3"] .chips span {
30973110
border-radius: 999px;
3098-
border-color: rgba(152, 209, 255, 0.42);
3099-
background: linear-gradient(125deg, rgba(70, 124, 182, 0.74), rgba(49, 101, 158, 0.72));
3100-
color: #ecf8ff;
3111+
border-color: rgba(211, 197, 255, 0.4);
3112+
background: linear-gradient(125deg, rgba(98, 81, 131, 0.78), rgba(76, 63, 106, 0.8));
3113+
color: #f6f2ff;
31013114
}
31023115

31033116
body[data-theme="material3"] .btn,
31043117
body[data-theme="material3"] .egg-btn {
31053118
border-radius: 999px;
3106-
border-color: rgba(164, 216, 255, 0.52);
3119+
border-color: rgba(208, 195, 255, 0.48);
3120+
font-weight: 600;
31073121
}
31083122

31093123
body[data-theme="material3"] .btn.primary {
3110-
color: #122236;
3111-
background: linear-gradient(120deg, #89c9ff, #7de7c5 55%, #ffbe74);
3124+
color: #281d3f;
3125+
background: linear-gradient(120deg, #d0bcff, #e5d8ff 55%, #bdf4df);
3126+
box-shadow: 0 8px 20px rgba(59, 49, 79, 0.34);
31123127
}
31133128

31143129
body[data-theme="material3"] .btn.ghost,
31153130
body[data-theme="material3"] .egg-btn {
3116-
background: rgba(39, 75, 114, 0.78);
3131+
background: rgba(88, 90, 113, 0.76);
3132+
color: #efe8ff;
31173133
}
31183134

31193135
body[data-theme="material3"] .status-line {
3120-
color: #d7e9ff;
3136+
color: #ded9f1;
3137+
}
3138+
3139+
body[data-theme="material3"] .site-footer {
3140+
border: 1px solid rgba(186, 181, 212, 0.34);
3141+
border-radius: 999px;
3142+
background: rgba(50, 52, 67, 0.8);
3143+
padding: 0.48rem 0.84rem;
31213144
}

0 commit comments

Comments
 (0)