settingsRowRecipe top-level constant

WindRecipe const settingsRowRecipe

The settings row WindRecipe.

Drives the title className for each SettingsRowTone. The recipe is a top-level const because MSSettingsRow has no theme-override hook; it reads straight from the semantic alias tokens.

Emission order: base ++ tone-variant.

Tone -> semantic token mapping:

  • defaultTone: text-fg font-medium text-base
  • destructive: text-destructive font-medium text-base

Implementation

const WindRecipe settingsRowRecipe = WindRecipe(
  base: 'min-h-12 px-5 py-4 flex flex-row items-center gap-3',
  variants: {
    kSettingsRowToneAxis: {
      'defaultTone': 'text-fg',
      'destructive': 'text-destructive',
    },
  },
  defaultVariants: {kSettingsRowToneAxis: 'defaultTone'},
);