aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/atoms/layout/section/section.module.scss
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/atoms/layout/section/section.module.scss')
-rw-r--r--src/components/atoms/layout/section/section.module.scss25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/components/atoms/layout/section/section.module.scss b/src/components/atoms/layout/section/section.module.scss
new file mode 100644
index 0000000..771b8e3
--- /dev/null
+++ b/src/components/atoms/layout/section/section.module.scss
@@ -0,0 +1,25 @@
+@use "../../../../styles/abstracts/functions" as fun;
+@use "../../../../styles/abstracts/placeholders";
+
+.wrapper {
+ @extend %grid;
+
+ row-gap: var(--spacing-sm);
+ padding: var(--spacing-md) 0;
+
+ &--borders {
+ border-bottom: fun.convert-px(1) solid var(--color-border);
+ }
+
+ &--dark {
+ background: var(--color-bg-secondary);
+ }
+
+ &--light {
+ background: var(--color-bg);
+ }
+
+ > * {
+ grid-column: 2;
+ }
+}