Skip to content

Commit

Permalink
morph: fix text color for secondary and light cards in dark mode, #1282
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaspark committed Oct 23, 2023
1 parent fa6d02d commit 2f248e9
Show file tree
Hide file tree
Showing 14 changed files with 34 additions and 8 deletions.
7 changes: 7 additions & 0 deletions dist/morph/_bootswatch.scss
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,13 @@ $box-shadow-dark: 5px 5px 10px rgba(darken($dark, 50%), .2), -5px -5px 10px rgba
box-shadow: inset 2px 2px 6px rgba(shade-color($dark, 50%), .2), inset -3px -2px 4px rgba($white, .05);
}

.card {
&.bg-secondary,
&.bg-light {
color: $body-color;
}
}

.modal-content,
.popover,
.toast {
Expand Down
3 changes: 3 additions & 0 deletions dist/morph/bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -12801,6 +12801,9 @@ textarea.form-control-lg {
background-color: #202428;
box-shadow: inset 2px 2px 6px rgba(17, 19, 21, 0.2), inset -3px -2px 4px rgba(255, 255, 255, 0.05);
}
[data-bs-theme=dark] .card.bg-secondary, [data-bs-theme=dark] .card.bg-light {
color: #7b8ab8;
}
[data-bs-theme=dark] .modal-content,
[data-bs-theme=dark] .popover,
[data-bs-theme=dark] .toast {
Expand Down
2 changes: 1 addition & 1 deletion dist/morph/bootstrap.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/morph/bootstrap.min.css.map

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions dist/morph/bootstrap.rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -12766,6 +12766,9 @@ textarea.form-control-lg {
background-color: #202428;
box-shadow: inset -2px 2px 6px rgba(17, 19, 21, 0.2), inset 3px -2px 4px rgba(255, 255, 255, 0.05);
}
[data-bs-theme=dark] .card.bg-secondary, [data-bs-theme=dark] .card.bg-light {
color: #7b8ab8;
}
[data-bs-theme=dark] .modal-content,
[data-bs-theme=dark] .popover,
[data-bs-theme=dark] .toast {
Expand Down
2 changes: 1 addition & 1 deletion dist/morph/bootstrap.rtl.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/morph/bootstrap.rtl.min.css.map

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions docs/5/morph/_bootswatch.scss
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,13 @@ $box-shadow-dark: 5px 5px 10px rgba(darken($dark, 50%), .2), -5px -5px 10px rgba
box-shadow: inset 2px 2px 6px rgba(shade-color($dark, 50%), .2), inset -3px -2px 4px rgba($white, .05);
}

.card {
&.bg-secondary,
&.bg-light {
color: $body-color;
}
}

.modal-content,
.popover,
.toast {
Expand Down
3 changes: 3 additions & 0 deletions docs/5/morph/bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -12801,6 +12801,9 @@ textarea.form-control-lg {
background-color: #202428;
box-shadow: inset 2px 2px 6px rgba(17, 19, 21, 0.2), inset -3px -2px 4px rgba(255, 255, 255, 0.05);
}
[data-bs-theme=dark] .card.bg-secondary, [data-bs-theme=dark] .card.bg-light {
color: #7b8ab8;
}
[data-bs-theme=dark] .modal-content,
[data-bs-theme=dark] .popover,
[data-bs-theme=dark] .toast {
Expand Down
2 changes: 1 addition & 1 deletion docs/5/morph/bootstrap.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/5/morph/bootstrap.min.css.map

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions docs/5/morph/bootstrap.rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -12766,6 +12766,9 @@ textarea.form-control-lg {
background-color: #202428;
box-shadow: inset -2px 2px 6px rgba(17, 19, 21, 0.2), inset 3px -2px 4px rgba(255, 255, 255, 0.05);
}
[data-bs-theme=dark] .card.bg-secondary, [data-bs-theme=dark] .card.bg-light {
color: #7b8ab8;
}
[data-bs-theme=dark] .modal-content,
[data-bs-theme=dark] .popover,
[data-bs-theme=dark] .toast {
Expand Down
2 changes: 1 addition & 1 deletion docs/5/morph/bootstrap.rtl.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/5/morph/bootstrap.rtl.min.css.map

Large diffs are not rendered by default.

0 comments on commit 2f248e9

Please sign in to comment.