BitQuirky.Graph.GraphView.Styles
Public bit quirky graph: editor symbols in BitQuirky.Graph.GraphView.Styles.
Source snapshot ad0983d00d77.
On this page
Assembly: BitQuirky.Graph.GraphView.Editor
BitQuirkyColors
Section titled “BitQuirkyColors”Category: Low-level runtime
class BitQuirky.Graph.GraphView.Styles.BitQuirkyColorsSource declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:17-246
Canonical Bit Quirky brand + cross-product color constants mirrored
fromEditor/GraphView/Styles/DesignSystem/Tokens.uss.
These tokens are intended to be reused across every BQ graphing product (Round Trip, Behavior Tree editor, UI graph tool…) so the brand reads as one product family.
Tokens.uss is the source of truth - hex values appear there only. Each consumer project pairs this class with a parity test against its own product-specific palette to catch drift.
Members
Section titled “Members”BrandTeal
Section titled “BrandTeal”public const string BrandTeal = "#35D1DB"Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:21
The Bit Quirky brand teal, the family accent every product shares. CSS token value mirrored from Tokens.uss.
BrandTealColor
Section titled “BrandTealColor”public static readonly BitQuirky.Graph.GraphView.Styles.RgbaColor BrandTealColorSource declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:117
BrandTeal parsed into a usable color value.
BrandTealDark
Section titled “BrandTealDark”public const string BrandTealDark = "#123A43"Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:23
The deep teal companion to BrandTeal, used for filled backings behind teal content. CSS token value mirrored from Tokens.uss.
BrandTealDarkColor
Section titled “BrandTealDarkColor”public static readonly BitQuirky.Graph.GraphView.Styles.RgbaColor BrandTealDarkColorSource declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:119
BrandTealDark parsed into a usable color value.
ButtonNeutral
Section titled “ButtonNeutral”public const string ButtonNeutral = "#5A5A5A"Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:41
Fill of a button that carries no status or brand meaning. CSS token value mirrored from Tokens.uss.
ButtonNeutralColor
Section titled “ButtonNeutralColor”public static readonly BitQuirky.Graph.GraphView.Styles.RgbaColor ButtonNeutralColorSource declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:131
ButtonNeutral parsed into a usable color value.
ContainerFolder
Section titled “ContainerFolder”public const string ContainerFolder = "#D4A055"Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:83
A folder in a browsing surface. CSS token value mirrored from Tokens.uss.
ContainerFolderColor
Section titled “ContainerFolderColor”public static readonly BitQuirky.Graph.GraphView.Styles.RgbaColor ContainerFolderColorSource declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:170
ContainerFolder parsed into a usable color value.
ContainerPackage
Section titled “ContainerPackage”public const string ContainerPackage = "#A0A0A0"Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:85
A package in a browsing surface. CSS token value mirrored from Tokens.uss.
ContainerPackageColor
Section titled “ContainerPackageColor”public static readonly BitQuirky.Graph.GraphView.Styles.RgbaColor ContainerPackageColorSource declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:172
ContainerPackage parsed into a usable color value.
DataBool
Section titled “DataBool”public const string DataBool = "#B34D4D"Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:65
True/false values. CSS token value mirrored from Tokens.uss.
DataBoolColor
Section titled “DataBoolColor”public static readonly BitQuirky.Graph.GraphView.Styles.RgbaColor DataBoolColorSource declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:153
DataBool parsed into a usable color value.
DataChar
Section titled “DataChar”public const string DataChar = "#6B8B9A"Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:69
Single-character values. CSS token value mirrored from Tokens.uss.
DataCharColor
Section titled “DataCharColor”public static readonly BitQuirky.Graph.GraphView.Styles.RgbaColor DataCharColorSource declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:157
DataChar parsed into a usable color value.
DataDefault
Section titled “DataDefault”public const string DataDefault = "#8E5CFF"Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:77
Values whose type has no color of its own; shares DataObject. CSS token value mirrored from Tokens.uss.
DataDefaultColor
Section titled “DataDefaultColor”public static readonly BitQuirky.Graph.GraphView.Styles.RgbaColor DataDefaultColorSource declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:165
DataDefault parsed into a usable color value.
DataExec
Section titled “DataExec”public const string DataExec = "rgba(255, 255, 255, 0.70)"Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:79
Execution flow, which carries control rather than a value. CSS token value mirrored from Tokens.uss.
DataExecColor
Section titled “DataExecColor”public static readonly BitQuirky.Graph.GraphView.Styles.RgbaColor DataExecColorSource declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:167
DataExec parsed into a usable color value.
DataFloat
Section titled “DataFloat”public const string DataFloat = "#6CB47A"Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:63
Fractional-number values. CSS token value mirrored from Tokens.uss.
DataFloatColor
Section titled “DataFloatColor”public static readonly BitQuirky.Graph.GraphView.Styles.RgbaColor DataFloatColorSource declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:151
DataFloat parsed into a usable color value.
DataInt
Section titled “DataInt”public const string DataInt = "#4EA054"Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:61
Whole-number values. CSS token value mirrored from Tokens.uss.
DataIntColor
Section titled “DataIntColor”public static readonly BitQuirky.Graph.GraphView.Styles.RgbaColor DataIntColorSource declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:149
DataInt parsed into a usable color value.
DataObject
Section titled “DataObject”public const string DataObject = "#8E5CFF"Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:71
Reference values. CSS token value mirrored from Tokens.uss.
DataObjectColor
Section titled “DataObjectColor”public static readonly BitQuirky.Graph.GraphView.Styles.RgbaColor DataObjectColorSource declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:159
DataObject parsed into a usable color value.
DataString
Section titled “DataString”public const string DataString = "#E34A99"Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:67
Text values. CSS token value mirrored from Tokens.uss.
DataStringColor
Section titled “DataStringColor”public static readonly BitQuirky.Graph.GraphView.Styles.RgbaColor DataStringColorSource declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:155
DataString parsed into a usable color value.
DataStruct
Section titled “DataStruct”public const string DataStruct = "#B07AB0"Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:73
Composite value types. CSS token value mirrored from Tokens.uss.
DataStructColor
Section titled “DataStructColor”public static readonly BitQuirky.Graph.GraphView.Styles.RgbaColor DataStructColorSource declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:161
DataStruct parsed into a usable color value.
DataVoid
Section titled “DataVoid”public const string DataVoid = "#808011"Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:75
A slot that carries no value. CSS token value mirrored from Tokens.uss.
DataVoidColor
Section titled “DataVoidColor”public static readonly BitQuirky.Graph.GraphView.Styles.RgbaColor DataVoidColorSource declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:163
DataVoid parsed into a usable color value.
ErrorFill
Section titled “ErrorFill”public const string ErrorFill = "#C81E1E"Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:112
Fill of an error badge. CSS token value mirrored from Tokens.uss.
ErrorFillColor
Section titled “ErrorFillColor”public static readonly BitQuirky.Graph.GraphView.Styles.RgbaColor ErrorFillColorSource declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:193
ErrorFill parsed into a usable color value.
ErrorStroke
Section titled “ErrorStroke”public const string ErrorStroke = "#FF3C3C"Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:114
Outline of an error badge. CSS token value mirrored from Tokens.uss.
ErrorStrokeColor
Section titled “ErrorStrokeColor”public static readonly BitQuirky.Graph.GraphView.Styles.RgbaColor ErrorStrokeColorSource declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:195
ErrorStroke parsed into a usable color value.
IndicatorAmber
Section titled “IndicatorAmber”public const string IndicatorAmber = "#FF9800"Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:102
A warning status indicator. CSS token value mirrored from Tokens.uss.
IndicatorAmberColor
Section titled “IndicatorAmberColor”public static readonly BitQuirky.Graph.GraphView.Styles.RgbaColor IndicatorAmberColorSource declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:184
IndicatorAmber parsed into a usable color value.
IndicatorGreen
Section titled “IndicatorGreen”public const string IndicatorGreen = "#4CAF50"Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:100
A healthy or passing status indicator. CSS token value mirrored from Tokens.uss.
IndicatorGreenColor
Section titled “IndicatorGreenColor”public static readonly BitQuirky.Graph.GraphView.Styles.RgbaColor IndicatorGreenColorSource declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:182
IndicatorGreen parsed into a usable color value.
IndicatorRed
Section titled “IndicatorRed”public const string IndicatorRed = "#F44336"Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:104
A failing status indicator. CSS token value mirrored from Tokens.uss.
IndicatorRedColor
Section titled “IndicatorRedColor”public static readonly BitQuirky.Graph.GraphView.Styles.RgbaColor IndicatorRedColorSource declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:186
IndicatorRed parsed into a usable color value.
OverlayBody
Section titled “OverlayBody”public const string OverlayBody = "rgba(0, 0, 0, 0.31)"Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:35
Darkening wash laid over a body surface. CSS token value mirrored from Tokens.uss.
OverlayBodyColor
Section titled “OverlayBodyColor”public static readonly BitQuirky.Graph.GraphView.Styles.RgbaColor OverlayBodyColorSource declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:127
OverlayBody parsed into a usable color value.
OverlayGrid
Section titled “OverlayGrid”public const string OverlayGrid = "rgba(255, 255, 255, 0.14)"Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:37
Lightening wash used for grid lines drawn over a surface. CSS token value mirrored from Tokens.uss.
OverlayGridColor
Section titled “OverlayGridColor”public static readonly BitQuirky.Graph.GraphView.Styles.RgbaColor OverlayGridColorSource declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:129
OverlayGrid parsed into a usable color value.
SelectPrimaryWash
Section titled “SelectPrimaryWash”public const string SelectPrimaryWash = "rgba(43, 92, 140, 0.18)"Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:92
Background wash of the primary selection. CSS token value mirrored from Tokens.uss.
SelectPrimaryWashColor
Section titled “SelectPrimaryWashColor”public static readonly BitQuirky.Graph.GraphView.Styles.RgbaColor SelectPrimaryWashColorSource declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:175
SelectPrimaryWash parsed into a usable color value.
SelectSecondaryStripe
Section titled “SelectSecondaryStripe”public const string SelectSecondaryStripe = "#6B6B6E"Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:94
Edge stripe marking a secondary selection. CSS token value mirrored from Tokens.uss.
SelectSecondaryStripeColor
Section titled “SelectSecondaryStripeColor”public static readonly BitQuirky.Graph.GraphView.Styles.RgbaColor SelectSecondaryStripeColorSource declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:177
SelectSecondaryStripe parsed into a usable color value.
SelectSecondaryWash
Section titled “SelectSecondaryWash”public const string SelectSecondaryWash = "rgba(120, 120, 128, 0.12)"Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:96
Background wash of a secondary selection. CSS token value mirrored from Tokens.uss.
SelectSecondaryWashColor
Section titled “SelectSecondaryWashColor”public static readonly BitQuirky.Graph.GraphView.Styles.RgbaColor SelectSecondaryWashColorSource declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:179
SelectSecondaryWash parsed into a usable color value.
ShadowCard
Section titled “ShadowCard”public const string ShadowCard = "rgba(0, 0, 0, 0.47)"Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:29
Drop shadow under a card-sized surface. CSS token value mirrored from Tokens.uss.
ShadowCardColor
Section titled “ShadowCardColor”public static readonly BitQuirky.Graph.GraphView.Styles.RgbaColor ShadowCardColorSource declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:123
ShadowCard parsed into a usable color value.
ShadowGlyph
Section titled “ShadowGlyph”public const string ShadowGlyph = "rgba(0, 0, 0, 0.63)"Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:31
Drop shadow under a small glyph, darker so it still reads at icon size. CSS token value mirrored from Tokens.uss.
ShadowGlyphColor
Section titled “ShadowGlyphColor”public static readonly BitQuirky.Graph.GraphView.Styles.RgbaColor ShadowGlyphColorSource declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:125
ShadowGlyph parsed into a usable color value.
ShadowMenu
Section titled “ShadowMenu”public const string ShadowMenu = "rgba(0, 0, 0, 0.55)"Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:27
Drop shadow under a floating menu or popover. CSS token value mirrored from Tokens.uss.
ShadowMenuColor
Section titled “ShadowMenuColor”public static readonly BitQuirky.Graph.GraphView.Styles.RgbaColor ShadowMenuColorSource declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:121
ShadowMenu parsed into a usable color value.
SurfaceBorder
Section titled “SurfaceBorder”public const string SurfaceBorder = "#111114"Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:57
The line separating two surfaces. CSS token value mirrored from Tokens.uss.
SurfaceBorderColor
Section titled “SurfaceBorderColor”public static readonly BitQuirky.Graph.GraphView.Styles.RgbaColor SurfaceBorderColorSource declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:146
SurfaceBorder parsed into a usable color value.
SurfaceCanvas
Section titled “SurfaceCanvas”public const string SurfaceCanvas = "#38383E"Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:49
The graph canvas backdrop, the furthest-back surface. CSS token value mirrored from Tokens.uss.
SurfaceCanvasColor
Section titled “SurfaceCanvasColor”public static readonly BitQuirky.Graph.GraphView.Styles.RgbaColor SurfaceCanvasColorSource declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:138
SurfaceCanvas parsed into a usable color value.
SurfaceCard
Section titled “SurfaceCard”public const string SurfaceCard = "#1E1E21"Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:55
A card or node body, the nearest surface. CSS token value mirrored from Tokens.uss.
SurfaceCardColor
Section titled “SurfaceCardColor”public static readonly BitQuirky.Graph.GraphView.Styles.RgbaColor SurfaceCardColorSource declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:144
SurfaceCard parsed into a usable color value.
SurfaceHeading
Section titled “SurfaceHeading”public const string SurfaceHeading = "#232326"Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:53
A heading band inside a panel. CSS token value mirrored from Tokens.uss.
SurfaceHeadingColor
Section titled “SurfaceHeadingColor”public static readonly BitQuirky.Graph.GraphView.Styles.RgbaColor SurfaceHeadingColorSource declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:142
SurfaceHeading parsed into a usable color value.
SurfacePanel
Section titled “SurfacePanel”public const string SurfacePanel = "#2A2A2D"Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:51
A docked panel beside the canvas. CSS token value mirrored from Tokens.uss.
SurfacePanelColor
Section titled “SurfacePanelColor”public static readonly BitQuirky.Graph.GraphView.Styles.RgbaColor SurfacePanelColorSource declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:140
SurfacePanel parsed into a usable color value.
TextInverse
Section titled “TextInverse”public const string TextInverse = "#0E2226"Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:45
Text drawn on a brand-colored fill. CSS token value mirrored from Tokens.uss.
TextInverseColor
Section titled “TextInverseColor”public static readonly BitQuirky.Graph.GraphView.Styles.RgbaColor TextInverseColorSource declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:135
TextInverse parsed into a usable color value.
TextOnBright
Section titled “TextOnBright”public const string TextOnBright = "#262626"Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:43
Text drawn on a bright fill, such as a light chip. CSS token value mirrored from Tokens.uss.
TextOnBrightColor
Section titled “TextOnBrightColor”public static readonly BitQuirky.Graph.GraphView.Styles.RgbaColor TextOnBrightColorSource declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:133
TextOnBright parsed into a usable color value.
WarnFill
Section titled “WarnFill”public const string WarnFill = "#996600"Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:108
Fill of a warning badge. CSS token value mirrored from Tokens.uss.
WarnFillColor
Section titled “WarnFillColor”public static readonly BitQuirky.Graph.GraphView.Styles.RgbaColor WarnFillColorSource declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:189
WarnFill parsed into a usable color value.
WarnStroke
Section titled “WarnStroke”public const string WarnStroke = "#4D3300"Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:110
Outline of a warning badge. CSS token value mirrored from Tokens.uss.
WarnStrokeColor
Section titled “WarnStrokeColor”public static readonly BitQuirky.Graph.GraphView.Styles.RgbaColor WarnStrokeColorSource declaration: ../bitquirky-graph/Editor/GraphView/Styles/BitQuirkyColors.cs:191
WarnStroke parsed into a usable color value.
ColorExtensions
Section titled “ColorExtensions”Category: Low-level runtime
class BitQuirky.Graph.GraphView.Styles.ColorExtensionsSource declaration: ../bitquirky-graph/Editor/GraphView/Styles/GraphColorUtility.cs:218-232
Bridges the library’s platform-independent color to Unity’s.
Members
Section titled “Members”ToUnityColor(RgbaColor rgba)
Section titled “ToUnityColor(RgbaColor rgba)”public static UnityEngine.Color ToUnityColor(this BitQuirky.Graph.GraphView.Styles.RgbaColor rgba)Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/GraphColorUtility.cs:223-231
Converts an RgbaColor (0-255) to a Unity Color (0-1).
DesignSystemTimings
Section titled “DesignSystemTimings”Category: Low-level runtime
class BitQuirky.Graph.GraphView.Styles.DesignSystemTimingsSource declaration: ../bitquirky-graph/Editor/GraphView/Styles/DesignSystem/DesignSystemTimings.cs:47-77
C# mirror of the timing tokens declared in Effects.uss
(--bq-pulse-period-ms, --bq-tint-decay-ms,
--bq-glow-radius, --bq-card-radius). UI Toolkit
does not surface USS variables to C#, so consumers of the
design system that need the same timing in C# read it here.
Responsibilities:
- Restate the design-system timing constants so the C# side of the pulse + tint scheduler has a single authoritative source.
- Stay in lockstep with Effects.uss. Any change here must be reflected in Effects.uss in the same commit (and vice versa); the design-system contract treats both as one declaration.
Does NOT:
- Read the USS variable at runtime. UI Toolkit has no API for that yet, so we accept the duplication and document the single-source-of-truth obligation here.
Remarks
Round Trip: adopt this class directly. Round Trip projects may override individual values via an editor preference if they genuinely need a different cadence, but the canonical design-system numbers live here.
Members
Section titled “Members”CardRadiusPx
Section titled “CardRadiusPx”public const int CardRadiusPx = 6Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/DesignSystem/DesignSystemTimings.cs:74
Card corner radius in pixels. Mirrors --bq-card-radius: 6px
in Effects.uss.
GlowRadiusPx
Section titled “GlowRadiusPx”public const int GlowRadiusPx = 4Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/DesignSystem/DesignSystemTimings.cs:68
Outer glow radius in pixels. Mirrors --bq-glow-radius: 4px
in Effects.uss.
PulsePeriodMs
Section titled “PulsePeriodMs”public const int PulsePeriodMs = 1400Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/DesignSystem/DesignSystemTimings.cs:55
One full pulse cycle (on -> off -> on) in milliseconds.
Mirrors --bq-pulse-period-ms: 1400 in Effects.uss.
TintDecayMs
Section titled “TintDecayMs”public const int TintDecayMs = 2400Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/DesignSystem/DesignSystemTimings.cs:62
Recent-change tint decay time in milliseconds. After this
duration the.ed-tint-recentclass is removed by the
scheduler. Mirrors --bq-tint-decay-ms: 2400 in Effects.uss.
GraphColorUtility
Section titled “GraphColorUtility”Category: Low-level runtime
class BitQuirky.Graph.GraphView.Styles.GraphColorUtilitySource declaration: ../bitquirky-graph/Editor/GraphView/Styles/GraphColorUtility.cs:11-213
Utility for calculating contrast colors for graph elements. Matches Avalonia’s luminance-based label color calculation.
Members
Section titled “Members”BodyLabelColor
Section titled “BodyLabelColor”public static UnityEngine.Color BodyLabelColor { get; }Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/GraphColorUtility.cs:23
Label color for node bodies (body overlay is dark, so always light text).
DefaultBodyColor
Section titled “DefaultBodyColor”public static UnityEngine.Color DefaultBodyColor { get; }Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/GraphColorUtility.cs:127
Default body color for nodes (semi-transparent overlay).
DefaultHeaderColor
Section titled “DefaultHeaderColor”public static UnityEngine.Color DefaultHeaderColor { get; }Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/GraphColorUtility.cs:122
Default header color for nodes (used as fallback). Matches Avalonia’s accent color.
EventDelegateColor
Section titled “EventDelegateColor”public static readonly UnityEngine.Color EventDelegateColorSource declaration: ../bitquirky-graph/Editor/GraphView/Styles/GraphColorUtility.cs:155
Event/delegate-reference red. Used by: -PortViewfor the delegate-header pin square. -GraphViewHostfor committed delegate-reference wires and the matching connection ghost wire (feature round-trip 067), so the drag preview always matches the wire it becomes. One named constant instead of scattered literals so the event vocabulary re-themes in a single place.
ExecutionFlowColor
Section titled “ExecutionFlowColor”public static readonly UnityEngine.Color ExecutionFlowColorSource declaration: ../bitquirky-graph/Editor/GraphView/Styles/GraphColorUtility.cs:142
Execution-flow stroke / glyph color . Used by: -PortViewfor the white exec triangle on each exec pin. -EdgeLayervia ExecutionEdgeColorfor the exec wire stroke.
- The on-canvas type legend’s exec row, so the swatch matches
what the user sees on every exec pin / wire.
Kept as a single named constant rather than scattered
Color.whiteliterals so a future re-theme can move all three call sites at once.
EyebrowChipBackgroundColor
Section titled “EyebrowChipBackgroundColor”public static readonly UnityEngine.Color EyebrowChipBackgroundColorSource declaration: ../bitquirky-graph/Editor/GraphView/Styles/GraphColorUtility.cs:171
Background for the member/static access pill’s owner-path “chip” that floats above the capsule (design: feature-pill-get-node). A dark rounded plate so the dim mono path reads against the canvas without competing with the type-colored capsule.
EyebrowChipTextColor
Section titled “EyebrowChipTextColor”public static readonly UnityEngine.Color EyebrowChipTextColorSource declaration: ../bitquirky-graph/Editor/GraphView/Styles/GraphColorUtility.cs:177
Owner-path text color inside the floating chip - a dim gray that sits below the leaf in the visual hierarchy.
GetVariablePillHeaderPinColor
Section titled “GetVariablePillHeaderPinColor”public static readonly UnityEngine.Color GetVariablePillHeaderPinColorSource declaration: ../bitquirky-graph/Editor/GraphView/Styles/GraphColorUtility.cs:164
Data pin color used when a data-producing GET pill places its output pin on the data-type colored header. It overlays translucent white on the header, so the pin reads as a lighter version of the data type color while staying distinct from solid-white execution pins.
GradientLightenFactor
Section titled “GradientLightenFactor”public const float GradientLightenFactor = 0.3Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/GraphColorUtility.cs:212
Gradient lighten factor matching Avalonia settings.
PillPinOutlineColor
Section titled “PillPinOutlineColor”public static readonly UnityEngine.Color PillPinOutlineColorSource declaration: ../bitquirky-graph/Editor/GraphView/Styles/GraphColorUtility.cs:184
Thin light ring drawn around GET / member-access pill pins so the inbound (object) and outbound (transparent-white) dots read as outlined, per the pill design. Kept subtle - a touch softer than the design render.
PillPinOutlineWidth
Section titled “PillPinOutlineWidth”public const float PillPinOutlineWidth = 1.25Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/GraphColorUtility.cs:186
Width in pixels of the ring drawn with PillPinOutlineColor.
UnsupportedCardBodyColor
Section titled “UnsupportedCardBodyColor”public static readonly UnityEngine.Color UnsupportedCardBodyColorSource declaration: ../bitquirky-graph/Editor/GraphView/Styles/GraphColorUtility.cs:197
Body fill for unsupported node cards. Keeps placeholder nodes gray instead of inheriting the default near-black card body.
UnsupportedGlyphBackgroundColor
Section titled “UnsupportedGlyphBackgroundColor”public static readonly UnityEngine.Color UnsupportedGlyphBackgroundColorSource declaration: ../bitquirky-graph/Editor/GraphView/Styles/GraphColorUtility.cs:207
Backplate for the unsupported node glyph.
UnsupportedGlyphColor
Section titled “UnsupportedGlyphColor”public static readonly UnityEngine.Color UnsupportedGlyphColorSource declaration: ../bitquirky-graph/Editor/GraphView/Styles/GraphColorUtility.cs:202
Circle-slash glyph color used on unsupported node cards.
UnsupportedIndicatorColor
Section titled “UnsupportedIndicatorColor”public static readonly UnityEngine.Color UnsupportedIndicatorColorSource declaration: ../bitquirky-graph/Editor/GraphView/Styles/GraphColorUtility.cs:191
Orange marker used for unsupported source constructs.
CalculateLuminance(Color color)
Section titled “CalculateLuminance(Color color)”public static float CalculateLuminance(UnityEngine.Color color)Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/GraphColorUtility.cs:29-38
Calculates the relative luminance of a color using the sRGB formula. Returns a value between 0 (black) and 1 (white).
DarkenColor(Color color, float factor)
Section titled “DarkenColor(Color color, float factor)”public static UnityEngine.Color DarkenColor(UnityEngine.Color color, float factor)Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/GraphColorUtility.cs:77-86
Darkens a color by the specified factor (0.0 = no change, 1.0 = black). Matches Avalonia’s LightenColor function (which actually darkens).
GetCategoryColor(string category)
Section titled “GetCategoryColor(string category)”public static UnityEngine.Color GetCategoryColor(string category)Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/GraphColorUtility.cs:67-71
Gets the color for a node category (e.g., “Entry/Exit”, “Flow”, “Default Pure”).
GetContrastColor(Color backgroundColor)
Section titled “GetContrastColor(Color backgroundColor)”public static UnityEngine.Color GetContrastColor(UnityEngine.Color backgroundColor)Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/GraphColorUtility.cs:46-53
Gets the appropriate label/pin color based on the background color’s luminance. Light backgrounds get dark elements; dark backgrounds get light elements.
Parameters
backgroundColor: The background color to analyze
Returns
A contrasting color for visibility
GetDataTypeColor(string typeName)
Section titled “GetDataTypeColor(string typeName)”public static UnityEngine.Color GetDataTypeColor(string typeName)Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/GraphColorUtility.cs:58-62
Gets the color for a data type (e.g., “int”, “string”, “bool”).
ParseHex(string hex)
Section titled “ParseHex(string hex)”public static UnityEngine.Color ParseHex(string hex)Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/GraphColorUtility.cs:92-116
Parses a hex color string to a Unity Color. Supports formats: #RGB, #RGBA, #RRGGBB, #RRGGBBAA
NodeColorRules
Section titled “NodeColorRules”Category: Low-level runtime
class BitQuirky.Graph.GraphView.Styles.NodeColorRulesSource declaration: ../bitquirky-graph/Editor/GraphView/Styles/NodeColorRules.cs:126-523
String-typed color rules for graph nodes and pins. Maps a data-type name (e.g. “int”, “string”) or a category name (e.g. “Flow”, “Default Pure”) to a stable display color.
Responsibilities:
- Return a deterministicRgbaColorfor any data-type name, category name, or pin data-type used by the renderer.
- Normalize incoming type names (strip nullable/array suffixes, collapse generic type parameters, alias .NET FCL names like “System.Int32” to their C# keyword form).
Does NOT:
- Inspect a domain-specific node type or kind. The caller passes a plain string. Higher layers that want kind-based coloring should resolve to a category string before calling.
Inlined during the 013-behavior-graph-refactor extraction. The
upstreamRoundTrip.Engine.Rendering.NodeColorRulesexposed
additionalNodeKind-typed overloads that pulled in
RoundTrip.Core.Models.MethodGraph; those overloads are not
reproduced here because Layer 1 must remain free of round-trip
types.
Members
Section titled “Members”ExecDataType
Section titled “ExecDataType”public const string ExecDataType = "exec"Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/NodeColorRules.cs:496
Sentinel data-type token used by the renderer to mark execution flow pins / wires. Not a real data type: surfaces as its own row in the legend (white triangle / white wire).
FirstClassDataTypes
Section titled “FirstClassDataTypes”public static readonly System.Collections.Generic.IReadOnlyList<string> FirstClassDataTypesSource declaration: ../bitquirky-graph/Editor/GraphView/Styles/NodeColorRules.cs:478-489
Canonical list of first-class data types surfaced in the
on-canvas type legend. Order matches the legend’s top-to-bottom
row order: numeric (int → float), boolean, text (string → char),
reference (object → struct), then the default fallback. Mirrors
the same list maintained on the Round Trip engine side
(RoundTrip.Engine.Rendering.NodeColorRules.FirstClassDataTypes)
so the legend renders identically whether populated from the
shared package or driven by the engine.
WildcardDataType
Section titled “WildcardDataType”public const string WildcardDataType = "wildcard"Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/NodeColorRules.cs:135
The token for a pin whose type is not decided yet, drawn grey. Distinct from “default”: that one colours a value whose type is known to be nothing in particular (a null literal), and this one colours a pin still WAITING to be told, which is a different thing to say.
GetCategoryColor(string category)
Section titled “GetCategoryColor(string category)”public static BitQuirky.Graph.GraphView.Styles.RgbaColor GetCategoryColor(string category)Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/NodeColorRules.cs:438-451
Returns the color for a category. Falls back to “Default Impure” when the category is unknown or empty.
GetDataTypeColor(string typeName)
Section titled “GetDataTypeColor(string typeName)”public static BitQuirky.Graph.GraphView.Styles.RgbaColor GetDataTypeColor(string typeName)Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/NodeColorRules.cs:302-358
Returns the color for a data type. Always opaque. A type name that is empty, or a
placeholder rather than a decision (var, unknown, null, ?), resolves to
WildcardDataType: those pins are waiting to be told, not typed.
GetPinColor(string dataType)
Section titled “GetPinColor(string dataType)”public static BitQuirky.Graph.GraphView.Styles.RgbaColor GetPinColor(string dataType)Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/NodeColorRules.cs:458-466
Returns the color for a pin. Exec pins are semi-transparent white (≈70% opacity) so the underlying node body bleeds through; data pins are fully opaque (perGetDataTypeColor).
RgbaColor
Section titled “RgbaColor”Category: Low-level runtime
readonly struct BitQuirky.Graph.GraphView.Styles.RgbaColorSource declaration: ../bitquirky-graph/Editor/GraphView/Styles/NodeColorRules.cs:20-99
Platform-independent RGBA color (0-255 per channel).
Responsibilities:
- Carry color values returned byNodeColorRuleswithout pulling in a Unity or Avalonia type at the API boundary.
Does NOT:
- Provide arithmetic, blending, gamma conversion, or any Unity
UnityEngine.Colorconversions. Callers do that themselves (seeGraphColorUtility).
Members
Section titled “Members”public byte A { get; }Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/NodeColorRules.cs:29
Alpha channel, 0 (transparent) to 255 (opaque).
public byte B { get; }Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/NodeColorRules.cs:27
Blue channel, 0 to 255.
public byte G { get; }Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/NodeColorRules.cs:25
Green channel, 0 to 255.
public byte R { get; }Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/NodeColorRules.cs:23
Red channel, 0 to 255.
RgbaColor(byte r, byte g, byte b, byte a)
Section titled “RgbaColor(byte r, byte g, byte b, byte a)”public RgbaColor(byte r, byte g, byte b, byte a = 255)Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/NodeColorRules.cs:36-42
Builds a color from 0-255 channel bytes.adefaults to 255, fully
opaque, since most authored colors are. No conversion is applied: the bytes are stored
as given, in whatever space the caller’s source used.
FromHex(string hex)
Section titled “FromHex(string hex)”public static BitQuirky.Graph.GraphView.Styles.RgbaColor FromHex(string hex)Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/NodeColorRules.cs:54-98
Parses a hex color string (#RGB, #RGBA, #RRGGBB, #RRGGBBAA). On unparseable input returns opaque white.
Opaque()
Section titled “Opaque()”public BitQuirky.Graph.GraphView.Styles.RgbaColor Opaque()Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/NodeColorRules.cs:48
Returns a fully opaque version of this color.
WithAlpha(byte alpha)
Section titled “WithAlpha(byte alpha)”public BitQuirky.Graph.GraphView.Styles.RgbaColor WithAlpha(byte alpha)Source declaration: ../bitquirky-graph/Editor/GraphView/Styles/NodeColorRules.cs:45
Returns a new color with the specified alpha value.
Source fingerprint: sha256:ad0983d00d773d882bc61865e18d8c5559e009d181e5891575cd7f262515b23e