Skip to content

Commit

Permalink
deps(primer): update primitives
Browse files Browse the repository at this point in the history
  • Loading branch information
tmillr committed Aug 14, 2024
1 parent c263e7c commit 7972004
Show file tree
Hide file tree
Showing 23 changed files with 15,147 additions and 5,599 deletions.
2 changes: 1 addition & 1 deletion lua/github-theme/group/modules/treesitter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ If you want to stay on nvim 0.7, disable the module, or track on 'v0.0.x' branch
['@module.c_sharp'] = { fg = pl.syntax.variable },

-- Gitignore
['@string.special.path.gitignore'] = { fg = pl.syntax.entity }, -- Non-special chars in file pattern
['@string.special.path.gitignore'] = { fg = pl.syntax.entity.default }, -- Non-special chars in file pattern

-- Go
-- ['@function.call.go'] = { link = '@constant' },
Expand Down
4 changes: 1 addition & 3 deletions lua/github-theme/palette/github_dark.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ local meta = {
light = false,
}

local primitives =
require('github-theme.palette.primitives.' .. meta.name:gsub('^github%W*', '', 1))

local primitives = require('github-theme.palette.primitives.dark')
local pl = primitives.color.prettylights
local scale = primitives.scale

Expand Down
4 changes: 1 addition & 3 deletions lua/github-theme/palette/github_dark_colorblind.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ local meta = {
light = false,
}

local primitives =
require('github-theme.palette.primitives.' .. meta.name:gsub('^github%W*', '', 1))

local primitives = require('github-theme.palette.primitives.dark_colorblind')
local pl = primitives.color.prettylights
local scale = primitives.scale

Expand Down
1 change: 0 additions & 1 deletion lua/github-theme/palette/github_dark_default.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ local meta = {
}

local primitives = require('github-theme.palette.primitives.dark')

local pl = primitives.color.prettylights
local scale = primitives.scale

Expand Down
4 changes: 1 addition & 3 deletions lua/github-theme/palette/github_dark_dimmed.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ local meta = {
light = false,
}

local primitives =
require('github-theme.palette.primitives.' .. meta.name:gsub('^github%W*', '', 1))

local primitives = require('github-theme.palette.primitives.dark_dimmed')
local pl = primitives.color.prettylights
local scale = primitives.scale

Expand Down
4 changes: 1 addition & 3 deletions lua/github-theme/palette/github_dark_high_contrast.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ local meta = {
light = false,
}

local primitives =
require('github-theme.palette.primitives.' .. meta.name:gsub('^github%W*', '', 1))

local primitives = require('github-theme.palette.primitives.dark_high_contrast')
local pl = primitives.color.prettylights
local scale = primitives.scale

Expand Down
4 changes: 1 addition & 3 deletions lua/github-theme/palette/github_dark_tritanopia.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ local meta = {
light = false,
}

local primitives =
require('github-theme.palette.primitives.' .. meta.name:gsub('^github%W*', '', 1))

local primitives = require('github-theme.palette.primitives.dark_tritanopia')
local pl = primitives.color.prettylights
local scale = primitives.scale

Expand Down
8 changes: 3 additions & 5 deletions lua/github-theme/palette/github_light.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ local meta = {
light = true,
}

local primitives =
require('github-theme.palette.primitives.' .. meta.name:gsub('^github%W*', '', 1))

local primitives = require('github-theme.palette.primitives.light')
local pl = primitives.color.prettylights
local scale = primitives.scale

Expand Down Expand Up @@ -56,8 +54,8 @@ local palette = {
neutral = {
emphasis_plus = scale.neutral[10],
emphasis = scale.neutral[6],
muted = BG:blend(C(scale.neutral4]), 0.2):to_css(),
subtle = BG:blend(C(scale.neutral2]), 0.5):to_css(),
muted = BG:blend(C(scale.neutral[4]), 0.2):to_css(),
subtle = BG:blend(C(scale.neutral[2]), 0.5):to_css(),
},

accent = {
Expand Down
4 changes: 1 addition & 3 deletions lua/github-theme/palette/github_light_colorblind.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ local meta = {
light = true,
}

local primitives =
require('github-theme.palette.primitives.' .. meta.name:gsub('^github%W*', '', 1))

local primitives = require('github-theme.palette.primitives.light_colorblind')
local pl = primitives.color.prettylights
local scale = primitives.scale

Expand Down
1 change: 0 additions & 1 deletion lua/github-theme/palette/github_light_default.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ local meta = {
}

local primitives = require('github-theme.palette.primitives.light')

local pl = primitives.color.prettylights
local scale = primitives.scale

Expand Down
4 changes: 1 addition & 3 deletions lua/github-theme/palette/github_light_high_contrast.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ local meta = {
light = true,
}

local primitives =
require('github-theme.palette.primitives.' .. meta.name:gsub('^github%W*', '', 1))

local primitives = require('github-theme.palette.primitives.light_high_contrast')
local pl = primitives.color.prettylights
local scale = primitives.scale

Expand Down
4 changes: 1 addition & 3 deletions lua/github-theme/palette/github_light_tritanopia.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ local meta = {
light = true,
}

local primitives =
require('github-theme.palette.primitives.' .. meta.name:gsub('^github%W*', '', 1))

local primitives = require('github-theme.palette.primitives.light_tritanopia')
local pl = primitives.color.prettylights
local scale = primitives.scale

Expand Down
Loading

0 comments on commit 7972004

Please sign in to comment.