Nooxit
Foundations

States

Hover, disabled and the tokens behind them.

Hover

Hover is a token, not an opacity change. Each interactive surface has a paired hover color:

SurfaceHover
bg-primarybg-hover-primary
bg-secondarybg-hover-secondary
bg-destructivebg-hover-destructive
bg-destructive-10bg-hover-destructive-20
bg-successbg-hover-success

Outline and ghost buttons hover to bg-hover-secondary; menu and select items hover to bg-accent; navigation and toggle surfaces hover to bg-muted.

The success hover token is spelled background/hover:succes in Figma — a typo in the kit. It is exported here as --hover-success.

Opacity utilities

Two state values come from the kit as opacities rather than colors, and they are exposed as utilities so components never hard-code the number:

--state-disabled: 0.5;
--state-hover: 0.8;
UtilityValueUsed by
opacity-disabled50%Every disabled control
opacity-hover80%Destructive badge hover

Icon buttons and destructive buttons drop to 40% when disabled, which is what the kit's button page specifies.

Disabled

disabled:pointer-events-none disabled:opacity-disabled

Disabled controls keep their colors and only lose opacity — none of them switch to a muted fill.

On this page