From 860620bface8dc594fb7c8e816113e948453121d Mon Sep 17 00:00:00 2001 From: Ralex <95540504+Ralex91@users.noreply.github.com> Date: Sun, 16 Feb 2025 16:12:37 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20fix:=20prevent=20default=20theme?= =?UTF-8?q?=20from=20overriding=20custom=20themes=20when=20config.customCs?= =?UTF-8?q?s=20is=20null?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/scalar/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scalar/index.ts b/src/scalar/index.ts index 883ea66..1821eef 100644 --- a/src/scalar/index.ts +++ b/src/scalar/index.ts @@ -1,6 +1,6 @@ import { elysiajsTheme } from '@scalar/themes' -import type { OpenAPIV3 } from 'openapi-types' import type { ReferenceConfiguration } from '@scalar/types' +import type { OpenAPIV3 } from 'openapi-types' export const ScalarRender = ( info: OpenAPIV3.InfoObject, @@ -29,7 +29,7 @@ export const ScalarRender = ( }