Commit Graph

8 Commits

Author SHA1 Message Date
shadmansaleh 32727039a9 |DEPRECATION| enhance(themes): Auto colorscheme detection and more
- `auto` theme now auto loads available theme for colorschme based on
  g:color_name . If that fails then it generates a theme for that
  colorschme like before.
- Theme from external source is preferred over bundled version in
  lualine . This means if user has a colorschme that provided the same
  theme as lualine the one from colorschme will be loaded.
- Default value of theme is changed to `auto` from `gruvbox`.
- Now when users theme from config fails lualine will fallbavk to
  `auto`. If `auto` fails then lualine will fallback to `gruvbox`
- Some themes have been renamed to their actual name (g:color_name).
  older names have been deprecated. [DEPRECATION]
    oceanicnext -> OceanicNext
    papercolor -> PaperColor
    tomorrow -> Tomorrow
    gruvbox_material -> gruvbox-material
    modus_vivendi -> modus-vivendi
- A few more adaptive themes added (aye, gruvbox, iceberg)
- Updated THEMES.md to reflect changes in theme name
2021-08-14 12:35:08 +06:00
Hubert Pelczarski 354b76ed1a
perf: prevent rehashing in themes for slight performance increase (#244) 2021-05-14 02:09:34 +02:00
hoob3rt b31b66fa79 refactor: applied lua-format to all files 2021-03-16 00:37:46 +01:00
Shadman e59ac51ca9
refactor: removed cterm colors from themes (#115) 2021-02-22 21:28:29 +01:00
Hubert Pelczarski 55c0f0fe9a docs: added license to all source files 2021-02-13 01:03:57 +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
hoob3rt 39dc034335 updated style to be inline with vim.api 2021-01-04 02:14:29 +01:00
hoob3rt fa6aa3c324 initial lualine setup 2020-12-30 15:48:51 +01:00