Compare commits

..
Author SHA1 Message Date
lolabird
b189d2b1a8
Update README 2025-04-08 09:20:13 -06:00
lolabird
1bd7dfb1cf
Edit README 2025-04-08 01:45:45 -06:00
lolabird
1350a7702b
Edit README 2025-04-08 00:31:22 -06:00
Octavia
e12f92b3ef
Update README.md
Add videos
2025-04-08 06:16:49 +00:00
lolabird
99b435f926
Edit README 2025-04-08 00:08:11 -06:00
lolabird
dcd606ebf1
Fix link hover 2025-04-07 21:51:15 -06:00
lolabird
d2a61d235e
Edit README 2025-04-07 21:47:08 -06:00
lolabird
16cd4c5dd9
Adjust backlink styles 2025-04-07 18:21:45 -06:00
lolabird
fa9d71672e
Clear up any discrepancies between local and git code 2025-04-07 15:45:41 -06:00
lolabird
8b08d5839a
Adjust hover styles for floating close button 2025-04-07 15:36:31 -06:00
lolabird
b7bbb4f7ee
Remove unnecessary toc and highlight styles 2025-04-07 15:14:02 -06:00
lolabird
cd3604a07f
Fix modal help button alignment 2025-04-07 14:30:21 -06:00
lolabird
48aee5e611
Add specificity to modal help button 2025-04-07 13:52:02 -06:00
lolabird
314d26d938
Add comment 2025-04-07 13:44:04 -06:00
lolabird
381aa52159
Change color of help button in password modal 2025-04-07 13:41:42 -06:00
lolabird
d93f1ecd53
Adjust floating and mermaid button styles 2025-04-07 12:23:12 -06:00
lolabird
a158596f5f
Change selector for bottom mermaid buttons 2025-04-07 11:54:51 -06:00
lolabird
f3952249db
Bring back to baseline 2025-04-07 11:47:18 -06:00
lolabird
876c6798e0
Change hover styles for floating buttons 2025-04-07 11:16:21 -06:00
lolabird
cb6662be51
Remove red hover color from close button 2025-04-07 10:58:35 -06:00
lolabird
83ce112d6f
Adjust position, height and width of bottom mermaid buttons 2025-04-07 10:53:14 -06:00
lolabird
cff579d496
Fix sizing issue with edit button 2025-04-06 19:59:34 -06:00
lolabird
6e2abb53a2
Add breadcrumbs styles 2025-04-06 19:10:38 -06:00
lolabird
743b944c42
Adjust OG text decoration styles 2025-04-06 17:29:57 -06:00
lolabird
ba746e20a0
Adjust OG link styles 2025-04-06 17:27:39 -06:00
lolabird
d297ffac3f
Adjust hljs styles 2025-04-06 16:51:43 -06:00
lolabird
1754864cc9
Remove color from text decoration in toc 2025-04-06 12:47:55 -06:00
lolabird
a4304b6691
Fix launch bar padding for latest TriliumNext version 2025-04-06 12:11:24 -06:00
lolabird
8fb4a7e08a
Add z-indexing to balloon panel 2025-04-05 21:29:12 -06:00
lolabird
95850c5449
Remove tooltip z-indexing 2025-04-05 20:39:42 -06:00
lolabird
71922ebb52
Adjust base .hljs colors 2025-04-05 15:02:31 -06:00
lolabird
66add0caff
Create separate css files for triliumnext and OG trilium 2025-04-05 05:05:36 -06:00
lolabird
4ed6a36073
Change :focus-visible outline color 2025-04-05 04:53:20 -06:00
lolabird
4dec7c4088
Add margin to blockquote 2025-04-05 04:10:30 -06:00
lolabird
b2b8e7658a
Adjust help button font size 2025-04-05 04:01:13 -06:00
lolabird
3c4d169ec4
Adjust modal button styles 2025-04-05 03:08:00 -06:00
lolabird
f97b404c78
Temporarily comment out tooltip z-indexing 2025-03-31 21:09:20 -06:00
lolabird
5ea7c6fa86
Fix mirrored note link color 2025-03-31 20:02:48 -06:00
lolabird
25aaa56caa
Fix toc kbd styles 2025-03-31 19:58:26 -06:00
lolabird
2aeae53ffd
Adjust tab x colors 2025-03-30 01:36:25 -06:00
lolabird
2c1316b2d5
Adjust link styles 2025-03-30 01:12:50 -06:00
lolabird
89278f53df
Add text decoration styles 2025-03-29 14:58:51 -06:00
lolabird
cdc52b0ad7
Fix Zen Mode display for TriliumNext 2025-03-29 14:11:31 -06:00
lolabird
368b6894c7
Adjust footnote styles 2025-03-26 03:29:52 -06:00
lolabird
b937909b24
Adjust header code and kbd styles 2025-03-26 02:57:37 -06:00
lolabird
8b57333e18
adjust blockquote styles 2025-03-26 02:00:44 -06:00
lolabird
39c5da008a
Adjust internal link styles 2025-03-26 00:42:03 -06:00
lolabird
d708870699
Adjust internal link styles 2025-03-26 00:16:29 -06:00
lolabird
6fef74c529
Adjust card styles 2025-03-25 23:16:22 -06:00
lolabird
e50e83ca34
Reduce left margin on footnotes 2025-03-25 21:28:39 -06:00
lolabird
afb2532747
Rearrange text decoration sections and add precendence to link color 2025-03-25 14:11:29 -06:00
lolabird
2599b52b7a
Adjust footnote styles 2025-03-25 05:29:27 -06:00
lolabird
b9faa57321
Fix unchecked box background color 2025-03-24 22:10:51 -06:00
lolabird
f3a7319d78
Style kbd and inline code 2025-03-24 12:02:19 -06:00
lolabird
c33341c446
Add backgrounds to cards 2025-03-24 10:17:52 -06:00
lolabird
59207a0508
Adjust card styles 2025-03-24 03:29:10 -06:00
lolabird
abf74afb41
Fix blockquote italic styles 2025-03-24 01:07:42 -06:00
lolabird
b881e3aabf
Adjust colors for asides and condense aside section 2025-03-23 23:56:43 -06:00
lolabird
ddd5db8a1a
Add initial new content box styles 2025-03-23 22:22:52 -06:00
lolabird
208be14c43
Rearrange style selectors, add new section, and add
footnote styles
2025-03-23 22:09:18 -06:00
lolabird
f54b9a7b4e
Move tooltip out of the way of attributes dropdown 2025-02-18 10:52:32 -07:00
lolabird
4678431052
Fix html tag colors for code blocks 2025-02-05 10:38:35 -07:00
lolabird
fff3a18f26
Fix input background color for TriliumNext 2025-01-14 18:45:02 -07:00
lolabird
786a70b4e8
Add highlightjs regex style 2025-01-12 19:38:20 -07:00
lolabird
c3d517f220
Add breadcrumb styles 2025-01-12 19:20:36 -07:00
lolabird
af2fffb808
Remove help button styles 2025-01-12 18:42:12 -07:00
lolabird
d8c718f93c
Rearrange tab variables 2025-01-12 17:59:29 -07:00
lolabird
142df0b4ae
Change video 2025-01-12 12:37:03 -07:00
Octavia
e87453e5a9
Update Videos 2024-10-14 18:59:34 +00:00
Octavia
c30466bb37
Update videos 2024-10-14 17:26:59 +00:00
lolabird
2e65b8bb30
Add new set of screenshots and videos 2024-10-14 11:07:13 -06:00
lolabird
b957a6f075
Remove previous set of screenshots and videos 2024-10-14 11:05:36 -06:00
lolabird
18c1dafdcd
Remove letter spacing 2024-10-14 10:33:08 -06:00
lolabird
3f8ab14129
Add link to EFAD 2024-10-12 02:51:38 -06:00
15 changed files with 1347 additions and 53 deletions

View file

@ -1,40 +1,49 @@
# Stellar Dark Theme
Dark theme for [Trilium Notes](https://github.com/zadam/trilium)
Dark theme for [Trilium Notes](https://github.com/zadam/trilium) (OG Trilium) and [TriliumNext](https://github.com/TriliumNext/Notes).
![Text Showcase](/screenshots/SD_Main.png)
![Text Showcase](/screenshots/SD_main.png)
## Features
### Native Styles
* Dark theme
* High contrast
* Scrolling tables with sticky headers on both axes
* Vertical floating buttons that have much less overlap with content of notes
* Vertical floating buttons for less content overlap
* Different styles for different types of links
* Custom fonts
* Bright colors
### Enhanced Addon Styles
*See 'Usage Instructions' for information on how to enable these.*
* Zen Mode
* Matching syntax highlight in text notes
_See 'Usage Instructions' for information on how to enable these.*_
* Zen mode (with right panel enabled)*
* Matching code note and code block syntax highlight*
* Position shown in TOC
* And much more!
_*If you are using TriliumNext, zen mode and code block syntax highlight are already natively available in the application. No extra steps are required for these addons unless you want to disable the right panel in zen mode. Please see the usage instructions below if this is the case._
## Usage Instructions
### Installation
* Download the latest version of Trilium
* Download the latest release of Stellar Dark
* In your trilium instance right click a note you want to import the theme into
* Download and install the latest version of Trilium or TriliumNext
* Download the latest release of EverForest Ant Dark
* OG_StellarDark if you use the original Trilium Notes
* Next_StellarDark if you use TriliumNext
* In your Trilium instance right click a note you want to import the theme into
* Select "Import into note" in the context menu
* Uncheck "Safe import" and upload the zip file you just downloaded
* Click on the Trilium logo in the upper left corner and select Options -> Appearance
* Under "Theme", choose Stellar Dark
* Under "Theme", choose EverForest Ant Dark
* Enjoy!
### Enabling Addon Features
#### Zen Mode
* Create a 'JS frontend' code note
* Add the `#widget` attribute to 'Owned Attributes' (the button with three lines and a checkmark)
* Add the following code (created by [Nriver](https://github.com/Nriver/awesome-trilium/issues/44)) to the note
* Add the following code (created by [Nriver](https://github.com/Nriver/awesome-trilium/issues/44)) to the note:
```js
api.addButtonToToolbar({
title: 'Zen mode',
@ -45,16 +54,16 @@ Dark theme for [Trilium Notes](https://github.com/zadam/trilium)
shortcut: 'alt+z'
});
```
* Reload (`ctrl+r` or `F5`) Trilium to enable the script
* Reload (<kbd>Ctrl+R</kbd> or <kbd>F5</kbd>) Trilium to enable the script
##### Usage
Press `alt+z` or the zen (spa) button in the launcher (left most panel) to enable/disable zen mode.
Press <kbd>Alt+Z</kbd> or the zen (spa) button in the launcher (left most panel) to enable/disable zen mode.
There are two types of zen mode available:
1. Right panel enabled
2. Right panel disabled
Right panel is enabled by default. If you would like to disable it, you can either add the following code in a new CSS note or uncomment it in the Stellar Dark theme as seen in the video below.
The right panel is enabled by default in text notes. If you would like to disable this in OG Trilium, you can either add the following code in a new CSS note or uncomment it in the theme:
```css
/*hide right pane*/
@ -63,31 +72,45 @@ Right panel is enabled by default. If you would like to disable it, you can eith
}
```
https://github.com/user-attachments/assets/e6019857-4e0f-46fb-a7e6-c83c4c6e30bb
https://github.com/user-attachments/assets/dc398d7c-d3e9-402c-86b2-9576f402a13d
##### Added Features
* Window control buttons are still accessible in zen mode
* Zen button is still accessible in zen mode for easy disabling in case you don't remember the shortcut
In TriliumNext, you will need to comment out this code:
```css
/*show right pane*/
body.zen div.gutter {
display: block !important;
}
body.zen div#right-pane:not(.hidden-int) {
display: flex !important;
}
```
https://github.com/user-attachments/assets/ce651ab5-d970-49c8-bfef-94962cead03c
##### Additional Features
* Window control buttons are still accessible in zen mode*
* Zen button is still accessible in zen mode for a more accessible zen mode exit*
* Bottom panel widgets are not visible in zen mode
* Optional disabling of right panel in zen mode
_*Natively available in TriliumNext_
#### Show Position in TOC and Syntax Highlight
Please go to each addon's respective page for instructions on how to enable these addons.
* [Show Position in TOC](https://github.com/SiriusXT/trilium-show-position-in-toc)
* [Syntax Highlight](https://github.com/antoniotejada/Trilium-SyntaxHighlightWidget)
## Screenshots and Videos
![Selection Showcase](/screenshots/SD_Hover.png)
## Screenshots
The following screenshots are from TriliumNext. Most of the features shown are also available in either OG Trilium or can be included via addons. However, some features, like cards (excluding blockquotes) and <kbd>kbd</kbd>, are only available in TriliumNext.
https://github.com/user-attachments/assets/131e4f64-f1b5-411b-b849-182d1de66b17
https://github.com/user-attachments/assets/a19c6459-71c1-454f-921c-78c09088c9f4
![Map Showcase](/screenshots/SD_Map.png)
![Relation Map](/screenshots/SD_Relation_Map.png)
![Code Showcase](/screenshots/SD_Code.png)
![Code Note](/screenshots/SD_Code.png)
https://github.com/user-attachments/assets/ffb95d3e-572b-48d4-a47a-123ae6fb0e6d
![Text Note Syntax Highlight Showcase](/screenshots/SD_Highlight.png)
https://github.com/user-attachments/assets/4874d7b6-e8bf-4c07-87d1-3869bb09c68d
## Credits and Resources
### Fonts
@ -103,4 +126,5 @@ https://github.com/user-attachments/assets/ffb95d3e-572b-48d4-a47a-123ae6fb0e6d
* WordCount (Featured in the [Demo Document](https://github.com/zadam/trilium/wiki/Document#demo-document))
* [Zen Mode](https://github.com/Nriver/awesome-trilium/issues/44)
Find more addons made by the Trilium community at [Nriver's "Awesome Trilium" page](https://github.com/Nriver/awesome-trilium?tab=readme-ov-file#%EF%B8%8F-widgets)!
Find more addons made by the Trilium community at [Nriver's "Awesome Trilium" page](https://github.com/Nriver/awesome-trilium?tab=readme-ov-file#%EF%B8%8F-widgets), and check out my other themes [EverForest Ant Dark](https://github.com/Lolabird/everforest-ant-dark-trilium-theme) and [Ocean Dark](https://github.com/Lolabird/ocean-dark-trilium-theme) while you're at it!

1234
next_stellar-dark.css Normal file

File diff suppressed because it is too large Load diff

View file

@ -265,10 +265,6 @@ html {
/*****TOC*****/
.toc-widget{
overflow: visible !important;
font-size: var(--tree-font-size);
}
/***Only applies if 'Show Position in TOC' widget is in use***/
.toc-widget span.toc li[style] {
@ -343,12 +339,6 @@ html {
}
/*****TEXT*****/
*{
letter-spacing: 1.2px;
}
/*****TABLE*****/
.ck-content .table>figcaption {
background-color: var(--table-header-gray);
@ -398,11 +388,19 @@ tr:nth-child(odd) {
/*****TEXT DECORATION*****/
/*bold*/
body strong {
body strong, body b {
color:var(--bold-sun);
font-weight: 700;
}
body i, body em {
color: var(--italic-orange);
}
body u {
text-decoration-style: dashed;
}
body s, body del {
text-decoration-style: double;
}
/***lists***/
li label {
@ -454,9 +452,19 @@ body blockquote{
}
/***decorated links***/
a > i, a > em, a > b, a > strong {
color: var(--link-color);
/*****LINKS*****/
body a *, a.ck-widget span {
color: var(--link-color);
}
.ck-content a:hover, a.no-tooltip-preview:hover {
text-decoration-style: double !important;
}
.ck-content a[href^="#root"]:not(.ck-widget) {
text-decoration: underline dotted;
}
.ck-content a:not([href^="#"],[href^="https://"],[href^="http://"]) {
color: var(--soft-red);
text-decoration: underline wavy 1px;
}
@ -582,10 +590,12 @@ input.form-control.note-autocomplete.note-autocomplete-input.aa-input {
/*****BUTTONS*****/
.help-button {
color: hsl(15, 100%, 56%);
/***modal buttons***/
button.help-button {
color: var(--bright-sun);
padding: 0;
}
.help-button:hover {
button.help-button:hover {
color: var(--dim-sun);
}
@ -965,8 +975,8 @@ code.hljs {
padding:3px 5px;
}
.hljs{
background:#fff;
color: yellow !important;
background: var(--main-background);
color: var(--shallow-sea-blue) !important;
}
.hljs-number {
color: var(--code-number) !important;
@ -992,19 +1002,19 @@ code.hljs {
.hljs-comment,.hljs-quote {
color: var(--code-comment) !important;
}
.hljs-name,.hljs-selector-tag,.hljs-tag,.hljs-deletion,.hljs-selector-attr {
.hljs-name,.hljs-name>.hljs-tag,.hljs-selector-tag,.hljs-tag,.hljs-deletion,.hljs-selector-attr {
color: var(--code-tag) !important;
}
.hljs-attribute {
color: var(--code-attribute) !important;
}
.hljs-addition,.hljs-literal,.hljs-section,.hljs-string,.hljs-template-tag,.hljs-template-variable,.hljs-type {
.hljs-addition,.hljs-literal,.hljs-section,.hljs-string,.hljs-string>.hljs-tag,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-regexp {
color: var(--code-string) !important;
}
.hljs-built_in {
color: var(--code-builtin) !important;
}
.hljs-doctag,.hljs-attr,.hljs-bullet,.hljs-link,.hljs-symbol {
.hljs-doctag,.hljs-attr,.hljs-attr>.hljs-tag,.hljs-bullet,.hljs-link,.hljs-symbol {
color: var(--soft-sea-green) !important;
}
.hljs-emphasis {
@ -1052,10 +1062,10 @@ code.hljs {
.zen-mode #center-pane > :not(.split-note-container-widget) {
display: none !important;
}
/*hide right pane*/
/*.zen-mode #right-pane {
/*hide right pane*
.zen-mode #right-pane {
display: none !important;
}*/
}
/***Theme Switcher***/
.theme-selection.component .switch {
@ -1075,3 +1085,29 @@ code.hljs {
.chat-wrapper .header_face:hover {
color: var(--bright-sun) !important;
}
/***Breadcrumbs***/
#breadcrumbs-bar {
display: flex;
align-items: center;
gap: 10px;
padding: 10px;
border-top: 1px solid var(--main-border-color);
border-bottom: 1px solid var(--main-border-color);
contain: none;
overflow: auto;
}
#breadcrumbs span a {
white-space: pre;
overflow: hidden;
text-overflow: ellipsis;
display: inherit;
}
#breadcrumbs a {
display: inline-flex;
line-height: 1;
padding: 5px 10px;
background-color: rgba(252, 251, 179, 0.05) !important;
border-radius: 12px;
transition: transform 200ms ease, background-color 200ms ease, filter 200ms ease;
}

BIN
screenshots/OG_SD_Zen.mp4 Normal file

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 191 KiB

After

Width:  |  Height:  |  Size: 198 KiB

Before After
Before After

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 234 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 339 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 289 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 125 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 221 KiB

BIN
screenshots/SD_Showcase.mp4 Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
screenshots/SD_main.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 288 KiB