From 9a551ff3bdda022dc3dc4cd41d19e0a8d6972679 Mon Sep 17 00:00:00 2001 From: Denis Davidyuk Date: Tue, 10 Dec 2024 00:42:48 +0300 Subject: [PATCH] docs: prefer "@use" to "@import" in scss --- examples/browser/aepp/src/styles.scss | 6 +++--- examples/browser/wallet-iframe/src/styles.scss | 6 +++--- examples/browser/wallet-web-extension/src/styles.scss | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/examples/browser/aepp/src/styles.scss b/examples/browser/aepp/src/styles.scss index cf637d480b..92c01f2788 100644 --- a/examples/browser/aepp/src/styles.scss +++ b/examples/browser/aepp/src/styles.scss @@ -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; diff --git a/examples/browser/wallet-iframe/src/styles.scss b/examples/browser/wallet-iframe/src/styles.scss index b949d454ee..9ed2c345e4 100644 --- a/examples/browser/wallet-iframe/src/styles.scss +++ b/examples/browser/wallet-iframe/src/styles.scss @@ -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; diff --git a/examples/browser/wallet-web-extension/src/styles.scss b/examples/browser/wallet-web-extension/src/styles.scss index 32eff37895..9cda6ddc0b 100644 --- a/examples/browser/wallet-web-extension/src/styles.scss +++ b/examples/browser/wallet-web-extension/src/styles.scss @@ -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;