From bc7389bc99b2051910ab9117683cdc73e8d26f4c Mon Sep 17 00:00:00 2001 From: astrid <git@astrid.email> Date: Sat, 24 Aug 2024 00:29:06 +0200 Subject: [PATCH] types --- src/themes/dark.ts | 4 ++-- src/themes/light.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/themes/dark.ts b/src/themes/dark.ts index a0d8097..a423f34 100644 --- a/src/themes/dark.ts +++ b/src/themes/dark.ts @@ -1,6 +1,6 @@ import type { Theme } from 'themes'; -export const darkTheme: Theme = { +export const darkTheme = { primary: Color3.fromRGB(250, 250, 250), primary60: Color3.fromRGB(160, 160, 161), background: Color3.fromRGB(24, 26, 27), @@ -9,4 +9,4 @@ export const darkTheme: Theme = { accent: Color3.fromRGB(67, 147, 228), font: Enum.Font.Arial, fontBold: Enum.Font.ArialBold, -}; +} as const satisfies Theme; diff --git a/src/themes/light.ts b/src/themes/light.ts index fb9229d..89b3a63 100644 --- a/src/themes/light.ts +++ b/src/themes/light.ts @@ -1,6 +1,6 @@ import type { Theme } from 'themes'; -export const lightTheme: Theme = { +export const lightTheme = { primary: Color3.fromRGB(19, 20, 20), primary60: Color3.fromRGB(113, 114, 114), background: Color3.fromRGB(255, 255, 255), @@ -9,4 +9,4 @@ export const lightTheme: Theme = { accent: Color3.fromRGB(67, 147, 228), font: Enum.Font.Arial, fontBold: Enum.Font.ArialBold, -}; +} as const satisfies Theme;