Vixen
02b45cc4
csharp
public readonly record struct VariantEffect

What a variant does to the rule it prefixes.

No guide page documents this yet — the page shows what the code says about itself.

Fields and properties (3)

  • public string SelectorSuffix

    Appended to the class selector — :hover, [data-x].

  • public string SelectorPrefix

    Prepended, for the variants that need an ancestor — .dark.

  • public string? AtRule

    An at-rule to wrap the whole thing in, such as a media query.

Methods (1)

  • public VariantEffect(string SelectorSuffix, string SelectorPrefix, string? AtRule)

    What a variant does to the rule it prefixes.

Used by (2)

  • UtilityGeneratorVixen.Ui.Styling.Utilities
  • VariantsVixen.Ui.Styling.Utilities