floq 0.4.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.ja.md +16 -3
- package/README.md +16 -3
- package/dist/cli.js +12 -1
- package/dist/commands/config.d.ts +2 -0
- package/dist/commands/config.js +51 -1
- package/dist/commands/list.js +17 -5
- package/dist/config.d.ts +3 -0
- package/dist/config.js +13 -0
- package/dist/i18n/en.d.ts +13 -0
- package/dist/i18n/en.js +7 -0
- package/dist/i18n/ja.js +7 -0
- package/dist/ui/App.js +39 -20
- package/dist/ui/SplashScreen.d.ts +2 -1
- package/dist/ui/SplashScreen.js +109 -10
- package/dist/ui/components/DQLayout.d.ts +36 -0
- package/dist/ui/components/DQLayout.js +53 -0
- package/dist/ui/components/DQTaskList.d.ts +53 -0
- package/dist/ui/components/DQTaskList.js +48 -0
- package/dist/ui/components/DQWindow.d.ts +19 -0
- package/dist/ui/components/DQWindow.js +33 -0
- package/dist/ui/components/GtdDQ.d.ts +7 -0
- package/dist/ui/components/GtdDQ.js +773 -0
- package/dist/ui/components/HelpModal.js +136 -102
- package/dist/ui/components/KanbanBoard.js +10 -6
- package/dist/ui/components/KanbanColumn.js +53 -1
- package/dist/ui/components/KanbanDQ.d.ts +7 -0
- package/dist/ui/components/KanbanDQ.js +470 -0
- package/dist/ui/components/SearchResults.d.ts +2 -1
- package/dist/ui/components/SearchResults.js +22 -2
- package/dist/ui/components/TitledBox.d.ts +11 -0
- package/dist/ui/components/TitledBox.js +66 -0
- package/dist/ui/theme/themes.d.ts +1 -0
- package/dist/ui/theme/themes.js +43 -1
- package/dist/ui/theme/types.d.ts +3 -1
- package/package.json +1 -1
package/dist/ui/theme/themes.js
CHANGED
|
@@ -14,7 +14,7 @@ export const modernTheme = {
|
|
|
14
14
|
statusSomeday: 'magenta',
|
|
15
15
|
statusDone: 'gray',
|
|
16
16
|
text: 'white',
|
|
17
|
-
textMuted: '
|
|
17
|
+
textMuted: '#999999',
|
|
18
18
|
textSelected: 'cyan',
|
|
19
19
|
textHighlight: 'green',
|
|
20
20
|
fnKeyLabel: 'black',
|
|
@@ -1001,6 +1001,46 @@ export const pc98Theme = {
|
|
|
1001
1001
|
loadingChars: ['●', '○'],
|
|
1002
1002
|
},
|
|
1003
1003
|
};
|
|
1004
|
+
// Dragon Quest - Classic JRPG style with titled boxes
|
|
1005
|
+
export const dragonQuestTheme = {
|
|
1006
|
+
name: 'dragon-quest',
|
|
1007
|
+
displayName: 'Dragon Quest',
|
|
1008
|
+
uiStyle: 'titled-box',
|
|
1009
|
+
colors: {
|
|
1010
|
+
primary: '#ffffff',
|
|
1011
|
+
secondary: '#ffcc00',
|
|
1012
|
+
accent: '#ffcc00',
|
|
1013
|
+
muted: '#666666',
|
|
1014
|
+
border: '#ffffff',
|
|
1015
|
+
borderActive: '#ffcc00',
|
|
1016
|
+
background: '#000080',
|
|
1017
|
+
statusInbox: '#ffffff',
|
|
1018
|
+
statusNext: '#00ff00',
|
|
1019
|
+
statusWaiting: '#ffcc00',
|
|
1020
|
+
statusSomeday: '#00ccff',
|
|
1021
|
+
statusDone: '#888888',
|
|
1022
|
+
text: '#ffffff',
|
|
1023
|
+
textMuted: '#aaaaaa',
|
|
1024
|
+
textSelected: '#ffcc00',
|
|
1025
|
+
textHighlight: '#ffcc00',
|
|
1026
|
+
fnKeyLabel: '#000080',
|
|
1027
|
+
fnKeyText: '#ffffff',
|
|
1028
|
+
},
|
|
1029
|
+
borders: {
|
|
1030
|
+
main: 'round',
|
|
1031
|
+
modal: 'round',
|
|
1032
|
+
list: 'round',
|
|
1033
|
+
},
|
|
1034
|
+
style: {
|
|
1035
|
+
selectedPrefix: '▶ ',
|
|
1036
|
+
unselectedPrefix: ' ',
|
|
1037
|
+
tabActiveInverse: true,
|
|
1038
|
+
tabBrackets: ['「', '」'],
|
|
1039
|
+
headerUppercase: false,
|
|
1040
|
+
showFunctionKeys: false,
|
|
1041
|
+
loadingChars: ['●', '○'],
|
|
1042
|
+
},
|
|
1043
|
+
};
|
|
1004
1044
|
export const themes = {
|
|
1005
1045
|
'modern': modernTheme,
|
|
1006
1046
|
'norton-commander': nortonCommanderTheme,
|
|
@@ -1028,6 +1068,7 @@ export const themes = {
|
|
|
1028
1068
|
'sakura': sakuraTheme,
|
|
1029
1069
|
'msx': msxTheme,
|
|
1030
1070
|
'pc-98': pc98Theme,
|
|
1071
|
+
'dragon-quest': dragonQuestTheme,
|
|
1031
1072
|
};
|
|
1032
1073
|
export const VALID_THEMES = [
|
|
1033
1074
|
'modern',
|
|
@@ -1056,6 +1097,7 @@ export const VALID_THEMES = [
|
|
|
1056
1097
|
'sakura',
|
|
1057
1098
|
'msx',
|
|
1058
1099
|
'pc-98',
|
|
1100
|
+
'dragon-quest',
|
|
1059
1101
|
];
|
|
1060
1102
|
export function getTheme(name) {
|
|
1061
1103
|
return themes[name] || modernTheme;
|
package/dist/ui/theme/types.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export type ThemeName = 'modern' | 'norton-commander' | 'dos-prompt' | 'turbo-pascal' | 'classic-mac' | 'apple-ii' | 'commodore-64' | 'amiga-workbench' | 'matrix' | 'amber-crt' | 'phosphor' | 'solarized-dark' | 'solarized-light' | 'synthwave' | 'paper' | 'coffee' | 'nord' | 'dracula' | 'monokai' | 'gruvbox' | 'tokyo-night' | 'catppuccin' | 'ocean' | 'sakura' | 'msx' | 'pc-98';
|
|
1
|
+
export type ThemeName = 'modern' | 'norton-commander' | 'dos-prompt' | 'turbo-pascal' | 'classic-mac' | 'apple-ii' | 'commodore-64' | 'amiga-workbench' | 'matrix' | 'amber-crt' | 'phosphor' | 'solarized-dark' | 'solarized-light' | 'synthwave' | 'paper' | 'coffee' | 'nord' | 'dracula' | 'monokai' | 'gruvbox' | 'tokyo-night' | 'catppuccin' | 'ocean' | 'sakura' | 'msx' | 'pc-98' | 'dragon-quest';
|
|
2
2
|
export type BorderStyleType = 'single' | 'double' | 'round' | 'bold' | 'singleDouble' | 'doubleSingle' | 'classic';
|
|
3
|
+
export type UIStyleType = 'default' | 'titled-box';
|
|
3
4
|
export interface ThemeColors {
|
|
4
5
|
primary: string;
|
|
5
6
|
secondary: string;
|
|
@@ -40,4 +41,5 @@ export interface Theme {
|
|
|
40
41
|
colors: ThemeColors;
|
|
41
42
|
borders: ThemeBorders;
|
|
42
43
|
style: ThemeStyle;
|
|
44
|
+
uiStyle?: UIStyleType;
|
|
43
45
|
}
|