summaryrefslogtreecommitdiffstats
path: root/src/components/molecules/layout/modal.module.scss
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-04-06 18:40:17 +0200
committerArmand Philippot <git@armandphilippot.com>2022-04-06 18:45:08 +0200
commit47e12259d512e476326e83929efebf036b57f7c1 (patch)
treeff175aa349caf2a3872f78a239d8f35d72affcc5 /src/components/molecules/layout/modal.module.scss
parentdfd816d1891545aa8ead982b57891858f1c82bb4 (diff)
chore: add a Modal component
Diffstat (limited to 'src/components/molecules/layout/modal.module.scss')
-rw-r--r--src/components/molecules/layout/modal.module.scss21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/components/molecules/layout/modal.module.scss b/src/components/molecules/layout/modal.module.scss
new file mode 100644
index 0000000..2fff562
--- /dev/null
+++ b/src/components/molecules/layout/modal.module.scss
@@ -0,0 +1,21 @@
+@use "@styles/abstracts/functions" as fun;
+
+.wrapper {
+ padding: var(--spacing-md);
+ background: var(--color-bg-secondary);
+ border: fun.convert-px(4) solid;
+ border-image: radial-gradient(
+ ellipse at top,
+ var(--color-primary-lighter) 20%,
+ var(--color-primary) 100%
+ )
+ 1;
+ box-shadow: fun.convert-px(2) fun.convert-px(-2) fun.convert-px(3)
+ fun.convert-px(-1) var(--color-shadow-dark);
+}
+
+.icon {
+ --icon-size: #{fun.convert-px(30)};
+
+ margin-right: var(--spacing-2xs);
+}