Skip to content

Commit

Permalink
docs: prefer "@use" to "@import" in scss
Browse files Browse the repository at this point in the history
  • Loading branch information
davidyuk committed Dec 9, 2024
1 parent 0ef86ea commit 9a551ff
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions examples/browser/aepp/src/styles.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@import '~tailwindcss/dist/base';
@import '~tailwindcss/dist/components';
@import '~tailwindcss/dist/utilities';
@use '~tailwindcss/dist/base';
@use '~tailwindcss/dist/components';
@use '~tailwindcss/dist/utilities';

body {
@extend .p-4;
Expand Down
6 changes: 3 additions & 3 deletions examples/browser/wallet-iframe/src/styles.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@import '~tailwindcss/dist/base';
@import '~tailwindcss/dist/components';
@import '~tailwindcss/dist/utilities';
@use '~tailwindcss/dist/base';
@use '~tailwindcss/dist/components';
@use '~tailwindcss/dist/utilities';

body {
@extend .bg-gray-300;
Expand Down
6 changes: 3 additions & 3 deletions examples/browser/wallet-web-extension/src/styles.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@import '~tailwindcss/dist/base';
@import '~tailwindcss/dist/components';
@import '~tailwindcss/dist/utilities';
@use '~tailwindcss/dist/base';
@use '~tailwindcss/dist/components';
@use '~tailwindcss/dist/utilities';

body {
@extend .p-4;
Expand Down

0 comments on commit 9a551ff

Please sign in to comment.