-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BD-46] resolve bootstrap conflicts with design tokens (#1800)
* feat: resolve some Bootstrap conflicts with design tokens Co-authored-by: Peter Kulko <93188219+PKulkoRaccoonGang@users.noreply.github.com>
- Loading branch information
1 parent
ff9e16f
commit 8c60b81
Showing
93 changed files
with
4,129 additions
and
1,874 deletions.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
scss/core/bootstrap-override/mixins/_background-variant.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// stylelint-disable declaration-no-important | ||
|
||
// Contextual backgrounds | ||
|
||
@mixin bg-variant($parent, $color, $ignore-warning: false) { | ||
#{$parent} { | ||
background-color: $color !important; | ||
} | ||
|
||
a#{$parent}, | ||
button#{$parent} { | ||
@include hover-focus() { | ||
background-color: $color !important; | ||
filter: brightness(10%); | ||
} | ||
} | ||
|
||
@include deprecate("The `bg-variant` mixin", "v4.4.0", "v5", $ignore-warning); | ||
} | ||
|
||
@mixin bg-gradient-variant($parent, $color, $ignore-warning: false) { | ||
#{$parent} { | ||
background: $color linear-gradient(180deg, mix($body-bg, $color, 15%), $color) repeat-x !important; | ||
} | ||
|
||
@include deprecate("The `bg-gradient-variant` mixin", "v4.5.0", "v5", $ignore-warning); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// stylelint-disable declaration-no-important | ||
|
||
// Typography | ||
|
||
@mixin text-emphasis-variant($parent, $color, $ignore-warning: false) { | ||
#{$parent} { | ||
color: $color !important; | ||
} | ||
|
||
@if $emphasized-link-hover-darken-percentage != 0 { | ||
a#{$parent} { | ||
@include hover-focus() { | ||
color: $color !important; | ||
filter: brightness($emphasized-link-hover-darken-percentage); | ||
} | ||
} | ||
} | ||
|
||
@include deprecate("`text-emphasis-variant()`", "v4.4.0", "v5", $ignore-warning); | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
@import "variables"; | ||
@import "close-button-bootstrap"; | ||
@import "~bootstrap/scss/close"; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
@import "variables"; | ||
@import "code-bootstrap"; | ||
@import "~bootstrap/scss/code"; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.