docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum TextVariant

    Emphasis values for Text UI element.

    Namespace: Unity.AppUI.UI
    Assembly: Unity.AppUI.dll
    Syntax
    public enum TextVariant
    Remarks

    Mirrors the registry's textVariants variant axis. Each value binds to a semantic text-color alias, never to a raw palette step, so it re-resolves per theme.

    Fields

    Name Description
    Default

    Body copy — --appui-alias-text-primary.

    Muted

    The quietest tier, for captions and hints — --appui-alias-text-disabled.

    Secondary

    De-emphasized supporting copy — --appui-alias-text-secondary.

    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)