The '''PlatformColorPalette''' component is a quick way of getting the colors of [[Resonite|Resonite's]] [[Branding]]. This also provides you with both the color values in [[Type:ColorX|ColorX]] form and [https://en.wikipedia.org/wiki/Web_colors Hex] form.
The '''PlatformColorPalette''' component is a quick way of getting the colors of [[Resonite|Resonite's]] [[Branding]]. This also provides you with both the color values in [[Type:ColorX|ColorX]] form and [https://en.wikipedia.org/wiki/Web_colors Hex] form.
|Hero|{{RootFieldType|(nested)|[[#Colors|Colors]]}}|TypeAdv1=true| A list of color and hexes used for bright colored buttons and text like yellow for selected inspector slots or used in other cases.
|Sub|{{RootFieldType|(nested)|[[#Colors|Colors]]}}|TypeAdv2=true| A darker color and hexes set used for buttons or UI that are darker due to being selected or used in other cases.
|Dark|{{RootFieldType|(nested)|[[#Colors|Colors]]}}|TypeAdv3=true| A dark color and hexes set used for buttons or UI that is disabled or used in other cases.
}}
}}
== Behavior ==
== Grayscale ==
{{Table TypeFields
|DarkHex|{{RootFieldType|RawOutput`1|[[Type:String|String]]}}|TypeAdv0=true| The dark hex code for this color type group
|MidHex|{{RootFieldType|RawOutput`1|[[Type:String|String]]}}|TypeAdv1=true| The mid hex code for this color type group
|LightHex|{{RootFieldType|RawOutput`1|[[Type:String|String]]}}|TypeAdv2=true| The light hex code for this color type group.
|Dark|{{RootFieldType|RawOutput`1|[[Type:ColorX|ColorX]]}}|TypeAdv3=true| The dark color for this color type group.
|Mid|{{RootFieldType|RawOutput`1|[[Type:ColorX|ColorX]]}}|TypeAdv4=true| The mid color for this color type group.
|Light|{{RootFieldType|RawOutput`1|[[Type:ColorX|ColorX]]}}|TypeAdv5=true| The light color for this color type group.
}}
== Colors ==
{{Table TypeFields
|YellowHex|{{RootFieldType|RawOutput`1|[[Type:String|String]]}}|TypeAdv0=true| The yellow hex code for this color group.
|GreenHex|{{RootFieldType|RawOutput`1|[[Type:String|String]]}}|TypeAdv1=true| The green hex code for this color group.
|RedHex|{{RootFieldType|RawOutput`1|[[Type:String|String]]}}|TypeAdv2=true| The red hex code for this color group.
|PurpleHex|{{RootFieldType|RawOutput`1|[[Type:String|String]]}}|TypeAdv3=true| The purple hex code for this color group.
|CyanHex|{{RootFieldType|RawOutput`1|[[Type:String|String]]}}|TypeAdv4=true| The cyan hex code for this color group.
|OrangeHex|{{RootFieldType|RawOutput`1|[[Type:String|String]]}}|TypeAdv5=true| The orange hex code for this color group.
|Yellow|{{RootFieldType|RawOutput`1|[[Type:ColorX|ColorX]]}}|TypeAdv6=true| The yellow color for this color group.
|Green|{{RootFieldType|RawOutput`1|[[Type:ColorX|ColorX]]}}|TypeAdv7=true| The green color for this color group.
|Red|{{RootFieldType|RawOutput`1|[[Type:ColorX|ColorX]]}}|TypeAdv8=true| The red color for this color group.
|Purple|{{RootFieldType|RawOutput`1|[[Type:ColorX|ColorX]]}}|TypeAdv9=true| The purple color for this color group.
|Cyan|{{RootFieldType|RawOutput`1|[[Type:ColorX|ColorX]]}}|TypeAdv10=true| The cyan color for this color group.
|Orange|{{RootFieldType|RawOutput`1|[[Type:ColorX|ColorX]]}}|TypeAdv11=true| The orange color for this color group.
}}
== Usage ==
Attach to a slot and take any value as a source for a drive to drive a UI with Resonite's branding.
== Examples ==
== Examples ==
{{stub}}
== See Also ==
== See Also ==
Line 26:
Line 52:
[[Category:Components{{#translation:}}|Platform Color Palette]]
[[Category:Components{{#translation:}}|Platform Color Palette]]
[[Category:Components With Nested Types{{#translation:}}|Platform Color Palette]]
[[Category:Components With Nested Types{{#translation:}}|Platform Color Palette]]
[[Category:ComponentStubs]]
Revision as of 16:50, 30 January 2025
Component image
Platform Color Palette component as seen in the Scene Inspector
The PlatformColorPalette component is a quick way of getting the colors of Resonite'sBranding. This also provides you with both the color values in ColorX form and Hex form.