Skip to content

Commit

Permalink
Update useCycleColor.js
Browse files Browse the repository at this point in the history
Signed-off-by: KIM GYUHO <[email protected]>
  • Loading branch information
GyuHo123 authored Apr 12, 2024
1 parent 92f227b commit 00f89f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useCycleColor.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { useColorMode } from 'theme-ui';
import colors from '../gatsby-plugin-theme-ui/colors';

const customColors = Object.keys(colors.modes);
const modes = ['light', 'dark', ...customColors];
const modes = ['dark', ...customColors];

function useCycleColor() {
const [colorMode, setColorMode] = useColorMode();
Expand Down

0 comments on commit 00f89f6

Please sign in to comment.