diff options
| author | Armand Philippot <git@armandphilippot.com> | 2023-09-27 15:40:16 +0200 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2023-10-24 12:25:00 +0200 |
| commit | ba793e043e4d8515b1a9ea490ee2c5f92b1fd6c2 (patch) | |
| tree | f7240a681fb3ee8c886a0c9ec3944082ba2d89bd /src/components/atoms/layout/section.module.scss | |
| parent | 388e687857345c85ee550cd5da472675e05a6ff5 (diff) | |
refactor(components): rewrite Section component
* Make it compliant with ESlint rules
* Remove mandatory heading, it now depends on the consumer
* Change defaults for hasBorder and variant
Diffstat (limited to 'src/components/atoms/layout/section.module.scss')
| -rw-r--r-- | src/components/atoms/layout/section.module.scss | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/components/atoms/layout/section.module.scss b/src/components/atoms/layout/section.module.scss deleted file mode 100644 index 8a33848..0000000 --- a/src/components/atoms/layout/section.module.scss +++ /dev/null @@ -1,25 +0,0 @@ -@use "../../../styles/abstracts/functions" as fun; -@use "../../../styles/abstracts/placeholders"; - -.wrapper { - @extend %grid; - - 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); - } -} - -.body, -.title { - grid-column: 2; -} |
