⬆️ stylelint 14

pull/4133/head
Daniel 2021-12-12 19:42:30 +05:30
parent 7b23289ed3
commit ed66ff8c9f
14 changed files with 216 additions and 1817 deletions

View File

@ -1,6 +1,6 @@
{
"extends": [
"stylelint-config-twbs-bootstrap/scss"
"stylelint-config-twbs-bootstrap"
],
"rules": {
"declaration-no-important": null,
@ -9,6 +9,7 @@
"lighten",
"darken"
],
"keyframes-name-pattern": null,
"order/properties-order": null,
"selector-max-class": null,
"selector-max-combinators": null,

2012
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -66,8 +66,8 @@
"rollup": "^2.60.2",
"rtlcss": "^3.5.0",
"sass": "^1.44.0",
"stylelint": "^13.13.1",
"stylelint-config-twbs-bootstrap": "^2.2.4",
"stylelint": "^14.1.0",
"stylelint-config-twbs-bootstrap": "^3.0.0-beta1",
"tslib": "^2.3.1",
"typescript": "^4.5.2"
}

View File

@ -1,4 +1,3 @@
.btn-group.show .dropdown-toggle {
@include box-shadow($btn-active-box-shadow-alt);

View File

@ -1,4 +1,3 @@
.btn-close {
color: $btn-close-color-alt;
background: transparent escape-svg($btn-close-bg-alt) center / $btn-close-width auto no-repeat; // include transparent for button elements

View File

@ -1,4 +1,3 @@
// from Chris Coyier on Jul 26, 2016: https://css-tricks.com/overriding-the-default-text-selection-color-with-css/
body::selection {

View File

@ -1,4 +1,3 @@
// The dropdown menu
.dropdown-menu {
color: $dropdown-color-alt;

View File

@ -1,4 +1,3 @@
// Actual modal
.modal-content {
color: $modal-content-color-alt;

View File

@ -1,4 +1,3 @@
.offcanvas {
color: $offcanvas-color-alt;
background-color: $offcanvas-bg-color-alt;

View File

@ -1,4 +1,3 @@
.page-link {
color: $pagination-color-alt;
background-color: $pagination-bg-alt;

View File

@ -1,4 +1,3 @@
.progress {
background-color: $progress-bg-alt;
@include box-shadow($progress-box-shadow-alt);

View File

@ -1,4 +1,3 @@
@mixin overlay-backdrop-alt($backdrop-bg-alt, $backdrop-opacity-alt) {
background-color: $backdrop-bg-alt;

View File

@ -24,13 +24,13 @@
color-scheme: dark light;
} @else if $scheme == light {
color-scheme: light dark;
} // else ignore
}
} @else {
@if $scheme == dark {
color-scheme: dark;
} @else if $scheme == light {
color-scheme: light;
} // else ignore
}
}
}

View File

@ -1,4 +1,3 @@
@mixin form-validation-state-alt(
$state,
$color,