Skip to content

Commit 72e1b6c

Browse files
committed
feat:
- hopefuly runs in prod now
1 parent bf156fc commit 72e1b6c

File tree

3 files changed

+63
-80
lines changed

3 files changed

+63
-80
lines changed

README.md

Lines changed: 25 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -78,54 +78,36 @@ vim.api.nvim_create_autocmd({ "VimEnter" }, {
7878

7979
You can customize everything through VSCode settings:
8080

81-
```json
82-
{
83-
"nvim-ui-plus.enabled": true,
84-
"nvim-ui-plus.uiElements": {
85-
"editorCursor": true,
86-
"inputValidation": true,
87-
"panelTitle": true,
88-
"peekView": true,
89-
"tabs": true,
90-
"activityBar": true,
91-
"titleBar": true,
92-
"statusBar": true,
93-
"editor": true,
94-
"suggestWidget": true,
95-
"lineNumbers": true
96-
},
97-
"nvim-ui-plus.colors": {
98-
"normal": "#94E2D5", // Catppuccin teal
99-
"insert": "#74C7EC", // Catppuccin sapphire
100-
"visual": "#CBA6F7", // Catppuccin mauve
101-
"replace": "#EBA0AC", // Catppuccin maroon
102-
"cmdline": "#FAB387" // Catppuccin peach
103-
}
104-
}
105-
```
106-
107-
### UI Elements You Can Theme
108-
109-
Pick and choose which parts of VSCode should change with your mode:
110-
111-
- `editorCursor`: Your text cursor
112-
- `inputValidation`: Those borders you see in input boxes
113-
- `panelTitle`: Titles in panels like terminal and output
114-
- `peekView`: The peek definition windows
115-
- `tabs`: Your document tabs
116-
- `activityBar`: The sidebar icon bar
117-
- `titleBar`: The window title at the top
118-
- `statusBar`: The info bar at the bottom
119-
- `editor`: Selection highlights border in your code
120-
- `suggestWidget`: Intellisense suggestion popups
121-
- `lineNumbers`: The active line number
81+
<!-- configs -->
82+
83+
| Key | Description | Type | Default |
84+
| ----------------------------------------- | --------------------------------------------------- | --------- | ----------- |
85+
| `nvim-ui-plus.enabled` | Enable Neovim UI+ theming | `boolean` | `true` |
86+
| `nvim-ui-plus.uiElements.editorCursor` | Apply mode color to editor cursor | `boolean` | `true` |
87+
| `nvim-ui-plus.uiElements.inputValidation` | Apply mode color to input validation borders | `boolean` | `true` |
88+
| `nvim-ui-plus.uiElements.panelTitle` | Apply mode color to panel titles | `boolean` | `true` |
89+
| `nvim-ui-plus.uiElements.peekView` | Apply mode color to peek view elements | `boolean` | `true` |
90+
| `nvim-ui-plus.uiElements.tabs` | Apply mode color to tabs | `boolean` | `true` |
91+
| `nvim-ui-plus.uiElements.activityBar` | Apply mode color to activity bar elements | `boolean` | `true` |
92+
| `nvim-ui-plus.uiElements.titleBar` | Apply mode color to title bar | `boolean` | `true` |
93+
| `nvim-ui-plus.uiElements.statusBar` | Apply mode color to status bar elements | `boolean` | `true` |
94+
| `nvim-ui-plus.uiElements.editor` | Apply mode color to editor elements like selections | `boolean` | `true` |
95+
| `nvim-ui-plus.uiElements.suggestWidget` | Apply mode color to suggestion widget | `boolean` | `true` |
96+
| `nvim-ui-plus.uiElements.lineNumbers` | Apply mode color to active line numbers | `boolean` | `true` |
97+
| `nvim-ui-plus.colors.normal` | Color for normal mode (Catppuccin teal) | `string` | `"#94E2D5"` |
98+
| `nvim-ui-plus.colors.insert` | Color for insert mode (Catppuccin sapphire) | `string` | `"#74C7EC"` |
99+
| `nvim-ui-plus.colors.visual` | Color for visual mode (Catppuccin mauve) | `string` | `"#CBA6F7"` |
100+
| `nvim-ui-plus.colors.replace` | Color for replace mode (Catppuccin maroon) | `string` | `"#EBA0AC"` |
101+
| `nvim-ui-plus.colors.cmdline` | Color for command line mode (Catppuccin peach) | `string` | `"#FAB387"` |
102+
103+
<!-- configs -->
122104

123105
### Mode Colors
124106

125107
Set your own colors for each mode (defaults to Catppuccin colors):
126108

127-
<details>
128-
<summary>🎨 Catppuccin Mocha Colors</summary>
109+
#### 🎨 Catppuccin Mocha Colors
110+
129111
<table>
130112
<tr>
131113
<th>Mode</th>
@@ -164,7 +146,6 @@ Set your own colors for each mode (defaults to Catppuccin colors):
164146
<td><img src="assets/mocha_peach.png" width="23"/></td>
165147
</tr>
166148
</table>
167-
</details>
168149

169150
## How It Works
170151

pnpm-lock.yaml

Lines changed: 31 additions & 31 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tsconfig.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
{
22
"compilerOptions": {
3-
"target": "es2017",
4-
"lib": ["esnext"],
5-
"module": "esnext",
6-
"moduleResolution": "node",
3+
"target": "ESNext",
4+
"lib": ["ESNext"],
5+
"module": "ESNext",
6+
"moduleResolution": "bundler",
77
"resolveJsonModule": true,
88
"strict": true,
99
"strictNullChecks": true,
1010
"esModuleInterop": true,
1111
"skipDefaultLibCheck": true,
1212
"skipLibCheck": true
13-
}
13+
},
14+
"include": ["src/**/*"],
15+
"exclude": ["node_modules"]
1416
}

0 commit comments

Comments
 (0)