Skip to content

Commit f475e54

Browse files
committed
refactor: migrate @import's to @forwards's and @use's
1 parent 5f3ca93 commit f475e54

File tree

154 files changed

+1001
-619
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

154 files changed

+1001
-619
lines changed

scss/_accordion.import.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@forward "accordion";

scss/_accordion.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
@use "variables" as *;
2+
@use "variables-dark" as *;
3+
@use "functions/escape-svg" as *;
4+
@use "mixins/border-radius" as *;
5+
@use "mixins/color-mode" as *;
6+
@use "mixins/ltr-rtl" as *;
7+
@use "mixins/transition" as *;
8+
@use "vendor/rfs" as *;
9+
110
//
211
// Base styles
312
//

scss/_alert.import.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@forward "alert";

scss/_alert.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
@use "variables" as *;
2+
@use "mixins/border-radius" as *;
3+
@use "mixins/ltr-rtl" as *;
4+
15
//
26
// Base styles
37
//

scss/_avatar.import.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@forward "avatar";

scss/_avatar.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
@use "variables" as *;
2+
@use "mixins/border-radius" as *;
3+
@use "mixins/ltr-rtl" as *;
4+
@use "mixins/transition" as *;
5+
16
.avatar {
27
// scss-docs-start avatar-css-vars
38
--#{$prefix}avatar-width: #{$avatar-width};

scss/_badge.import.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@forward "badge";

scss/_badge.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
@use "variables" as *;
2+
@use "mixins/gradients" as *;
3+
@use "vendor/rfs" as *;
4+
15
// Base class
26
//
37
// Requires one of the contextual, color modifier classes for `color` and

scss/_banner.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
$file: "" !default;
2+
3+
/*!
4+
* CoreUI #{$file} v5.2.0 (https://coreui.io)
5+
* Copyright (c) 2024 creativeLabs Łukasz Holeczek
6+
* Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
7+
*/

scss/_breadcrumb.import.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@forward "breadcrumb";

0 commit comments

Comments
 (0)