Skip to content

Commit

Permalink
Update useCycleColor.js
Browse files Browse the repository at this point in the history
Signed-off-by: KIM GYUHO <kyuhokim12@gmail.com>
  • Loading branch information
GyuHo123 authored Apr 12, 2024
1 parent 6599632 commit 92f227b
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 = ['light', 'dark', ...customColors];

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

0 comments on commit 92f227b

Please sign in to comment.