@antadesign/anta
    Preparing search index...

    Function toneStyleUnreviewed

    • Inline-style helper for a custom (non-named) tone: hands the literal color to the element via varName (e.g. --radio-tone-source) so the element's CSS derives the fill/text/border curve in oklch. Named tones return base unchanged.

      Parameters

      • tone: string | undefined
      • varName: string
      • Optionalbase: CSSProperties

      Returns CSSProperties | undefined