Commit Graph

43 Commits

Author SHA1 Message Date
976f8e836f Merge pull request #4 from taigrr/cd/remove-unused-type
fix: remove unused conversionPalette type
2026-03-04 04:44:59 -05:00
825de6efb5 fix(simplecolor): remove unused conversionPalette type 2026-03-04 09:30:52 +00:00
c4092d0697 Merge pull request #3 from taigrr/cd/charmtone-palette
feat(palettes): add charmtone color palette
v0.9.8
2026-02-22 22:01:13 -05:00
789a95a9ed feat(palettes): add charmtone color palette from meowgorithm's dotfiles 2026-02-23 03:00:04 +00:00
2a5c5249f7 Merge pull request #2 from taigrr/cd/oklch-support
feat: add OKLCH color space support
2026-02-22 21:08:54 -05:00
3d35bdf700 feat: add OKLCH color space support
Add OKLCH struct and conversion methods (sRGB ↔ OKLab ↔ OKLCH) using
Björn Ottosson's matrices. Includes:

- SimpleColor.ToOKLCH() and FromOKLCH() for color conversion
- SimpleColor.ClampOKLCH() for bounding lightness/chroma
- SimplePalette.ClampOKLCH(), NormalizeLightness(), NormalizeChroma()
  for palette-level OKLCH operations
- Comprehensive tests with round-trip, known values, and clamping
2026-02-22 21:32:45 +00:00
42fd438273 add more getters for named palettes v0.9.7 2024-02-29 09:57:12 -08:00
207c0ad534 update sponsors 2023-03-09 17:12:55 -08:00
d1136b47b3 move testprint to cmd subfolder v0.9.6 2023-01-24 23:49:45 -08:00
c0b08f3467 Merge pull request #1 from ethanholz/dev-ethan/bugfixes
General bugfixes and style changes for concistency
2022-10-11 13:26:44 -07:00
Ethan Holz
bdf265b7a3 style: Updated to include consistent naming of variables 2022-10-11 15:16:19 -05:00
Ethan Holz
db9002982d fix: Commented out unused colors in theme 2022-10-11 15:15:39 -05:00
Ethan Holz
442b4f8b6f style: Gofumpt formatting changes 2022-10-11 15:14:31 -05:00
Ethan Holz
cae1727bf5 fix: Removed ineffectual assignment 2022-10-11 15:12:47 -05:00
b6cfa96e93 use builtins, add joining funcs v0.9.4 v0.9.5 2022-10-10 01:35:47 -07:00
4104eb60c8 Add conversion function v0.9.3 2022-10-09 12:06:37 -07:00
73908de789 add license 2022-10-03 01:28:04 -07:00
2faa38265e Adding test coverage + bugfixes v0.9.2 2022-10-03 01:25:51 -07:00
2d452d8c20 Properly apply modulus to input ints v0.9.1 2022-10-03 01:05:51 -07:00
1a5f9fe512 rename of package v0.9.0 2022-10-03 00:50:51 -07:00
ee7afb7cfb Add New() func 2022-10-02 23:59:56 -07:00
8bdfc9cca6 Create toHex apis 2022-10-02 23:53:21 -07:00
2ffe863e18 Add vim themes 2022-09-28 19:50:20 -07:00
c6f329915e Add alduin + skeleton template 2022-09-28 19:34:57 -07:00
8858d0ab90 fix main to work with new project structure 2022-09-28 19:29:30 -07:00
d550e96044 move palettes to subpackage 2022-09-28 19:28:24 -07:00
95a3de23cd refactor wombat colorscheme 2022-09-28 19:26:02 -07:00
2db2a1889b add more attributions 2022-09-28 18:07:28 -07:00
639143ed84 Add missing source attributions 2022-09-28 18:02:07 -07:00
78ee975aa1 rename luna, refactor material 2022-09-28 17:57:11 -07:00
73ef90d0c6 Formatting, subpackage rename 2022-09-28 15:55:15 -07:00
e05a96df51 support 3-character hex codes like CSS does 2022-06-23 21:43:20 -07:00
16dbaa7796 add fromHex functionality 2022-06-23 12:08:07 -07:00
419a90f4ff add ansi and change sort call 2022-03-31 11:28:10 -07:00
b87628ea88 stepping towards api solidification 2022-03-31 11:22:17 -07:00
12e72a4501 reformat code to fit on single lines and sort 2022-03-31 06:36:51 -07:00
9614132088 indent colors into var 2022-03-31 06:28:13 -07:00
3aa913d0ed unexport the colorsets 2022-03-31 06:25:27 -07:00
027c5a339c added warning readme 2022-03-31 05:57:32 -07:00
aba77dc044 spelling error 2022-03-31 05:50:39 -07:00
5fc2798455 add more palettes 2022-03-31 05:50:19 -07:00
0b13c2fd79 Adds popular from color_hex 2022-03-31 04:50:37 -07:00
5f005469ed initial commit 2022-03-31 04:18:26 -07:00