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

This commit is contained in:
Adorian Doran 2025-10-19 17:39:21 +03:00
parent d999d60302
commit de9314a271
5 changed files with 5 additions and 5 deletions

View File

@ -82,7 +82,7 @@ body ::-webkit-calendar-picker-indicator {
filter: invert(1);
}
#left-pane span.fancytree-node {
#left-pane .fancytree-node.tinted {
--custom-color: var(--dark-theme-custom-color);
}

View File

@ -82,6 +82,6 @@ html {
--native-titlebar-background: #ffffff00;
}
#left-pane span.fancytree-node {
#left-pane .fancytree-node.tinted {
--custom-color: var(--light-theme-custom-color);
}

View File

@ -268,7 +268,7 @@
* Dark color scheme tweaks
*/
#left-pane span.fancytree-node {
#left-pane .fancytree-node.tinted {
--custom-color: var(--dark-theme-custom-color);
/* The background color of the active item in the note tree.

View File

@ -263,7 +263,7 @@
--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);
/* The background color of the active item in the note tree.

View File

@ -905,7 +905,7 @@ export default class NoteTreeWidget extends NoteContextAwareWidget {
const colorClass = note.getColorClass();
if (colorClass) {
extraClasses.push(colorClass);
extraClasses.push(...["tinted", colorClass]);
}
return extraClasses.join(" ");