-
-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
breaking-change: Major Changes and Deprecation of some colorschemes
In this commit, I redefined the older highlight groups and removed support for all plugins listed in the README, including Lualine (which I redefined in the next commits). Furthermore, all the previous color palettes have been replaced with Primer. The configurations `overrides` and `colors` are now deprecated. Please use `palettes` and `specs` for color overriding as requested in feature request #176, and use `groups` for overriding the highlight groups. For more information, please refer to `:h github-theme.changelog-23042023`. Additionally, the example has been updated in the README.
- Loading branch information
Showing
39 changed files
with
1,422 additions
and
1,990 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
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 |
---|---|---|
|
@@ -2,4 +2,5 @@ lua << EOF | |
|
||
require("github-theme.config").set_theme('github_dark') | ||
require("github-theme").load() | ||
|
||
EOF |
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 |
---|---|---|
|
@@ -2,4 +2,5 @@ lua << EOF | |
|
||
require("github-theme.config").set_theme('github_dark_colorblind') | ||
require("github-theme").load() | ||
|
||
EOF |
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 |
---|---|---|
@@ -1,5 +1,18 @@ | ||
lua << EOF | ||
|
||
require("github-theme.config").set_theme('github_dark_default') | ||
require("github-theme").load() | ||
local dep = require('github-theme.lib.deprecation') | ||
dep.write( | ||
' Colorscheme ', | ||
{ 'github_dark_default', 'WarningMsg' }, | ||
' has been deprecated.', | ||
' Use ', | ||
{ 'github_dark_high_contrast', 'WarningMsg' }, | ||
' Instead. Refer to ', | ||
{ ':h github-theme.changelog-23042023', 'WarningMsg' }, | ||
' for more info.' | ||
) | ||
|
||
require('github-theme.config').set_theme('github_dark_high_contrast') | ||
require('github-theme').load() | ||
|
||
EOF |
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,6 @@ | ||
lua << EOF | ||
|
||
require('github-theme.config').set_theme('github_dark_dimmed') | ||
require('github-theme').load() | ||
|
||
EOF |
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,6 @@ | ||
lua << EOF | ||
|
||
require('github-theme.config').set_theme('github_dark_high_contrast') | ||
require('github-theme').load() | ||
|
||
EOF |
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,6 @@ | ||
lua << EOF | ||
|
||
require('github-theme.config').set_theme('github_dark_tritanopia') | ||
require('github-theme').load() | ||
|
||
EOF |
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 |
---|---|---|
@@ -1,5 +1,18 @@ | ||
lua << EOF | ||
|
||
require("github-theme.config").set_theme('github_dimmed') | ||
require("github-theme").load() | ||
local dep = require('github-theme.lib.deprecation') | ||
dep.write( | ||
' Colorscheme ', | ||
{ 'github_dimmed', 'WarningMsg' }, | ||
' has been deprecated.', | ||
' Use ', | ||
{ 'github_dark_dimmed', 'WarningMsg' }, | ||
' Instead. Refer to ', | ||
{ ':h github-theme.changelog-23042023', 'WarningMsg' }, | ||
' for more info.' | ||
) | ||
|
||
require('github-theme.config').set_theme('github_dark_dimmed') | ||
require('github-theme').load() | ||
|
||
EOF |
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 |
---|---|---|
|
@@ -2,4 +2,5 @@ lua << EOF | |
|
||
require("github-theme.config").set_theme('github_light') | ||
require("github-theme").load() | ||
|
||
EOF |
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 |
---|---|---|
|
@@ -2,4 +2,5 @@ lua << EOF | |
|
||
require("github-theme.config").set_theme('github_light_colorblind') | ||
require("github-theme").load() | ||
|
||
EOF |
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 |
---|---|---|
@@ -1,5 +1,18 @@ | ||
lua << EOF | ||
|
||
require("github-theme.config").set_theme('github_light_default') | ||
require("github-theme").load() | ||
local dep = require('github-theme.lib.deprecation') | ||
dep.write( | ||
' Colorscheme ', | ||
{ 'github_light_default', 'WarningMsg' }, | ||
' has been deprecated.', | ||
' Use ', | ||
{ 'github_light_high_contrast', 'WarningMsg' }, | ||
' Instead. Refer to ', | ||
{ ':h github-theme.changelog-23042023', 'WarningMsg' }, | ||
' for more info.' | ||
) | ||
|
||
require('github-theme.config').set_theme('github_light_high_contrast') | ||
require('github-theme').load() | ||
|
||
EOF |
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,6 @@ | ||
lua << EOF | ||
|
||
require('github-theme.config').set_theme('github_light_high_contrast') | ||
require('github-theme').load() | ||
|
||
EOF |
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,6 @@ | ||
lua << EOF | ||
|
||
require('github-theme.config').set_theme('github_light_tritanopia') | ||
require('github-theme').load() | ||
|
||
EOF |
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
Oops, something went wrong.