Skip to content

Commit

Permalink
Fix dark mode text color in the docs page, thanks @ad1992.
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 2946e22024f46d1c5ed35d07c2daed201b2d7b43
  • Loading branch information
cpojer committed May 30, 2024
1 parent c1f4b30 commit 17c7727
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/content/playground/ClientScope.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import AudioPlayer from '@deities/ui/AudioPlayer.tsx';
import setupGamePad from '@deities/ui/controls/setupGamePad.tsx';
import setupKeyboard from '@deities/ui/controls/setupKeyboard.tsx';
import { getScopedCSSDefinitions } from '@deities/ui/CSS.tsx';
import { initializeCSSVariables } from '@deities/ui/cssVar.tsx';
import { applyVar, initializeCSSVariables } from '@deities/ui/cssVar.tsx';
import { AlertContext } from '@deities/ui/hooks/useAlert.tsx';
import { ScaleContext } from '@deities/ui/hooks/useScale.tsx';
import { setDefaultPortalContainer } from '@deities/ui/Portal.tsx';
Expand All @@ -25,6 +25,7 @@ initFbt({
const clientScopeStyle = css`
all: initial;
color: ${applyVar('text-color')};
font-family: Athena, ui-sans-serif, system-ui, sans-serif;
font-size: 20px;
font-weight: normal;
Expand Down

0 comments on commit 17c7727

Please sign in to comment.