mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-09-22 13:01:05 +03:00
Added Settings -> Window -> UI Theme -> Syntax Color Scheme to use the editor color scheme globally for the UI Theme colors, having a single color palette for the whole UI and making much easier to style the UI, this solves SpartanJ/ecode#661, since now we support one UI theme for each existing syntax color scheme. Still a WIP, I'll continue improving it during the development of 0.7.5, but it's ready to use.
This commit is contained in:
@@ -1447,10 +1447,10 @@ void GitPlugin::buildSidePanelTab() {
|
||||
.git_highlight_style > treeview::cell::text {
|
||||
color: %s;
|
||||
}
|
||||
treeview::row treeview::cell.git_highlight_style_clear,
|
||||
treeview::row:selected .git_highlight_style > treeview::cell::text,
|
||||
treeview::row:selected .git_highlight_style > treeview::cell::text {
|
||||
color: var(--font);
|
||||
color: var(--list-row-active);
|
||||
tint: var(--list-row-active);
|
||||
}
|
||||
.git_highlight_style > treeview::cell::icon {
|
||||
foreground-image: icon(circle, 8dpru), icon(circle-filled, 8dpru);
|
||||
@@ -1488,7 +1488,10 @@ void GitPlugin::buildSidePanelTab() {
|
||||
!mHighlightStyleColor.empty() && Color::isColorString( mHighlightStyleColor )
|
||||
? mHighlightStyleColor
|
||||
: std::string{ DEFAULT_HIGHLIGHT_COLOR };
|
||||
mTabContents = getUISceneNode()->loadLayoutFromString( String::format( STYLE, color, color ) );
|
||||
|
||||
mTabContents = getUISceneNode()->loadLayoutFromString(
|
||||
String::format( STYLE, color, color ), nullptr, String::hash( "git_plugin_style" ) );
|
||||
|
||||
mTab = mSidePanel->add( i18n( "source_control", "Source Control" ), mTabContents,
|
||||
icon ? icon->getSize( PixelDensity::dpToPx( 12 ) ) : nullptr );
|
||||
mTab->setId( "source_control_tab" );
|
||||
|
||||
Reference in New Issue
Block a user