Commit graph

9 commits

Author SHA1 Message Date
Ulices
6e35563238
fix: remove dashes and underscores that seems to generate errors (#441) 2024-04-09 20:36:06 +03:00
Alexander Courtis
bb9988e849
docs: add browser font instructions to contributing 2024-04-06 10:24:38 +11:00
Alexander Courtis
6207912fd2
docs: contributing: PR subject (#430) 2024-03-26 12:33:08 +11:00
Alexander Courtis
0bb67ef952
feat(#192): :NvimWebDeviconsHiTest (#405)
* feat(#192): :NvimWebDeviconsHiTest

* feat(#192): :NvimWebDeviconsHiTest
2024-02-25 16:00:17 +11:00
Alexander Courtis
d3cf19ef81
ci: harden colour generation (#338)
* ci: harden generation

* ci: harden generation

* ci: refactor to use make
2023-11-20 09:26:23 +11:00
Azad
3af745113e
refactor: move default icon theme to separate file (#323)
* refactor: move default icon theme to separate file

* stylua

* Bug fix

* Update `generate_colors` script

* Additional check

* generate_colors handle icons_by_filename table at start of icons-default file

* fix bib colour following merge

* lint workflow check lua/nvim-web-devicons/icons-light.lua

* fix bib colour following merge

* update CONTRIBUTING.md with new icon file locations

---------

Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-10-14 18:02:09 +11:00
Kai Moschcau
a1e6268779
chore: reorder entries alphabetically (#322)
* chore: reorder icon entries alphabetically

* docs: ensure alpha ordering of entries

---------

Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-10-09 12:47:52 +11:00
Alexander Courtis
4970f75b05
ci: style, lint dev: precommit, style, lint, editorconfig (#218)
* add stylua, luacheck, luarc, editorconfig, pre-commit hooks

* add stylua, luacheck, luarc, editorconfig, pre-commit hooks

* add comments before icons_by_filename and icons_by_file_extension

* stylua nit for generated light

* correct luacheck stylua order in contributing.md

* add stylua/luacheck OS package notes

* use make instead of pre-commit hooks

* document prerequisites

* remove setup-hooks.sh

* ci: add pre-commit configuration and GHA (#233)

* ci: add pre-commit configuration

* ci: add GHA to autoupdate pre-commit hooks

---------

Co-authored-by: gegoune <69750637+gegoune@users.noreply.github.com>
2023-03-20 12:32:18 +11:00
mg979
b2060eac2f
feat: light color scheme variants (#213)
* feat: inverted colors for light colorschemes

* generate cterm colors in the same script

No need to change to light background

* don't darken if already dark enough

* remove unneeded lines

* darken colors, don't invert them

* improve the scripts somewhat

* reduce darkening for non extreme values

* don't mess with package.loaded

* add one step

* refactor: move init code to the bottom

* Use a single script, add Makefile

The script can be run from the shell with `make colors`:
- the working directory must be the repo
- vim-colortemplate must be in the runtimepath

* Add another step, make a little bit darker

* More precise luminance formula

Taken from:
	https://stackoverflow.com/a/596243

* add CONTRIBUTING.md

* add CONTRIBUTING.md

* add CONTRIBUTING.md

* add CONTRIBUTING.md

* update README.md

* update README.md

* add lua/nvim-web-devicons-light.lua

* update CONTRIBUTING.md

* rename: darken_colors -> generate_colors

* fix: use pcall to check vim-colortemplate

* More CONTRIBUTING.md stuff

Currently the script requires that `cterm_color` is present, and set to
a number (any number, also 0). It's not optional.

* update CONTRIBUTING.md

---------

Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-03-06 15:22:01 +11:00