Skip to content

Commit 790190c

Browse files
committed
refactor: 支持主题样式
1 parent b7d67ba commit 790190c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/BootstrapBlazor/Components/Layout/LayoutSplitebar.razor.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
display: none;
99

1010
.layout-splitebar-body {
11+
--bb-splitebar-body-hover-bg: #{$bb-splitebar-body-hover-bg};
12+
--bb-splitebar-body-drag-hover-bg: #{$bb-splitebar-body-drag-hover-bg};
1113
position: absolute;
1214
inset: 0px -2px;
1315
cursor: col-resize;

src/BootstrapBlazor/wwwroot/scss/theme/bootstrapblazor.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,10 @@ $bb-layout-menu-item-hover-bg: #409eff;
346346
$bb-layout-logo-border-color: #d5d5d5;
347347
$bb-layout-logo-bg: #0e77e3;
348348

349+
// LayoutSplitebar
350+
$bb-splitebar-body-hover-bg: rgba(175, 184, 193, 0.2);
351+
$bb-splitebar-body-drag-hover-bg: rgb(9, 105, 218);
352+
349353
// Light
350354
$bb-light-bg: radial-gradient(circle, #fff, #aaa, #333);
351355
$bb-light-danger-start-color: #e17777;

0 commit comments

Comments
 (0)