Browse Source

Add new system colors to `ColorAPI`

pull/8/head
Anton Tarasenko 4 years ago
parent
commit
de55066645
  1. 4
      config/AcediaAliases_Colors.ini
  2. 4
      sources/Color/ColorAPI.uc

4
config/AcediaAliases_Colors.ini

@ -1,6 +1,10 @@
[AcediaCore_0_2.ColorAliasSource] [AcediaCore_0_2.ColorAliasSource]
; System colors ; System colors
record=(alias="TextDefault",value="rgb(255,255,255)") record=(alias="TextDefault",value="rgb(255,255,255)")
record=(alias="TextHeader",value="rgb(128,255,128)")
record=(alias="TextSubHeader",value="rgb(147,112,219)")
record=(alias="TextPositive",value="rgb(0,128,0)")
record=(alias="TextNegative",value="rgb(220,20,60)")
record=(alias="TextSubtle",value="rgb(128,128,128)") record=(alias="TextSubtle",value="rgb(128,128,128)")
record=(alias="TextEmphasis",value="rgb(0,128,255)") record=(alias="TextEmphasis",value="rgb(0,128,255)")
record=(alias="TextOk",value="rgb(0,255,0)") record=(alias="TextOk",value="rgb(0,255,0)")

4
sources/Color/ColorAPI.uc

@ -51,6 +51,8 @@ var public config const Color TextHeader;
var public config const Color TextSubHeader; var public config const Color TextSubHeader;
var public config const Color TextSubtle; var public config const Color TextSubtle;
var public config const Color TextEmphasis; var public config const Color TextEmphasis;
var public config const Color TextPositive;
var public config const Color TextNegative;
var public config const Color TextOk; var public config const Color TextOk;
var public config const Color TextWarning; var public config const Color TextWarning;
var public config const Color TextFailure; var public config const Color TextFailure;
@ -683,6 +685,8 @@ defaultproperties
TextSubHeader=(R=147,G=112,B=219,A=255) TextSubHeader=(R=147,G=112,B=219,A=255)
TextSubtle=(R=128,G=128,B=128,A=255) TextSubtle=(R=128,G=128,B=128,A=255)
TextEmphasis=(R=0,G=128,B=255,A=255) TextEmphasis=(R=0,G=128,B=255,A=255)
TextPositive=(R=0,G=128,B=0,A=255)
TextNegative=(R=220,G=20,B=60,A=255)
TextOk=(R=0,G=255,B=0,A=255) TextOk=(R=0,G=255,B=0,A=255)
TextWarning=(R=255,G=128,B=0,A=255) TextWarning=(R=255,G=128,B=0,A=255)
TextFailure=(R=255,G=0,B=0,A=255) TextFailure=(R=255,G=0,B=0,A=255)

Loading…
Cancel
Save