Skip to content

Commit

Permalink
refactor(TreeView): update sass file support dark theme (#2692)
Browse files Browse the repository at this point in the history
* refactor: 移动定位服务到内置服务分类下

* refactor: 更新 TreeView 样式适配暗黑主题
  • Loading branch information
ArgoZhang authored and Vision-Zhang committed Dec 29, 2023
1 parent 9b60290 commit 93b57a9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -604,11 +604,6 @@ void AddData(DemoMenuItem item)
Url = "list-view"
},
new()
{
Text = Localizer["Locator"],
Url = "locator"
},
new()
{
Text = Localizer["ImageViewer"],
Url = "image-viewer"
Expand Down Expand Up @@ -1301,6 +1296,11 @@ void AddServices(DemoMenuItem item)
Url = "html-renderer"
},
new()
{
Text = Localizer["Locator"],
Url = "locator"
},
new()
{
Text = Localizer["Title"],
Url = "title"
Expand Down
6 changes: 3 additions & 3 deletions src/BootstrapBlazor/wwwroot/scss/theme/bootstrap.blazor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -620,9 +620,9 @@ $bb-tree-item-margin: 1px 0;
$bb-tree-icon-width: 22px;
$bb-tree-check-margin: 0 4px;
$bb-tree-node-padding: .25rem .5rem;
$bb-tree-item-active-color: #409eff;
$bb-tree-item-active-bg: #e9ecef;
$bb-tree-item-hover-bg: var(--bs-secondary);
$bb-tree-item-active-color: var(--bs-body-color);
$bb-tree-item-active-bg: rgba(var(--bs-body-color-rgb),.08);
$bb-tree-item-hover-bg: rgba(var(--bs-body-color-rgb),.12);
$bb-tree-icon-margin-right: .5rem;

// Upload
Expand Down

0 comments on commit 93b57a9

Please sign in to comment.