This repository has been archived on 2022-08-21. You can view files and clone it, but cannot push or open issues or pull requests.
2021-07-10 18:40:43 +02:00
|
|
|
return require('colorizer').setup(
|
2021-07-07 21:33:29 +02:00
|
|
|
{'*'},
|
2021-07-04 21:03:20 +02:00
|
|
|
{
|
2021-07-07 21:33:29 +02:00
|
|
|
RGB = true, -- #RGB hex codes
|
|
|
|
RRGGBB = true, -- #RRGGBB hex codes
|
|
|
|
names = true, -- "Name" codes like Blue
|
|
|
|
RRGGBBAA = true, -- #RRGGBBAA hex codes
|
|
|
|
rgb_fn = true, -- CSS rgb() and rgba() functions
|
|
|
|
hsl_fn = true, -- CSS hsl() and hsla() functions
|
|
|
|
css = true, -- Enable all CSS features: rgb_fn, hsl_fn, names, RGB, RRGGBB
|
|
|
|
css_fn = true, -- Enable all CSS *functions*: rgb_fn, hsl_fn
|
|
|
|
mode = 'background' -- Set the display mode.
|
2021-07-10 18:40:43 +02:00
|
|
|
})
|