Developers

CSS Recipes

Compatible examples based on NasDash public variables.

Paste one recipe at a time, verify both color modes, and then combine them.

These recipes target the current Calme body scope. !important deliberately overrides theme tokens and saved inline Appearance values; remove those declarations to restore settings control. For surface blur, first enable Settings → Appearance → Surface blur above zero. The blur rules below adjust --nd-surface-blur only while data-blur="on" is active.

Cyan accent and crisp cards

body[data-design="calme"] {
  --nd-accent: #22d3ee !important;
  --nd-accent-glow: rgba(34, 211, 238, 0.16) !important;
  --nd-accent-dim: rgba(34, 211, 238, 0.1) !important;
  --nd-card-border: rgba(34, 211, 238, 0.2) !important;
  --nd-card-hover-border: rgba(34, 211, 238, 0.48) !important;
  --nd-card-radius: 14px !important;
}

Soft, rounded style

body[data-design="calme"] {
  --nd-card-radius: 22px !important;
  --nd-transition: 180ms ease !important;
}

body[data-design="calme"][data-blur="on"] {
  --nd-surface-blur: 20px !important;
}

Mobile density

@media (max-width: 700px) {
  body[data-design="calme"] {
    --nd-card-radius: 12px !important;
    --nd-card-bg: rgba(var(--nd-card-bg-rgb), 0.96) !important;
  }

  body[data-design="calme"][data-blur="on"] {
    --nd-surface-blur: 6px !important;
  }
}

Accessible state palette

body[data-design="calme"] {
  --nd-green: #22c55e !important;
  --nd-yellow: #eab308 !important;
  --nd-orange: #f97316 !important;
  --nd-red: #ef4444 !important;
  --nd-blue: #3b82f6 !important;
  --nd-purple: #a855f7 !important;
}

Do not rely solely on color to convey a state. Product labels and icons must remain visible.