Skip to content

Commit

Permalink
Merge pull request #302 from projekt0n/update-color-primitives
Browse files Browse the repository at this point in the history
Update color primitives
  • Loading branch information
ful1e5 authored Nov 26, 2023
2 parents f2de78a + 3a1a2b7 commit 22aa067
Show file tree
Hide file tree
Showing 11 changed files with 69 additions and 33 deletions.
36 changes: 20 additions & 16 deletions lua/github-theme/palette/primitives/dark.lua
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ local M = vim.json.decode(
"numBg": "rgba(56,139,253,0.4)"
},
"expander": {
"icon": "#7d8590"
"icon": "#848d97"
},
"selectedLineHighlightMixBlendMode": "screen"
},
Expand Down Expand Up @@ -78,7 +78,7 @@ local M = vim.json.decode(
"guttersBg": "#0d1117",
"guttermarkerText": "#0d1117",
"guttermarkerSubtleText": "#6e7681",
"linenumberText": "#7d8590",
"linenumberText": "#848d97",
"cursor": "#e6edf3",
"selectionBg": "rgba(56,139,253,0.4)",
"activelineBg": "rgba(110,118,129,0.1)",
Expand All @@ -100,12 +100,12 @@ local M = vim.json.decode(
"runBorderWidth": "1px",
"containerBorderWidth": "1px",
"textPrimary": "#e6edf3",
"textSecondary": "#7d8590",
"textSecondary": "#848d97",
"textLink": "#2f81f7",
"btnIcon": "#7d8590",
"btnIcon": "#848d97",
"btnHoverIcon": "#e6edf3",
"btnHoverBg": "rgba(110,118,129,0.1)",
"inputText": "#7d8590",
"inputText": "#848d97",
"inputPlaceholderText": "#6e7681",
"inputFocusText": "#e6edf3",
"inputBg": "#161b22",
Expand All @@ -123,11 +123,11 @@ local M = vim.json.decode(
"dropdownBtnHoverText": "#e6edf3",
"dropdownBtnHoverBg": "rgba(110,118,129,0.1)",
"scrollbarThumbBg": "rgba(110,118,129,0.4)",
"headerLabelText": "#7d8590",
"headerLabelText": "#848d97",
"headerLabelOpenText": "#e6edf3",
"headerBorder": "#21262d",
"headerIcon": "#7d8590",
"lineText": "#7d8590",
"headerIcon": "#848d97",
"lineText": "#848d97",
"lineNumText": "#6e7681",
"lineTimestampText": "#6e7681",
"lineHoverBg": "rgba(110,118,129,0.1)",
Expand All @@ -136,18 +136,18 @@ local M = vim.json.decode(
"lineDtFmText": "#ffffff",
"lineDtFmBg": "#9e6a03",
"gateBg": "rgba(187,128,9,0.15)",
"gateText": "#7d8590",
"gateText": "#848d97",
"gateWaitingText": "#d29922",
"stepHeaderOpenBg": "#161b22",
"stepErrorText": "#f85149",
"stepWarningText": "#d29922",
"loglineText": "#7d8590",
"loglineText": "#848d97",
"loglineNumText": "#6e7681",
"loglineDebugText": "#a371f7",
"loglineErrorText": "#7d8590",
"loglineErrorText": "#848d97",
"loglineErrorNumText": "#6e7681",
"loglineErrorBg": "rgba(248,81,73,0.1)",
"loglineWarningText": "#7d8590",
"loglineWarningText": "#848d97",
"loglineWarningNumText": "#d29922",
"loglineWarningBg": "rgba(187,128,9,0.15)",
"loglineCommandText": "#2f81f7",
Expand Down Expand Up @@ -326,6 +326,10 @@ local M = vim.json.decode(
"counterFg": "#f85149",
"disabledCounterFg": "rgba(248,81,73,0.5)",
"hoverCounterFg": "#ffffff"
},
"inactive": {
"bg": "#21262d",
"text": "#8b949e"
}
},
"underlinenav": {
Expand All @@ -352,7 +356,7 @@ local M = vim.json.decode(
"hoverBg": "hsla(215,8%,72%,0.1)",
"activeBg": "rgba(110,118,129,0.4)",
"disabledBg": "#21262d",
"fg": "#7d8590",
"fg": "#848d97",
"disabledFg": "#010409",
"border": "rgba(0,0,0,0)",
"checked": {
Expand Down Expand Up @@ -394,12 +398,12 @@ local M = vim.json.decode(
"hoverBg": "rgba(177,186,196,0.12)"
},
"directory": {
"fill": "#7d8590"
"fill": "#848d97"
}
},
"fg": {
"default": "#e6edf3",
"muted": "#7d8590",
"muted": "#848d97",
"subtle": "#6e7681",
"onEmphasis": "#ffffff"
},
Expand Down Expand Up @@ -613,7 +617,7 @@ local M = vim.json.decode(
{ luanil = { object = false, array = false } }
)
M._VERSION =
vim.json.decode([=["7.13.1"]=], { luanil = { object = false, array = false } })
vim.json.decode([=["7.15.4"]=], { luanil = { object = false, array = false } })
M._LICENSE = [=[
The MIT License (MIT)
Expand Down
6 changes: 5 additions & 1 deletion lua/github-theme/palette/primitives/dark_colorblind.lua
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,10 @@ local M = vim.json.decode(
"counterFg": "#d47616",
"disabledCounterFg": "rgba(212,118,22,0.5)",
"hoverCounterFg": "#ffffff"
},
"inactive": {
"bg": "#21262d",
"text": "#8b949e"
}
},
"underlinenav": {
Expand Down Expand Up @@ -613,7 +617,7 @@ local M = vim.json.decode(
{ luanil = { object = false, array = false } }
)
M._VERSION =
vim.json.decode([=["7.13.1"]=], { luanil = { object = false, array = false } })
vim.json.decode([=["7.15.4"]=], { luanil = { object = false, array = false } })
M._LICENSE = [=[
The MIT License (MIT)
Expand Down
6 changes: 5 additions & 1 deletion lua/github-theme/palette/primitives/dark_dimmed.lua
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,10 @@ local M = vim.json.decode(
"counterFg": "#e5534b",
"disabledCounterFg": "rgba(229,83,75,0.5)",
"hoverCounterFg": "#cdd9e5"
},
"inactive": {
"bg": "#373e47",
"text": "#768390"
}
},
"underlinenav": {
Expand Down Expand Up @@ -613,7 +617,7 @@ local M = vim.json.decode(
{ luanil = { object = false, array = false } }
)
M._VERSION =
vim.json.decode([=["7.13.1"]=], { luanil = { object = false, array = false } })
vim.json.decode([=["7.15.4"]=], { luanil = { object = false, array = false } })
M._LICENSE = [=[
The MIT License (MIT)
Expand Down
6 changes: 5 additions & 1 deletion lua/github-theme/palette/primitives/dark_high_contrast.lua
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,10 @@ local M = vim.json.decode(
"counterFg": "#ff6a69",
"disabledCounterFg": "rgba(255,106,105,0.5)",
"hoverCounterFg": "#ffffff"
},
"inactive": {
"bg": "#272b33",
"text": "#bdc4cc"
}
},
"underlinenav": {
Expand Down Expand Up @@ -613,7 +617,7 @@ local M = vim.json.decode(
{ luanil = { object = false, array = false } }
)
M._VERSION =
vim.json.decode([=["7.13.1"]=], { luanil = { object = false, array = false } })
vim.json.decode([=["7.15.4"]=], { luanil = { object = false, array = false } })
M._LICENSE = [=[
The MIT License (MIT)
Expand Down
6 changes: 5 additions & 1 deletion lua/github-theme/palette/primitives/dark_tritanopia.lua
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,10 @@ local M = vim.json.decode(
"counterFg": "#f85149",
"disabledCounterFg": "rgba(248,81,73,0.5)",
"hoverCounterFg": "#ffffff"
},
"inactive": {
"bg": "#21262d",
"text": "#8b949e"
}
},
"underlinenav": {
Expand Down Expand Up @@ -613,7 +617,7 @@ local M = vim.json.decode(
{ luanil = { object = false, array = false } }
)
M._VERSION =
vim.json.decode([=["7.13.1"]=], { luanil = { object = false, array = false } })
vim.json.decode([=["7.15.4"]=], { luanil = { object = false, array = false } })
M._LICENSE = [=[
The MIT License (MIT)
Expand Down
8 changes: 6 additions & 2 deletions lua/github-theme/palette/primitives/light.lua
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ local M = vim.json.decode(
},
"prettylights": {
"syntax": {
"comment": "#6e7781",
"comment": "#57606a",
"constant": "#0550ae",
"entity": "#6639ba",
"storageModifierImport": "#24292f",
Expand Down Expand Up @@ -326,6 +326,10 @@ local M = vim.json.decode(
"counterFg": "#a40e26",
"hoverCounterFg": "#ffffff",
"disabledCounterFg": "rgba(207,34,46,0.5)"
},
"inactive": {
"bg": "#eaeef2",
"text": "#57606a"
}
},
"underlinenav": {
Expand Down Expand Up @@ -613,7 +617,7 @@ local M = vim.json.decode(
{ luanil = { object = false, array = false } }
)
M._VERSION =
vim.json.decode([=["7.13.1"]=], { luanil = { object = false, array = false } })
vim.json.decode([=["7.15.4"]=], { luanil = { object = false, array = false } })
M._LICENSE = [=[
The MIT License (MIT)
Expand Down
8 changes: 6 additions & 2 deletions lua/github-theme/palette/primitives/light_colorblind.lua
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ local M = vim.json.decode(
},
"prettylights": {
"syntax": {
"comment": "#6e7781",
"comment": "#57606a",
"constant": "#0550ae",
"entity": "#6639ba",
"storageModifierImport": "#24292f",
Expand Down Expand Up @@ -326,6 +326,10 @@ local M = vim.json.decode(
"counterFg": "#8a4600",
"hoverCounterFg": "#ffffff",
"disabledCounterFg": "rgba(179,89,0,0.5)"
},
"inactive": {
"bg": "#eaeef2",
"text": "#57606a"
}
},
"underlinenav": {
Expand Down Expand Up @@ -613,7 +617,7 @@ local M = vim.json.decode(
{ luanil = { object = false, array = false } }
)
M._VERSION =
vim.json.decode([=["7.13.1"]=], { luanil = { object = false, array = false } })
vim.json.decode([=["7.15.4"]=], { luanil = { object = false, array = false } })
M._LICENSE = [=[
The MIT License (MIT)
Expand Down
8 changes: 6 additions & 2 deletions lua/github-theme/palette/primitives/light_high_contrast.lua
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ local M = vim.json.decode(
},
"prettylights": {
"syntax": {
"comment": "#66707b",
"comment": "#4b535d",
"constant": "#023b95",
"entity": "#512598",
"storageModifierImport": "#0e1116",
Expand Down Expand Up @@ -326,6 +326,10 @@ local M = vim.json.decode(
"counterFg": "#86061d",
"hoverCounterFg": "#ffffff",
"disabledCounterFg": "rgba(160,17,31,0.5)"
},
"inactive": {
"bg": "#e7ecf0",
"text": "#4b535d"
}
},
"underlinenav": {
Expand Down Expand Up @@ -613,7 +617,7 @@ local M = vim.json.decode(
{ luanil = { object = false, array = false } }
)
M._VERSION =
vim.json.decode([=["7.13.1"]=], { luanil = { object = false, array = false } })
vim.json.decode([=["7.15.4"]=], { luanil = { object = false, array = false } })
M._LICENSE = [=[
The MIT License (MIT)
Expand Down
8 changes: 6 additions & 2 deletions lua/github-theme/palette/primitives/light_tritanopia.lua
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ local M = vim.json.decode(
},
"prettylights": {
"syntax": {
"comment": "#6e7781",
"comment": "#57606a",
"constant": "#0550ae",
"entity": "#6639ba",
"storageModifierImport": "#24292f",
Expand Down Expand Up @@ -326,6 +326,10 @@ local M = vim.json.decode(
"counterFg": "#a40e26",
"hoverCounterFg": "#ffffff",
"disabledCounterFg": "rgba(207,34,46,0.5)"
},
"inactive": {
"bg": "#eaeef2",
"text": "#57606a"
}
},
"underlinenav": {
Expand Down Expand Up @@ -613,7 +617,7 @@ local M = vim.json.decode(
{ luanil = { object = false, array = false } }
)
M._VERSION =
vim.json.decode([=["7.13.1"]=], { luanil = { object = false, array = false } })
vim.json.decode([=["7.15.4"]=], { luanil = { object = false, array = false } })
M._LICENSE = [=[
The MIT License (MIT)
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"name": "github-nvim-theme",
"private": true,
"dependencies": {
"@primer/primitives": "^7.13.1"
"@primer/primitives": "^7.15.4"
}
}

0 comments on commit 22aa067

Please sign in to comment.