Minor fix in AI chat file links.

Minor improvements in breeze CSS rules and color scheme translator.
This commit is contained in:
Martín Lucas Golini
2026-02-23 01:05:33 -03:00
parent 7e3d9311f4
commit ccf5a49f88
6 changed files with 24 additions and 24 deletions
+9 -13
View File
@@ -5,6 +5,7 @@
--font: #eff0f1; --font: #eff0f1;
--font-highlight: #8bdcfd; --font-highlight: #8bdcfd;
--font-hint: #898b8d; --font-hint: #898b8d;
--font-selected-pressed: #eff0f1;
--button-back: #30353a; --button-back: #30353a;
--button-border: #6b6f73; --button-border: #6b6f73;
--button-radius: 2dp; --button-radius: 2dp;
@@ -14,7 +15,6 @@
--list-back: #232629; --list-back: #232629;
--separator: #31363b; --separator: #31363b;
--item-hover: #284150; --item-hover: #284150;
--list-row-active: #eff0f1;
--slider-back: #676a6e; --slider-back: #676a6e;
--slider-button: #31363b; --slider-button: #31363b;
--slider-border: #787b80; --slider-border: #787b80;
@@ -65,10 +65,6 @@ listview::header::column:hover {
tint: var(--font); tint: var(--font);
} }
PushButton:pressed > PushButton,
SelectButton:pressed > SelectButton,
SelectButton:selected > SelectButton,
SelectButton:selected:pressed > SelectButton,
tableview::row:selected tableview::cell, tableview::row:selected tableview::cell,
treeview::row:selected treeview::cell, treeview::row:selected treeview::cell,
listview::row:selected listview::cell, listview::row:selected listview::cell,
@@ -78,8 +74,8 @@ listview::row:selected listview::cell,
tableview::row:selected tableview::cell::expander, tableview::row:selected tableview::cell::expander,
treeview::row:selected treeview::cell::expander, treeview::row:selected treeview::cell::expander,
listview::row:selected listview::cell::expander { listview::row:selected listview::cell::expander {
color: var(--list-row-active); color: var(--font-selected-pressed);
tint: var(--list-row-active); tint: var(--font-selected-pressed);
} }
CheckBox, CheckBox,
@@ -118,7 +114,7 @@ TextInput,
TextInputPassword, TextInputPassword,
ComboBox::DropDownList, ComboBox::DropDownList,
SpinBox::input, { SpinBox::input, {
selection-color: var(--list-row-active); selection-color: var(--font-selected-pressed);
selection-back-color: var(--primary); selection-back-color: var(--primary);
} }
@@ -168,8 +164,8 @@ SelectButton:pressed,
SelectButton:selected, SelectButton:selected,
SelectButton:selected:pressed { SelectButton:selected:pressed {
background-color: var(--primary); background-color: var(--primary);
color: var(--list-row-active); color: var(--font-selected-pressed);
tint: var(--list-row-active); tint: var(--font-selected-pressed);
} }
pushbutton:disabled, pushbutton:disabled,
@@ -319,8 +315,8 @@ DropDownList::ListBox::item:selected,
ComboBox::DropDownList::ListBox::item:hover, ComboBox::DropDownList::ListBox::item:hover,
ComboBox::DropDownList::ListBox::item:selected { ComboBox::DropDownList::ListBox::item:selected {
background-color: var(--primary); background-color: var(--primary);
color: var(--list-row-active); color: var(--font-selected-pressed);
tint: var(--list-row-active); tint: var(--font-selected-pressed);
} }
TextInput, TextInput,
@@ -1118,6 +1114,7 @@ TextInput.table_cell_edit {
--font: #232627; --font: #232627;
--font-highlight: #3daee9; --font-highlight: #3daee9;
--font-hint: #232627; --font-hint: #232627;
--font-selected-pressed: #eff0f1;
--button-back: #fcfcfc; --button-back: #fcfcfc;
--button-border: #b3b4b5; --button-border: #b3b4b5;
--button-radius: 2dp; --button-radius: 2dp;
@@ -1127,7 +1124,6 @@ TextInput.table_cell_edit {
--list-back: #ffffff; --list-back: #ffffff;
--separator: #cbcdcd; --separator: #cbcdcd;
--item-hover: #93cee9; --item-hover: #93cee9;
--list-row-active: #eff0f1;
--slider-back: #e9e9e9; --slider-back: #e9e9e9;
--slider-button: #cbcdcd; --slider-button: #cbcdcd;
--slider-border: #e6e6e6; --slider-border: #e6e6e6;
+7 -7
View File
@@ -90,7 +90,7 @@ TableView#locate_bar_table > tableview::row > tableview::cell:nth-child(3) {
} }
TableView#locate_bar_table > tableview::row:selected > tableview::cell:nth-child(2), TableView#locate_bar_table > tableview::row:selected > tableview::cell:nth-child(2),
TableView#locate_bar_table > tableview::row:selected > tableview::cell:nth-child(3) { TableView#locate_bar_table > tableview::row:selected > tableview::cell:nth-child(3) {
color: var(--list-row-active) color: var(--font-selected-pressed)
} }
.search_tree treeview::cell { .search_tree treeview::cell {
font-family: monospace; font-family: monospace;
@@ -196,8 +196,8 @@ TableView#locate_bar_table > tableview::row:selected > tableview::cell:nth-child
} }
#status_bar > .status_but.selected { #status_bar > .status_but.selected {
background-color: var(--primary); background-color: var(--primary);
color: var(--list-row-active); color: var(--font-selected-pressed);
tint: var(--list-row-active); tint: var(--font-selected-pressed);
} }
#status_bar > .status_but:last-child { #status_bar > .status_but:last-child {
border-right-color: transparent; border-right-color: transparent;
@@ -327,8 +327,8 @@ TableView#locate_bar_table > tableview::row:selected > tableview::cell:nth-child
tint: var(--font); tint: var(--font);
} }
.settings_panel .advanced_options .title:hover > * { .settings_panel .advanced_options .title:hover > * {
color: var(--list-row-active); color: var(--font-selected-pressed);
tint: var(--list-row-active); tint: var(--font-selected-pressed);
} }
.settings_panel .advanced_options .title:hover { .settings_panel .advanced_options .title:hover {
background-color: var(--primary); background-color: var(--primary);
@@ -450,8 +450,8 @@ Anchor.error:hover {
color: var(--theme-error); color: var(--theme-error);
} }
#build_output_issues TableView::row:selected TableView::cell.theme-error { #build_output_issues TableView::row:selected TableView::cell.theme-error {
color: var(--list-row-active); color: var(--font-selected-pressed);
tint: var(--list-row-active); tint: var(--font-selected-pressed);
} }
.texture-preview { .texture-preview {
border: 1dp solid var(--list-back); border: 1dp solid var(--list-back);
+1 -1
View File
@@ -15,6 +15,7 @@ static const auto BASE_UI_THEME = R"css(
--font: text; --font: text;
--font-highlight: type; --font-highlight: type;
--font-hint: line_number2; --font-hint: line_number2;
--font-selected-pressed: line_highlight;
/* Button styling */ /* Button styling */
--button-back: line_highlight; --button-back: line_highlight;
@@ -24,7 +25,6 @@ static const auto BASE_UI_THEME = R"css(
--list-back: widget_background; --list-back: widget_background;
--separator: line_highlight; --separator: line_highlight;
--item-hover: selection; --item-hover: selection;
--list-row-active: widget_background;
/* Sliders */ /* Sliders */
--slider-back: line_number; --slider-back: line_number;
@@ -969,7 +969,7 @@ void LLMChatUI::resizeToFit( UICodeEditor* editor ) {
} }
void LLMChatUI::replaceFileLinksToContents( std::string& text ) { void LLMChatUI::replaceFileLinksToContents( std::string& text ) {
LuaPattern ptrn( "\n```file://([^`]*)```\n" ); LuaPattern ptrn( "\n```file://([^`]*)```\n?" );
PatternMatcher::Range matches[2]; PatternMatcher::Range matches[2];
while ( ptrn.matches( text, matches ) ) { while ( ptrn.matches( text, matches ) ) {
std::string path( text.substr( matches[1].start, matches[1].length() ) ); std::string path( text.substr( matches[1].start, matches[1].length() ) );
+2 -2
View File
@@ -1449,8 +1449,8 @@ void GitPlugin::buildSidePanelTab() {
} }
treeview::row:selected treeview::cell.git_highlight_style, treeview::row:selected treeview::cell.git_highlight_style,
treeview::row:selected treeview::cell.git_highlight_style { treeview::row:selected treeview::cell.git_highlight_style {
color: var(--list-row-active); color: var(--font-selected-pressed);
tint: var(--list-row-active); tint: var(--font-selected-pressed);
} }
treeview::cell.git_highlight_style > treeview::cell::icon { treeview::cell.git_highlight_style > treeview::cell::icon {
foreground-image: icon(circle, 8dpru), icon(circle-filled, 8dpru); foreground-image: icon(circle, 8dpru), icon(circle-filled, 8dpru);
+4
View File
@@ -56,6 +56,10 @@ static const auto LAYOUT = R"xml(
#welcome_ecode PushButton:hover { #welcome_ecode PushButton:hover {
border-color: var(--primary); border-color: var(--primary);
} }
#welcome_ecode PushButton:pressed {
background-color: var(--primary);
color: var(--font-selected-pressed);
}
#welcome_ecode .separator { #welcome_ecode .separator {
focusable: false; focusable: false;
background-image: rectangle(solid, var(--tab-line)); background-image: rectangle(solid, var(--tab-line));