Skip to content

Commit

Permalink
fix: divider background in dark mode (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
ppxb authored Dec 25, 2024
1 parent 22fb597 commit eb48157
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/styles/arco-ui/a-divider.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.arco-divider-text {
background: var(--color-bg-1);
}

.arco-space-item .arco-divider-text {
background: var(--color-bg-3);
}
1 change: 1 addition & 0 deletions src/styles/arco-ui/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
@import './a-menu.less';
@import './a-typography.less';
@import './a-button.less';
@import './a-divider.less';

@color-menu-dark-bg: var(--color-bg-1);
@card-color-bg: var(--color-bg-1);
Expand Down

0 comments on commit eb48157

Please sign in to comment.