chore(core): update right sidebar border color (#11222)

This commit is contained in:
CatsJuice
2025-03-31 05:11:03 +00:00
parent 57ec22ec2e
commit 7c41ddb789
2 changed files with 6 additions and 5 deletions

View File

@@ -1,4 +1,5 @@
import { cssVar } from '@toeverything/theme';
import { cssVarV2 } from '@toeverything/theme/v2';
import { style } from '@vanilla-extract/css';
export const sidebarContainerInner = style({
@@ -12,11 +13,11 @@ export const sidebarContainerInner = style({
selectors: {
['[data-client-border=true] &']: {
borderRadius: 6,
border: `0.5px solid ${cssVar('borderColor')}`,
border: `0.5px solid ${cssVarV2.layer.insideBorder.border}`,
},
['[data-client-border=true][data-is-floating="true"] &']: {
boxShadow: cssVar('shadow3'),
border: `1px solid ${cssVar('borderColor')}`,
border: `1px solid ${cssVarV2.layer.insideBorder.border}`,
},
},
});
@@ -31,7 +32,7 @@ export const sidebarBodyTarget = style({
});
export const borderTop = style({
borderTop: `0.5px solid ${cssVar('borderColor')}`,
borderTop: `0.5px solid ${cssVarV2.layer.insideBorder.border}`,
});
export const sidebarBodyNoSelection = style({

View File

@@ -1,4 +1,4 @@
import { cssVar } from '@toeverything/theme';
import { cssVarV2 } from '@toeverything/theme/v2';
import { style } from '@vanilla-extract/css';
export const workbenchRootContainer = style({
@@ -24,7 +24,7 @@ export const workbenchSidebar = style({
borderRadius: 6,
},
[`&[data-client-border=false]`]: {
borderLeft: `0.5px solid ${cssVar('borderColor')}`,
borderLeft: `0.5px solid ${cssVarV2.layer.insideBorder.border}`,
},
},
});