Font weight, letter spacing, line height, text transform, text decoration, text overflow, and text alignment.
--alap-font-weight: 300; /* light */ --alap-font-weight: 700; /* bold */
Normal → semibold on hover:
Base weight 400, hover weight 600. The fallback chain ensures hover inherits the base if --alap-hover-font-weight is unset.
--alap-font-weight: 400; --alap-hover-font-weight: 600;
--alap-letter-spacing: -0.02em; /* tight */ --alap-letter-spacing: 0.08em; /* wide — pairs well with uppercase */
--alap-line-height: 1.2; /* compact */ --alap-line-height: 2.0; /* spacious */
--alap-text-transform: uppercase; /* BROOKLYN BRIDGE */ --alap-text-transform: capitalize; /* Brooklyn Bridge */ --alap-text-transform: lowercase; /* brooklyn bridge */
Underline appears on hover:
Base: no decoration. Hover: underline. A traditional link feel inside the menu.
--alap-text-decoration: none; --alap-hover-text-decoration: underline;
--alap-text-align: center; --alap-text-align: right;
Long labels get truncated:
Requires three companion properties. text-overflow alone does nothing without overflow: hidden and white-space: nowrap.
--alap-text-overflow: ellipsis; --alap-overflow: hidden; --alap-white-space: nowrap; --alap-max-width: 200px;
Developer-friendly look:
Combines custom font, tighter padding, smaller size, notch corners, and wide letter spacing.
--alap-font: 'JetBrains Mono', 'SF Mono', monospace; --alap-font-size: 0.8rem; --alap-padding: 0.4rem 0.8rem; --alap-letter-spacing: 0.02em; --alap-text-transform: uppercase; --alap-corner-shape: notch;