mirror of
https://github.com/zadam/trilium.git
synced 2025-12-18 21:34:24 +01:00
client/note tree item tinting: optimize
Some checks are pending
Checks / main (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
CodeQL Advanced / Analyze (javascript-typescript) (push) Waiting to run
Dev / Test development (push) Waiting to run
Dev / Build Docker image (push) Blocked by required conditions
Dev / Check Docker build (Dockerfile) (push) Blocked by required conditions
Dev / Check Docker build (Dockerfile.alpine) (push) Blocked by required conditions
/ Check Docker build (Dockerfile) (push) Waiting to run
/ Check Docker build (Dockerfile.alpine) (push) Waiting to run
/ Build Docker images (Dockerfile, ubuntu-24.04-arm, linux/arm/v7) (push) Blocked by required conditions
/ Build Docker images (Dockerfile, ubuntu-24.04-arm, linux/arm/v8) (push) Blocked by required conditions
/ Build Docker images (Dockerfile, ubuntu-24.04-arm, linux/arm64) (push) Blocked by required conditions
/ Build Docker images (Dockerfile.alpine, ubuntu-latest, linux/amd64) (push) Blocked by required conditions
/ Merge manifest lists (push) Blocked by required conditions
playwright / main (push) Waiting to run
Some checks are pending
Checks / main (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
CodeQL Advanced / Analyze (javascript-typescript) (push) Waiting to run
Dev / Test development (push) Waiting to run
Dev / Build Docker image (push) Blocked by required conditions
Dev / Check Docker build (Dockerfile) (push) Blocked by required conditions
Dev / Check Docker build (Dockerfile.alpine) (push) Blocked by required conditions
/ Check Docker build (Dockerfile) (push) Waiting to run
/ Check Docker build (Dockerfile.alpine) (push) Waiting to run
/ Build Docker images (Dockerfile, ubuntu-24.04-arm, linux/arm/v7) (push) Blocked by required conditions
/ Build Docker images (Dockerfile, ubuntu-24.04-arm, linux/arm/v8) (push) Blocked by required conditions
/ Build Docker images (Dockerfile, ubuntu-24.04-arm, linux/arm64) (push) Blocked by required conditions
/ Build Docker images (Dockerfile.alpine, ubuntu-latest, linux/amd64) (push) Blocked by required conditions
/ Merge manifest lists (push) Blocked by required conditions
playwright / main (push) Waiting to run
This commit is contained in:
parent
d999d60302
commit
de9314a271
@ -82,7 +82,7 @@ body ::-webkit-calendar-picker-indicator {
|
|||||||
filter: invert(1);
|
filter: invert(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
#left-pane span.fancytree-node {
|
#left-pane .fancytree-node.tinted {
|
||||||
--custom-color: var(--dark-theme-custom-color);
|
--custom-color: var(--dark-theme-custom-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -82,6 +82,6 @@ html {
|
|||||||
--native-titlebar-background: #ffffff00;
|
--native-titlebar-background: #ffffff00;
|
||||||
}
|
}
|
||||||
|
|
||||||
#left-pane span.fancytree-node {
|
#left-pane .fancytree-node.tinted {
|
||||||
--custom-color: var(--light-theme-custom-color);
|
--custom-color: var(--light-theme-custom-color);
|
||||||
}
|
}
|
||||||
@ -268,7 +268,7 @@
|
|||||||
* Dark color scheme tweaks
|
* Dark color scheme tweaks
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#left-pane span.fancytree-node {
|
#left-pane .fancytree-node.tinted {
|
||||||
--custom-color: var(--dark-theme-custom-color);
|
--custom-color: var(--dark-theme-custom-color);
|
||||||
|
|
||||||
/* The background color of the active item in the note tree.
|
/* The background color of the active item in the note tree.
|
||||||
|
|||||||
@ -263,7 +263,7 @@
|
|||||||
--ck-editor-toolbar-dropdown-button-open-background: #0000000f;
|
--ck-editor-toolbar-dropdown-button-open-background: #0000000f;
|
||||||
}
|
}
|
||||||
|
|
||||||
#left-pane span.fancytree-node {
|
#left-pane .fancytree-node.tinted {
|
||||||
--custom-color: var(--light-theme-custom-color);
|
--custom-color: var(--light-theme-custom-color);
|
||||||
|
|
||||||
/* The background color of the active item in the note tree.
|
/* The background color of the active item in the note tree.
|
||||||
|
|||||||
@ -905,7 +905,7 @@ export default class NoteTreeWidget extends NoteContextAwareWidget {
|
|||||||
const colorClass = note.getColorClass();
|
const colorClass = note.getColorClass();
|
||||||
|
|
||||||
if (colorClass) {
|
if (colorClass) {
|
||||||
extraClasses.push(colorClass);
|
extraClasses.push(...["tinted", colorClass]);
|
||||||
}
|
}
|
||||||
|
|
||||||
return extraClasses.join(" ");
|
return extraClasses.join(" ");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user