Skip to content

Commit 39d1dcf

Browse files
committed
should be @use not @import
1 parent 1116272 commit 39d1dcf

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
@import './goldenlayout-dark-theme.scss';
1+
@use './goldenlayout-dark-theme.scss' as theme;
22

33
// Exported variables for use in GoldenLayoutThemeExport.js
44
/* stylelint-disable property-no-unknown */
55
:export {
6-
tab-height: $tab-height;
7-
drag-border-width: $drag-border-width;
6+
tab-height: theme.$tab-height;
7+
drag-border-width: theme.$drag-border-width;
88
}

packages/golden-layout/scss/goldenlayout-dark-theme.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
$tab-height: 28px;
44
$drag-border-width: 5px;
5+
56
$close-button-height: 8px;
67
$tab-font-size: 12px;
78

0 commit comments

Comments
 (0)