@@ -67,12 +67,12 @@ Each region can have its own background, text, and accent colors. This lets you
6767
6868### Global
6969
70- These apply to shared surfaces (popovers, dialogs, status bar ) and act as defaults for regions that don't override them.
70+ These apply to shared surfaces (popovers, dialogs) and act as fallback defaults for regions that don't override them.
7171
7272| Token | CSS Variable | Description |
7373| -------| -------------| -------------|
74- | ` background ` | ` --background ` | Base app background, status bar |
75- | ` foreground ` | ` --foreground ` | Default text color (global fallback) |
74+ | ` background ` | ` --background ` | Base app background; used by surfaces without a dedicated variable |
75+ | ` foreground ` | ` --foreground ` | Default body text color; fallback for regions without their own fg |
7676| ` card ` | ` --card ` | Generic card surface background |
7777| ` cardForeground ` | ` --card-foreground ` | Text on card surfaces |
7878| ` popover ` | ` --popover ` | Popover/dropdown background |
@@ -95,61 +95,75 @@ These apply to shared surfaces (popovers, dialogs, status bar) and act as defaul
9595
9696### Left Sidebar
9797
98- Controls the file explorer, search panel, calendar panel, and type sidebar.
98+ Controls the file explorer, search panel, calendar panel, and type sidebar. These panels share the left pane and switch depending on sidebar mode.
9999
100100| Token | CSS Variable | Description |
101101| -------| -------------| -------------|
102- | ` fileExplorerBg ` | ` --file-explorer-bg ` | Background |
103- | ` fileExplorerFg ` | ` --file-explorer-fg ` | Primary text |
104- | ` fileExplorerMutedFg ` | ` --file-explorer-muted-fg ` | Secondary/muted text, icons |
105- | ` fileExplorerAccent ` | ` --file-explorer-accent ` | Hover and selection surfaces |
102+ | ` fileExplorerBg ` | ` --file-explorer-bg ` | Background fill of the entire left sidebar pane |
103+ | ` fileExplorerFg ` | ` --file-explorer-fg ` | Primary readable text: file/folder names, search input text, calendar file list, daily note button labels |
104+ | ` fileExplorerMutedFg ` | ` --file-explorer-muted-fg ` | Secondary text and icons: tree chevrons, folder/file icons, search placeholder, weekday headers, section labels ("Views", "Types") |
105+ | ` fileExplorerAccent ` | ` --file-explorer-accent ` | Hover/selection background: file tree item hover, calendar day hover, search close button hover, quarter/week button hover |
106+ | ` fileExplorerPrimary ` | ` --file-explorer-primary ` | Primary accent color: selected file name, "Search" heading, calendar month label, weekend day numbers, active fuzzy toggle, type/view selected state, dot indicators |
107+ | ` fileExplorerBorder ` | ` --file-explorer-border ` | Borders and separators: search input border, type sidebar section dividers, untyped section top border |
108+ | ` fileExplorerBadgeFg ` | ` --file-explorer-badge-fg ` | Numeric count badges: file count in folders, note count in type/view/nav items |
109+ | ` searchSemanticBg ` | ` --search-semantic-bg ` | Background of the "Semantic" badge pill in search results |
110+ | ` searchSemanticFg ` | ` --search-semantic-fg ` | Text color of the "Semantic" badge pill in search results |
106111
107112### Right Sidebar
108113
109- Controls the properties panel, table of contents, backlinks, and outgoing links.
114+ Controls the properties panel, table of contents, backlinks, and outgoing links. All panels stack vertically in the right pane's scroll area.
110115
111116| Token | CSS Variable | Description |
112117| -------| -------------| -------------|
113- | ` rightSidebarBg ` | ` --right-sidebar-bg ` | Background |
114- | ` rightSidebarFg ` | ` --right-sidebar-fg ` | Primary text |
115- | ` rightSidebarMutedFg ` | ` --right-sidebar-muted-fg ` | Secondary/muted text, icons |
116- | ` rightSidebarAccent ` | ` --right-sidebar-accent ` | Hover and selection surfaces |
118+ | ` rightSidebarBg ` | ` --right-sidebar-bg ` | Background fill of the entire right sidebar pane |
119+ | ` rightSidebarFg ` | ` --right-sidebar-fg ` | Primary readable text: property values, boolean labels, relationship link names, heading text in TOC |
120+ | ` rightSidebarMutedFg ` | ` --right-sidebar-muted-fg ` | Secondary text and icons: property keys, file icons, snippet text, link/relationship counts, chevron icons, empty state messages ("No backlinks found") |
121+ | ` rightSidebarAccent ` | ` --right-sidebar-accent ` | Hover/selection background: collapsible trigger hover, backlink/outgoing link item hover, property row hover, lifecycle button hover, list item container bg |
122+ | ` rightSidebarPrimary ` | ` --right-sidebar-primary ` | Primary accent color: panel headings ("Properties", "Backlinks", "TOC", "Outgoing links", "Relationships"), link highlight text in backlink snippets, TOC heading hover |
123+ | ` rightSidebarBorder ` | ` --right-sidebar-border ` | Borders and separators: TOC indent guide lines (via CSS gradient) |
117124
118125### Editor
119126
120127Controls the markdown editor area, CodeMirror, and active tab.
121128
122129| Token | CSS Variable | Description |
123130| -------| -------------| -------------|
124- | ` editorBg ` | ` --editor-bg ` | Editor background ( CodeMirror + container) |
125- | ` editorFg ` | ` --editor-fg ` | Editor text and caret color |
126- | ` editorEmptyBg ` | ` --editor-empty-bg ` | Background when no file is open |
131+ | ` editorBg ` | ` --editor-bg ` | Background fill of the CodeMirror editor, gutter area, and active tab; the main writing surface |
132+ | ` editorFg ` | ` --editor-fg ` | Editor body text, caret (blinking cursor), and drop cursor color |
133+ | ` editorEmptyBg ` | ` --editor-empty-bg ` | Background shown when no file is open ("Select a file to view its contents") |
127134
128135### Tab Bar and Tabs
129136
130137| Token | CSS Variable | Description |
131138| -------| -------------| -------------|
132- | ` tabBar ` | ` --tab-bar ` | Tab bar background |
133- | ` tabTextActive ` | ` --tab-text-active ` | Active tab text |
134- | ` tabTextInactive ` | ` --tab-text-inactive ` | Inactive tab text |
139+ | ` tabBar ` | ` --tab-bar ` | Background of the horizontal tab strip above the editor and the sidebar header bars |
140+ | ` tabTextActive ` | ` --tab-text-active ` | Text color of the currently active/selected tab |
141+ | ` tabTextInactive ` | ` --tab-text-inactive ` | Text color of inactive/unselected tabs; also used for property type icons |
142+
143+ ### Status Bar
144+
145+ | Token | CSS Variable | Description |
146+ | -------| -------------| -------------|
147+ | ` statusBarBg ` | ` --status-bar-bg ` | Background of the bottom status bar strip (search status, save status, word count) |
148+ | ` statusBarFg ` | ` --status-bar-fg ` | Text color of status bar items |
135149
136150### Settings Dialog
137151
138152| Token | CSS Variable | Description |
139153| -------| -------------| -------------|
140- | ` settingsDialogBg ` | ` --settings-dialog-bg ` | Dialog background |
141- | ` settingsSidebarBg ` | ` --settings-sidebar-bg ` | Settings sidebar background |
142- | ` settingsText ` | ` --settings-text ` | Settings text |
143- | ` settingsHoverBg ` | ` --settings-hover-bg ` | Button hover background |
144- | ` settingItemBg ` | ` --setting-item-bg ` | Setting row background |
154+ | ` settingsDialogBg ` | ` --settings-dialog-bg ` | Background of the Settings modal overlay |
155+ | ` settingsSidebarBg ` | ` --settings-sidebar-bg ` | Background of the Settings navigation sidebar (General, Notes, Tools, etc.) |
156+ | ` settingsText ` | ` --settings-text ` | Text color inside the Settings dialog |
157+ | ` settingsHoverBg ` | ` --settings-hover-bg ` | Hover background for Settings sidebar navigation items |
158+ | ` settingItemBg ` | ` --setting-item-bg ` | Background of individual setting rows |
145159
146160### Form Elements
147161
148162| Token | CSS Variable | Description |
149163| -------| -------------| -------------|
150- | ` inputBg ` | ` --input-bg ` | Input field background |
151- | ` inputText ` | ` --input-text ` | Input field text |
152- | ` switchUncheckedBg ` | ` --switch-unchecked-bg ` | Switch unchecked track |
164+ | ` inputBg ` | ` --input-bg ` | Background of text inputs, dropdowns, and select fields across the app |
165+ | ` inputText ` | ` --input-text ` | Text color inside input fields |
166+ | ` switchUncheckedBg ` | ` --switch-unchecked-bg ` | Background of toggle switch track when unchecked/off |
153167
154168---
155169
0 commit comments