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 8d5e284
Show file tree
Hide file tree
Showing 22 changed files with 15,144 additions and 5,596 deletions.
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
4 changes: 1 addition & 3 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
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 8d5e284

Please sign in to comment.