diff options
| author | Armand Philippot <git@armandphilippot.com> | 2023-09-28 18:19:00 +0200 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2023-10-24 12:25:00 +0200 |
| commit | 3272ac336da52364ace5ed76d8f609d4088ffc06 (patch) | |
| tree | 3bfffa119ddfffce6313def2932824f2719ad4b7 /src/components/atoms/images/logo/logo.module.scss | |
| parent | 837e0e904c40f7b87561c34ca3f49edd5d8d1c52 (diff) | |
refactor(components): make Logo component ESlint compliant
I also renamed the title prop to heading because title already exists
as HTML attribute.
Diffstat (limited to 'src/components/atoms/images/logo/logo.module.scss')
| -rw-r--r-- | src/components/atoms/images/logo/logo.module.scss | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/components/atoms/images/logo/logo.module.scss b/src/components/atoms/images/logo/logo.module.scss new file mode 100644 index 0000000..bd4ee90 --- /dev/null +++ b/src/components/atoms/images/logo/logo.module.scss @@ -0,0 +1,28 @@ +@use "../../../styles/abstracts/functions" as fun; + +.wrapper { + width: var(--logo-size, fun.convert-px(100)); + height: var(--logo-size, fun.convert-px(100)); + max-width: 100%; + max-height: 100%; +} + +.bg-left { + fill: var(--color-primary-light); +} + +.bg-right { + fill: var(--color-primary-dark); +} + +.letter { + fill: var(--color-fg-inverted); + stroke: var(--color-primary-darker); + stroke-width: 5; +} + +.letter-shadow { + fill: var(--color-shadow-darker); + stroke: var(--color-shadow-darker); + stroke-width: 5; +} |
