forked from VOICEVOX/voicevox
-
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.
Add: Storybookにテーマが適用されるように (VOICEVOX#2299)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Hiroshiba Kazuyuki <[email protected]>
- Loading branch information
1 parent
ce0a0ae
commit b0d8c2e
Showing
15 changed files
with
95 additions
and
82 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,41 @@ | ||
import { ThemeConf } from "@/type/preload"; | ||
|
||
const light = { | ||
name: "Default", | ||
displayName: "デフォルト", | ||
order: 1, | ||
isDark: false, | ||
colors: { | ||
primary: "#A5D4AD", | ||
display: "#121212", | ||
"display-on-primary": "#121212", | ||
"display-hyperlink": "#0969DA", | ||
background: "#FFFFFF", | ||
surface: "#EEEEEE", | ||
warning: "#C10015", | ||
"text-splitter-hover": "#CCDDFF", | ||
"active-point-focus": "#E0EAFF", | ||
"active-point-hover": "#EEF3FF", | ||
}, | ||
} as const satisfies ThemeConf; | ||
|
||
const dark = { | ||
name: "Dark", | ||
displayName: "ダーク", | ||
order: 2, | ||
isDark: true, | ||
colors: { | ||
primary: "#86C591", | ||
display: "#E1E1E1", | ||
"display-on-primary": "#1F1F1F", | ||
"display-hyperlink": "#58A6FF", | ||
background: "#1F1F1F", | ||
surface: "#2B2B2B", | ||
warning: "#F27483", | ||
"text-splitter-hover": "#394152", | ||
"active-point-focus": "#292F38", | ||
"active-point-hover": "#272A2F", | ||
}, | ||
} as const satisfies ThemeConf; | ||
|
||
export const themes = [light, dark]; |
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
Binary file modified
BIN
+8.32 KB
(140%)
...pec.mts-snapshots/components-base-basedocumentview--default-storybook-win32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+6.8 KB
(120%)
...ponents-dialog-settingdialog-filenametemplatedialog--opened-storybook-win32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+4.84 KB
(120%)
...napshots/components-dialog-updatenotificationdialog--opened-storybook-win32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.