The current code in nuxeo-document-tree prevents from customizing the hover color:
a:hover { @apply --nuxeo-link-hover; }
The correct variable name is nuxeo-link-hover-color as defined in the theme here:
--nuxeo-link-color: var(--nuxeo-text-default); --nuxeo-link-hover-color: var(--nuxeo-primary-color);
Moreover, defining
a:hover
and the apply directive seems to be ineffective.
Instead, using
#root a:hover
and setting the color directly works fine like :
#root a:hover {
color: var(--nuxeo-link-hover-color);
}
This is already the case for the link color here:
#root a, a:active, a:visited, a:focus {
color: var(--nuxeo-drawer-text);
}