Skip to content

Commit

Permalink
fix: remove unused Carbon imports and overrides (#984)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonFinney authored Jun 2, 2021
1 parent 3a669b1 commit cfedd14
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 38 deletions.
16 changes: 0 additions & 16 deletions src/__tests__/scss/__snapshots__/SCSS.spec.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -28044,22 +28044,6 @@ a.bx--tabs__nav-link:focus, a.bx--tabs__nav-link:active {
fill: var(--cds-disabled-02, #525252);
}

.bx--tile-group {
box-sizing: border-box;
margin: 0;
padding: 0;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
border: 0;
}

.bx--tile-group *,
.bx--tile-group *::before,
.bx--tile-group *::after {
box-sizing: inherit;
}

.bx--time-picker {
display: flex;
align-items: flex-end;
Expand Down
3 changes: 1 addition & 2 deletions src/components/Breadcrumb/_index.scss
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
////
/// Breadcrumb component.
/// @group breadcrumb
/// @copyright IBM Security 2019 - 2020
/// @copyright IBM Security 2019 - 2021
////

@import '@carbon/themes/scss/tokens';
@import '@carbon/type/scss/styles';
@import 'carbon-components/scss/components/breadcrumb/breadcrumb';

@import 'carbon-components/scss/globals/scss/css--reset';
@import 'carbon-components/scss/globals/scss/vars';

@import '../../globals/namespace/index';
Expand Down
3 changes: 1 addition & 2 deletions src/components/OverflowMenu/_index.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
////
/// Overflow menu component.
/// @group overflow-menu
/// @copyright IBM Security 2019 - 2020
/// @copyright IBM Security 2019 - 2021
////

@import 'carbon-components/scss/globals/scss/css--helpers';
@import 'carbon-components/scss/components/overflow-menu/overflow-menu';
11 changes: 1 addition & 10 deletions src/components/Tile/_index.scss
Original file line number Diff line number Diff line change
@@ -1,16 +1,7 @@
////
/// Tile component.
/// @group tile
/// @copyright IBM Security 2018 - 2020
/// @copyright IBM Security 2018 - 2021
////

@import 'carbon-components/scss/components/tile/tile';

@import 'carbon-components/scss/globals/scss/css--reset';
@import '../../globals/namespace/index';

@include export-namespace($name: tile) {
.#{$prefix}--tile-group {
@include reset;
}
}
8 changes: 0 additions & 8 deletions src/globals/type/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,6 @@
@import '@carbon/type/scss/classes';
@import '@carbon/type/scss/type';

/// `@font-face` declarations.
/// @type boolean
$css--font-face: true !default;

/// IBM Plex.
/// @type boolean
$css--plex: true;

@import 'carbon-components/scss/globals/scss/css--font-face';

@import '../deprecate/index';
Expand Down

0 comments on commit cfedd14

Please sign in to comment.