ColorHelper

Sublime plugin that provides helpful color previews and tooltips

MIT License

Stars
256
Committers
15
ColorHelper - ST3 3.0.0

Published by facelessuser over 3 years ago

3.0.0

  • NEW: New supported color spaces: lch, lab, display-p3, rec-2020, xyz, prophoto-rgb, a98-rgb, and hsv.
  • NEW: rgb, hsl, and hwb all support the new CSS format rgb(r g b / a).
  • NEW: gray() dropped as it is no longer part of the CSS level 4 specifications.
  • NEW: All instances of blacklist and whitelist are now known as blocklist and allowlist respectively.
  • NEW: Outputs, when inserting or converting, can be controlled in settings file.
  • NEW: Color triggers (what ColorHelper searches for before testing if the text is a color) can be configured in settings file. This can allow a user to not trigger on certain formats.
  • NEW: If desired, users can provided a custom color class object to use for certain files that can augment one or more supported color space's accepted input and output formats.
  • NEW: Improvements to scanning. Scanning will only occur in the viewable viewport. Text that is not visible, both vertically or horizontally, will not be scanned until it scrolls into view.
  • NEW: New option preview_on_select to show color previews only when the cursor is on the color or selecting the color (currently only applied to one selection).
  • NEW: New color edit tool which allows a user to get a live update of the color as they alter the coordinates, and allows the user to mix it with one other color. The result can be inserted back into the file, or will be handed back to the color picker if called from there.
  • NEW: New color contrast tool which allows a user to see the contrast ratio and see a visual representation of how the two colors contrast. The resulting foreground color can be inserted back into the file, or will be handed back to the color picker if called from there.
  • NEW: New Sublime ColorMod tool which allows a user to see a color-mod expression update a live color preview on the fly.
  • NEW: Only one color rule (defined in the settings file) will apply to a given view.
  • NEW: Renamed color_scan option to color_rule.
  • NEW: Massive overhaul of color scanning and color scanning options.
  • NEW: Colors that are out of gamut will be gamut mapped. On hover of the preivew (on ST4), it will indicate that it has been gamut mapped. This can be changed via show_out_of_gamut_preview, and additionally a fully transparent color swatch with a "red-ish" border will be shown (color may vary based on color scheme). On mouse over, it will also indicate that it is out of gamut on ST4.
  • NEW: ColorHelper will now gamut map colors in some scenarios, either due to necessity, or by user setting.
  • NEW: New generic option is defined which provides a default input and output for files with no rules. Users can use the color picker, and other color tools, from any file now. Scanning is disabled by default and can be enabled if desired. generic can
    be tweaked to provide whatever fallback experience the user desired.
  • NEW: New command added to force scanning in a file that may have scanning disabled. Also can force a file with scanning enabled to be disabled.
  • NEW: Color helper will now recognize transparent.
  • NEW: Color picker rainbow box will adjust based on the saturation of the current selected color.
  • NEW: Color picker will give a clear indication when you are at the end of a color channel by showing no more boxes.
  • NEW: Provide user_color_rules where a user can append rules without overwriting the entire rule set. If a rule uses the same name as one of the existing default rules, a shallow merge will be done so the values of the top level keys will be overridden
    with the user keys and/or any additional keys will be added.
  • REMOVED: Color completion. It mainly got in the way. The palette can be called any time the user needs it.
  • REMOVED: Hex shaped color picker option has been removed.
  • REMOVED: Removed "current file palette". ColorHelper will no longer scan the entire current file and generate a palette. This only worked in a limited number of files and added much more complexity.
  • REMOVED: Various options from rules sets. These are now controlled by the color class object that is being used. For instance, input and output format of colors in the form #AARRGGBB instead of the default #RRGGBBAA would need to use the new example ColorHelper.custom.ahex.ColorAhex custom color object to read in and output hex colors with leading alpha channels.
  • FIX: Insert logic issues.
  • FIX: ColorPicker now will always work in the color space of the current mode. This fixes some conversion issues.
ColorHelper - ST3 3.0.0-beta.06

Published by facelessuser over 3 years ago

See changelog for release info.

ColorHelper - ST3 3.0.0-beta.05

Published by facelessuser over 3 years ago

See changelog for release info.

ColorHelper - ST3 3.0.0-beta.04

Published by facelessuser over 3 years ago

See changelog for release info.

ColorHelper - ST3 2.7.1

Published by facelessuser over 3 years ago

2.7.1

  • FIX: Fix issues with 2.7.X release and latest mdpopups.
ColorHelper - ST3 3.0.0-beta.03

Published by facelessuser over 3 years ago

3.0.0-beta.03

  • See changelog for release info.
ColorHelper - ST3 3.0.0-beta.02

Published by facelessuser over 3 years ago

See changelog for release info.

ColorHelper - ST3 3.0.0-beta.01

Published by facelessuser about 4 years ago

3.0.0 Beta 1

See changelog for release info.

ColorHelper - ST3 2.7.0

Published by facelessuser over 4 years ago

2.7.0

  • NEW: HSL can support alpha channels as hsl or hsla (per the CSS spec).
  • NEW: HSL and HWB now support units deg, turn, rad, grad for the hue channel.
ColorHelper - ST3 2.6.0

Published by facelessuser about 5 years ago

ColorHelper 2.6.0

  • NEW: Enable CSS level 4 colors by default.
  • NEW: Reduce borders and in some cases remove borders around color previews.
  • NEW: Allow insertion of colors when there is an active selection.
  • NEW: Add option to override the border color used around color previews in
    the popup.
  • FIX: Reduce busy processes when idle.
  • FIX: Fixes for SCSS and Sass packages.
  • FIX: Fix issue where inline color phantom could make the line height larger.
  • FIX: Fix compressed hex with alpha handling.
  • FIX: Fix hwb display in info dialog.
  • FIX: Project palettes not showing up.
  • FIX: Fix for compressed hex colors with alpha.
  • FIX: Ensure minimum size of graphics in order to prevent issue where an
    error is thrown when image size is too small.
ColorHelper - ST3 2.5.1

Published by facelessuser about 7 years ago

ColorHelper 2.5.1

Oct, 8, 2017

  • FIX: Flicker of colors due to overly aggressive color preview deletion.
  • FIX: Update to latest rgba library.
ColorHelper - ST3 2.5.0

Published by facelessuser over 7 years ago

ColorHelper 2.5.0

Released May, 27, 2017

  • NEW: Use the newer API for opening settings #78.
  • NEW: Require ST 3124+ (this will also be limited in Package Control soonish).
  • NEW: Add basic support for Less #92.
  • FIX: Small fonts are not as small now.
ColorHelper - ST3 2.4.2

Published by facelessuser over 7 years ago

ColorHelper 2.4.2

Released Feb 2, 2017

  • FIX: Fix HTML escape of palette names. #84
  • FIX: Fix preview clicking. #81
  • FIX: Fix margins on previews. #83
ColorHelper - ST3 2.4.1

Published by facelessuser almost 8 years ago

ColorHelper 2.4.1

Released Jan 1, 2016

  • FIX: Speed improvements for rendering previews.
  • FIX: More fixes for duplicate preview prevention.
ColorHelper - ST3 2.4.0

Published by facelessuser almost 8 years ago

ColorHelper 2.4.0

Released Dec 29, 2016

  • NEW: More subtle preview borders. 7e983cd
  • FIX: Setting race condition. 2336ee5
  • FIX: Fix preview tagging. #72
  • FIX: Fix CSS3 support. #73
  • FIX: Consistent handling hex casing. #74
ColorHelper - ST3 2.3.0

Published by facelessuser almost 8 years ago

ColorHelper 2.3.0

Released Nov 27, 2016

  • NEW: New quickstart command in menu.
  • NEW: Links in menu to navigate to official documentation and issue tracker.
  • FIX: Fix for Sass. #68
ColorHelper - ST3 2.2.0

Published by facelessuser almost 8 years ago

ColorHelper 2.2.0

Released Nov 5, 2016

  • New: Add support for stTheme and search cdata #59.
  • NEW: Workaround for Windows 10 HiDpi large image issue #61.
    See document for more info.
  • NEW: Added toggle support for left/right positioned previews #65.
    See document for more info.
  • FIX: Web Color insertion bug #62.
  • FIX: Preview duplication bug (hopefully -- please report if not fixed) #57.
ColorHelper - ST3 2.1.1

Published by facelessuser about 8 years ago

ColorHelper 2.1.1

Released Aug 8, 2016

  • FIX: CSS tweaks (minihtml)
  • FIX: Support for CSS3 package
ColorHelper - ST3 2.1.0

Published by facelessuser about 8 years ago

ColorHelper 2.1.0

Released Aug 4, 2016

  • NEW: Moved popup panel formatting into external template files. Requires
    mdpopups 1.9.3.
  • FIX: Fix issues where certain popups (colorpicker after manual color
    edit) would get overridden by auto-popups of the color info panel.
  • FIX: Issues related to inserted colors.
  • FIX: Fixed issue where certain colors that required word boundaries where
    still getting marked even though they were preceeded by invalid characters such
    as @#$.-_.
ColorHelper - ST3 2.0.5

Published by facelessuser about 8 years ago

ColorHelper 2.0.5

Released Aug 1, 2016

  • FIX: Fix changelog typo
  • FIX: Fix odd behavior when checking padding