-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
ug.rp
committed
Apr 21, 2024
1 parent
6379ce4
commit bf5711c
Showing
6 changed files
with
48 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
const prefersDark = window.matchMedia('(prefers-color-scheme: dark)').matches | ||
const THEMES = ['classic', 'jellybeans', 'minimal', 'hash'] | ||
const COLOR_SCHEMES = ['os', 'light', 'dark'] | ||
const prefersDark = window.matchMedia('(prefers-color-scheme: dark)').matches | ||
const UI_STATES = { | ||
Close: 'close', | ||
Dock: 'dock', | ||
Minimize: 'minimize', | ||
Fullscreen: 'fullscreen', | ||
} | ||
|
||
export {THEMES, COLOR_SCHEMES, prefersDark} | ||
export {UI_STATES, THEMES, COLOR_SCHEMES, prefersDark} |