qrlkit 0.10.3 → 0.11.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.
Files changed (2) hide show
  1. package/README.md +93 -3
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -113,9 +113,9 @@ cargo install --path .
113
113
  ## Version 1 Roadmap
114
114
 
115
115
  **Version 1 happens January 2027. Until then expect everything to break.
116
- Current version is 0.5.5 but any minor version can ship with a breaking change until v1.**
116
+ Current version is 0.10.3 but any minor version can ship with a breaking change until v1.**
117
117
 
118
- ### Version 1
118
+ ### Version 1.0.0 goals
119
119
 
120
120
  #### `qrlkit` ####
121
121
 
@@ -175,7 +175,14 @@ Current version is 0.5.5 but any minor version can ship with a breaking change u
175
175
  | `qrlkit set-dirhook <command>` | Choose the directory hook (`--clear` restores changing directory) |
176
176
  | `qrlkit init` | Choose browser, shell, filehook, and dirhook interactively |
177
177
  | `qrlkit init <shell>` | Print the directory wrapper for manual setup |
178
- | `qrlkit nuke` | Reset imports, renames, browser selection, and hooks |
178
+ | `qrlkit nuke` | Reset imports, renames, browser selection, hooks, and theme settings |
179
+ | `qrlkit themes` | List themes with previews |
180
+ | `qrlkit themes current` | Show the global theme and tool policy |
181
+ | `qrlkit themes add <file>` | Import a theme without activating it |
182
+ | `qrlkit themes set [name]` | Set the global theme; omit name for live previews |
183
+ | `qrlkit themes tools <on/off>` | Enable or disable tool themes |
184
+ | `qrlkit themes tools deny <tool>` | Ignore a tool's theme |
185
+ | `qrlkit themes tools reset <tool>` | Remove a tool's theme exclusion |
179
186
  | `qrlkit --help` | Show help |
180
187
 
181
188
  `nuke` keeps your original config files and installed shell integration.
@@ -474,6 +481,89 @@ run = 'printf "Hello, %s!\n" "$NAME"'
474
481
  NAME = "{global.name}"
475
482
  ```
476
483
 
484
+ ## Themes
485
+
486
+ Make the picker fit your terminal.
487
+
488
+ Available themes:
489
+ `terminal` (default), `catppuccin-latte`, `catppuccin-mocha`, `dracula`,
490
+ `gruvbox-dark`, `gruvbox-light`, `nord`, and `tokyo-night`.
491
+
492
+ Preview the themes and choose a global default.
493
+
494
+ ```sh
495
+ qrlkit themes # List themes with previews
496
+ qrlkit themes set # Preview as you navigate; Enter saves, Esc cancels
497
+ qrlkit themes set dracula # Choose directly
498
+ qrlkit themes current # Show your theme and tool policy
499
+ ```
500
+
501
+ Give a tool its own theme in the config.
502
+
503
+ ```toml
504
+ [gh]
505
+ theme = "dracula"
506
+ home = "https://github.com"
507
+ ```
508
+
509
+ Or choose the colors, box and selection marker yourself.
510
+
511
+ ```toml
512
+ [gh]
513
+ home = "https://github.com"
514
+
515
+ [gh.theme]
516
+ background = "#1e1e2e"
517
+ text = "#cdd6f4"
518
+ selected = "#ffffff"
519
+ selected_background = "#45475a"
520
+ hint = "#a6adc8"
521
+ title = "#cba6f7"
522
+ border = "rounded" # none, plain, rounded, or double
523
+ border_color = "#9399b2"
524
+ marker = "--x"
525
+ selection_width = "row" # Or content: highlight only the marker, key and hint
526
+ ```
527
+
528
+ Nested keys keep their parent's theme unless they define their own.
529
+ A new theme replaces the whole thing. Missing values use terminal colors,
530
+ no border, a `>` marker and full-row selection. Themes are never mixed.
531
+ Use `"default"` for a color to restore your terminal's color.
532
+
533
+ Save your own global theme in a separate file with a name inside `[theme]`.
534
+
535
+ ```toml
536
+ # personal-theme.toml
537
+ [theme]
538
+ name = "personal"
539
+ background = "#1e1e2e"
540
+ text = "#cdd6f4"
541
+ selected = "#cba6f7"
542
+ selected_background = "#45475a"
543
+ border = "rounded"
544
+ ```
545
+
546
+ ```sh
547
+ qrlkit themes add personal-theme.toml
548
+ qrlkit themes set personal
549
+ ```
550
+
551
+ Importing saves a copy and adds it to the list.
552
+
553
+ Tool themes are on by default. Turn them off to use your global theme everywhere,
554
+ or exclude a single tool and all its nested keys.
555
+
556
+ ```sh
557
+ qrlkit themes tools off # Use your global theme everywhere
558
+ qrlkit themes tools on # Use tool themes where defined
559
+ qrlkit themes tools deny gh # Use your global theme for gh
560
+ qrlkit themes tools reset gh # Remove gh's exclusion
561
+ ```
562
+
563
+ Tools without a theme use your global default. Exclusions survive off/on toggles.
564
+ `qrlkit nuke` resets the theme to `terminal`, enables tool themes and removes
565
+ exclusions and imported themes.
566
+
477
567
  ## Contributing
478
568
 
479
569
  Contributions are welcome!
package/package.json CHANGED
@@ -9,10 +9,10 @@
9
9
  "README.md"
10
10
  ],
11
11
  "optionalDependencies": {
12
- "qrlkit-darwin-arm64": "0.10.3",
13
- "qrlkit-darwin-x64": "0.10.3",
14
- "qrlkit-linux-arm64": "0.10.3",
15
- "qrlkit-linux-x64": "0.10.3"
12
+ "qrlkit-darwin-arm64": "0.11.0",
13
+ "qrlkit-darwin-x64": "0.11.0",
14
+ "qrlkit-linux-arm64": "0.11.0",
15
+ "qrlkit-linux-x64": "0.11.0"
16
16
  },
17
17
  "os": [
18
18
  "linux",
@@ -34,5 +34,5 @@
34
34
  "bugs": {
35
35
  "url": "https://github.com/qrlkit/qrlkit-rs/issues"
36
36
  },
37
- "version": "0.10.3"
37
+ "version": "0.11.0"
38
38
  }