mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-01 22:05:59 +02:00
Added a new 'TextDisabled' color option for disabled text.
This commit is contained in:
parent
7033e2c61e
commit
aaa7509700
3 changed files with 9 additions and 8 deletions
|
@ -311,6 +311,7 @@ namespace IDE
|
|||
public class Colors
|
||||
{
|
||||
public Color mText = 0xFFFFFFFF;
|
||||
public Color mTextDisabled = 0xFFA8A8A8;
|
||||
public Color mWindow = 0xFF44444D;
|
||||
public Color mBackground = 0xFF1C1C24;
|
||||
public Color mSelectedOutline = 0xFFCFAE11;
|
||||
|
@ -364,6 +365,7 @@ namespace IDE
|
|||
}
|
||||
|
||||
GetColor("Text", ref mText);
|
||||
GetColor("TextDisabled", ref mTextDisabled);
|
||||
GetColor("Window", ref mWindow);
|
||||
GetColor("Background", ref mBackground);
|
||||
GetColor("SelectedOutline", ref mSelectedOutline);
|
||||
|
@ -450,6 +452,7 @@ namespace IDE
|
|||
SourceEditWidgetContent.sTextColors[(.)SourceElementType.VisibleWhiteSpace] = mVisibleWhiteSpace;
|
||||
|
||||
DarkTheme.COLOR_TEXT = mText;
|
||||
DarkTheme.COLOR_TEXT_DISABLED = mTextDisabled;
|
||||
DarkTheme.COLOR_WINDOW = mWindow;
|
||||
DarkTheme.COLOR_BKG = mBackground;
|
||||
DarkTheme.COLOR_SELECTED_OUTLINE = mSelectedOutline;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue