Skip to content

Commit

Permalink
doc(Carousel): support dark theme (#2675)
Browse files Browse the repository at this point in the history
* doc(Carousel): support dark theme

* refactor: 更新示例
  • Loading branch information
ArgoZhang authored Dec 26, 2023
1 parent 1e72a6f commit 0e019ed
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
}

.carousel-item-demo2 .demo-item {
background-color: #e9ecef;
background-color: rgba(var(--bs-body-color-rgb),.08);
border-radius: var(--bs-border-radius);
padding: 1rem 2rem;
}
Expand Down
5 changes: 0 additions & 5 deletions src/BootstrapBlazor/Components/Carousel/Carousel.razor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
--bb-carousel-slide-border: #{$bb-carousel-slide-border};
--bb-carousel-slide-bg: #{$bb-carousel-slide-bg};
--bb-carousel-slide-color: #{$bb-carousel-slide-color};
--bb-carousel-target-bg: #{$bb-carousel-target-bg};
overflow: hidden;

[data-bs-slide] {
Expand Down Expand Up @@ -47,10 +46,6 @@
.carousel-indicators {
opacity: 1;
transition: all .2s linear;

[data-bs-target] {
background-color: var(--bb-carousel-target-bg);
}
}

.carousel-inner, .carousel-item, .carousel-item img {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ $bb-carousel-slide-border-radisu: 50%;
$bb-carousel-slide-border: solid 1px #e9ecef;
$bb-carousel-slide-bg: rgba(31,45,61,.5);
$bb-carousel-slide-color: #fff;
$bb-carousel-target-bg: #606266;

// CheckBox
$bb-checkbox-label-padding-y: 6px;
Expand Down

0 comments on commit 0e019ed

Please sign in to comment.