File tree Expand file tree Collapse file tree 6 files changed +10
-69
lines changed
Expand file tree Collapse file tree 6 files changed +10
-69
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ M.extras = {
2626 kitty = { ext = " conf" , url = " https://sw.kovidgoyal.net/kitty/conf.html" , label = " Kitty" },
2727 lazygit = { ext = " yml" , url = " https://github.com/jesseduffield/lazygit" , label = " Lazygit" },
2828 lua = { ext = " lua" , url = " https://www.lua.org" , label = " Lua Table for testing" },
29- monkeytype = { ext = " css " , url = " https://monkeytype.com" , label = " MonkeyType" },
29+ monkeytype = { ext = " md " , url = " https://monkeytype.com" , label = " MonkeyType" },
3030 prism = { ext = " js" , url = " https://prismjs.com" , label = " Prism" },
3131 process_compose = { ext = " yaml" , url = " https://f1bonacc1.github.io/process-compose/" , label = " process-compose" },
3232 slack = {ext = " txt" , url = " https://slack.com" , label = " Slack" },
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ local M = {}
66function M .generate (colors )
77 -- build the color palette
88 local monkeytype_colors = {
9+ name = colors ._style_name ,
910 bg = colors .ui .base ,
1011 main = colors .ui .accent ,
1112 caret = colors .ui .text ,
@@ -34,10 +35,13 @@ function M.generate(colors)
3435 })
3536 return util .template (
3637 [=[
37- /* ${_style_name} MonkeyType Colors */
38- /* Apply the theme easily with the link below
39- * https://monkeytype.com?customTheme=${encoded}
40- */
38+ # ${name} MonkeyType Theme
39+
40+ [Click here to apply ${name} in MonkeyType](https://monkeytype.com?customTheme=${encoded})
41+
42+ Here is the CSS that gets applied when clicking the link above:
43+
44+ ```css
4145:root {
4246 --bg-color: ${bg};
4347 --main-color: ${main};
@@ -50,6 +54,7 @@ function M.generate(colors)
5054 --colorful-error-color: ${colorful_error};
5155 --colorful-error-extra-color: ${colorful_error_extra};
5256 }
57+ ```
5358]=] ,
5459 monkeytype_colors
5560 )
You can’t perform that action at this time.
0 commit comments