Commit Graph

36 Commits

Author SHA1 Message Date
J. Bromley f1dbb2f4a8 Fixed using 'auto' theme with default colorscheme.
When setting theme to 'auto' and using the default colorscheme, lualine
would report "theme not found, defaulting to gruvbox". Fixed by checking
that we get an actual color back when calling utils.extract_highlight_colors
before attempting to apply a brightness modifier.

* Fix brightness_modifier application.

The brightness_modifer() should only be applied when a normal color was
found.

* Apply brightness modifier when normal color not nil.

Moved application of brightness_modifier outside the if statement that
negates the brightness modifier. The modifier will now be applied when
get_color_brightness returns < 0.5.
2021-07-29 22:47:07 +06:00
John Hunter 0411f1c830
feat: horizon theme (#253)
* Added Horizon theme

* Tweaked a colour

* another tweak and updated readme with screenshots.

* Added copyright and luaformatter. Corrected THEMES.md

* fixed lint error
2021-05-21 00:07:27 +02:00
Duc Pham 8b2b825043
feat: gruvbox light theme (#250) 2021-05-19 12:57:57 +02:00
Hubert Pelczarski 354b76ed1a
perf: prevent rehashing in themes for slight performance increase (#244) 2021-05-14 02:09:34 +02:00
Hubert Pelczarski 82826ef661
refactor: moved loading to new module (#182)
* refactor: moved loading to new module
* refactor: check_single_separator
* refactor: simplified separator fixing
* refactor: tests/ -> lua/tests/
* refactor: moved to nvim_err_writeln for errors

* feat: moved config parsing to config.lua
* feat: get config directly from config module
* feat: added load_all function

* tests: config parsing tests

* added assert to luacheck globals
2021-05-09 23:11:18 +02:00
agarof 6ba2b80b59
Fix themes incorrectly setting the bold attribute (#194) 2021-04-26 00:24:29 +02:00
ronnie@machine 2158095193
feat: modus_vivendi theme (#168)
* added the modus_vivendi theme

* Added screenshorts for modus_vivendi theme

* rearranged the themes to be alphabetical

* changed the a component's forground to lightgray

* changed screenshots to reflect the new foreground color for the a component

* lua-format and docstring added
2021-04-15 19:15:03 +02:00
Shadman 4f53d053a1
Refactor: Remove cterm from hlighlight extractor (#174)
- remove cterm color extraction
- fix lint issues
- apply lua-format
2021-04-13 18:36:51 +06:00
Evan Travers e057def23e
forest_night -> everforest (#152)
https://github.com/sainnhe/everforest/issues/43
2021-03-31 03:35:38 +02:00
hoob3rt b31b66fa79 refactor: applied lua-format to all files 2021-03-16 00:37:46 +01:00
Shadman 87899eefc5
feat: add automatic theme generation (#104) 2021-03-02 14:01:34 +01:00
IGI-111 8c8a489612
feat: palenight theme (#123)
Based on https://github.com/drewtempelmeyer/palenight.vim
2021-02-28 04:16:57 +01:00
Nick Friday ed7d186987
fix: made dracula theme similar to other themes (#121) 2021-02-27 17:13:51 +01:00
Shadman e59ac51ca9
refactor: removed cterm colors from themes (#115) 2021-02-22 21:28:29 +01:00
hoob3rt ee3c7225b8 fix: removed redundant theme 2021-02-22 02:56:49 +01:00
Hubert Pelczarski 55c0f0fe9a docs: added license to all source files 2021-02-13 01:03:57 +01:00
Shadman 0325203fa9
More themes (#74)
* Adding themes

- Tomorrow.lua
- ayu_dark.lua
- ayu_light.lua
- ayu_mirage.lua
- iceberg_dark.lua
- iceberg_light.lua
- jellybeans.lua
- oceanicnext.lua
- seoul256.lua

Co-authored-by: hoob3rt <41551030+hoob3rt@users.noreply.github.com>
2021-02-07 22:54:04 +01:00
Shadman 66ab809e0e
Update onedark+onelight theme (#70) 2021-02-05 09:48:05 +01:00
Shadman 1ade51b53d
Adding gruvbox_metarial theme (#72)
* Adding gruvbox_metarial theme

Co-authored-by: hoob3rt <41551030+hoob3rt@users.noreply.github.com>
2021-02-04 22:07:57 +01:00
Hennadii Chernyshchyk 71452fd42e
Add codedark theme (#81)
* Add codedark theme
2021-02-04 21:46:32 +01:00
Shadman a9937db37f
Add nightfly theme (#71)
* Add nightfly theme

Co-authored-by: hoob3rt <41551030+hoob3rt@users.noreply.github.com>
2021-02-04 21:10:25 +01:00
Shadman 5eb42599ce
Add papercolor theme (#69)
* Adding papercolor theme

* Add papercolor light
2021-02-04 21:07:07 +01:00
Shadman d904b753a8
Add 16color theme (#66)
* Adding 16color theme
2021-02-04 21:04:41 +01:00
Shadman 4456e5ff4a
Adding material theme (#65)
* Adding material theme

Co-authored-by: hoob3rt <41551030+hoob3rt@users.noreply.github.com>
2021-02-04 21:02:53 +01:00
Shadman 0a7b9ff0cb
Adding wombat theme (#64)
* Adding wombat theme

Co-authored-by: hoob3rt <41551030+hoob3rt@users.noreply.github.com>
2021-02-04 20:57:38 +01:00
Shadman 82e0d7d2f5
Add molokai theme (#62)
* Added molokai theme
2021-02-04 20:54:36 +01:00
hoob3rt 8c09fc8228 removed print from solarized 2021-01-31 08:29:14 +01:00
Shadman df0d5f99cb
Added solarized theme (#63)
* Added solarized theme
2021-01-31 08:27:55 +01:00
Shadman 7460fe5aa2
Added notermguicolor support and special effects (#27)
* Added notermguicolor support and special effects
* Added notermgui support
* Exposed special parameters for highlight(like bold,italic) to themes
  with gui like to bold "B" in normal mode do normal.b.gui = 'bold'
* Changed CONTRIBUTING.md to reflect current notermguicolor support
* Added calculating cterm values from rgb
* refactored highlight function
* Removed 'bold' default for a element
* Updated themes
* Adding function genarated cterm values to themes
* Updating CONTRIBUTING.md
* made colorschemes more compact

Co-authored-by: hoob3rt <pelczarskihubert@gmail.com>
2021-01-08 02:35:09 +01:00
Brandon 24db1a62e8
Added forest_night theme (#30)
* Add forest_night theme

Ported from forest-night's [lightline
theme](https://github.com/sainnhe/forest-night/blob/master/autoload/lightline/colorscheme/forest_night.vim).

* Add forest_night to THEMES.md
2021-01-05 00:15:03 +01:00
Shadman 4fb9f90f74
Added powerline theme (#23)
* Added a powerline theme

Credit: Took some help from lightline powerline theme

* Updated THEMES.md

* Small tweek to colors

* swaped onedark and powerline in THEMES.md
2021-01-04 13:00:03 +01:00
Shadman 3a82c3b345
Added nord theme (#24)
* Added nord theme

Credit : Ported from lightline nord theme

* Added nord to THEMES.md

* Checked nord theme in README.md
2021-01-04 12:15:39 +01:00
hoob3rt 39dc034335 updated style to be inline with vim.api 2021-01-04 02:14:29 +01:00
Kenneth Lear 08d2879f9b
Porting onedark theme (#8)
* Porting onedark theme

* Fixed incorrect foreground background configuration for onedark theme. Also set command mode in onedark theme to be normal

* Adding onedark theme to available themes list in README
2021-01-02 20:07:08 +01:00
anguye21 fb8154582c
Added dracula theme (#12)
* Added dracula theme

* Converted from 4 spaces to 2
2021-01-02 18:35:36 +01:00
hoob3rt fa6aa3c324 initial lualine setup 2020-12-30 15:48:51 +01:00