From 02cd875da7e3a1a7aa89ecae61f19a43bf954302 Mon Sep 17 00:00:00 2001
From: alexisben <alex@noesya.coop>
Date: Wed, 17 Apr 2024 16:23:34 +0200
Subject: [PATCH] use css variable colors

---
 assets/sass/_theme/design-system/notes.sass | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/assets/sass/_theme/design-system/notes.sass b/assets/sass/_theme/design-system/notes.sass
index ae941bc0..41be21a4 100644
--- a/assets/sass/_theme/design-system/notes.sass
+++ b/assets/sass/_theme/design-system/notes.sass
@@ -1,9 +1,8 @@
 .note
-    margin-left: pxToRem($space-unit)
     display: inline-block
     &__call
         @include meta
-        background: $color-background-alt
+        background: var(--color-background-alt)
         border-radius: 4px
         cursor: pointer
         display: inline
@@ -17,8 +16,8 @@
         text-align: center
         user-select: none
     &__content
-        background: $color-text
-        color: $color-background
+        background: var(--color-text)
+        color: var(--color-background)
         display: none
         max-width: 100vw
         padding: $spacing-3
@@ -28,8 +27,8 @@
         @include small
     &--active
         .note__call
-            background: $color-text
-            color: $color-background
+            background: var(--color-text)
+            color: var(--color-background)
             border-bottom-left-radius: 0
             border-bottom-right-radius: 0
         .note__content
-- 
GitLab