summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorOliver <oliver@mohlin.dev>2025-03-04 09:28:36 +0100
committerMarkus Pettersson <markus.pettersson@mullvad.net>2025-03-10 09:11:11 +0100
commitc3657b83d9e9820675b8fce0ad86d00af718a491 (patch)
tree80dba3c25e8b4ad1b6bb5e34c832d4f5edd39b61
parent58d1dd41bcfd35f60267c45b183917cd0fc74034 (diff)
downloadmullvadvpn-c3657b83d9e9820675b8fce0ad86d00af718a491.tar.xz
mullvadvpn-c3657b83d9e9820675b8fce0ad86d00af718a491.zip
Rename variable containing spacing primitives
-rw-r--r--desktop/packages/mullvad-vpn/src/renderer/lib/components/theme/Theme.tsx4
-rw-r--r--desktop/packages/mullvad-vpn/src/renderer/lib/foundations/variables/spacing-variables.ts2
2 files changed, 3 insertions, 3 deletions
diff --git a/desktop/packages/mullvad-vpn/src/renderer/lib/components/theme/Theme.tsx b/desktop/packages/mullvad-vpn/src/renderer/lib/components/theme/Theme.tsx
index 63c762c4c1..55d0a5106f 100644
--- a/desktop/packages/mullvad-vpn/src/renderer/lib/components/theme/Theme.tsx
+++ b/desktop/packages/mullvad-vpn/src/renderer/lib/components/theme/Theme.tsx
@@ -8,7 +8,7 @@ import {
fontWeights,
lineHeights,
radius,
- spacings,
+ spacingPrimitives,
} from '../../foundations/variables';
type VariablesProps = React.PropsWithChildren<object>;
@@ -17,7 +17,7 @@ const VariablesGlobalStyle = createGlobalStyle`
:root {
${Object.entries({
...colors,
- ...spacings,
+ ...spacingPrimitives,
...radius,
...fontFamilies,
...fontSizes,
diff --git a/desktop/packages/mullvad-vpn/src/renderer/lib/foundations/variables/spacing-variables.ts b/desktop/packages/mullvad-vpn/src/renderer/lib/foundations/variables/spacing-variables.ts
index 7890450c13..c787c0626b 100644
--- a/desktop/packages/mullvad-vpn/src/renderer/lib/foundations/variables/spacing-variables.ts
+++ b/desktop/packages/mullvad-vpn/src/renderer/lib/foundations/variables/spacing-variables.ts
@@ -1,6 +1,6 @@
import { spacingTokens } from '../tokens';
-export const spacings = {
+export const spacingPrimitives = {
'--spc-4': spacingTokens.spc4,
'--spc-8': spacingTokens.spc8,
'--spc-16': spacingTokens.spc16,