Skip to content

Commit

Permalink
Update gemini.css (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
dahaha-365 authored Oct 6, 2024
1 parent 7642fef commit 969521c
Showing 1 changed file with 51 additions and 49 deletions.
100 changes: 51 additions & 49 deletions themes/gemini.css
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
/* Gemini */

:root {
--gemini-color-logo-gradient: linear-gradient(
90deg,
#2079fe 0%,
#098efb 33.53%,
#ad89eb 70%,
#ef4e5e 100%
);
--gemini-color-logo-gradient: linear-gradient(90deg,
#2079fe 0%,
#098efb 33.53%,
#ad89eb 70%,
#ef4e5e 100%);
--gemini-color-white: #ffffff;
--gemini-color-grey-50: #f7f9fd;
--gemini-color-grey-100: #f0f3f8;
Expand Down Expand Up @@ -202,15 +200,27 @@
--custom-bg-mask-background: rgba(0, 0, 0, 0.4);
--custom-bg-mask-foreground: var(--gemini-color-white);

.main .group[data-selected=true] .bg-default-200 {
background-color: var(--gemini-color-gemini-cyan) !important;
}

.main .content .bg-default,
.main .bg-primary,
.side .bg-primary {
background: var(--custom-default-200);
}

.main .bg-default-100 {
background-color: var(--custom-default-100);
}

.group[data-selected=true] .group-data-\[selected\=true\]\:bg-primary {
background-color: var(--gemini-color-gemini-blue);
}

.group-data-\[selected\=true\]\:bg-primary {
background-color: var(--custom-default-400);
}

.group-data-\[selected\=true\]\:bg-primary.border-2 {
border-color: transparent !important;
}
}

.light,
Expand Down Expand Up @@ -359,19 +369,6 @@
border: var(--gemini-color-gemini-cyan) 1px solid !important;
box-sizing: border-box !important;
}

/* 代理模式开关圆点 */
.side .sysproxy-card .absolute,
.side .tun-card .absolute {
background-color: var(--custom-default-100) !important;
}

/* 代理模式开关背景 */
.side .sysproxy-card .border-2,
.side .tun-card .border-2 {
background-color: var(--gemini-color-gemini-cyan) !important;
border: none;
}

.hover\:bg-primary\/30:hover {
background: var(--custom-default-50) !important;
Expand All @@ -384,6 +381,15 @@
.side .text-primary {
color: var(--custom-default-400);
}

.main .bg-default-100 {
background-color: var(--custom-default-50) !important;
}

.main .group-data-\[selected\=true\]\:bg-primary .bg-white,
.side .group-data-\[selected\=true\]\:bg-primary .bg-white {
background-color: var(--custom-default-50) !important;
}
}

.main .title.text-lg.leading-\[32px\],
Expand Down Expand Up @@ -444,11 +450,8 @@
color: var(--custom-default-500);
}

.main .group-data-\[selected\=true\]\:bg-primary {
background-color: var(--custom-default-300);
}

.main .group .bg-white {
.main .group-data-\[selected\=true\]\:bg-primary .bg-white,
.side .group-data-\[selected\=true\]\:bg-primary .bg-white {
background-color: var(--custom-side-background) !important;
}

Expand All @@ -457,24 +460,6 @@
border-color: var(--custom-default-500);
}

/* 代理模式开关圆点 */
.side .sysproxy-card .absolute,
.side .tun-card .absolute {
background-color: var(--custom-default-100) !important;
}

/* 代理模式开关背景 */
.side .sysproxy-card .border-2,
.side .tun-card .border-2 {
background-color: var(--custom-default-300) !important;
border: none;
}
.side .sysproxy-card .group[data-selected=true] .border-2,
.side .tun-card .group[data-selected=true] .border-2 {
background-color: var(--gemini-color-gemini-cyan) !important;
border: none;
}

.hover\:bg-primary\/30:hover {
background: var(--custom-default-300) !important;
}
Expand All @@ -495,6 +480,23 @@
color: var(--custom-default-500) !important;
}

.main .bg-default-100 {
background-color: var(--custom-default-50) !important;
/* 重构样式 */
.floating-bg {
background-color: var(--custom-bg-mask-background) !important;
}

.floating-bg .floating-thumb {
background-color: transparent !important;
}

.floating-bg .floating-icon {
color: #2079fe !important;
}

.group[data-selected=true] .group-data-\[selected\=true\]\:bg-primary {
background-color: var(--gemini-color-gemini-blue);
}

.group-data-\[selected\=true\]\:bg-primary.border-2 {
border-color: transparent !important;
}

0 comments on commit 969521c

Please sign in to comment.