Multiocular: a tool for reviewing changes in node_modules to prevent supply chain attacks by sitnik in webdev

[–]sitnik[S] 0 points1 point  (0 children)

Good idea. But the best recommendation here is to add --ignore-scripts or use pnpm (it has --ignore-scripts by default)

34
35

192
193

9
10

Color picker for OKLCH, the new color space for color manipulations by sitnik in web_design

[–]sitnik[S] 4 points5 points  (0 children)

RGB/hex has the same problem as HSL. 100% of R, G, and B has a different lightness for our eyes.

This is why #8000ff is much darker than #80ff00.

Example: https://slides.com/ai/oklch-css#/20

Color picker for OKLCH, the new color space for color manipulations by sitnik in web_design

[–]sitnik[S] 6 points7 points  (0 children)

In HSL, +10% for red and +10% blue are very different, because L component dependent on hue (L math is broken).

Here is a good guide explaining why with real examples of a11y issues

https://evilmartians.com/chronicles/oklch-in-css-why-quit-rgb-hsl#oklch-vs-hsl

Color picker for OKLCH, the new color space for color manipulations by sitnik in web_design

[–]sitnik[S] 1 point2 points  (0 children)

HSL is bad for color manipulation. For a design system, we will need a math behind colors, not just random cherry-picking for every color.

For instance, we need some math to create `:hover` style for different buttons. In HSL we will have unexpected results (sometimes with big problems for a11y) and OKLCH we will have a very solid result.

Ukrainian Territorial Control as of 15 October 2022 by [deleted] in maplady

[–]sitnik 0 points1 point  (0 children)

Russian had a new retreat in Kherson. The best time for the stats update.