Skip to content

Commit f2f9fcb

Browse files
Bikram GoleBikram Gole
authored andcommitted
Swap Liquid Glass and redesign Material 3 theme
1 parent 44659a4 commit f2f9fcb

1 file changed

Lines changed: 209 additions & 0 deletions

File tree

styles.css

Lines changed: 209 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2910,3 +2910,212 @@ body.istj-mode .egg-btn {
29102910
gap: 0.3rem;
29112911
}
29122912
}
2913+
2914+
/* Theme remap pass: Liquid Glass gets the old subtle style, Material 3 gets true colorful Android-inspired UI. */
2915+
:root[data-theme="liquidglass"],
2916+
body[data-theme="liquidglass"] {
2917+
--bg-0: #0d131f;
2918+
--bg-1: #141c2b;
2919+
--bg-2: #1e2737;
2920+
--ink: #e5ebfb;
2921+
--muted: #afb9ce;
2922+
--blue: #b9c6ff;
2923+
--blue-2: #dde5ff;
2924+
--orange: #8adbd1;
2925+
--orange-2: #b5efe8;
2926+
--card: rgba(28, 36, 52, 0.88);
2927+
--border: rgba(169, 183, 215, 0.28);
2928+
--header: rgba(23, 30, 46, 0.94);
2929+
}
2930+
2931+
:root[data-theme="material3"],
2932+
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);
2945+
}
2946+
2947+
body[data-theme="liquidglass"] {
2948+
background:
2949+
radial-gradient(740px 260px at 12% -16%, rgba(164, 184, 255, 0.2), transparent 66%),
2950+
radial-gradient(620px 220px at 90% 2%, rgba(133, 215, 205, 0.18), transparent 68%),
2951+
linear-gradient(160deg, var(--bg-0), var(--bg-1) 45%, var(--bg-2));
2952+
}
2953+
2954+
body[data-theme="liquidglass"] .site-header {
2955+
border-color: rgba(174, 188, 220, 0.34);
2956+
border-radius: 22px;
2957+
background:
2958+
linear-gradient(180deg, rgba(46, 57, 79, 0.34), rgba(29, 37, 54, 0.38)),
2959+
var(--header);
2960+
box-shadow: inset 0 1px 0 rgba(232, 239, 255, 0.09), 0 12px 28px rgba(5, 10, 20, 0.35);
2961+
}
2962+
2963+
body[data-theme="liquidglass"] nav a {
2964+
border-radius: 999px;
2965+
padding: 0.3rem 0.72rem;
2966+
background: transparent;
2967+
}
2968+
2969+
body[data-theme="liquidglass"] nav a:hover,
2970+
body[data-theme="liquidglass"] nav a.active {
2971+
background: rgba(189, 201, 255, 0.16);
2972+
border-color: rgba(176, 192, 225, 0.44);
2973+
box-shadow: inset 0 1px 0 rgba(232, 239, 255, 0.1);
2974+
}
2975+
2976+
body[data-theme="liquidglass"] .theme-top-select,
2977+
body[data-theme="liquidglass"] .theme-cycle-btn {
2978+
border-radius: 999px;
2979+
border-color: rgba(176, 192, 225, 0.4);
2980+
background: rgba(36, 46, 65, 0.96);
2981+
}
2982+
2983+
body[data-theme="liquidglass"] .hero,
2984+
body[data-theme="liquidglass"] .panel {
2985+
border-radius: 24px;
2986+
border-color: rgba(170, 184, 215, 0.26);
2987+
background:
2988+
linear-gradient(180deg, rgba(42, 52, 72, 0.84), rgba(29, 37, 53, 0.92)),
2989+
var(--card);
2990+
box-shadow: inset 0 1px 0 rgba(232, 239, 255, 0.08), 0 10px 24px rgba(5, 10, 20, 0.32);
2991+
}
2992+
2993+
body[data-theme="liquidglass"] .hero {
2994+
background:
2995+
radial-gradient(460px 180px at 0% 0%, rgba(185, 198, 255, 0.18), transparent 72%),
2996+
radial-gradient(340px 150px at 95% 100%, rgba(138, 219, 209, 0.14), transparent 74%),
2997+
linear-gradient(180deg, rgba(42, 52, 72, 0.84), rgba(29, 37, 53, 0.92));
2998+
}
2999+
3000+
body[data-theme="liquidglass"] .btn,
3001+
body[data-theme="liquidglass"] .egg-btn {
3002+
border-radius: 999px;
3003+
}
3004+
3005+
body[data-theme="material3"] {
3006+
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%);
3011+
}
3012+
3013+
body[data-theme="material3"] .noise {
3014+
opacity: 0.12;
3015+
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;
3019+
}
3020+
3021+
body[data-theme="material3"] .site-header {
3022+
border-color: rgba(151, 204, 255, 0.42);
3023+
border-radius: 26px;
3024+
background:
3025+
linear-gradient(170deg, rgba(23, 48, 76, 0.9), rgba(15, 37, 61, 0.92));
3026+
box-shadow:
3027+
0 14px 28px rgba(4, 15, 30, 0.42),
3028+
inset 0 1px 0 rgba(202, 232, 255, 0.2);
3029+
}
3030+
3031+
body[data-theme="material3"] .brand-name {
3032+
font-family: "Syne", "Space Grotesk", sans-serif;
3033+
letter-spacing: 0.02em;
3034+
text-transform: none;
3035+
text-shadow: 0 0 18px rgba(136, 200, 255, 0.5);
3036+
}
3037+
3038+
body[data-theme="material3"] nav a {
3039+
border-radius: 999px;
3040+
border-color: rgba(131, 190, 255, 0.22);
3041+
background: rgba(38, 71, 107, 0.42);
3042+
}
3043+
3044+
body[data-theme="material3"] nav a:hover,
3045+
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);
3050+
}
3051+
3052+
body[data-theme="material3"] .theme-top-select,
3053+
body[data-theme="material3"] .theme-cycle-btn {
3054+
border-radius: 999px;
3055+
border-color: rgba(155, 210, 255, 0.52);
3056+
background: rgba(31, 63, 97, 0.86);
3057+
color: #e9f6ff;
3058+
}
3059+
3060+
body[data-theme="material3"] .hero,
3061+
body[data-theme="material3"] .panel {
3062+
border-radius: 28px;
3063+
border-color: rgba(147, 203, 255, 0.44);
3064+
background:
3065+
linear-gradient(165deg, rgba(31, 62, 98, 0.86), rgba(19, 41, 66, 0.9));
3066+
box-shadow:
3067+
0 14px 30px rgba(4, 14, 28, 0.42),
3068+
inset 0 1px 0 rgba(208, 237, 255, 0.14);
3069+
}
3070+
3071+
body[data-theme="material3"] .hero {
3072+
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));
3076+
}
3077+
3078+
body[data-theme="material3"] .chaos-card,
3079+
body[data-theme="material3"] .favorite-card,
3080+
body[data-theme="material3"] .fact-card,
3081+
body[data-theme="material3"] .glass-card,
3082+
body[data-theme="material3"] .repo-card,
3083+
body[data-theme="material3"] .contact-item,
3084+
body[data-theme="material3"] .terminal,
3085+
body[data-theme="material3"] .mini-terminal,
3086+
body[data-theme="material3"] .mini-terminal-screen,
3087+
body[data-theme="material3"] .quiz-board,
3088+
body[data-theme="material3"] .command-shell {
3089+
border-radius: 20px;
3090+
border-color: rgba(145, 201, 255, 0.38);
3091+
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);
3094+
}
3095+
3096+
body[data-theme="material3"] .chips span {
3097+
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;
3101+
}
3102+
3103+
body[data-theme="material3"] .btn,
3104+
body[data-theme="material3"] .egg-btn {
3105+
border-radius: 999px;
3106+
border-color: rgba(164, 216, 255, 0.52);
3107+
}
3108+
3109+
body[data-theme="material3"] .btn.primary {
3110+
color: #122236;
3111+
background: linear-gradient(120deg, #89c9ff, #7de7c5 55%, #ffbe74);
3112+
}
3113+
3114+
body[data-theme="material3"] .btn.ghost,
3115+
body[data-theme="material3"] .egg-btn {
3116+
background: rgba(39, 75, 114, 0.78);
3117+
}
3118+
3119+
body[data-theme="material3"] .status-line {
3120+
color: #d7e9ff;
3121+
}

0 commit comments

Comments
 (0)