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
lolabird
c0642b0fdc
Add zen mode css snippet 2024-10-12 01:45:28 -06:00
Octavia
92b9928b10
Add videos 2024-10-12 07:32:30 +00:00
lolabird
ba4f9cb1d9
Add more info, screenshots, and videos 2024-10-12 00:15:14 -06:00
lolabird
871315857e
Add features and main/zen mode usage instructions 2024-10-11 23:51:26 -06:00
lolabird
df7873c400
Add screenshot and video files and a list of featured addons 2024-10-11 22:39:54 -06:00
lolabird
c7613fb526
Fix empty note form field 2024-10-11 17:51:04 -06:00
lolabird
fbee73cd9b
Add bottom margin to backlinks ticker and add comment labels 2024-10-11 16:18:26 -06:00
lolabird
dda46eade8
Style close floating button 2024-10-11 15:41:28 -06:00
lolabird
27e6816b54
Make canvas buttons consistent with relation map buttons 2024-10-11 15:27:45 -06:00
lolabird
71c23d7181
Align and change border radius of relation map zoom buttons 2024-10-11 14:23:42 -06:00
lolabird
af0a3ac51b
Adjust fonts and add font files 2024-10-11 13:31:33 -06:00
lolabird
2c476c3e3c
Change hover behavior of Trilium Chat home button 2024-10-10 21:02:02 -06:00
lolabird
1452364754
Make color and hover behavior of buttons more consistent 2024-10-10 20:39:57 -06:00
lolabird
d881cc5117
Change '--trilium-green' color for Trilium Chat 2024-10-10 20:14:20 -06:00
lolabird
f1de6c22f1
Change '--trilium-green' color for Trilium Chat 2024-10-10 20:12:59 -06:00
lolabird
4b20924fe8
Change Theme Switcher widget colors 2024-10-10 19:36:58 -06:00
lolabird
fb2f48a310
Hide nonessential widgets and optionally hide right pane in zen mode and edit formatting 2024-10-10 18:20:30 -06:00
lolabird
cc7efa53f1
Adjust alignment of buttons 2024-10-06 17:07:20 -06:00
lolabird
ba24a69a9e
Remove color from todo list item label 2024-10-06 15:23:00 -06:00
lolabird
5eccc1b461
Adjust input box colors 2024-10-06 11:14:41 -06:00
lolabird
b7b1b0507f
Remove the need for the important keyword in header styles 2024-10-06 09:40:00 -06:00
lolabird
bd660619e1
Adjust zen mode styles 2024-10-05 23:19:10 -06:00
lolabird
27399e2b41
Make table headers sticky and add zen mode 2024-10-05 23:07:26 -06:00
lolabird
9dc72cf298
change mermaid theme to dark for better visibility 2024-09-21 10:05:33 -06:00
lolabird
b4e4efa00f
Change delete alert colors 2024-09-20 13:32:00 -06:00
lolabird
8179ae65d0
Make decorated links the same color as regular links 2024-09-20 09:50:33 -06:00
lolabird
d9d4053baf
Fix edit button being unclickable 2024-09-19 13:09:24 -06:00
lolabird
a9ecf5720d
Make color in code notes more visually accessible 2024-09-18 16:44:58 -06:00
lolabird
c02dcbe9bb
Change orientation of backlinks button so that it doesn't overlap with note text 2024-09-18 15:03:50 -06:00
lolabird
ba6a544afd
Add styles to calendar dropdown 2024-09-18 14:12:47 -06:00
lolabird
6f56a2aa06
Refactor code for button styles 2024-09-18 13:30:48 -06:00
lolabird
644ff77fba
Fix error from last commit 2024-09-18 12:26:14 -06:00
lolabird
69ac0221bc
Change text color of backend logs to lessen the contrast between text and background 2024-09-18 12:23:59 -06:00
lolabird
d500a1cdfe
Change italic and blockquote colors 2024-09-18 03:18:22 -06:00
lolabird
d73d232804
Change italic and blockquote colors 2024-09-18 02:45:50 -06:00
lolabird
6abd78a4ea
Add styles to italics in blockquotes 2024-09-18 02:24:43 -06:00
lolabird
14326f1886
Increase image caption font-size 2024-09-18 01:56:11 -06:00
lolabird
711f722832
Ensure that bold and italic inline code headers are the same as size and non-bold and non-italic inline code headers 2024-09-18 01:27:20 -06:00
lolabird
2e581ac25e
Add styles to note relation map 2024-09-17 19:17:07 -06:00
lolabird
66fc0ba7de
Define hljs colors more comprehensively 2024-09-09 23:27:10 -06:00
lolabird
94255f5ebc
Add initial hljs styles 2024-09-09 19:23:09 -06:00
lolabird
969266141a
Change active TOC color is \'Show Position in TOC\' widget is in use 2024-09-09 17:25:55 -06:00
lolabird
de1bc1d807
Align highlights text to the left 2024-09-01 17:22:48 -06:00
lolabird
a78cf3b956
Change tab x hover behavior and create red variable 2024-08-29 21:47:54 -06:00
lolabird
d9e6bd0b82
Remove border from focused image captions 2024-08-29 13:47:58 -06:00
lolabird
1d4d3841dc
Change color of menu editor 'on' buttons 2024-08-29 13:29:15 -06:00
lolabird
417e44078c
Edit formatting 2024-08-28 22:30:39 -06:00
lolabird
6ad8c37310
Remove redundant monospace font definitions 2024-08-28 22:14:06 -06:00
lolabird
c99ea0ab2c
Edit formatting 2024-08-28 20:16:15 -06:00
lolabird
30220e70c2
Change find result and print keyword colors 2024-08-28 19:26:51 -06:00
lolabird
72960b031c
Fix tree action buttons overflowing their container 2024-08-27 18:54:01 -06:00
lolabird
46dd9836fc
Reduce note title font size and increase the top and bottom margins around it 2024-08-27 18:25:27 -06:00
lolabird
4013c1de1a
Change TOC text alignment 2024-08-27 03:22:41 -06:00
lolabird
acbc8bf30c
Restore detail font-size 2024-08-22 13:24:20 -06:00
lolabird
c1eb0dbf59
Restore tab font-size and bottom margin to tab close symbol 2024-08-22 12:38:54 -06:00
lolabird
98028d6853
Reset detail font-size and specify paragraph font-size 2024-08-22 12:18:58 -06:00
lolabird
fae51ad408
Change detail font size (main and tab fonts) 2024-08-22 11:44:22 -06:00
f9a3b5877b Fix ::selection colors and screenshot consistency issues 2023-11-29 15:11:18 -07:00
8096d5a4c8 Fix typo and screenshot 2023-11-04 13:57:35 -06:00
059cb58a16 Change display and line spacing of lists 2023-11-03 19:45:23 -06:00
9354c4123c Add bottom margin to included notes 2023-11-03 19:26:30 -06:00
15fa97fe85 Comment out ::selection styling for troubleshooting 2023-11-03 19:11:18 -06:00
5ed7037728 Update screenshots 2023-11-03 18:07:06 -06:00
e33ee70630 Update screenshots 2023-11-03 17:59:46 -06:00
a0207f7ce5 Update screenshots 2023-11-03 17:39:26 -06:00
629564ccc0 Update README and screenshots 2023-11-03 17:33:20 -06:00
38c4db26f0 Change header and table colors, adjust letter spacing and quote margins, remove table borders 2023-11-03 17:09:07 -06:00
1c97e3a304 Remove left margin 2023-11-03 14:25:56 -06:00
e5a4361dc3 Add letter spacing 2023-11-03 14:15:43 -06:00
87c247f4e4 Alternate table colors 2023-11-03 12:58:28 -06:00
73fbe85fcc reduce inline code size 2023-08-31 12:21:38 -06:00
66b6feacb3 change inline code font-size and colors (when bold and italic) 2023-08-31 12:04:00 -06:00
98a23fc8e4 Update README 2023-08-20 16:41:48 -06:00
69996c4b6e Update README screenshot 2023-08-20 16:30:28 -06:00
c5d199dca6 Update README screenshot 2023-08-20 16:27:06 -06:00
0638cfbb6a Update README 2023-08-20 16:23:20 -06:00
b8a0570de4 Add inline code styles for headers 2023-08-20 15:52:24 -06:00
4330fa1f85 Fix inline code styles on 'read only' mode. 2023-08-20 15:01:22 -06:00
Octavia
d1717bcb98
Change icon hover behavior 2023-07-27 20:03:12 -06:00
Octavia
e70b75dc0a
Change font sizes
Headers were a little too big and main font size was still a little small, so they were decreased and increase, respectively.
2023-07-27 19:49:10 -06:00
Octavia
6e1451d71d
Increase font sizes for easier readability 2023-07-27 19:29:22 -06:00
Octavia
a4d56b93a9
Refactor and icon style changes
Combined some style rules, got rid of the borders around the icons on hover and added hover color side bar icons.
2023-07-27 16:22:45 -06:00
Octavia
9bcf06feab
Add more color fixes 2023-07-27 15:58:13 -06:00
Octavia
1562e29232
Update README.md
Removed options screenshot that no longer applies after latest Trilium update.
2023-07-27 15:01:35 -06:00
Octavia
b3e9af6e47
Fix colors
Colors were changed after the latest Trilium update, so fixes were implemented to get the theme back to its original state.
2023-07-27 14:59:24 -06:00
Octavia N
e03cfe52c5
Fixed the issue of not being able to access widgets in the top bar 2023-06-06 10:57:38 -06:00
Octavia N
2669c5aec1
Fixed icon not showing up 2023-06-05 12:53:21 -06:00
Octavia N
27e262b0b5
New Screenshot to reflect to new changes 2022-10-23 15:34:17 -04:00
Octavia N
e5ed58d62b
Font and Color changes
Changed italics color, code editor highlight color, changed header font
2022-10-23 15:32:20 -04:00
Octavia N
005f2f97c7
Updated tab fonts 2022-09-23 11:17:48 -04:00
Octavia N
c759e12e2e
Making overflow visible for TOC widget 2022-09-23 02:24:27 -04:00
Octavia N
1ba03b8e65
Updated fonts, font sizes and tab sizes 2022-09-22 22:58:48 -04:00
Octavia N
bace358b8e
Update README.md 2022-07-05 22:22:31 -04:00
Octavia N
14d0047830
Attributes popup
Added styling to the text in the attributes popup so that it would be easier to see.
2022-02-23 23:35:13 -05:00
Octavia N
32f3ae97ad
Replaced screenshot
Replaced screenshot to reflect changes in the code.
2022-02-20 10:21:54 -05:00
27 changed files with 2474 additions and 573 deletions

BIN
Fira/FiraMono-Bold.woff2 Normal file

Binary file not shown.

BIN
Fira/FiraMono-Regular.woff2 Normal file

Binary file not shown.

BIN
Fira/FiraSans-Bold.woff2 Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
Fira/FiraSans-Heavy.woff2 Normal file

Binary file not shown.

Binary file not shown.

BIN
Fira/FiraSans-Italic.woff2 Normal file

Binary file not shown.

BIN
Fira/FiraSans-Light.woff2 Normal file

Binary file not shown.

Binary file not shown.

BIN
Fira/FiraSans-Medium.woff2 Normal file

Binary file not shown.

Binary file not shown.

BIN
Fira/FiraSans-Regular.woff2 Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

139
README.md
View file

@ -1,17 +1,130 @@
# 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)
## Features
### Native Styles
* Dark theme
* High contrast
* Scrolling tables with sticky headers on both axes
* 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 (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
- Download the latest version of Trilium
- Create a new CSS code note
- Title the note 'Stellar Dark'
- Copy the CSS code from this respository and paste it into the CSS code note in Trilium
- Add the attribute "#appTheme=stellar-dark"
- Go into options settings and change the theme to "Stellar Dark"
- Enjoy!
### Installation
* Download and install the latest version of Trilium or TriliumNext
* Download the latest release of EverForest Ant Dark
![Showcase Text](https://user-images.githubusercontent.com/89228316/146656725-b6c827d5-8478-4cba-8be1-d089c3887e60.png)
![Showcase Map](https://user-images.githubusercontent.com/89228316/146656722-516cb2aa-1983-446f-b345-5f751a2e4011.png)
![Showcase Code](https://user-images.githubusercontent.com/89228316/146656720-3a550f42-eb15-41ab-aa6f-b994107a75dd.png)
![Showcase Options](https://user-images.githubusercontent.com/89228316/146656723-457f5dae-4a35-4dc7-8ead-fb06d9821ec4.png)
![Showcase Backlinks](https://user-images.githubusercontent.com/89228316/154827680-a3b40fae-e144-4040-afd7-f2242c0e4e13.png)
* 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 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:
```js
api.addButtonToToolbar({
title: 'Zen mode',
icon: 'spa',
action: function() {
$("body").toggleClass("zen-mode");
},
shortcut: 'alt+z'
});
```
* Reload (<kbd>Ctrl+R</kbd> or <kbd>F5</kbd>) Trilium to enable the script
##### Usage
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
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*/
.zen-mode #right-pane {
display: none !important;
}
```
https://github.com/user-attachments/assets/dc398d7c-d3e9-402c-86b2-9576f402a13d
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
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/a19c6459-71c1-454f-921c-78c09088c9f4
![Relation Map](/screenshots/SD_Relation_Map.png)
![Code Note](/screenshots/SD_Code.png)
https://github.com/user-attachments/assets/4874d7b6-e8bf-4c07-87d1-3869bb09c68d
## Credits and Resources
### Fonts
* [Fira](https://github.com/mozilla/Fira)
### Addons Featured in the Screenshots and Videos
* [Breadcrumbs](https://github.com/rauenzi/Trilium-Breadcrumbs)
* [Scratchpad](https://github.com/zadam/trilium/discussions/1613#discussioncomment-638984)
* [Show Position in TOC](https://github.com/SiriusXT/trilium-show-position-in-toc)
* [Syntax Highlight](https://github.com/antoniotejada/Trilium-SyntaxHighlightWidget)
* [Theme Switch](https://github.com/madodig/trilium-widget-theme-switch)
* [Trilium Chat](https://github.com/soulsands/trilium-chat)
* 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), 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

1113
og_stellar-dark.css Normal file

File diff suppressed because it is too large Load diff

BIN
screenshots/OG_SD_Zen.mp4 Normal file

Binary file not shown.

BIN
screenshots/SD_Code.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 198 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 221 KiB

BIN
screenshots/SD_Showcase.mp4 Normal file

Binary file not shown.

BIN
screenshots/SD_Zen.mp4 Normal file

Binary file not shown.

BIN
screenshots/SD_main.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 288 KiB

View file

@ -1,559 +0,0 @@
/******************************************************************
Stellar Dark by Octavia N. (https://github.com/Lolabird/stellar-dark-theme-trilium)
Inspired by https://github.com/Engr-AllanG/trilium-theme-Neon_Dark
******************************************************************/
/*****ROOT (COLOR AND FONT KEY)*****/
:root{
/***main body (including CKEditor), modal(options menu), and some code colors (see last section for more code colors)*/
--text-gray: lightgray;
--devils-gray-lol: #666;
--background-gray: #111;
--supa-dark: black;
--midish-gray: #444;
--bold-sun: #fcfbb3;
--bright-sun: #cccb99;
--dim-sun: #969573;
--darkened-sun: #ccca6c;
--earth-sun: #333225;
--light-turquoise: #6df9f7;
--sea-foam: #6df9b1;
--italic-lilac: #fbb3fc;
--border-lilac: #993e9b;
--sea-green: #04c963;
--shallow-sea-blue: #54bcba;
--header-font-family: Times New Roman;
}
/*****HTML (GENERAL STYLES)*****/
/******************************************************************
These are variables that already exist in the native stylesheet, just redefined here. This could have been put in ':root' or 'body{}' but for the sake of organization, I kept them in 'html' where they have been similarly placed in the Light Theme.
******************************************************************/
html {
--theme-style: dark;
/***fonts***/
/*general fonts*/
--main-font-family: MontserratLight;
--main-font-size: normal;
--tree-font-family: MontserratLight;
--tree-font-size: normal;
--detail-font-family: MontserratLight;
--detail-font-size: normal;
/*code fonts*/
--monospace-font-family: monospace;
--monospace-font-size: normal;
/***colors***/
/*main notes window*/
--main-background-color: var(--background-gray);
--main-text-color: var(--text-gray);
--main-border-color: var(--devils-gray-lol);
/*changes the window icons(x, [], -) and some text fields*/
--accented-background-color: var(--supa-dark);
/*changes the edit icons on text notes and the alert messages*/
--more-accented-background-color: var(--midish-gray);
/*left, bottom left, and lower upper right icons*/
--button-background-color: transparent;
--button-disabled-background-color: var(--midish-gray);
--button-border-color: var(--text-gray);
--button-text-color: var(--text-gray);
--button-border-radius: 5px;
/*changes button in label detail*/
--primary-button-background-color: var(--midish-gray);
--primary-button-text-color: var(--text-gray);
--primary-button-border-color: var(--text-gray);
/* "muted-text-color" affects several components, but most are individually styled in this doc, so this should only affect the drop shadow of protected notes titles. */
--muted-text-color: var(--devils-gray-lol);
/*notes title and text fields in options menu and find (ctrl+f) search*/
--input-text-color: var(--bright-sun);
/*affects find (ctrl+f) search input when inactive*/
--input-background-color: var(--dim-sun);
/*changes the 'x' on the note tabs and the right+click and trilium (icon) menus*/
--hover-item-text-color: var(--text-gray);
/*changes side and right+click menus and note tabs*/
--hover-item-background-color: var(--supa-dark);
/*tree*/
--active-item-text-color: var(--supa-dark);
--active-item-background-color: var(--bright-sun);
--left-pane-background-color: var(--supa-dark);
--left-pane-text-color: var(--text-gray);
/*right+click menus*/
--menu-text-color: var(--text-gray);
--menu-background-color: var(--background-gray);
/*the options menu*/
--modal-background-color: var(--background-gray);
--modal-backdrop-color: var(--text-gray);
/*left and bottom left menus*/
--launcher-pane-background-color: var(--background-gray);
--launcher-pane-text-color: var(--text-gray);/*doesn't seem to to do anything and is covered by other properties*/
/*tabs*/
--active-tab-background-color: var(--bold-sun);
--active-tab-text-color: var(--background-gray);
--inactive-tab-background-color: var(--midish-gray);
--inactive-tab-text-color: var(--text-gray);
--active-tab-hover-background-color: var(--text-gray);
--inactive-tab-hover-background-color: var(--earth-sun);
/*general*/
--scrollbar-border-color: var(--dim-sun);
--tooltip-background-color: var(--background-gray);
--link-color: var(--light-turquoise);
--mermaid-theme: default;
}
/*****HEADERS*****/
/*h1 is not defined, because it's not currently an option for headers in the main body*/
body h2 {
color: var(--darkened-sun);
font-weight: 850;
font-family: var(--header-font-family);
}
body h3 {
color: var(--bright-sun);
font-weight: 700;
font-family: var(--header-font-family);
}
body h4 {
color: var(--bright-sun);
font-weight: 600;
font-family: var(--header-font-family);
}
body h5 {
color: var(--bright-sun);
font-weight: 600;
font-family: var(--header-font-family);
}
body h6 {
color: var(--bright-sun);
font-weight: 600;
font-family: var(--header-font-family);
}
/*****TEXT DECORATION*****/
/*bold*/
body strong {
color:var(--bold-sun);
font-weight: 800;
}
/***lists***/
body ul.todo-list li {
color: var(--sea-foam);
}
.ck-content .todo-list .todo-list__label>input[checked]:before{
background: var(--sea-green);
border-color: var(--sea-foam);
color: var(--background-gray);
}
.ck-content .todo-list .todo-list__label > input:before {
border: 1px solid var(--sea-foam) !important;
}
.ck-content .table>figcaption {
background-color: var(--supa-dark);
color: var(--darkened-sun);
font-size: 20px;
font-weight: 600;
font-family: var(--header-font-family);
}
table th {
font-weight: 600 !important;
font-family: var(--header-font-family);
font-size: 18px;
}
/***italics and quotes***/
body i {
color: var(--italic-lilac);
}
body blockquote{
color: var(--italic-lilac);
}
.ck-content blockquote {
overflow: hidden;
padding-right: 1.5em;
padding-left: .5em;
margin-left: 5em;
margin-right: 0;
font-style: italic;
border-left: 5px solid var(--border-lilac);
}
/*****ICONS*****/
/*main note icon*/
.note-icon::before {
color: var(--devils-gray-lol);
}
.note-icon:hover::before {
color: var(--bold-sun);
border-color: var(--bold-sun) !important; /*not working*/
}
.note-icon:focus::before, .bx-calendar:focus::before {
color: var(--bold-sun);
}
.icon-list {
color: var(--shallow-sea-blue);
}
/***note properties menu***/
.ribbon-tab-title-icon {
color: var(--devils-gray-lol);
}
.ribbon-tab-title-icon:hover {
color: var(--bold-sun);
}
/***left (side and bottom) and upper right menus***/
.icon-action, .tree-floating-button {
color: var(--dim-sun) !important;
}
.icon-action:hover, .tree-floating-button:hover {
color: var(--bold-sun) !important;
}
/***tree***/
/*note icon*/
.fancytree-custom-icon {
color: var(--dim-sun);
}
span.fancytree-node.protected > span.fancytree-custom-icon {
filter: drop-shadow(2px 2px 2px var(--shallow-sea-blue));
}
/*drop down icon*/
.fancytree-expander::before {
color: var(--devils-gray-lol);
}
/***Trilium icon***/
body .global-menu-button {
background-image: url("/images/icon-grey.png");
color:var(--dim-sun);
}
/*****INPUT FIELDS*****/
/***password and options menu fields***/
.form-control {
color: var(--text-gray) !important;
}
.form-control:focus {
color: var(--bright-sun) !important;
background-color: var(--supa-dark);
border-color: var(--text-gray) !important;
outline: 0;
box-shadow: 0 0 0 0.2rem rgb(252 251 179 / 50%) !important;
}
.note-title:focus {
color: var(--text-gray) !important;
background-color: var(--supa-dark) !important;
border-color: var(--text-gray) !important;
outline: 0;
box-shadow: 0 0 0 0.2rem rgb(252 251 179 / 50%) !important;
}
/***selection and find/replace (button)***/
::selection {
color: var(--supa-dark);
background: var(--bold-sun);
}
span.ck-find-result, span.ck-find-result>.ck-find-result_selected {
color: var(--supa-dark);
}
/*****BUTTONS*****/
.help-button {
color: hsl(15, 100%, 56%);
}
.help-button:hover {
color: var(--dim-sun);
}
/***primary and secondary buttons***/
button:focus :not(.close) :not(.help-button) :not(.ck-button-save) :not(.ck-button-cancel), .btn:focus {
color: var(--text-gray) !important;
background-color: var(--devils-gray-lol) !important;
border-color: var(--text-gray) !important;
outline: 0;
box-shadow: 0 0 0 0.2rem rgb(252 251 179 / 50%) !important;
}
button:hover :not(.close) :not(.help-button) :not(.ck-button-save) :not(.ck-button-cancel), .btn:hover {
background-color: var(--supa-dark) !important;
color: var(--bold-sun);
border-color: var(--bold-sun);
}
/***table sub-menu***/
/*table field input label*/
.ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{
background: var(--supa-dark);
color: var(--text-gray);
}
/*table field and button inputs*/
.ck.ck-button:active, .ck.ck-button:focus, a.ck.ck-button:active, a.ck.ck-button:focus, .ck.ck-input-text:focus {
border: 1px solid var(--text-gray) !important;
box-shadow: 0 0 0 0.2rem rgb(252 251 179 / 50%) !important;
}
.ck.ck-input-text[readonly]:focus {
border: 1px solid var(--ck-color-input-disabled-border) !important;
background: var(--ck-color-input-disabled-background) !important;
color: var(--ck-color-input-disabled-text) !important;
}
/*color button*/
.ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button.ck-disabled, .ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button.ck-disabled>.ck.ck-input-color__button__preview, .ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button.ck-disabled>.ck.ck-input-color__button__preview>.ck.ck-input-color__button__preview__no-color-indicator {
border: 1px solid var(--ck-color-input-disabled-border) !important;
}
/*****NOTE MAP*****/
.note-detail-relation-map path, .note-detail-relation-map .jtk-endpoint{
fill: var(--shallow-sea-blue) !important;
}
svg.jtk-connector path {
stroke: var(--shallow-sea-blue);
fill: none !important;
}
/*****BACKLINKS POPUP*****/
div.backlinks-items {
z-index: 10;
position: absolute;
top: 50px;
right: 10px;
width: 400px;
border-radius: 10px;
background-color: var(--supa-dark);
color: var(--text-gray);
padding: 20px;
overflow-y: auto;
box-shadow: 2px 2px 5px var(--text-gray);
}
div.backlinks-items div:hover {
background-color: var(--earth-sun);
}
.backlink-excerpt .backlink-link {
background-color: var(--midish-gray) !important;
}
.backlinks-ticker:hover {
background-color: var(--earth-sun);
}
/*****CODE IN TEXT NOTES)*****/
/***code blocks***/
.ck.ck-editor__editable pre {
background: var(--supa-dark);
font-family: monospace;
font-size: 0.9rem;
border-color: var(--shallow-sea-blue);
}
.ck-content pre code {
font-family: monospace;
font-size: 0.9rem;
background: transparent !important;
color: var(--shallow-sea-blue) !important;
}
/*code block label*/
pre::after{
background: var(--earth-sun) !important;
color: var(--bright-sun) !important;
border-color: var(--bright-sun) !important;
}
/***inline code***/
.ck.ck-editor__editable code {
font-family: monospace;
font-size: 0.9rem;
background: var(--supa-dark);
color: var(--shallow-sea-blue) !important;
}
.ck.ck-editor__editable .ck-code_selected {
background-color: var(--earth-sun) !important;
}
/*****CKEDITOR*****/
/******************************************************************
NOTE: The following lines of code affect the editor menus. Similar to the General Styles section, the variables below are simply redefined here.
I've commented out the lines that don't seem to have an affect on anything, along with adding a question mark (?) in a comment to differentiate those lines from the rest of the code. They are left here in case anyone wants to experiment and figure out where those lines have an effect. If you find anything, please let me know so I can update the code ^_^
******************************************************************/
body {
/***overrides generic colors***/
--ck-color-base-text: var(--border-lilac); /*toggled color (editor sub-menu)*/
--ck-color-base-foreground: var(--midish-gray); /*tiny attached triangle and selection hover*/
--ck-color-focus-border: var(--bright-sun); /*table and color (editor menu) focus*/
--ck-color-text: var(--shallow-sea-blue); /*text color*/
/* --ck-color-shadow-drop: red; /*?*/
/* --ck-color-shadow-inner: red; /*?*/
/***overrides the default '.ck-button' class colors***/
/*general buttons*/
--ck-color-button-default-background: transparent;
--ck-color-button-default-hover-background: var(--midish-gray);
--ck-color-button-default-active-background: var(--devils-gray-lol);
--ck-color-button-default-active-shadow: var(--devils-gray-lol); /*thin line on top of active buttons*/
--ck-color-button-default-disabled-background: var(--background-gray); /*disabled buttons*/
/*dropdown buttons*/
--ck-color-button-on-background: var(--earth-sun); /*active*/
--ck-color-button-on-hover-background: var(--midish-gray); /*hover*/
--ck-color-button-on-active-background: var(--devils-gray-lol); /*exit click on active*/
--ck-color-button-on-active-shadow: transparent; /*top line on exit click of active*/
/*--ck-color-button-on-disabled-background: red; /*?*/
/*find button (editor sub-menu)*/
--ck-color-button-action-background: var(--darkened-sun) !important;
--ck-color-button-action-hover-background: var(--devils-gray-lol) !important;
--ck-color-button-action-active-background: var(--darkened-sun) !important; /*find button active and field descritpion*/
--ck-color-button-action-active-shadow: transparent !important; /*top line*/
/*--ck-color-button-action-disabled-background: red; /*?*/
--ck-color-button-action-text: var(--supa-dark) !important; /*find button(editor sub-menu)*/
/*save and cancel*/
--ck-color-button-save: var(--sea-green) /*hsl(120, 100%, 46%)*/; /*table sub-menu*/
--ck-color-button-cancel: hsl(15, 100%, 56%); /*table sub-menu*/
/***overrides the default '.ck-dropdown' class colors (color sub-menus)***/
--ck-color-dropdown-panel-background: var(--supa-dark);
--ck-color-dropdown-panel-border: var(--devils-gray-lol);
/***overrides the default '.ck-splitbutton' class colors***/
--ck-color-split-button-hover-background: var(--devils-gray-lol);
--ck-color-split-button-hover-border: var(--shallow-sea-blue);
/***overrides the default '.ck-input' class colors***/
/*--ck-color-input-background: red; /*?*/
--ck-color-input-border: var(--text-gray); /*inactive (enabled AND disabled) editable field(editor sub-menus)*/
/*--ck-color-input-text: red; /*?*/
--ck-color-input-disabled-background: var(--supa-dark); /*disabled color picker(table sub-menu)*/
--ck-color-input-disabled-border: var(--background-gray); /*disabled editor border (table sub-menu)*/
--ck-color-input-disabled-text: var(--text-gray); /*editor input text (enable AND disabled)*/
/***overrides the default '.ck-list' (list menus) class colors***/
--ck-color-list-background: transparent; /*focus out*/
--ck-color-list-button-hover-background: var(--midish-gray);
--ck-color-list-button-on-background: var(--dim-sun); /*toggled/active*/
--ck-color-list-button-on-background-focus: var(--devils-gray-lol); /*hover on toggled/active*/
--ck-color-list-button-on-text: var(--supa-dark); /*toggled/active*/
/***overrides the default .ck-balloon-panel class colors (overall look and feel of the editor toolbars and sub-menus)***/
--ck-color-panel-background: var(--supa-dark);
--ck-color-panel-border: var(--devils-gray-lol);
/***overrides the default .ck-toolbar class colors***/
--ck-color-toolbar-background: var(--supa-dark); /*lots of overlap with the above backgound setting*/
--ck-color-toolbar-border: var(--dim-sun); /*section separators*/
/***overrides the default .ck-tooltip class colors***/
--ck-color-tooltip-background: var(--bold-sun);
--ck-color-tooltip-text: var(--background-gray);
/* Overrides the default colors used by the ckeditor5-image package.*/
/*--ck-color-image-caption-background: red; /*?*/
/*--ck-color-image-caption-text: red; /*?*/
/***overrides the default colors used by the ckeditor5-widget (image/table) package***/
--ck-color-widget-blurred-border: var(--devils-gray-lol); /*shows up briefly after switching tabs*/
--ck-color-widget-hover-border: var(--dim-sun); /*object in focus*/
--ck-color-widget-editable-focus-background: var(--midish-gray); /*table caption in focus*/
/***overrides the default colors used by the ckeditor5-link package***/
/*--ck-color-link-default: red; /*this is overridden by a link setting set earlier in the code*/
--ck-color-table-focused-cell-background: var(--midish-gray);
/*--ck-color-todo-list-checkmark-border: red; /*?*/
--ck-color-engine-placeholder-text: var(--text-gray); /*caption placeholder text*/
--ck-z-modal: 10000;
/*--ck-color-widget-type-around-button: red; /*?*/
--ck-color-widget-type-around-button-hover: var(--darkened-sun); /*applies when table/image is in focus*/
}
/*****CODEMIRROR****/
/******************************************************************
NOTE: comments for this section are for how they appear in CSS code notes unless otherwise noted. All code notes have the same color theme, but the application may be different. Some elements are affected the same way accross all code notes (i.e. all strings appear the same across code notes and as do comments, variables, and functions).
******************************************************************/
/***general appearance***/
/*'...line' is for regular code notes text, not sure what '...line-like' is for*/
.CodeMirror pre.CodeMirror-line,
.CodeMirror pre.CodeMirror-line-like {
color: var(--text-gray);
}
.CodeMirror-linenumber {color: var(--devils-gray-lol);}
.CodeMirror-cursor {
border-left: 1px solid var(--devils-gray-lol);
}
/***highlighted and selected text in code notes***/
.CodeMirror-selected {
background-color: var(--supa-dark);
}
.CodeMirror-focused .CodeMirror-selected {
background-color: var(--supa-dark);
}
.cm-s-default .cm-matchhighlight{
background-color: #030016;
}
/***general elements***/
.cm-s-default .cm-atom {color: #ea5474;} /*fonts and colors (code not words)*/
.cm-s-default .cm-def {color: #5df7e8;} /*@*/
.cm-s-default .cm-qualifier {color: #269b4d;} /*class*/
.cm-s-default .cm-builtin {color: #9368f7;} /*id-selectors*/
.cm-s-default .cm-tag {color: #06dd87;} /*html tags*/
.cm-s-default .cm-meta {color: #777;} /*meta (browser compatability) tags*/
.cm-s-default .cm-comment {color: #a57489;} /*comments*/
.cm-s-default .cm-number {color: #ea5474;} /*numbers including units, not including color codes*/
.cm-s-default .cm-keyword {color: #ed363c;} /*color names and keywords*/
/***variables***/
/*a lot of overlap with .cm-s-default .cm-atom. Might be good to separate these if you want to style them individually*/
.cm-s-default .cm-variable,
.cm-s-default .cm-punctuation,
.cm-s-default .cm-property,
.cm-s-default .cm-operator {}
.cm-s-default .cm-variable-2 {color: #08a;} /*custom properties and php variables*/
.cm-s-default .cm-variable-3, .cm-s-default .cm-type {color: #01ad6e;} /*pseudo elements and classes*/
/***strings***/
.cm-s-default .cm-string {color: #f7b2b2;}
.cm-s-default .cm-string-2 {color: #fc7462;} /*applies to some CSS properties*/
/***brackets and parentheses***/
div.CodeMirror span.CodeMirror-matchingbracket {color: #01ba3f;}
div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #c60101;}
/***code errors***/
.cm-s-default .cm-error {color: #f00;}
.cm-invalidchar {color: #f00;}