Added to UIWidget: setClass, setClasses, resetClass.
Added support for custom styling of cells in models using custom classes. With the new ModelRole::Class.
ecode:
Fixed LSPs with multiple languages.
Fixed Status Bar not hiding.
Added option to request refresh the document semantic highlighting.
This commit is contained in:
Martín Lucas Golini
2023-06-09 19:36:03 -03:00
parent 32466ba8b7
commit ba4655553c
23 changed files with 250 additions and 102 deletions
+29 -5
View File
@@ -43,6 +43,9 @@
--highlight-primary: #FFFFFF7A;
--disabled-color: #727679;
--disabled-border: #43474c;
--theme-error: #cc0000;
--theme-warning: #cccc00;
--theme-success: #00cc00;
droppable-hovering-color: #FFFFFF20;
}
@@ -1010,11 +1013,6 @@ ScrollBarMini::hslider:hover ScrollBar::hbutton,
ScrollBarMini::hbutton:hover {
background-color: var(--primary);
}
.appbackground {
background-color: var(--back);
}
tab::icon {
tint: var(--icon);
}
@@ -1033,11 +1031,34 @@ console {
border-bottom-width: var(--border-width);
}
/* Reserved classes used by themes */
.appbackground {
background-color: var(--back);
}
TextInput.table_cell_edit {
padding-top: 0!important;
padding-bottom: 0!important;
}
.theme-error > tableview::cell::text,
.theme-error > treeview::cell::text,
.theme-error > listview::cell::text {
color: var(--theme-error);
}
.theme-warning > tableview::cell::text,
.theme-warning > treeview::cell::text,
.theme-warning > listview::cell::text {
color: var(--theme-warning);
}
.theme-success > tableview::cell::text,
.theme-success > treeview::cell::text,
.theme-success > listview::cell::text {
color: var(--theme-success);
}
@media (prefers-color-scheme: light) {
:root {
@@ -1083,6 +1104,9 @@ TextInput.table_cell_edit {
--term-font-color: #232627;
--disabled-color: #727679;
--disabled-border: #d3d4d5;
--theme-error: #cc0000;
--theme-warning: #cccc00;
--theme-success: #00cc00;
droppable-hovering-color: #00000020;
}