From 74af29d3a46e2f6e610428bc6c458aa4662da1a9 Mon Sep 17 00:00:00 2001 From: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com> Date: Fri, 6 Sep 2024 17:40:16 +0900 Subject: [PATCH] add missing css variables --- packages/frontend-embed/src/style.scss | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/packages/frontend-embed/src/style.scss b/packages/frontend-embed/src/style.scss index 7a0063a75c..63efe4fa5d 100644 --- a/packages/frontend-embed/src/style.scss +++ b/packages/frontend-embed/src/style.scss @@ -6,6 +6,18 @@ * SPDX-License-Identifier: AGPL-3.0-only */ +:root { + --radius: 12px; + --marginFull: 16px; + --marginHalf: 10px; + + --margin: var(--marginFull); + + @media (max-width: 500px) { + --margin: var(--marginHalf); + } +} + html { background-color: transparent; color-scheme: light dark;