new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

Bun · Bundler · all subjects

css/color-features

7 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

Color-mix function evaluation at build time

The color-mix() function blends two colors at a given ratio in a chosen color space. Bun's CSS bundler evaluates these color mixes at build time when all color values are known (not CSS variables), generating static color values that work in all browsers.

Relative color syntax computation at build time

Relative color syntax modifies individual components of an existing color. Bun's CSS bundler computes these relative color modifications at build time when not using CSS variables and generates static color values for browser compatibility.

LAB and OKLCH color format transpilation

Bun's CSS bundler converts LAB, LCH, OKLAB, and OKLCH color formats to backwards-compatible alternatives. For browsers that don't support these formats, the bundler generates RGB fallbacks, P3 fallbacks for wider gamut support, and preserves the original values for browsers that support them.

Color function with wide gamuts transpilation

The color() function specifies colors in predefined color spaces like Display P3 and A98 RGB. For browsers that don't support these color spaces, Bun's CSS bundler adds RGB fallbacks while preserving the original values for browsers that support them.

HWB color model transpilation

The HWB (Hue, Whiteness, Blackness) color model expresses colors based on how much white or black is mixed with a pure hue. Bun's CSS bundler converts HWB colors to RGB for compatibility with all browsers.

Modern color notation transpilation

Modern CSS supports space-separated RGB and HSL values (no commas) and hex colors with an alpha channel. Bun's CSS bundler converts these formats for older browsers by converting to comma format for RGB/HSL and converting hex+alpha to rgba when needed.

light-dark() function transpilation with CSS variables

The light-dark() function takes two colors and applies one based on the current color scheme. For browsers that don't support light-dark(), Bun's CSS bundler converts it to CSS variables with media query fallbacks using prefers-color-scheme to respect system preferences.

Give your agent this brain