1
0
Fork 0
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:
MineBill 2025-01-27 17:05:37 +02:00
parent 7033e2c61e
commit aaa7509700
No known key found for this signature in database
3 changed files with 9 additions and 8 deletions

View file

@ -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;