private void RunScript(ref object Colors, ref object Labels)
{
var labels = new List<string>
{
"Window color 1",
"Window color 2",
"Window color 3",
"Window border",
"Window text",
"Active viewport title",
"Inactive viewport title"
};
var colors = new List<Color>
{
AppearanceSettings.GetPaintColor(PaintColor.NormalStart),
AppearanceSettings.GetPaintColor(PaintColor.NormalEnd),
AppearanceSettings.GetPaintColor(PaintColor.HotStart),
AppearanceSettings.GetPaintColor(PaintColor.NormalBorder),
AppearanceSettings.GetPaintColor(PaintColor.TextEnabled),
AppearanceSettings.GetPaintColor(PaintColor.ActiveViewportTitle),
AppearanceSettings.GetPaintColor(PaintColor.InactiveViewportTitle)
};
Labels = labels;
Colors = colors;
}
GetPaintColor.gh (3.7 KB)