Skip to content

Commit d97fd56

Browse files
committed
refactor(Subheader): remove component
1 parent 3fddc81 commit d97fd56

File tree

4 files changed

+9
-103
lines changed

4 files changed

+9
-103
lines changed

scss/_root.scss

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -77,13 +77,13 @@
7777
--#{$prefix}tertiary-bg-rgb: #{to-rgb($body-tertiary-bg)};
7878
// scss-docs-end root-body-variables
7979

80-
--#{$prefix}high-emphasis: #{$body-color};
81-
--#{$prefix}medium-emphasis: #{$body-secondary-color};
82-
--#{$prefix}disabled: #{$body-tertiary-color};
80+
// --#{$prefix}high-emphasis: #{$body-color};
81+
// --#{$prefix}medium-emphasis: #{$body-secondary-color};
82+
// --#{$prefix}disabled: #{$body-tertiary-color};
8383

84-
--#{$prefix}high-emphasis-inverse: #{$high-emphasis-inverse};
85-
--#{$prefix}medium-emphasis-inverse: #{$medium-emphasis-inverse};
86-
--#{$prefix}disabled-inverse: #{$disabled-inverse};
84+
// --#{$prefix}high-emphasis-inverse: #{$high-emphasis-inverse};
85+
// --#{$prefix}medium-emphasis-inverse: #{$medium-emphasis-inverse};
86+
// --#{$prefix}disabled-inverse: #{$disabled-inverse};
8787

8888
--#{$prefix}heading-color: #{$headings-color};
8989

@@ -159,9 +159,9 @@
159159
--#{$prefix}tertiary-bg: #{$body-tertiary-bg-dark};
160160
--#{$prefix}tertiary-bg-rgb: #{to-rgb($body-tertiary-bg-dark)};
161161

162-
--#{$prefix}high-emphasis: #{$body-color-dark};
163-
--#{$prefix}medium-emphasis: #{$body-secondary-color-dark};
164-
--#{$prefix}disabled: #{$body-tertiary-color-dark};
162+
// --#{$prefix}high-emphasis: #{$body-color-dark};
163+
// --#{$prefix}medium-emphasis: #{$body-secondary-color-dark};
164+
// --#{$prefix}disabled: #{$body-tertiary-color-dark};
165165

166166
@each $color, $value in $theme-colors-dark {
167167
--#{$prefix}#{$color}: #{$value};

scss/_subheader.scss

Lines changed: 0 additions & 72 deletions
This file was deleted.

scss/_variables.scss

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1751,27 +1751,6 @@ $header-divider-border-width: var(--#{$prefix}border-width) !default;
17511751
$header-divider-border-color: var(--#{$prefix}border-color) !default;
17521752
// scss-docs-end header-variables
17531753

1754-
// Subheader
1755-
// scss-docs-start subheader-variables
1756-
$subheader-min-height: 3rem !default;
1757-
$subheader-padding-y: $spacer * .5 !default;
1758-
$subheader-padding-x: $spacer !default;
1759-
$subheader-border-color: var(--#{$prefix}border-color) !default;
1760-
$subheader-border-width: 1px !default;
1761-
1762-
$subheader-nav-link-padding-x: .5rem !default;
1763-
// scss-docs-end subheader-variables
1764-
1765-
// Default theme //TODO: check
1766-
// scss-docs-start subheader-default-themes
1767-
$subheader-bg: $white !default;
1768-
$subheader-color: var(--#{$prefix}secondary-color) !default;
1769-
$subheader-hover-color: var(--#{$prefix}body-color) !default;
1770-
$subheader-active-color: var(--#{$prefix}body-color) !default;
1771-
$subheader-disabled-color: $disabled !default;
1772-
1773-
// scss-docs-end subheader-default-themes
1774-
17751754

17761755
// Image thumbnails
17771756

scss/coreui.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@
4949
@import "header";
5050
@import "icon";
5151
@import "sidebar";
52-
@import "subheader";
5352

5453
// Helpers
5554
@import "helpers";

0 commit comments

Comments
 (0)