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.
@@ -14,7 +14,7 @@ export const modernTheme = {
14
14
  statusSomeday: 'magenta',
15
15
  statusDone: 'gray',
16
16
  text: 'white',
17
- textMuted: 'gray',
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;
@@ -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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "floq",
3
- "version": "0.4.0",
3
+ "version": "0.6.0",
4
4
  "description": "Floq - Getting Things Done Task Manager with MS-DOS style themes",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",