mirror of
https://github.com/zadam/trilium.git
synced 2025-12-06 23:44:25 +01:00
Compare commits
No commits in common. "c58c18d6884287c5dc548163597b6f91ae4cf075" and "1aad2d8c09a4318895368712adc5bd5983a14deb" have entirely different histories.
c58c18d688
...
1aad2d8c09
@ -24,10 +24,6 @@ See [screenshots](https://triliumnext.github.io/Docs/Wiki/screenshot-tour) for q
|
|||||||
|
|
||||||
<a href="https://triliumnext.github.io/Docs/Wiki/screenshot-tour"><img src="./docs/app.png" alt="Trilium Screenshot" width="1000"></a>
|
<a href="https://triliumnext.github.io/Docs/Wiki/screenshot-tour"><img src="./docs/app.png" alt="Trilium Screenshot" width="1000"></a>
|
||||||
|
|
||||||
## ⏬ Download
|
|
||||||
- [Latest release](https://github.com/TriliumNext/Trilium/releases/latest) – stable version, recommended for most users.
|
|
||||||
- [Nightly build](https://github.com/TriliumNext/Trilium/releases/tag/nightly) – unstable development version, updated daily with the latest features and fixes.
|
|
||||||
|
|
||||||
## 📚 Documentation
|
## 📚 Documentation
|
||||||
|
|
||||||
**Visit our comprehensive documentation at [docs.triliumnotes.org](https://docs.triliumnotes.org/)**
|
**Visit our comprehensive documentation at [docs.triliumnotes.org](https://docs.triliumnotes.org/)**
|
||||||
|
|||||||
@ -16,10 +16,14 @@ const darkThemeColorMinLightness = readCssVar(
|
|||||||
).asNumber(50);
|
).asNumber(50);
|
||||||
|
|
||||||
function createClassForColor(colorString: string | null) {
|
function createClassForColor(colorString: string | null) {
|
||||||
if (!colorString?.trim()) return "";
|
if (!colorString?.trim()) {
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
const color = parseColor(colorString);
|
const color = parseColor(colorString);
|
||||||
if (!color) return "";
|
if (!color) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
const className = `color-${color.hex().substring(1)}`;
|
const className = `color-${color.hex().substring(1)}`;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user