Extract browser colors surrounded by quotes.
Now colorize render backgrounds with alpha value 🎉.
Now, there's an item in the status bar indicating if colorize is activated for the current file or not.
It's now possible to render colors as a line below the color.
To change the way colors are displayed, change the value of the setting colorize.decoration_type
.
This setting accepts the two values background
and underline
:
background
, colors are rendered as a background for the text.
underline
, colors are displayed as a line below the text.
Check an issue preventing the extension form working with the Tabnine extension.
Add default values for setting colorize.include
to ensure CSS, SASS and LESS variables are extracted by default on windows10. For some reason, For some reason, vscode does not behave the same on windows 10 as on Linux/macOS. As a result, the extension cannot auto-extract variables from css/scss/sass files using only the list of languages listed on the colorize.languages
setting.
Now the extension will only use the values of the settings colorize.languages
, colorize.include
and colorize.exclude
to decide whether or colors should be decorated in a file.
The purpose of this option was to only generate a colored background for colors that are on the visible part of the editor. This has a huge perf impact especially for big files with a lot of colors.
The setting colorize.colorize_only_visible_beta
was introduced a long time ago without any issues. So it's now the default behavior.
Correct a typo preventing the browser color burlywood
from being colorized.
Update extension to latest target latest version of vscode.
- [IMPROVE] Better argb colors support
- [FIX] Exclude terminal from the list of text editors.
- [IMPROVE] Colorize argb colors with 0x prefix
- [FIX] #291 Remove Alpha value in ARGB only if alpha is defined
- [FIX] #264 Colorize hexa colors starting with
0x
- [FEATURE] #226 Add colorization for ARGB colors
- [FIX] Some bugfixes and crashfixes for
colorize_only_visible_beta
- [FIX] Some bugfixes for
colorize_only_visible_beta
- [FIX] Don't try to colorize one more line than the visible range when it's the end of the file
- [CHANGE] Remove the wait time before generating decorations on scroll
- [FEATURE] Add a new feature to colorize/update only the visible text. The feature is in beta and activable using the new setting
colorize_only_visible_beta
. - [FIX] Remove the warning message about variables search as it's not a problem anymore.
- [FIX] Set property
rangeBehavior
toClosedClosed
to make sure a decoration never expand
- [FIX] No more ram pick at boot time
- [FIX] Stylus variables with underscore are now detected
- [FIX] Remove a blinking effect when updating the content of a variable.
- [CHANGE] Enable the search variables at boot time again, but explain why vscode might feel slow at opening time.
- [CHANGE] Disable search variables at boot time
- [FEATURE] Add a setting to enable/disable variables search at boot time
- [FIX] Fix an issue where alpha values with multiples
0
were not correctly colorized (like 0.00 or 1.00).
- [FEATURE] Add two new settings
colorize.include
andcolorize.exclude
. These two settings can be used to add/remove files to the list of files that can be colorized. - [DEPRECATE] With the release of
colorize.include
andcolorize.exclude
, the settingcolorize.files_extensions
is now deprecated. - [IMPROVEMENT] Now the list of files/folder that can be colorized or used for the variables search is determined using the three settings
colorize.include
,colorize.exclude
andcolorize.languages
. It was static previously. - [FIX]
}
is now a valid end for a color.
- [CHANGE] Now rgb(a) and hsl(a) colors can have decimal values
- [FIX] Fix stylus variables decoration
- [IMPROVE] Variables support fully working
- [ADDED] Options to enable/disabled colorization for colors/variables type
- [FIX] Fix css variables decoration
- [FIX] Fix perfs issue with stylus variables extraction
- [IMPROVE] Settings HOT Reload.
- [IMPROVE] Variables usage live update
- [FIX] Sass variables extraction
- [FIX] Colorize uppercased browsers colors (red, blue...)
- [IMPROVE] Colorize hexa colors with 0x prefix
- [IMPROVE] Update variables extractions. Split the variable extractions in specialized strategies (one for sass, css, less ...).
- [FIX] Split the regexp extracting variables in three to prevent a crash (the previous one was too complex).
- [FIX] Remove trailing
const
preventing variables to be decorated.
- [IMPROVE] Reduce the number of promises created during colors/variables extractions. Now the extraction of colors and variables is more than 10 times faster.
- Improve decorations contrast for variables too
- [FIX] #106 - Decorations were not disable for a line accessed from a deletion. Also hide decorations on default selected line on file opening.
- [FIX] #112 - Improve decorations contrast (between background and text) by following the WCAG guidelines (Contrast (Enhanced) and Contrast (Minimum))
- [FIX] #113 - SASS and LESS variables like
$var_1A
, $var_Aand
$var-1` were extracted but not colorized.
-
[FIX] #97 - find closest declarations on windows not working due to trailing
\
-
[FIX] Variables ending with ';' not extracted
-
[IMPROVE] Add more error handling to prevent colorize crash
- [IMPROVE] Wait for the end of the variables extraction before settings files/editor changes listener. Previous behavior were causing multiple useless call to the CacheManager
- Continue code splitting.
- [CHANGE] Now variables decorations are generated using the closest declaration
- [FIX] #76 - Now spaces between variables names and declarations delimiters are accepted. It means this
$myVar : #ffffff
is a valid variable declaration - [ADDED] Multi-lignes cursor support to "Hide current line decorations"
- [FIX] Line deletion truncate all stored variables
- [FIX] Deleting a variable will now delete her decorations
- [FIX] Updating a variable with an invalid color will now delete her decorations
- [FIX] Variables created from another variables not colorized
- [CHANGE] Now variables created from an other variables are colorized
- [CHANGE] Add a new gif to show variables support
- [FIX] Do not extract variables without color (like size variables)
- [FIX] #62 variables not deleted
- [FIX] stylus variables not colorized
- [FIX] multiple deco for one variables use positions of the last one
- [CHANGE] Split code between color and variables (not same needs)
- [FIX] #62 variables not deleted
- [FIX] #61 New variables not colorized
- [CHANGE] Use await/async to improve code readability
- [FIX] Add missing error callback to openTextDocument (variables beta). Fix errors with binary type documents
- [ADD] Decorations toggle. Decorations on the current line are now hidden by default.
- [ADD] New a option (setting)
hide_current_line_decorations
to activate/deactivate the decoration toggle feature. - [ADD] Variables (css, less, sass...) support under beta. The
activate_variables_support_beta
setting should be set to true in order to activate the feature.
- [FIX] fix a typo error that prevent postcss files to be colorized by default
- [ADD] Add hsl(a) color extraction
- [FIX] #35 Should prevent no longer have side effects on other extensions
- [FIX] #28, now
.x
is a valid alpha value - [CHANGE] Add
\r
as a valid end for a color - [CHANGE] Save files decorations in two map one for dirty files and one for saved files, fix issues with opening/reopening files
- [FIX] #26 Do not colorize browsers colors inside a word
- [CHANGE] Remove the use of
Promise
inqueue.ts
to fix an error of background generation/update caused by a 1s timeout
- [REFACTO] Colors extractions
- [FIX] #20 Support for split view
- [FIX] #11 Colorize all colors in gradient statement
- [ADD] Cross browser colors extraction (#12)
- [FIX] #13 Add a settings options to easily add new languages support
- [ADD] Stylus and XML support
- [FIX] Catch line does not exist error, avoid extension crash when all lines are removed
- [FIX] Improve deco map update on content added or removed, this should solve all sync issues
- [FIX] Use the capture group for rgb(a) the decoration and not the complete match
- [FIX] Generate decorations only once, after the end of the text analysis
- [ADD] New regex for rgb(a) colors detection
- [ADD] New activationEvents (pcss and sss)
- [ADD] rgb(a) color extraction
- [ADD] rgb and luminance properties in color.ts
- [REFACTO] Use Promise for background generation/update for easy chaining
- [ADD]
lib/Queue.ts
for queuing task. Ensure that a document update cannot cause side effect to another one. - [FIX] Colored background update
- [FIX] Colored background update
- [CHANGE] Logo less pixelated
- [CHANGE] README
- [ADD] Regex matching css hexa colors
- [ADD] Colored background generation
- [ADD] Colored background update