-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
81 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
require'kanagawa'.setup({ | ||
undercurl = true, | ||
commentStyle = { italic = true }, | ||
functionStyle = {}, | ||
keywordStyle = { italic = true }, | ||
statementStyle = { bold = true }, | ||
transparent = true, | ||
theme = "dragon", | ||
colors = { | ||
theme = { | ||
all = { | ||
ui = { | ||
bg_gutter = "none", | ||
}, | ||
}, | ||
}, | ||
}, | ||
}) | ||
|
||
vim.cmd('colorscheme kanagawa') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/bin/sh | ||
|
||
codes="code" | ||
|
||
style_file="/Applications/Visual\ Studio\ Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.css" | ||
|
||
if [ -f "$style_file" ]; then | ||
favorite="Zed Mono Extended" | ||
|
||
# Change font to monospace. | ||
sed -i "s/\.linux{[^}]\+/.linux{font-family:\"$favorite\",\"Noto Sans Mono\"/" \ | ||
"$style_file" | ||
sed -i "s/\.linux:lang(zh-Hans){[^}]\+/.linux:lang(zh-Hans){font-family:\"$favorite\",\"Noto Sans Mono CJK SC\"/" \ | ||
"$style_file" | ||
sed -i "s/\.linux:lang(zh-Hant){[^}]\+/.linux:lang(zh-Hant){font-family:\"$favorite\",\"Noto Sans Mono CJK TC\"/" \ | ||
"$style_file" | ||
sed -i "s/\.linux:lang(ja){[^}]\+/.linux:lang(ja){font-family:\"$favorite\",\"Noto Sans Mono CJK JP\"/" \ | ||
"$style_file" | ||
sed -i "s/\.linux:lang(ko){[^}]\+/.linux:lang(ko){font-family:\"$favorite\",\"Noto Sans Mono CJK KR\"/" \ | ||
"$style_file" | ||
|
||
# Change font-size to what you want. | ||
sed -i 's/\.monaco-workbench \.part>\.content{[^}]\+/.monaco-workbench .part>.content{font-size:18px/' \ | ||
"$style_file" | ||
fi | ||
|
||
exit 0 |