ColorHelper

Sublime plugin that provides helpful color previews and tooltips

MIT License

Stars
256
Committers
15
ColorHelper - ST3 4.1.0

Published by facelessuser almost 3 years ago

4.1.0

  • NEW: Add minimal color support in Sublime's built-in GraphViz
    syntax files. Colors are currently limited to hex RGB/RGBA and color
    names outside of HTML and full CSS support inside HTML. Support is
    experimental, and if false positives are a problem, the rule can be
    disabled in the settings.
  • NEW: Don't default tmtheme custom class output to X11 names,
    default to hex codes instead.
  • FIX: Fix some additional custom class issues related to latest
    coloraide update.
ColorHelper - ST3 4.0.1

Published by facelessuser almost 3 years ago

4.0.1

  • FIX: Fix built-in custom color class match return. This caused files
    using one of the built-in color classes to fail in creating previews.
ColorHelper - ST3 4.0.0

Published by facelessuser almost 3 years ago

4.0.0

BREAKING CHANGE
If you have defined custom colors rules and specifically reference xyz
rules should be updated to refer to xyz as xyz-d65.

  • NEW: Update to latest coloraide which provides minor bug fixes.
    As the new version now includes type annotations, ColorHelper now
    requires the typing dependency until it can be migrated to use Python
    3.8. Typing refactor did moderately affect custom color classes.
  • NEW: xyz is now known as xyz-d65 in the settings file.
    If you have custom rules that override or add xyz, please update
    the rules to reference xyz-d65 instead.
  • NEW: Gamut mapping now uses Oklch instead of CIE LCH per CSS recnet
    specifications changes to the CSS Level 4 specification.
  • NEW: Expose sRGB Linear color space per the CSS specification.
  • FIX: Fix blend and blenda regression in emulation of Sublime's
    ColorMod implementation.
  • FIX: ColorPicker should not show colors maps with opacity in the
    color map square.
ColorHelper - ST3 3.8.0

Published by facelessuser about 3 years ago

3.8.0

  • NEW: Allow selecting the preview gamut to control what RGB space
    images previews are rendered in. For example, before this change,
    macOS computers with Display P3 monitors would render sRGB colors
    as Display P3 colors and could provide inaccurate previews. Now
    you can set gamut_space to display-p3 and sRGB and Display P3
    colors will be closer to their actual color. Gamut can be set to
    srgb, display-p3, a98-rgb, prophoto-rgb, and rec2020.
    Colors will on only make sense on displays of these types with
    the appropriate color profile enabled. Directly related to
    https://github.com/sublimehq/sublime_text/issues/4930.
ColorHelper - ST3 3.7.0

Published by facelessuser about 3 years ago

3.7.0

  • NEW: Color contrast tool will now take any color space, even non-sRGB,
    but the tool will only operate in the sRGB gamut as the compositing of
    transparent colors defaults to sRGB and the contrast targeting algorithm
    is currently done in the sRGB gamut using HWB. It will more clearly show
    that the color has been gamut mapped in the results as it will now show
    the modified color at all times.
  • NEW: Upgrade coloraide which brings the possibility of using CIELuv,
    LCHuv, DIN99o, DIN99o LCH, Okhsl, and Okhsv. Small improvements and fixes
    also included.
  • NEW: color(xyz x y z) now references D65 XYZ per latest CSS
    specifications. color(xyz-d50 x y z) is now the old D50 XYZ variant.
    color(xyz-d65 x y z) is also an alias for color(xyz x y z).
  • NEW: HSV and HSL store non-hue channels internally in the range of
    0 - 1 instead of 0 - 100. This affects the color(space) output form.
  • NEW: Color Picker for HWB is not enabled by default anymore, but can
    be enabled if desired via settings.
  • NEW: ColorPicker improvements. Can now configure which color pickers
    are enabled. Can specify a preferred color picker. Can specify whether
    ColorHelper should take a color space and auto load the matching color
    picker if it is enabled. Add new HSV, Okhsl, and Okhsv color pickers.
  • NEW: New coloraide dependency may break custom color spaces not
    provided with ColorHelper. If having issues, please open an issue to
    get help. It is doubtful that many have delved too deeply in this area.
  • FIX: Fix typos and wording in various color tool dialogs.
  • FIX: Better behavior of color picker's handling of color.
  • FIX: Fix issues with Advanced Substation Alpha (ASS)
    support.
  • FIX: Remove unnecessary dependencies.
ColorHelper - ST3 3.6.0

Published by facelessuser about 3 years ago

3.6.0

ColorHelper - ST3 3.5.0

Published by facelessuser about 3 years ago

3.5.0

  • NEW: generic rule will now allow scanning in strings by default. If this
    is not desired, simply modify it in user settings to reflect desired behavior.
  • NEW: Remove default palette file as it just contained examples that most
    people would never use.
  • NEW: Color palettes now provide a format version so that they can be upgraded
    if needed. Due to the compatibility issue with a change for color() format,
    color palettes will be upgraded.
  • FIX: color() format for lab and other colors that have percentage only
    channels must require those channels to be input as percentages per the CSS
    level 4 specifications. This affects the string output for the color() format
    as well.
  • FIX: Latest coloraide improves gamut mapping.
  • FIX: Small gamut fitting adjustments.
  • FIX: Fix issue with duplicate previews when working with clone views.
ColorHelper - ST3 3.4.0

Published by facelessuser over 3 years ago

3.4.0

  • NEW: New color difference tool.
  • NEW: New blend modes tool.
  • NEW: Fix typo. 0xahex color class should have been named 0xhex in the
    settings.
  • NEW: New coloraide brings support for oklab, oklch, jzazbz, jzczhz,
    ICtCp, D65 variations of CIELAB, CIELCH, and XYZ (none of which are enabled
    as output options by default).
  • NEW: Some refactoring of coloraide caused custom color classes to get
    updated. User created custom classes may have to get updated to work.
  • FIX: Upgrade coloraide which fixes issues related to inconsistent use of
    D65 white values in XYZ transforms and Bradford CAT and other lesser bug fixes
    as well. This particularly improves conversions to and from CIELAB.
ColorHelper - ST3 3.3.1

Published by facelessuser over 3 years ago

3.3.1

  • FIX: Ensure that contrast related functions are using XYZ with D65 white point instead of D50 in order to match WCAG 2.1 specifications.
  • FIX: Fix some string output issues.
  • FIX: Fix some algorithmic issues with Delta E 2000 which affects gamut mapping.
ColorHelper - ST3 3.3.0

Published by facelessuser over 3 years ago

3.3.0

  • NEW: preview_on_select now supports multi-select.
  • NEW: Color picker channels only show 10 steps back or forward at a given
    time instead of 12 and are always perfectly scaled between 0% - 100%.
  • NEW: Color box now shows hue on x-axis and saturation on y-axis. It also
    replaces the gray scale bar with a lightness bar.
  • NEW: Color picker now is more compact and hides the sliders unless the
    user switches to slider mode. In that case, the color box will be hidden.
  • NEW: Only the color picker's alpha channel will show a representation of
    transparency. This allows the user to clearly see the color when adjusting
    other channels.
  • NEW: Color box in the color picker now shows an approximate indicator of
    where the current color falls on the color box.
  • NEW: Add indication of which button is selected in the color picker.
  • NEW: Vendor coloraide as ColorHelper is tightly coupled to it. Vendoring
    will ensure a better upgrade process. The default color classe is now referenced
    via ColorHelper.lib.coloraide opposed to the old coloraide.
  • FIX: Fix issues related to detecting when colors are in the visible viewport.
  • FIX: Ensure that when a native color picker is called with no color, that if
    the default color is picked, it will insert instead of ignore.
ColorHelper - ST3 3.2.2

Published by facelessuser over 3 years ago

3.2.2

  • FIX: Increase precision of palettes to properly match and store any colors.
ColorHelper - ST3-3.2.1

Published by facelessuser over 3 years ago

3.2.1

  • FIX: Ensure adding a color to a palette isn't shown when deleting palettes.
ColorHelper - ST3 3.2.0

Published by facelessuser over 3 years ago

3.2.0

  • NEW: Convert popup now lets you copy a color or insert a color.
  • NEW: More tweaks to popup styles.
  • NEW: Palette features, such as inserting a color from a palette and saving a color to a palette, are all available under the palette menu option from the main toolip. This consolidates options and makes the panel a bit more compact.
  • NEW: Show current channel value in color picker's high resolution selector.
  • FIX: Make "Out of gamut" tooltip more clear that it is referring to the preview gamut.
  • FIX: Palettes colors were inconsistently saved and compared. This caused colors that were saved to "favorites" to sometimes not appear saved.
  • FIX: Adjust scaling of images in regards to the graphic_size option. Medium should be a scale of 1, small a scale of 0.75, large a scale of 1.25. For greater control, use graphic_scale.
  • FIX: Windows color picker should use ctypes.pointer not ctypes.byref. Fixes Windows color picker not working on ST4.
ColorHelper - ST3 3.1.4

Published by facelessuser over 3 years ago

3.1.4

  • FIX: Fix tmTheme handling of compressed hex colors.
ColorHelper - ST3 3.1.3

Published by facelessuser over 3 years ago

3.1.3

  • FIX: A few fixes to new style.
ColorHelper - ST3 3.1.2

Published by facelessuser over 3 years ago

3.1.2

  • FIX: Improved visuals for popups and TextInputHandlers. Improve consistency in how things are presented.
  • FIX: In color picker, values in the hue channel should clamp at 359 not 360 as 360 wraps to 0.
  • FIX: Fix a few transitions between different popups.
ColorHelper - ST3 3.1.1

Published by facelessuser over 3 years ago

3.1.1

  • FIX: Fix Windows color picker not processing color properly.
  • FIX: Make sure Windows color picker stores and retrieves custom colors.
ColorHelper - ST3 3.1.0

Published by facelessuser over 3 years ago

3.1.0

  • NEW: Drop support for ColorPicker package and instead implement OS color pickers directly in ColorHelper. Linux users will need to install kcolorchooser, and it must be in the path on the command line
ColorHelper - ST3 3.0.2

Published by facelessuser over 3 years ago

3.0.2

  • FIX: Fix typo in color trigger pattern in 3.0.1 fix.
ColorHelper - ST3 3.0.1

Published by facelessuser over 3 years ago

3.0.1

  • FIX: Ignore color keywords when they are preceded by $ (SCSS). Also, fix an issue with - trailing a keyword.