use theme colors

This commit is contained in:
Red Adaya 2024-11-23 23:20:20 +08:00
parent 390f1e0e4d
commit 950986657f

View File

@ -33,7 +33,7 @@
&:hover {
border-color: transparent;
background: rgba(255, 255, 255, 0.07);
background: rgb(from var(--main-text-color) r g b / 0.07);
}
}
@ -47,7 +47,7 @@
.tab-inner {
border-color: transparent;
border-radius: 6px;
background: rgba(255, 255, 255, 0.07);
background: rgb(from var(--main-text-color) r g b / 0.07);
}
.name {
@ -72,7 +72,7 @@
z-index: var(--zindex-tab-name);
font-size: 11px;
font-weight: 500;
text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);
text-shadow: 0px 0px 4px rgb(from var(--main-bg-color) r g b / 0.25);
overflow: hidden;
width: calc(100% - 10px);
text-overflow: ellipsis;
@ -80,7 +80,7 @@
&.focused {
outline: none;
border: 1px solid rgba(255, 255, 255, 0.179);
border: 1px solid rgb(from var(--main-text-color) r g b / 0.179);
padding: 2px 6px;
border-radius: 2px;
}
@ -108,7 +108,6 @@
&:hover {
color: var(--main-text-color);
// background-color: var(--highlight-bg-color);
}
}
}