Skip to content

Commit 6ba3c3e

Browse files
committed
chore: clean up Sass imports in recently refactored components
1 parent b5f9e55 commit 6ba3c3e

File tree

4 files changed

+1
-10
lines changed

4 files changed

+1
-10
lines changed

packages/uikit-workshop/src/sass/scss/05-themes/_light-theme.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@
7979
background-color: $pl-color-gray-13 !important;
8080
}
8181

82-
8382
/**
8483
* Typeahead input
8584
*/

packages/uikit-workshop/src/scripts/components/pl-toggle-layout/pl-toggle-layout.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ import { store } from '../../store.js'; // connect to the Redux store.
55
import { updateLayoutMode } from '../../actions/app.js'; // redux actions
66
import { BaseComponent } from '../base-component.js';
77

8-
import './pl-toggle-layout.scss?external';
9-
import styles from './pl-toggle-layout.scss';
10-
118
@define
129
class LayoutToggle extends BaseComponent {
1310
static is = 'pl-toggle-layout';
@@ -40,7 +37,6 @@ class LayoutToggle extends BaseComponent {
4037
layoutMode !== 'vertical' ? 'vertical' : 'horizontal';
4138
return (
4239
<div class="pl-c-toggle-layout">
43-
{this._renderStyles([styles])}
4440
<button
4541
class="pl-c-tools__action pl-c-toggle-layout__action"
4642
title="Switch Layout"

packages/uikit-workshop/src/scripts/components/pl-toggle-theme/pl-toggle-theme.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ import { store } from '../../store.js'; // connect to the Redux store.
55
import { updateThemeMode } from '../../actions/app.js'; // redux actions needed
66
import { BaseComponent } from '../base-component.js';
77

8-
import './pl-toggle-theme.scss?external';
9-
import styles from './pl-toggle-theme.scss';
10-
118
@define
129
class ThemeToggle extends BaseComponent {
1310
static is = 'pl-toggle-theme';
@@ -36,7 +33,7 @@ class ThemeToggle extends BaseComponent {
3633
const toggleThemeMode = this.themeMode !== 'dark' ? 'dark' : 'light';
3734
return (
3835
<div class="pl-c-toggle-theme">
39-
{this._renderStyles([styles])}
36+
{/* {this._renderStyles([styles])} */}
4037
<button
4138
class="pl-c-tools__action pl-c-toggle-theme__action"
4239
title="Switch Theme"

packages/uikit-workshop/src/scripts/components/pl-toggle-theme/pl-toggle-theme.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
@import '../../../sass/scss/core.scss';
2-
@import '{ .pl-c-tools__action, .pl-c-tools__action-text, .pl-c-tools__action-icon } from ../../../sass/scss/04-components/_tools.scss';
32

43
pl-toggle-theme {
54
display: flex;

0 commit comments

Comments
 (0)