opencode-quotes-plugin 1.0.1 → 1.1.1

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 (3) hide show
  1. package/README.md +11 -5
  2. package/package.json +1 -1
  3. package/tui.tsx +1 -1
package/README.md CHANGED
@@ -1,13 +1,19 @@
1
1
  # opencode-quotes-plugin
2
2
 
3
- A motivational quotes plugin for OpenCode
3
+ A motivational quotes plugin for OpenCode.
4
+
5
+ <p align="center">
6
+ <img src="https://raw.githubusercontent.com/aerovato/opencode-quotes-plugin/main/.github/README/quote.png" alt="Quote">
7
+ </p>
4
8
 
5
9
  ## Installation
6
10
 
7
- 1. In OpenCode, press control + P to bring up the command prompt
8
- 2. Search and select "Install Plugin"
9
- 3. Enter `opencode-quotes-plugin`
10
- 4. Restart OpenCode
11
+ Run:
12
+ ```bash
13
+ opencode plugin opencode-quotes-plugin -g
14
+ ```
15
+
16
+ This will install the plugin globally.
11
17
 
12
18
  ## Usage
13
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-quotes-plugin",
3
- "version": "1.0.1",
3
+ "version": "1.1.1",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./tui": {
package/tui.tsx CHANGED
@@ -31,7 +31,7 @@ function Tips(props: { theme: TuiThemeCurrent }) {
31
31
 
32
32
  function View(props: { show: boolean; theme: TuiThemeCurrent }) {
33
33
  return (
34
- <box minHeight={0} width="100%" maxWidth={75} alignItems="center" paddingTop={2} flexShrink={1}>
34
+ <box minHeight={0} width="100%" maxWidth={75} alignItems="center" paddingY={2} flexShrink={1}>
35
35
  <Show when={props.show}>
36
36
  <Tips theme={props.theme} />
37
37
  </Show>