Package 

Class StreamDesign.Colors

    • Constructor Detail

      • StreamDesign.Colors

        StreamDesign.Colors(StreamDesign.ColorScale brand, StreamDesign.ChromeScale chrome, Color accentPrimary, Color accentSuccess, Color accentWarning, Color accentError, Color accentNeutral, Color textPrimary, Color textSecondary, Color textTertiary, Color textOnInverse, Color textOnAccent, Color textDisabled, Color textLink, Color backgroundCoreApp, Color backgroundCoreElevation0, Color backgroundCoreElevation1, Color backgroundCoreElevation2, Color backgroundCoreElevation3, Color backgroundCoreOnElevation, Color backgroundCoreSurfaceDefault, Color backgroundCoreSurfaceSubtle, Color backgroundCoreSurfaceCard, Color backgroundCoreSurfaceStrong, Color backgroundCoreInverse, Color backgroundCoreOnAccent, Color backgroundCoreHighlight, Color backgroundCoreOverlayLight, Color backgroundCoreOverlayDark, Color backgroundCoreScrim, Color backgroundCoreOverlayDarkStrong, Color backgroundUtilityHover, Color backgroundUtilityPressed, Color backgroundUtilitySelected, Color backgroundUtilityDisabled, Color backgroundUtilitySkeletonLoadingBase, Color backgroundUtilitySkeletonLoadingHighlight, Color borderUtilityHover, Color borderUtilityPressed, Color borderUtilitySelected, Color borderUtilityFocused, Color borderUtilityActive, Color borderUtilitySuccess, Color borderUtilityWarning, Color borderUtilityError, Color borderUtilityDisabled, Color borderUtilityDisabledOnSurface, Color borderCoreDefault, Color borderCoreSubtle, Color borderCoreStrong, Color borderCoreOnAccent, Color borderCoreOnSurface, Color borderCoreOnElevation, Color borderCoreOpacitySubtle, Color borderCoreOpacityStrong, Color borderCoreOnInverse, Color avatarPresenceBorder, Color avatarBgDefault, Color avatarBgPlaceholder, Color avatarTextDefault, Color avatarTextPlaceholder, Color systemBgBlur, Color systemCaret, Color systemScrollbar)
        Parameters:
        brand - The brand (accent) color scale.
        chrome - The chrome (neutral gray) color scale.
        accentPrimary - The main brand color.
        accentSuccess - Indicates a positive or completed state.
        accentWarning - Indicates a cautionary state that requires attention.
        accentError - Indicates a failure or destructive state.
        accentNeutral - A mid-tone gray for de-emphasized UI elements.
        textPrimary - Main body text.
        textSecondary - Supporting metadata text.
        textTertiary - De-emphasized text.
        textOnInverse - Text on inverse-colored surfaces.
        textOnAccent - Text on accent-colored surfaces.
        textDisabled - Text for non-interactive or unavailable states.
        textLink - Hyperlinks and inline actions.
        backgroundCoreApp - The outermost application background.
        backgroundCoreElevation0 - The base layer.
        backgroundCoreElevation1 - Slightly raised surfaces.
        backgroundCoreElevation2 - Floating and modal surfaces.
        backgroundCoreElevation3 - Used for badge counts that float above other UI elements.
        backgroundCoreOnElevation - Background for controls placed on an elevated surface.
        backgroundCoreSurfaceDefault - Background for sectioned content areas.
        backgroundCoreSurfaceSubtle - A slightly receded background.
        backgroundCoreSurfaceCard - Background for contained, card-style elements.
        backgroundCoreSurfaceStrong - A more prominent background.
        backgroundCoreInverse - The opposite of the primary surface.
        backgroundCoreOnAccent - Background for elements placed on an accent-colored surface.
        backgroundCoreHighlight - A tint for drawing attention to content.
        backgroundCoreOverlayLight - A light semi-transparent layer.
        backgroundCoreOverlayDark - A dark semi-transparent layer.
        backgroundCoreScrim - A heavy semi-transparent layer.
        backgroundCoreOverlayDarkStrong - A stronger version of backgroundCoreOverlayDark, with higher opacity.
        backgroundUtilityHover - A semi-transparent overlay applied on pointer hover.
        backgroundUtilityPressed - A slightly stronger overlay applied during an active press or tap.
        backgroundUtilitySelected - Indicates an active or selected state.
        backgroundUtilityDisabled - Background for non-interactive elements.
        backgroundUtilitySkeletonLoadingBase - Base color for the default skeleton loading gradient.
        backgroundUtilitySkeletonLoadingHighlight - Highlight color for the default skeleton loading gradient.
        borderUtilityHover - Applied on pointer hover over bordered interactive elements.
        borderUtilityPressed - Applied during an active press on bordered interactive elements.
        borderUtilitySelected - Border for selected or active items.
        borderUtilityFocused - Focus ring for keyboard and accessibility navigation.
        borderUtilityActive - Active input border.
        borderUtilitySuccess - Border for positive or confirmed states.
        borderUtilityWarning - Border for cautionary states.
        borderUtilityError - Border for failure or invalid states.
        borderUtilityDisabled - Border for non-interactive elements.
        borderUtilityDisabledOnSurface - Border for disabled elements on elevated surfaces.
        borderCoreDefault - Standard border for surfaces and containers.
        borderCoreSubtle - A lighter border for minimal separation.
        borderCoreStrong - An emphatic border for elements that need clear definition.
        borderCoreOnAccent - Border on accent-colored surfaces.
        borderCoreOnSurface - Border for elements sitting on elevated surfaces.
        borderCoreOnElevation - Border for controls placed on an elevated surface.
        borderCoreOpacitySubtle - A very light transparent border.
        borderCoreOpacityStrong - A stronger transparent border for elements on colored or dark backgrounds.
        borderCoreOnInverse - Border on inverse-colored surfaces.
        avatarPresenceBorder - The thin outline around the presence dot.
        avatarBgDefault - avatar bg default
        avatarBgPlaceholder - avatar bg placeholder
        avatarTextDefault - avatar text default
        avatarTextPlaceholder - avatar text placeholder
        systemBgBlur - system bg-blur
        systemCaret - system caret
        systemScrollbar - system scrollbar