Skip to content

Commit 687493a

Browse files
committed
add blog posts , docs etc
1 parent 4499ab0 commit 687493a

12 files changed

+173
-55
lines changed

public/news/nvui.jpeg

105 KB
Loading

public/news/nvui.svg

Lines changed: 0 additions & 19 deletions
This file was deleted.

public/news/nvui.webp

170 KB
Binary file not shown.

public/news/volt.jpeg

189 KB
Loading

public/news/volt.webp

184 KB
Binary file not shown.

src/css/markdown.css

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -448,21 +448,6 @@
448448
@apply text-red;
449449
}
450450

451-
.iframe-container {
452-
position: relative;
453-
width: 100%;
454-
height: 0;
455-
padding-bottom: 56.25%; /* adjust this value to match the aspect ratio of your iframe */
456-
}
457-
458-
.iframe-container iframe {
459-
position: absolute;
460-
top: 0;
461-
left: 0;
462-
width: 100%;
463-
height: 100%;
464-
@apply rounded-lg softShadow;
465-
}
466451

467452
#DocContent img {
468453
@apply rounded-lg;

src/css/style.css

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,3 +85,19 @@ h2 {
8585
img {
8686
@apply animate-fade-in animate-duration-300;
8787
}
88+
89+
.iframe-container {
90+
position: relative;
91+
width: 100%;
92+
height: 0;
93+
padding-bottom: 56.25%; /* adjust this value to match the aspect ratio of your iframe */
94+
}
95+
96+
.iframe-container iframe {
97+
position: absolute;
98+
top: 0;
99+
left: 0;
100+
width: 100%;
101+
height: 100%;
102+
@apply rounded-lg softShadow;
103+
}

src/routes/news/nvui.mdx

Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
export const meta = {
2+
title: "UI plugin v3.0",
3+
desc:
4+
"NvChad's Base46 and UI plugin can now be used by non nvchad users! docs at :h nvui",
5+
cover: "nvui.webp",
6+
order: 3,
7+
}
8+
9+
# NvUI v3.0 ( NvChad's UI + Base46 )
10+
11+
![nvui v3.0](/news/nvui.webp)
12+
13+
## Introduction
14+
15+
NvChad got famous due to its look, which are powered by its Base46 & UI plugin!
16+
17+
- Base46 : Powerful Collection of 68 beautifully crafted themes, extensible and compiled to bytecode
18+
- UI : Collection of various ui's like statusline, tabline, dashbaord, cheatsheet etc
19+
20+
Now Non NvChad users can use both the plugins! check ui repo's readme for more info.
21+
22+
Note: These are changelogs for entire of NvChad.
23+
24+
## Changelog
25+
```lua
26+
## Added
27+
28+
- :h nvui ( docs for ui and base46)
29+
30+
- 3 new modern theme switchers made using volt
31+
- TailwindCSS & CSS Lsp support in cmp
32+
- Improved highlighting of Nvdash
33+
- Minimal colorizer module
34+
- MasonInstallAll will now pull mason tools from user config
35+
- Base46 mixing colors syntax
36+
- New plugins : Volt, Minty, Menu
37+
38+
## Changed
39+
40+
- Nvdash button config has been improved
41+
42+
## Removed
43+
44+
- Nvim-colorizer plugin
45+
- Default gitsigns mappings
46+
47+
```
48+
<br/>
49+
50+
51+
## Docs for nvui
52+
53+
- Proper and complete docs for both have been added at `:h nvui`
54+
- I urge all NvChad users to read it! same with non nvchad users when they install ui+base46.
55+
56+
## Theme switchers
57+
58+
- With 3 different styles : bordered, compact, flat
59+
- read `:h nvui.theme-picker`
60+
61+
![image](https://github.com/user-attachments/assets/897e46f1-9ae2-4cc2-8fa2-64eff40a90dd)
62+
63+
## TailwindCSS & CSS Lsp in Cmp
64+
65+
- Read `:h nvui.cmp` to enable it
66+
- The support was added as it was easy ([barely 20 ~ LOC](https://github.com/NvChad/ui/blob/v3.0/lua/nvchad/cmp/format.lua))
67+
68+
![image](https://github.com/user-attachments/assets/c44e405b-f0f1-4c56-ae58-85c49b9616a0)
69+
![image](https://github.com/user-attachments/assets/57e88886-7c95-4e77-a252-2021160cd274)
70+
71+
## Improved Nvdash UI
72+
73+
![nvdash](https://github.com/user-attachments/assets/0c7e2c8f-8940-42ea-9c18-7456768d2d05)
74+
75+
Note: Nvdash config has been moved to the root table instead of UI
76+
77+
```lua
78+
--Before :
79+
80+
M.ui = {
81+
nvdash = { ... }
82+
}
83+
84+
-- Now:
85+
M.nvdash = { ... }
86+
```
87+
<br/>
88+
Check the syntax of buttons in [nvconfig file](https://github.com/NvChad/ui/blob/v3.0/lua/nvconfig.lua#L61)
89+
90+
91+
## Automatic Mason installation
92+
93+
- MasonInstallAll command will now capture all the mason tools from your config
94+
- Supported plugins are : lspconfig, nvim-lint, conform.nvim
95+
96+
- So for example if you have lspconfig like this :
97+
98+
```lua
99+
require("lspconfig").html.setup{}
100+
require("lspconfig").clangd.setup{}
101+
```
102+
<br/>
103+
104+
Then running MasonInstallAll will install both the mason pkgs
105+
106+
check `:h nvui.mason` for more info
107+
108+
109+
## Volt framework
110+
111+
![volt](/news/volt.webp)
112+
113+
- Plugin to create interactive UI in Neovim, clickable & hoverable!
114+
115+
- This release v3.0 was going to be a huge one as the volt ui framework was being built in this UI plugin itself.
116+
117+
- But for the greater good I decided it to be a standalone plugin and all its helper plugins are standalone plugins.
118+
119+
- So All Neovim users will benefit from it and they're general plugins now!
120+
121+
- Check the [blog post](/news/volt) showcasing volt framework and its plugins.

src/routes/news/plugins_go_general.mdx

Lines changed: 0 additions & 19 deletions
This file was deleted.

src/routes/news/v2.0_release.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export const meta = {
22
title: "NvChad v2.0 released!",
33
desc:
4-
"New UI features & using lazy.nvim. Improvements in startuptime, using base46 theme plugin as theme compiler",
4+
"New UI features & using lazy.nvim. Improvements in startuptime, using base46 theme compiler",
55
cover: "v2.0.webp",
66
order: 1,
77
}

src/routes/news/v2.5_release.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export const meta = {
22
title: "NvChad v2.5 released!",
3-
desc: 'Minor NvChad release with standard neovim config structure, new 11 themes, UI Term module replacing nvterm.',
3+
desc: 'Minor NvChad release with standard neovim config structure, new themes & term module.',
44
cover: "v2.5.webp",
55
order: 2,
66
}

src/routes/news/volt.mdx

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
export const meta = {
2+
title: "Volt framework",
3+
desc: "Build Interactive UI for Neovim using the Volt framework! 100% Mouse friendly",
4+
cover: "volt.webp",
5+
order: 4,
6+
}
7+
8+
# Volt UI Framework
9+
10+
![volt plugins](/news/volt.webp)
11+
12+
## Introduction
13+
14+
Volt is a Neovim plugin to create interactive UIs within Neovim!
15+
16+
## Volt Showcase
17+
18+
## Minty
19+
20+
Beautiful color picker tool for Neovim. [repo url](https://github.com/NvChad/minty)
21+
22+
![shades](https://github.com/user-attachments/assets/d499748b-d9c8-4a92-89ba-bfce1814c275)
23+
![huefy](https://github.com/user-attachments/assets/504ba2a1-9d83-492c-9913-f0e159ef9ad8)
24+
25+
<iframe width="560" height="315" src="https://www.youtube.com/embed/NHC4jLoR_zI?si=E9upX0ZWT-c5q7v6" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
26+
27+
## Menu
28+
29+
Extensible menu & sub-menus creator . [repo url](https://github.com/NvChad/menu)
30+
31+
![image](https://github.com/user-attachments/assets/c8402279-b86d-432f-ad11-14a76c887ab1)
32+
![image](https://github.com/user-attachments/assets/d70430e1-74d2-40dd-ba60-0b8919d53af6)
33+
34+
<iframe width="560" height="315" src="https://www.youtube.com/embed/VauET3tR2J4?si=cT1BTkgXweBTNZWW" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>

0 commit comments

Comments
 (0)