Skip to content

Commit b29b101

Browse files
committed
fix: tab item interaction
1 parent 6839873 commit b29b101

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/renderer/components/App.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,14 +127,15 @@ onMounted(() => {
127127
--design-card-shadow: 0 2px 4px 0px rgb(0 0 0 / 10%);
128128
--design-element-shadow: 0 1px 2px 0px rgb(0 0 0 / 10%);
129129
--design-highlight-color: rgb(var(--system-blue));
130-
--design-highlight-background: color-mix(in hsl, rgb(var(--theme-foreground) / 15%), rgb(var(--acrylic-background) / 10%));
130+
--design-highlight-background: color-mix(in hsl, rgb(var(--theme-foreground) / 5%), rgb(var(--acrylic-background) / 5%));
131131
--design-input-background: color-mix(in hsl, rgb(var(--theme-foreground) / 10%) 75%, rgb(var(--acrylic-background) / 10%));
132132
--design-separator: rgb(var(--theme-foreground) / 10%);
133133
@media (prefers-color-scheme: dark) {
134134
--system-cyan: 108 224 219;
135135
--design-active-background: rgb(255 255 255 / 16.667%);
136136
--design-alert-color: rgb(var(--system-yellow));
137137
--design-highlight-color: rgb(var(--system-cyan));
138+
--design-highlight-background: rgb(255 255 255 / 5%);
138139
}
139140
}
140141
:global(::selection) {

src/renderer/components/TabItem.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,9 @@ function close() {
169169
// https://github.com/react-dnd/react-dnd/issues/788
170170
transform: translate(0, 0);
171171
transition: transform 0.2s;
172+
&:hover {
173+
background: var(--design-highlight-background);
174+
}
172175
&:active {
173176
transform: scale(0.98);
174177
}

0 commit comments

Comments
 (0)