mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Added new color.
Added a new 'COLOR_TEXT_SELECTED' color and a 'mTextSelected' theme setting to change it.
This commit is contained in:
parent
0744772e23
commit
f0d5acb528
3 changed files with 5 additions and 0 deletions
|
@ -80,6 +80,7 @@ namespace Beefy.theme.dark
|
|||
mHorzJumpSize = GS!(40);
|
||||
mFont = DarkTheme.sDarkTheme?.mSmallFont;
|
||||
mTextColors[0] = DarkTheme.COLOR_TEXT;
|
||||
mHiliteColor = DarkTheme.COLOR_TEXT_SELECTED;
|
||||
}
|
||||
|
||||
protected override EditWidgetContent.Data CreateEditData()
|
||||
|
|
|
@ -198,6 +198,7 @@ namespace Beefy.theme.dark
|
|||
|
||||
public static uint32 COLOR_TEXT = 0xFFFFFFFF;
|
||||
public static uint32 COLOR_TEXT_DISABLED = 0xFFA8A8A8;
|
||||
public static uint32 COLOR_TEXT_SELECTED = 0xFF2f5c88;
|
||||
public static uint32 COLOR_WINDOW = 0xFF595962;
|
||||
public static uint32 COLOR_BKG = 0xFF26262A;
|
||||
public static uint32 COLOR_SELECTED_OUTLINE = 0xFFCFAE11;
|
||||
|
|
|
@ -312,6 +312,7 @@ namespace IDE
|
|||
{
|
||||
public Color mText = 0xFFFFFFFF;
|
||||
public Color mTextDisabled = 0xFFA8A8A8;
|
||||
public Color mTextSelected = 0xFF2f5c88;
|
||||
public Color mWindow = 0xFF44444D;
|
||||
public Color mBackground = 0xFF1C1C24;
|
||||
public Color mSelectedOutline = 0xFFCFAE11;
|
||||
|
@ -366,6 +367,7 @@ namespace IDE
|
|||
|
||||
GetColor("Text", ref mText);
|
||||
GetColor("TextDisabled", ref mTextDisabled);
|
||||
GetColor("TextSelected", ref mTextSelected);
|
||||
GetColor("Window", ref mWindow);
|
||||
GetColor("Background", ref mBackground);
|
||||
GetColor("SelectedOutline", ref mSelectedOutline);
|
||||
|
@ -453,6 +455,7 @@ namespace IDE
|
|||
|
||||
DarkTheme.COLOR_TEXT = mText;
|
||||
DarkTheme.COLOR_TEXT_DISABLED = mTextDisabled;
|
||||
DarkTheme.COLOR_TEXT_SELECTED = mTextSelected;
|
||||
DarkTheme.COLOR_WINDOW = mWindow;
|
||||
DarkTheme.COLOR_BKG = mBackground;
|
||||
DarkTheme.COLOR_SELECTED_OUTLINE = mSelectedOutline;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue