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.
- package/README.md +11 -5
- package/package.json +1 -1
- 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
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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
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"
|
|
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>
|