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

Storybook · all subjects

backgrounds

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

Backgrounds addon default configuration

The backgrounds feature includes a light and dark background by default. You can configure your own set of colors using the backgrounds parameter in .storybook/preview.* by defining available background colors with the options property and setting the initial background color using the initialGlobals property.

Setting a story default background color

You can set a story to default to a specific background color by using the globals option with a background color value. When you specify a background color for a story using globals, the color is applied and cannot be changed using the toolbar, ensuring the story is always rendered on that specific background.

Backgrounds configuration per component or story

You can configure backgrounds on a per-component or per-story basis through parameter inheritance. Use the options property to set available background colors for all stories of a specific component.

Disable backgrounds for a story

To turn off backgrounds in a story, configure the backgrounds parameter with disable set to true.

Backgrounds grid feature

The backgrounds feature includes a Grid selector that allows you to quickly see if your components are aligned. The grid does not require additional configuration to get started, but all its properties are fully customizable with sensible defaults.

Give your agent this brain