1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-20 08:58:00 +02:00

Reduced brightness of char pair hilite

This commit is contained in:
Brian Fiete 2022-01-20 08:16:15 -05:00
parent 17efad740d
commit 3c091be0d5
3 changed files with 5 additions and 5 deletions

View file

@ -192,7 +192,7 @@ namespace Beefy.theme.dark
public static uint32 COLOR_MENU_FOCUSED = 0xFFE5A910;
public static uint32 COLOR_MENU_SELECTED = 0xFFCB9B80;
public static uint32 COLOR_CURRENT_LINE_HILITE = 0xFF4C4C54;
public static uint32 COLOR_MATCHING_PARENS_HILITE = 0x28FFFFFF;
public static uint32 COLOR_CHAR_PAIR_HILITE = 0x1DFFFFFF;
public static float sScale = 1.0f;
public static int32 sSrcImgScale = 1;

View file

@ -326,7 +326,7 @@ namespace IDE
public Color mVisibleWhiteSpace = 0xFF9090C0;
public Color mCurrentLineHilite = 0xFF4C4C54;
public Color mCurrentLineNumberHilite = 0x18FFFFFF;
public Color mMatchingParensHilite = 0x28FFFFFF;
public Color mCharPairHilite = 0x1DFFFFFF;
public void Deserialize(StructuredData sd)
{
@ -387,7 +387,7 @@ namespace IDE
GetColor("VisibleWhiteSpace", ref mVisibleWhiteSpace);
GetColor("CurrentLineHilite", ref mCurrentLineHilite);
GetColor("CurrentLineNumberHilite", ref mCurrentLineNumberHilite);
GetColor("MatchingParensHilite", ref mMatchingParensHilite);
GetColor("CharPairHilite", ref mCharPairHilite);
}
public void Apply()
@ -419,7 +419,7 @@ namespace IDE
DarkTheme.COLOR_MENU_FOCUSED = mMenuFocused;
DarkTheme.COLOR_MENU_SELECTED = mMenuSelected;
DarkTheme.COLOR_CURRENT_LINE_HILITE = mCurrentLineHilite;
DarkTheme.COLOR_MATCHING_PARENS_HILITE = mMatchingParensHilite;
DarkTheme.COLOR_CHAR_PAIR_HILITE = mCharPairHilite;
}
}

View file

@ -4834,7 +4834,7 @@ namespace IDE.ui
if (mHilitePairedCharState case .Valid(?, let x1, let y1, let x2, let y2, let charWidth))
{
let height = mFont.GetHeight() + GS!(2);
using (g.PushColor(DarkTheme.COLOR_MATCHING_PARENS_HILITE))
using (g.PushColor(DarkTheme.COLOR_CHAR_PAIR_HILITE))
{
g.FillRect(x1, y1, charWidth, height);
g.FillRect(x2, y2, charWidth, height);