Skip to content

Commit 1ec495d

Browse files
Move @use to correct location, Ref: DEV-431
1 parent 774876f commit 1ec495d

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* Fix deprecated workflow that still uses devpackages, fix build DEV-83, DEV-385
44
* Remove mentions of archived devpackages, use theme package.json in unit tests, Ref: DEV-130
55
* Bump axios and browser-sync #260
6+
* Move @use to correct location, Ref: DEV-431
67

78
### 10.0.0rc: 2025-08-22
89

blocks/cta/src/style.scss

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,15 @@
44
*
55
* Replace them with your own styles or remove the file completely.
66
*/
7+
// Import components
8+
@use '../../../sass/components/button';
79

8-
.wp-block-air-light-cta {
9-
// Import components
10-
@use '../../../sass/components/button';
11-
12-
// Import variables
13-
@use '../../../sass/variables/breakpoints';
14-
@use '../../../sass/variables/colors';
15-
@use '../../../sass/variables/typography';
10+
// Import variables
11+
@use '../../../sass/variables/breakpoints';
12+
@use '../../../sass/variables/colors';
13+
@use '../../../sass/variables/typography';
1614

15+
.wp-block-air-light-cta {
1716
// Get colors
1817
@include colors();
1918

0 commit comments

Comments
 (0)