Skip to content

Commit 261d087

Browse files
committed
refactor: add % units to numbers
1 parent b37a810 commit 261d087

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

scss/_variables.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -1205,7 +1205,7 @@ $form-multi-select-box-shadow: inset 0 1px 2px rgba($black, .075) !
12051205
$form-multi-select-focus-width: $input-focus-width !default;
12061206
$form-multi-select-focus-color: $input-color !default;
12071207
$form-multi-select-focus-bg: $input-bg !default;
1208-
$form-multi-select-focus-border-color: shift-color($component-active-bg, -25) !default;
1208+
$form-multi-select-focus-border-color: shift-color($component-active-bg, -25%) !default;
12091209
$form-multi-select-focus-box-shadow: 0 0 0 $form-multi-select-focus-width $input-btn-focus-color !default;
12101210

12111211
$form-multi-select-selection-tags-padding-y: .125rem !default;
@@ -1264,7 +1264,7 @@ $form-multi-select-option-padding-y: .5rem !default;
12641264
$form-multi-select-option-padding-x: 1.25rem !default;
12651265
$form-multi-select-option-border-radius: $border-radius !default;
12661266

1267-
$form-multi-select-option-hover-color: shift-color($gray-900, 5) !default;
1267+
$form-multi-select-option-hover-color: shift-color($gray-900, +5%) !default;
12681268
$form-multi-select-option-hover-bg: rgba($gray-100, .5) !default;
12691269

12701270
$form-multi-select-option-indicator-width: 1em !default;

scss/themes/dark/_variables.scss

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ $high-emphasis-dt: rgba($white, .87) !default;
1717
$medium-emphasis-dt: rgba($white, .6) !default;
1818
$disabled-dt: rgba($white, .38) !default;
1919

20-
$primary-dt: tint-color(desaturate($primary, 30%), 30) !default;
20+
$primary-dt: tint-color(desaturate($primary, 30%), 30%) !default;
2121
$secondary-dt: desaturate($secondary, 30%) !default;
2222
$success-dt: desaturate($success, 30%) !default;
2323
$info-dt: desaturate($info, 30%) !default;
@@ -454,8 +454,8 @@ $header-theme-map: (
454454

455455
// Links
456456

457-
$link-color-dt: shift-color($primary-dt, -12) !default;
458-
$link-hover-color-dt: shift-color($link-color-dt, -20) !default;
457+
$link-color-dt: shift-color($primary-dt, -12%) !default;
458+
$link-hover-color-dt: shift-color($link-color-dt, -20%) !default;
459459

460460
$link-theme-map: (
461461
"link-color": $link-color-dt,

0 commit comments

Comments
 (0)