Skip to content

Commit 24007a3

Browse files
committed
refactor: update styles
1 parent 789f298 commit 24007a3

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

docs/assets/scss/_colors.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
}
4141
}
4242

43+
// stylelint-disable declaration-block-single-line-max-declarations
4344
.docs-blue-100 { color: color-contrast($blue-100); background-color: $blue-100; }
4445
.docs-blue-200 { color: color-contrast($blue-200); background-color: $blue-200; }
4546
.docs-blue-300 { color: color-contrast($blue-300); background-color: $blue-300; }

scss/_variables-dark.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ $body-secondary-bg-dark: $gray-800-dark !default;
9999
$body-tertiary-color-dark: rgba($body-color-dark, .5) !default;
100100
$body-tertiary-bg-dark: mix($gray-800-dark, #181924, 50%) !default;
101101
$body-emphasis-color-dark: $white !default;
102-
$border-color-dark: $gray-800-dark !default;
103-
$border-color-translucent-dark: rgba($white, .1) !default;
102+
$border-color-dark: $gray-700-dark !default;
103+
$border-color-translucent-dark: rgba($white, .15) !default;
104104
$headings-color-dark: inherit !default;
105105
$link-color-dark: tint-color($primary, 40%) !default;
106106
$link-hover-color-dark: shift-color($link-color-dark, -$link-shade-percentage) !default;

scss/_variables.scss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1642,11 +1642,11 @@ $callout-padding-y: $spacer !default;
16421642
$callout-padding-x: $spacer !default;
16431643
$callout-margin-y: $spacer !default;
16441644
$callout-margin-x: 0 !default;
1645-
$callout-border-radius: $border-radius !default;
1646-
$callout-border-width: $border-width !default;
1647-
$callout-border-color: $border-color !default;
1648-
$callout-border-left-width: (4 * $callout-border-width) !default;
1649-
1645+
$callout-border-radius: var(--#{$prefix}border-radius) !default;
1646+
$callout-border-width: var(--#{$prefix}border-width) !default;
1647+
$callout-border-color: var(--#{$prefix}border-color) !default;
1648+
$callout-border-left-width: calc($callout-border-width * 4) !default; // stylelint-disable-line function-disallowed-list
1649+
16501650
$callout-variants: (
16511651
"primary": $primary,
16521652
"secondary": $secondary,

0 commit comments

Comments
 (0)