mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-01-01 09:03:55 -05:00
11 lines
206 B
JavaScript
11 lines
206 B
JavaScript
export const themes = {
|
|
night: 'night',
|
|
default: 'default'
|
|
};
|
|
|
|
export const invertTheme = currentTheme => (
|
|
!currentTheme || currentTheme === themes.default ?
|
|
themes.night :
|
|
themes.default
|
|
);
|