From f75147847ec4adddc854be1ba5450980017bde48 Mon Sep 17 00:00:00 2001 From: Gabriel Lisboa <95422158+gablisb0a@users.noreply.github.com> Date: Wed, 6 Mar 2024 11:07:51 -0300 Subject: [PATCH] feat: general features for global css (#8) --- src/azion-dark/custom/_focus.scss | 3 +++ src/azion-dark/custom/_scrollbehavior.scss | 6 ++++++ src/azion-light/custom/_focus.scss | 3 +++ src/azion-light/custom/_scrollbehavior.scss | 6 ++++++ 4 files changed, 18 insertions(+) create mode 100644 src/azion-dark/custom/_focus.scss create mode 100644 src/azion-dark/custom/_scrollbehavior.scss create mode 100644 src/azion-light/custom/_focus.scss create mode 100644 src/azion-light/custom/_scrollbehavior.scss diff --git a/src/azion-dark/custom/_focus.scss b/src/azion-dark/custom/_focus.scss new file mode 100644 index 0000000..e4fdfd9 --- /dev/null +++ b/src/azion-dark/custom/_focus.scss @@ -0,0 +1,3 @@ +a { + @include focused(); +} diff --git a/src/azion-dark/custom/_scrollbehavior.scss b/src/azion-dark/custom/_scrollbehavior.scss new file mode 100644 index 0000000..cb7579e --- /dev/null +++ b/src/azion-dark/custom/_scrollbehavior.scss @@ -0,0 +1,6 @@ +/** + * Enable smooth scrolling on the whole document + */ + html { + scroll-behavior: smooth; +} \ No newline at end of file diff --git a/src/azion-light/custom/_focus.scss b/src/azion-light/custom/_focus.scss new file mode 100644 index 0000000..e4fdfd9 --- /dev/null +++ b/src/azion-light/custom/_focus.scss @@ -0,0 +1,3 @@ +a { + @include focused(); +} diff --git a/src/azion-light/custom/_scrollbehavior.scss b/src/azion-light/custom/_scrollbehavior.scss new file mode 100644 index 0000000..cb7579e --- /dev/null +++ b/src/azion-light/custom/_scrollbehavior.scss @@ -0,0 +1,6 @@ +/** + * Enable smooth scrolling on the whole document + */ + html { + scroll-behavior: smooth; +} \ No newline at end of file