From 50d37beeb51c95aaead8b3ef2c946189a066486e Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Fri, 17 Dec 2021 23:29:10 +0100 Subject: chore: create mutation to add a new comment on posts --- src/components/Notice/Notice.module.scss | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/components/Notice/Notice.module.scss (limited to 'src/components/Notice/Notice.module.scss') diff --git a/src/components/Notice/Notice.module.scss b/src/components/Notice/Notice.module.scss new file mode 100644 index 0000000..deae4e4 --- /dev/null +++ b/src/components/Notice/Notice.module.scss @@ -0,0 +1,28 @@ +@use "@styles/abstracts/functions" as fun; + +.message { + border: fun.convert-px(2) solid; + font-weight: bold; + margin: var(--spacing-sm) auto; + padding: var(--spacing-2xs) var(--spacing-xs); + + &--error { + border-color: var(--color-error); + color: var(--color-error); + } + + &--info { + border-color: var(--color-info); + color: var(--color-info); + } + + &--success { + border-color: var(--color-success); + color: var(--color-success); + } + + &--warning { + border-color: var(--color-warning); + color: var(--color-warning); + } +} -- cgit v1.2.3