Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ linters:

gosec:
excludes:
# G115: integer overflow on conversion — false positive here because all channel
# G115: integer overflow on conversion. False positive here because all channel
# values are clamped to [0, 1] before multiplication, so the result is always
# in [0, 255] and fits safely in uint8.
- G115
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ All of these must pass before opening a PR. CI runs `vet`, `fmt`, and `lint` in

1. Fork the repo and create a branch from `main`.
2. Branch names should follow the prefix convention: `feat/`, `fix/`, `chore/`, `docs/`.
3. Keep changes focused one logical change per PR.
3. Keep changes focused, one logical change per PR.
4. Add or update tests for any behavior change.
5. Ensure every new exported symbol has a doc comment and that any new package has a package-level doc comment (required by the `staticcheck` ST1000 rule).

Expand All @@ -59,7 +59,7 @@ Types: `feat`, `fix`, `chore`, `ci`, `docs`, `test`, `refactor`
- Open a PR against `main`
- Fill in the PR template
- A PR should pass all CI checks before review
- We use **Rebase and merge** — individual commits land on `main` as-is, so keep your history clean
- We use **Rebase and merge**. Individual commits land on `main` as-is, so keep your history clean.

## Reporting issues

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ golor provides a single `Color` type (normalized sRGB) and a set of focused sub-
| `adjust` | Lighten, darken, saturate, hue shift, warm/cool, tint, shade |
| `blend` | Blend modes: multiply, screen, overlay, soft light, and more |
| `contrast` | WCAG 2.1 contrast ratio and enforcement |
| `deltae` | Perceptual color difference (ΔE76 and CIEDE2000) |
| `deltae` | Perceptual color difference (dE76 and CIEDE2000) |
| `colorblind` | Deficiency simulation and accessible palette generation |
| `harmony` | Complementary, triadic, analogous, tetradic, split schemes |
| `gradient` | Interpolation in RGB, HSL, L\*a\*b\*, and LCH |
Expand Down Expand Up @@ -179,4 +179,4 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for full contribution guidelines.

## License

MIT — see [LICENSE](LICENSE).
Apache 2.0, see [LICENSE](LICENSE).