From 842cbeda3a1531e1c5116c45d1be5cdc09cbde1d Mon Sep 17 00:00:00 2001 From: Anton Tarasenko Date: Sun, 7 Mar 2021 20:27:03 +0700 Subject: [PATCH] Add new standard colors to `ColorAPI` --- config/AcediaSystem.ini | 22 ++++++++++++++++++++++ sources/Color/ColorAPI.uc | 4 ++++ 2 files changed, 26 insertions(+) diff --git a/config/AcediaSystem.ini b/config/AcediaSystem.ini index 433346b..2c5783f 100644 --- a/config/AcediaSystem.ini +++ b/config/AcediaSystem.ini @@ -82,6 +82,28 @@ maxTotalLineWidth=108 [AcediaCore_0_2.ColorAPI] ; Changing these values will alter color's definitions in `ColorAPI`, ; changing how Acedia behaves +TextDefault=(R=255,G=255,B=255,A=255) +TextHeader=(R=128,G=0,B=128,A=255) +TextSubHeader=(R=147,G=112,B=219,A=255) +TextSubtle=(R=128,G=128,B=128,A=255) +TextEmphasis=(R=0,G=128,B=255,A=255) +TextOk=(R=0,G=255,B=0,A=255) +TextWarning=(R=255,G=128,B=0,A=255) +TextFailure=(R=255,G=0,B=0,A=255) +TypeNumber=(R=255,G=235,B=172,A=255) +TypeBoolean=(R=199,G=226,B=244,A=255) +TypeString=(R=243,G=204,B=223,A=255) +TypeLiteral=(R=194,G=239,B=235,A=255) +TypeClass=(R=218,G=219,B=240,A=255) +jPropertyName=(R=255,G=255,B=255,A=255) +jObjectBraces=(R=128,G=128,B=128,A=255) +jArrayBraces=(R=128,G=128,B=128,A=255) +jComma=(R=128,G=128,B=128,A=255) +jColon=(R=128,G=128,B=128,A=255) +jNumber=(R=181,G=137,B=0,A=255) +jBoolean=(R=38,G=139,B=210,A=255) +jString=(R=211,G=54,B=130,A=255) +jNull=(R=42,G=161,B=152,A=255) Pink=(R=255,G=192,B=203,A=255) LightPink=(R=255,G=182,B=193,A=255) HotPink=(R=255,G=105,B=180,A=255) diff --git a/sources/Color/ColorAPI.uc b/sources/Color/ColorAPI.uc index 56bda53..0e8f8ca 100644 --- a/sources/Color/ColorAPI.uc +++ b/sources/Color/ColorAPI.uc @@ -47,6 +47,8 @@ enum ColorDisplayType // System colors for displaying text and variables var public config const Color TextDefault; +var public config const Color TextHeader; +var public config const Color TextSubHeader; var public config const Color TextSubtle; var public config const Color TextEmphasis; var public config const Color TextOk; @@ -677,6 +679,8 @@ public final function bool Parse( defaultproperties { TextDefault=(R=255,G=255,B=255,A=255) + TextHeader=(R=128,G=0,B=128,A=255) + TextSubHeader=(R=147,G=112,B=219,A=255) TextSubtle=(R=128,G=128,B=128,A=255) TextEmphasis=(R=0,G=128,B=255,A=255) TextOk=(R=0,G=255,B=0,A=255)