The default theme restricts tab coloring with "workspaceTabBackgroundColor" #7248
-
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
Hi @DrakeDrole! I'm Dosu and I’m helping the Trilium team. The Next-Dark theme only colors a thin line at the top of each tab with To fully color the tabs, add a CSS note in Trilium with the following code and label it with /* Fully color workspace tabs using workspaceTabBackgroundColor */
.note-tab .note-tab-wrapper {
background-color: var(--workspace-tab-background-color) !important;
}
/* Remove the colored top line */
.note-tab .note-tab-wrapper::after {
display: none !important;
} Create a new note, set its type to CSS, paste the code above, add the To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
You can set all tab text to gray and make the selected tab's text white and bold using this CSS in your #appCss note: /* Set all tab text to gray */
.tab-row-widget .note-tab .note-tab-title {
color: #a8a8ad !important;
font-weight: normal !important;
}
/* Make the selected tab's text white and bold */
.tab-row-widget .note-tab[active] .note-tab-title {
color: #fff !important;
font-weight: bold !important;
} This will keep inactive tabs readable and make the active tab stand out. If you don't see the change, try refreshing the page or clearing your browser cache. Note that future theme updates might require you to adjust these selectors if the theme structure changes. Direct tab text color customization isn't supported by default in Trilium, so this CSS override is the best workaround for now (reference). To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
-
This is purely a personal preference, so we're going to have it set as default. The reasons why we don't want the full tab to be colored are exactly the ones you have encountered, such as a bad contrast between the background and the foreground colors. Since you can adjust this behavior via |
Beta Was this translation helpful? Give feedback.
Hi @DrakeDrole! I'm Dosu and I’m helping the Trilium team.
The Next-Dark theme only colors a thin line at the top of each tab with
workspaceTabBackgroundColor
because the CSS applies this color to a 3px-high border, not the full tab background. This is an intentional design choice, but you can override it with custom CSS.To fully color the tabs, add a CSS note in Trilium with the following code and label it with
#appCss
:C…