From ec851fd2b23c2f8aebc2777a78775f790e6e96ae Mon Sep 17 00:00:00 2001 From: Ricardo Rodrigues Date: Sat, 27 Jul 2024 20:35:53 -0300 Subject: [PATCH 01/15] Feat: update Tokyonight theme to Tokyonight Moon and add Tokyonight Day variant - Updated the Tokyonight theme to the Tokyonight Moon variant - Added a new variant, Tokyonight Day, following the namescheme of the Tokyonight project - Included JSON and CSS files for both variants - Ensured consistency with the original Tokyonight color scheme --- themes/tokyonight-dark/v1/theme.json | 262 ----------------------- themes/tokyonight-day/v1/code-block.css | 1 + themes/tokyonight-day/v1/theme.json | 149 +++++++++++++ themes/tokyonight-light/v1/theme.json | 123 ----------- themes/tokyonight-moon/v1/code-block.css | 1 + themes/tokyonight-moon/v1/theme.json | 149 +++++++++++++ 6 files changed, 300 insertions(+), 385 deletions(-) delete mode 100644 themes/tokyonight-dark/v1/theme.json create mode 100644 themes/tokyonight-day/v1/code-block.css create mode 100644 themes/tokyonight-day/v1/theme.json delete mode 100644 themes/tokyonight-light/v1/theme.json create mode 100644 themes/tokyonight-moon/v1/code-block.css create mode 100644 themes/tokyonight-moon/v1/theme.json diff --git a/themes/tokyonight-dark/v1/theme.json b/themes/tokyonight-dark/v1/theme.json deleted file mode 100644 index a6d810f..0000000 --- a/themes/tokyonight-dark/v1/theme.json +++ /dev/null @@ -1,262 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/streetwriters/notesnook-themes/main/schemas/v1.schema.json", - "name": "Tokyonight Dark", - "id": "tokyonight-dark", - "version": 1.6, - "license": "GPL-3.0-or-later", - "description": "A Tokyonight dark theme for Notesnook app", - "homepage": "https://notesnook.com", - "colorScheme": "dark", - "compatibilityVersion": 1, - "authors": [ - { - "name": "Andres M", - "email": "andresmessina@proton.me", - "url": "https://mastodon.social/@aureliuspublius" - } - ], - "scopes": { - "base": { - "primary": { - "accent": "#c0caf5", - "paragraph": "#c0caf5", - "background": "#191a26", - "border": "#c0caf5", - "heading": "#c0caf5", - "icon": "#c0caf5", - "separator": "#c0caf5", - "placeholder": "#c0caf5", - "hover": "#241f31", - "shade": "#241f31", - "backdrop": "#00191a26", - "textSelection": "#62a0ea" - }, - "secondary": { - "accent": "#c0caf5", - "paragraph": "#c0caf5", - "background": "#191a26", - "border": "#c0caf5", - "heading": "#c0caf5", - "icon": "#c0caf5", - "separator": "#c0caf5", - "placeholder": "#c0caf5", - "hover": "#241f31", - "shade": "#241f31", - "backdrop": "#191a26", - "textSelection": "#62a0ea" - }, - "disabled": { - "accent": "#c0caf5", - "paragraph": "#c0caf5", - "background": "#191a26", - "border": "#c0caf5", - "heading": "#c0caf5", - "icon": "#c0caf5", - "separator": "#c0caf5", - "placeholder": "#c0caf5", - "hover": "#241f31", - "shade": "#241f31", - "backdrop": "#191a26", - "textSelection": "#62a0ea" - }, - "selected": { - "accent": "#c0caf5", - "paragraph": "#c0caf5", - "background": "#191a26", - "border": "#c0caf5", - "heading": "#c0caf5", - "icon": "#c0caf5", - "separator": "#c0caf5", - "placeholder": "#c0caf5", - "hover": "#241f31", - "shade": "#241f31", - "backdrop": "#191a26", - "textSelection": "#62a0ea" - }, - "error": { - "accent": "#c0caf5", - "paragraph": "#c0caf5", - "background": "#191a26", - "border": "#c0caf5", - "heading": "#c0caf5", - "icon": "#ed333b", - "separator": "#c0caf5", - "placeholder": "#c0caf5", - "hover": "#241f31", - "shade": "#241f31", - "backdrop": "#191a26", - "textSelection": "#62a0ea" - }, - "success": { - "accent": "#4f8a10", - "paragraph": "#4f8a10", - "background": "#85ce68", - "border": "#e8e8e8", - "heading": "#4f8a10", - "icon": "#4f8a10", - "separator": "#e8e8e8", - "placeholder": "#a9a9a9", - "hover": "#241f31", - "shade": "#241f31", - "backdrop": "#191a26", - "textSelection": "#62a0ea" - } - }, - "statusBar": { - "primary": { - "paragraph": "#c0caf5", - "background": "#191a26", - "icon": "#c0caf5" - }, - "secondary": { - "paragraph": "#c0caf5", - "background": "#191a26", - "icon": "#c0caf5" - }, - "error": { - "icon": "#ed333b", - "separator": "#c0caf5" - }, - "success": { - "icon": "#57e389" - } - }, - "list": { - "primary": { - "accent": "#1b728d", - "paragraph": "#c0caf5", - "background": "#191a26", - "border": "#c0caf5", - "heading": "#c0caf5", - "icon": "#c0caf5", - "separator": "#c0caf5", - "placeholder": "#c0caf5", - "hover": "#241f31", - "shade": "#241f31", - "backdrop": "#191a26", - "textSelection": "#c0caf5" - }, - "secondary": { - "accent": "#c0caf5", - "paragraph": "#c0caf5", - "background": "#191a26", - "border": "#c0caf5", - "heading": "#c0caf5", - "icon": "#c0caf5", - "separator": "#c0caf5", - "placeholder": "#c0caf5", - "hover": "#241f31", - "shade": "#241f31", - "backdrop": "#191a26", - "textSelection": "#c0caf5" - }, - "disabled": { - "accent": "#c0caf5", - "paragraph": "#c0caf5", - "background": "#191a26", - "border": "#c0caf5", - "heading": "#c0caf5", - "icon": "#c0caf5", - "separator": "#c0caf5", - "placeholder": "#c0caf5", - "hover": "#241f31", - "shade": "#241f31", - "backdrop": "#241f31", - "textSelection": "#d5d6e0" - }, - "selected": { - "accent": "#c0caf5", - "paragraph": "#c0caf5", - "background": "#191a26", - "border": "#c0caf5", - "heading": "#c0caf5", - "icon": "#c0caf5", - "separator": "#c0caf5", - "placeholder": "#c0caf5", - "hover": "#241f31", - "shade": "#241f31", - "backdrop": "#191a26", - "textSelection": "#d5d6e0" - }, - "error": { - "accent": "#c0caf5", - "background": "#191a26", - "icon": "#ed333b" - }, - "success": { - "accent": "#c0caf5", - "background": "#191a26", - "icon": "#57e389" - } - }, - "editor": { - "primary": { - "paragraph": "#c0caf5", - "background": "#191a26", - "heading": "#c0caf5", - "icon": "#c0caf5", - "separator": "#c0caf5" - } - }, - "dialog": { - "primary": { - "background": "#191a26" - }, - "secondary": { - "background": "#191a26" - }, - "disabled": { - "background": "#191a26" - }, - "selected": { - "background": "#191a26" - } - }, - "navigationMenu": { - "primary": { - "accent": "#e0e3f1", - "paragraph": "#c0caf5", - "background": "#191a26", - "border": "#c0caf5", - "heading": "#c0caf5", - "icon": "#c0caf5", - "separator": "#c0caf5", - "placeholder": "#c0caf5", - "hover": "#342d47", - "shade": "#403854", - "backdrop": "#e0e3f1", - "textSelection": "#e0e3f1" - }, - "secondary": { - "background": "#191a26" - } - }, - "contextMenu": { - "primary": { - "background": "#191a26", - "border": "#c0caf5", - "icon": "#c0caf5" - }, - "secondary": { - "background": "#191a26", - "border": "#c0caf5", - "icon": "#c0caf5" - } - }, - "sheet": { - "primary": { - "accent": "#c0caf5", - "paragraph": "#c0caf5", - "background": "#191a26", - "border": "#c0caf5", - "heading": "#c0caf5", - "icon": "#c0caf5", - "separator": "#c0caf5", - "placeholder": "#c0caf5" - }, - "selected": { - "paragraph": "#008837" - } - } - } -} diff --git a/themes/tokyonight-day/v1/code-block.css b/themes/tokyonight-day/v1/code-block.css new file mode 100644 index 0000000..49efdd0 --- /dev/null +++ b/themes/tokyonight-day/v1/code-block.css @@ -0,0 +1 @@ +/** * Tokyonight Day by Riiku * Licenced under the GPL v3 */ pre[class*="language-"] { --base: #f7f8fc; --surface: #e1e2e7; --overlay: #cdd1e3; --muted: #767c9d; --subtle: #767c9d; --text: #3760bf; --love: #f7768e; --gold: #e0af68; --rose: #bb9af7; --pine: #9ece6a; --foam: #7dcfff; --iris: #7aa2f7; --highlight-low: #e1e2e7; --highlight-med: #cdd1e3; --highlight-high: #767c9d; } code[class*="language-"], pre[class*="language-"] { background: var(--base); color: var(--text); font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; font-size: 1em; direction: ltr; text-align: left; white-space: pre; word-spacing: normal; word-break: normal; line-height: 1.5; -moz-tab-size: 4; -o-tab-size: 4; tab-size: 4; -webkit-hyphens: none; -moz-hyphens: none; -ms-hyphens: none; hyphens: none; } code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection, pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection, code[class*="language-"]::selection, code[class*="language-"] ::selection, pre[class*="language-"]::selection, pre[class*="language-"] ::selection { background: var(--highlight-med); } pre[class*="language-"] { padding: 1em; margin: 0.5em 0; overflow: auto; border-radius: unset; } :not(pre) > code[class*="language-"] { padding: 0.1em; border-radius: unset; white-space: normal; } .token.comment, .token.prolog, .token.cdata, .token.doctype { color: var(--muted); } .token.punctuation { color: var(--subtle); } .token.entity { color: var(--pine); } .token.boolean { color: var(--rose); } .token.attr-name { color: var(--foam); } .token.class-name { color: var(--text); } .token.constant { color: var(--love); font-style: italic; } .token.number { color: var(--foam); } .token.atrule { color: var(--love); } .token.keyword { color: var(--pine); } .token.property { color: var(--foam); } .token.tag { color: var(--foam); } .token.symbol { color: unset; } .token.deleted { color: var(--love); } .token.important { color: var(--love); } .token.selector { color: var(--rose); } .token.string { color: var(--gold); } .token.char { color: var(--gold); } .token.builtin { color: var(--love); } .token.inserted { color: var(--foam); } .token.regex { color: var(--gold); } .token.attr-value { color: var(--gold); } .token.variable { color: var(--text); } .token.operator { color: var(--subtle); } .token.function { color: var(--rose); font-style: italic; } .token.url { color: var(--iris); } .token.bold { font-weight: bold; } .token.italic { font-style: italic; } .token.entity { cursor: help; } .token.namespace { opacity: 0.7; } diff --git a/themes/tokyonight-day/v1/theme.json b/themes/tokyonight-day/v1/theme.json new file mode 100644 index 0000000..7ff051e --- /dev/null +++ b/themes/tokyonight-day/v1/theme.json @@ -0,0 +1,149 @@ +{ + "$schema": "https://raw.githubusercontent.com/streetwriters/notesnook-themes/main/schemas/v1.schema.json", + "name": "Tokyonight Day", + "id": "tokyonight-day", + "version": 1, + "license": "GPL-3.0-or-later", + "homepage": "https://notesnook.com", + "description": "Tokyonight Day theme", + "colorScheme": "light", + "compatibilityVersion": 1, + "authors": [ + { + "name": "riiku", + "url": "https://tech.lgbt/@iiku" + }, + { + "email": "andresmessina@proton.me", + "url": "https://mastodon.social/@aureliuspublius" + } + ], + "scopes": { + "base": { + "primary": { + "accent": "#7aa2f7", + "paragraph": "#3760bf", + "background": "#f7f8fc", + "border": "#f7f8fc", + "heading": "#3760bf", + "icon": "#7aa2f7", + "separator": "#e1e2e7", + "placeholder": "#767c9d", + "hover": "#f0f1f5", + "accentForeground": "#f7f8fc", + "backdrop": "#f7f8fc99" + }, + "secondary": { + "accent": "#7aa2f7", + "paragraph": "#3760bf", + "background": "#e1e2e7", + "border": "#767c9d", + "heading": "#3760bf", + "icon": "#3760bf", + "separator": "#767c9d", + "placeholder": "#767c9d", + "hover": "#f0f1f5", + "accentForeground": "#f7f8fc", + "backdrop": "#f7f8fc99" + }, + "disabled": { + "accent": "#7aa2f7", + "paragraph": "#3760bf", + "background": "#767c9d", + "border": "#767c9d", + "heading": "#3760bf", + "icon": "#3760bf", + "separator": "#767c9d", + "placeholder": "#3760bf", + "hover": "#f0f1f5", + "accentForeground": "#f7f8fc", + "backdrop": "#f7f8fc99" + }, + "selected": { + "accent": "#7aa2f7", + "paragraph": "#3760bf", + "background": "#cdd1e3", + "border": "#7aa2f7", + "heading": "#3760bf", + "icon": "#7aa2f7", + "separator": "#767c9d", + "placeholder": "#767c9d", + "hover": "#f0f1f5", + "accentForeground": "#f7f8fc", + "backdrop": "#f7f8fc99" + }, + "error": { + "accent": "#f7768e", + "paragraph": "#f7768e", + "background": "#e1e2e7", + "border": "#767c9d", + "heading": "#f7768e", + "icon": "#f7768e", + "separator": "#767c9d", + "placeholder": "#767c9d", + "hover": "#f0f1f5", + "accentForeground": "#f7f8fc", + "backdrop": "#f7f8fc99" + }, + "success": { + "accent": "#9ece6a", + "paragraph": "#9ece6a", + "background": "#e1e2e7", + "border": "#767c9d", + "heading": "#9ece6a", + "icon": "#9ece6a", + "separator": "#767c9d", + "placeholder": "#767c9d", + "hover": "#f0f1f5", + "accentForeground": "#f7f8fc", + "backdrop": "#f7f8fc99" + } + }, + "statusBar": { + "primary": { + "paragraph": "#3760bf", + "background": "#f0f1f5", + "separator": "#f0f1f5" + } + }, + "list": { + "primary": { + "paragraph": "#3760bf", + "background": "#e1e2e7", + "hover": "#f0f1f5" + }, + "secondary": { + "paragraph": "#3760bf" + } + }, + "editor": { + "primary": { + "background": "#f0f1f5", + "border": "#767c9d" + }, + "secondary": { + "paragraph": "#767c9d", + "border": "#f7f8fc" + } + }, + "editorToolbar": { + "primary": { + "background": "#e1e2e7", + "hover": "#767c9d33" + }, + "secondary": { + "background": "#767c9d33" + } + }, + "navigationMenu": { + "primary": { + "background": "#f7f8fc" + } + }, + "sheet": { + "selected": { + "paragraph": "#9ece6a" + } + } + } +} diff --git a/themes/tokyonight-light/v1/theme.json b/themes/tokyonight-light/v1/theme.json deleted file mode 100644 index 9c0a97c..0000000 --- a/themes/tokyonight-light/v1/theme.json +++ /dev/null @@ -1,123 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/streetwriters/notesnook-themes/main/schemas/v1.schema.json", - "name": "Tokyonight Light", - "id": "tokyonight-light", - "version": 1.5, - "license": "GPL-3.0-or-later", - "description": "Tokyonight light theme for Notesnook app", - "colorScheme": "light", - "compatibilityVersion": 1, - "authors": [ - { - "name": "Andres M", - "email": "andresmessina@proton.me", - "url": "https://mastodon.social/@aureliuspublius" - } - ], - "scopes": { - "base": { - "primary": { - "accent": "#191a26", - "paragraph": "#191A26", - "background": "#D8DAE6", - "border": "#191A26", - "heading": "#191A26", - "icon": "#191A26", - "separator": "#191A26", - "placeholder": "#191A26", - "hover": "#c8cff1", - "shade": "#C0C8F4", - "backdrop": "#0000001a", - "textSelection": "#00883777" - }, - "secondary": { - "accent": "#191a26", - "paragraph": "#191A26", - "background": "#D8DAE6", - "border": "#191a26", - "heading": "#191a26", - "icon": "#191a26", - "separator": "#191a26", - "placeholder": "#191a26", - "hover": "#c8cff1", - "shade": "#C0C8F4", - "backdrop": "#0000001a", - "textSelection": "#00883777" - }, - "disabled": { - "accent": "#191a26", - "paragraph": "#191A26", - "background": "#D8DAE6", - "border": "#191a26", - "heading": "#191a26", - "icon": "#191a26", - "separator": "#191a26", - "placeholder": "#191a26", - "hover": "#c8cff1", - "shade": "#C0C8F4", - "backdrop": "#0000001a", - "textSelection": "#00883777" - }, - "selected": { - "accent": "#191a26", - "paragraph": "#191a26", - "background": "#C0C8F4", - "border": "#191a26", - "heading": "#212121", - "icon": "#9141ac", - "separator": "#E8E8E8", - "placeholder": "#191a26", - "hover": "#00000010", - "shade": "#00883712", - "backdrop": "#0000001a", - "textSelection": "#00883777" - }, - "error": { - "accent": "#191a26", - "paragraph": "#f54b42", - "background": "#dfe0e5", - "border": "#E8E8E8", - "heading": "#f54b42", - "icon": "#ed333b", - "separator": "#E8E8E8", - "placeholder": "#191a26", - "hover": "#00000010", - "shade": "#00883712", - "backdrop": "#0000001a", - "textSelection": "#00883777" - }, - "success": { - "accent": "#191a26", - "paragraph": "#191a26", - "background": "#dfe0e5", - "border": "#191a26", - "heading": "#191a26", - "icon": "#191a26", - "separator": "#191a26", - "placeholder": "#191a26", - "hover": "#00000010", - "shade": "#4F8A1012", - "backdrop": "#0000001a", - "textSelection": "#00883777" - } - }, - "statusBar": { - "primary": { - "background": "#D8DAE6" - }, - "secondary": { - "background": "#D8DAE6" - } - }, - "list": { - "selected": { - "background": "#c0c8f4" - } - }, - "navigationMenu": { - "primary": { - "background": "#D8DAE6" - } - } - } -} diff --git a/themes/tokyonight-moon/v1/code-block.css b/themes/tokyonight-moon/v1/code-block.css new file mode 100644 index 0000000..266d733 --- /dev/null +++ b/themes/tokyonight-moon/v1/code-block.css @@ -0,0 +1 @@ +/** * Tokyonight Moon by Riiku * Licenced under the GPL v3 */ pre[class*="language-"] { --base: #24283b; /* Lighter background color */ --surface: #1f2335; --overlay: #414868; --muted: #565f89; --subtle: #565f89; --text: #c0caf5; --love: #f7768e; --gold: #e0af68; --rose: #bb9af7; --pine: #9ece6a; --foam: #7dcfff; --iris: #7aa2f7; --highlight-low: #1f2335; --highlight-med: #414868; --highlight-high: #565f89; } code[class*="language-"], pre[class*="language-"] { background: var(--base); color: var(--text); font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; font-size: 1em; direction: ltr; text-align: left; white-space: pre; word-spacing: normal; word-break: normal; line-height: 1.5; -moz-tab-size: 4; -o-tab-size: 4; tab-size: 4; -webkit-hyphens: none; -moz-hyphens: none; -ms-hyphens: none; hyphens: none; } code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection, pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection, code[class*="language-"]::selection, code[class*="language-"] ::selection, pre[class*="language-"]::selection, pre[class*="language-"] ::selection { background: var(--highlight-med); } pre[class*="language-"] { padding: 1em; margin: 0.5em 0; overflow: auto; border-radius: unset; } :not(pre) > code[class*="language-"] { padding: 0.1em; border-radius: unset; white-space: normal; } .token.comment, .token.prolog, .token.cdata, .token.doctype { color: var(--muted); } .token.punctuation { color: var(--subtle); } .token.entity { color: var(--pine); } .token.boolean { color: var(--rose); } .token.attr-name { color: var(--foam); } .token.class-name { color: var(--text); } .token.constant { color: var (--love); font-style: italic; } .token.number { color: var(--foam); } .token.atrule { color: var(--love); } .token.keyword { color: var(--pine); } .token.property { color: var(--foam); } .token.tag { color: var(--foam); } .token.symbol { color: unset; } .token.deleted { color: var(--love); } .token.important { color: var(--love); } .token.selector { color: var(--rose); } .token.string { color: var(--gold); } .token.char { color: var(--gold); } .token.builtin { color: var(--love); } .token.inserted { color: var(--foam); } .token.regex { color: var(--gold); } .token.attr-value { color: var(--gold); } .token.variable { color: var(--text); } .token.operator { color: var(--subtle); } .token.function { color: var(--rose); font-style: italic; } .token.url { color: var(--iris); } .token.bold { font-weight: bold; } .token.italic { font-style: italic; } .token.entity { cursor: help; } .token.namespace { opacity: 0.7; } diff --git a/themes/tokyonight-moon/v1/theme.json b/themes/tokyonight-moon/v1/theme.json new file mode 100644 index 0000000..ba54ce8 --- /dev/null +++ b/themes/tokyonight-moon/v1/theme.json @@ -0,0 +1,149 @@ +{ + "$schema": "https://raw.githubusercontent.com/streetwriters/notesnook-themes/main/schemas/v1.schema.json", + "name": "Tokyonight Moon", + "id": "tokyonight-moon", + "version": 1, + "license": "GPL-3.0-or-later", + "homepage": "https://notesnook.com", + "description": "Tokyonight theme variant", + "colorScheme": "dark", + "compatibilityVersion": 1, + "authors": [ + { + "name": "riiku", + "url": "https://tech.lgbt/@iiku" + }, + { + "email": "andresmessina@proton.me", + "url": "https://mastodon.social/@aureliuspublius" + } + ], + "scopes": { + "base": { + "primary": { + "accent": "#7aa2f7", + "paragraph": "#c0caf5", + "background": "#1a1b26", + "border": "#1a1b26", + "heading": "#c0caf5", + "icon": "#7aa2f7", + "separator": "#1f2335", + "placeholder": "#565f89", + "hover": "#1a1b26", + "accentForeground": "#1a1b26", + "backdrop": "#1a1b2699" + }, + "secondary": { + "accent": "#7aa2f7", + "paragraph": "#c0caf5", + "background": "#1f2335", + "border": "#565f89", + "heading": "#c0caf5", + "icon": "#c0caf5", + "separator": "#565f89", + "placeholder": "#565f89", + "hover": "#1a1b26", + "accentForeground": "#1a1b26", + "backdrop": "#1a1b2699" + }, + "disabled": { + "accent": "#7aa2f7", + "paragraph": "#c0caf5", + "background": "#565f89", + "border": "#565f89", + "heading": "#c0caf5", + "icon": "#c0caf5", + "separator": "#565f89", + "placeholder": "#c0caf5", + "hover": "#565f89", + "accentForeground": "#1a1b26", + "backdrop": "#1a1b2699" + }, + "selected": { + "accent": "#7aa2f7", + "paragraph": "#c0caf5", + "background": "#414868", + "border": "#7aa2f7", + "heading": "#c0caf5", + "icon": "#7aa2f7", + "separator": "#565f89", + "placeholder": "#565f89", + "hover": "#1a1b26", + "accentForeground": "#1a1b26", + "backdrop": "#1a1b2699" + }, + "error": { + "accent": "#f7768e", + "paragraph": "#f7768e", + "background": "#1f2335", + "border": "#565f89", + "heading": "#f7768e", + "icon": "#f7768e", + "separator": "#565f89", + "placeholder": "#565f89", + "hover": "#565f89", + "accentForeground": "#1a1b26", + "backdrop": "#1a1b2699" + }, + "success": { + "accent": "#9ece6a", + "paragraph": "#9ece6a", + "background": "#1f2335", + "border": "#565f89", + "heading": "#9ece6a", + "icon": "#9ece6a", + "separator": "#565f89", + "placeholder": "#565f89", + "hover": "#565f89", + "accentForeground": "#1a1b26", + "backdrop": "#1a1b2699" + } + }, + "statusBar": { + "primary": { + "paragraph": "#c0caf5", + "background": "#1a1b26", + "separator": "#1a1b26" + } + }, + "list": { + "primary": { + "paragraph": "#c0caf5", + "background": "#1f2335", + "hover": "#1a1b26" + }, + "secondary": { + "paragraph": "#c0caf5" + } + }, + "editor": { + "primary": { + "background": "#1a1b26", + "border": "#565f89" + }, + "secondary": { + "paragraph": "#565f89", + "border": "#1a1b26" + } + }, + "editorToolbar": { + "primary": { + "background": "#1f2335", + "hover": "#565f8933" + }, + "secondary": { + "background": "#565f8933" + } + }, + "navigationMenu": { + "primary": { + "background": "#1a1b26" + } + }, + "sheet": { + "selected": { + "paragraph": "#9ece6a" + } + } + } +} From 7136e73cedec942cd4fb5765f5b81175185a4864 Mon Sep 17 00:00:00 2001 From: Ricardo Rodrigues Date: Sat, 27 Jul 2024 21:14:51 -0300 Subject: [PATCH 02/15] fix authors --- themes/tokyonight-day/v1/theme.json | 1 + themes/tokyonight-moon/v1/theme.json | 1 + 2 files changed, 2 insertions(+) diff --git a/themes/tokyonight-day/v1/theme.json b/themes/tokyonight-day/v1/theme.json index 7ff051e..ae936e5 100644 --- a/themes/tokyonight-day/v1/theme.json +++ b/themes/tokyonight-day/v1/theme.json @@ -14,6 +14,7 @@ "url": "https://tech.lgbt/@iiku" }, { + "name": "Andres M", "email": "andresmessina@proton.me", "url": "https://mastodon.social/@aureliuspublius" } diff --git a/themes/tokyonight-moon/v1/theme.json b/themes/tokyonight-moon/v1/theme.json index ba54ce8..e7514ef 100644 --- a/themes/tokyonight-moon/v1/theme.json +++ b/themes/tokyonight-moon/v1/theme.json @@ -14,6 +14,7 @@ "url": "https://tech.lgbt/@iiku" }, { + "name": "Andres M", "email": "andresmessina@proton.me", "url": "https://mastodon.social/@aureliuspublius" } From 7702c3c990d8b23b1f701ca67e5839f1f469b3e6 Mon Sep 17 00:00:00 2001 From: Ricardo Rodrigues Date: Sat, 27 Jul 2024 22:16:12 -0300 Subject: [PATCH 03/15] feat: add gruvbox light and dark theme --- themes/gruvbox-dark/v1/code-block.css | 1 + themes/gruvbox-dark/v1/theme.json | 145 +++++++++++++++++++++++++ themes/gruvbox-light/v1/code-block.css | 1 + themes/gruvbox-light/v1/theme.json | 145 +++++++++++++++++++++++++ 4 files changed, 292 insertions(+) create mode 100644 themes/gruvbox-dark/v1/code-block.css create mode 100644 themes/gruvbox-dark/v1/theme.json create mode 100644 themes/gruvbox-light/v1/code-block.css create mode 100644 themes/gruvbox-light/v1/theme.json diff --git a/themes/gruvbox-dark/v1/code-block.css b/themes/gruvbox-dark/v1/code-block.css new file mode 100644 index 0000000..a1b724c --- /dev/null +++ b/themes/gruvbox-dark/v1/code-block.css @@ -0,0 +1 @@ +pre[class*="language-"] { --base: #282828; --surface: #3c3836; --overlay: #504945; --muted: #928374; --subtle: #928374; --text: #ebdbb2; --love: #fb4934; --gold: #fabd2f; --rose: #d3869b; --pine: #b8bb26; --foam: #8ec07c; --iris: #83a598; --highlight-low: #3c3836; --highlight-med: #504945; --highlight-high: #928374; --code-block-bg: #32302f; } code[class*="language-"], pre[class*="language-"] { background: var(--code-block-bg); color: var(--text); font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; font-size: 1em; direction: ltr; text-align: left; white-space: pre; word-spacing: normal; word-break: normal; line-height: 1.5; -moz-tab-size: 4; -o-tab-size: 4; tab-size: 4; -webkit-hyphens: none; -moz-hyphens: none; -ms-hyphens: none; hyphens: none; } code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection, pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection, code[class*="language-"]::selection, code[class*="language-"] ::selection, pre[class*="language-"]::selection, pre[class*="language-"] ::selection { background: var(--highlight-med); } pre[class*="language-"] { padding: 1em; margin: 0.5em 0; overflow: auto; border-radius: unset; } :not(pre) > code[class*="language-"] { padding: 0.1em; border-radius: unset; white-space: normal; } .token.comment, .token.prolog, .token.cdata, .token.doctype { color: var(--muted); } .token.punctuation { color: var(--subtle); } .token.entity { color: var(--pine); } .token.boolean { color: var(--rose); } .token.attr-name { color: var(--foam); } .token.class-name { color: var(--text); } .token.constant { color: var(--love); font-style: italic; } .token.number { color: var(--foam); } .token.atrule { color: var(--love); } .token.keyword { color: var(--pine); } .token.property { color: var(--foam); } .token.tag { color: var(--foam); } .token.symbol { color: unset; } .token.deleted { color: var(--love); } .token.important { color: var(--love); } .token.selector { color: var(--rose); } .token.string { color: var(--gold); } .token.char { color: var(--gold); } .token.builtin { color: var(--love); } .token.inserted { color: var(--foam); } .token.regex { color: var(--gold); } .token.attr-value { color: var(--gold); } .token.variable { color: var(--text); } .token.operator { color: var(--subtle); } .token.function { color: var(--rose); font-style: italic; } .token.url { color: var(--iris); } .token.bold { font-weight: bold; } .token.italic { font-style: italic; } .token.entity { cursor: help; } .token.namespace { opacity: 0.7; } \ No newline at end of file diff --git a/themes/gruvbox-dark/v1/theme.json b/themes/gruvbox-dark/v1/theme.json new file mode 100644 index 0000000..daf4ce4 --- /dev/null +++ b/themes/gruvbox-dark/v1/theme.json @@ -0,0 +1,145 @@ +{ + "$schema": "https://raw.githubusercontent.com/streetwriters/notesnook-themes/main/schemas/v1.schema.json", + "name": "Gruvbox Dark", + "id": "gruvbox-dark", + "version": 1, + "license": "GPL-3.0-or-later", + "homepage": "https://notesnook.com", + "description": "Gruvbox Dark theme", + "colorScheme": "dark", + "compatibilityVersion": 1, + "authors": [ + { + "name": "riiku", + "url": "https://tech.lgbt/@riiku" + } + ], + "scopes": { + "base": { + "primary": { + "accent": "#d65d0e", + "paragraph": "#ebdbb2", + "background": "#282828", + "border": "#282828", + "heading": "#ebdbb2", + "icon": "#d65d0e", + "separator": "#3c3836", + "placeholder": "#928374", + "hover": "#3c3836", + "accentForeground": "#282828", + "backdrop": "#28282899" + }, + "secondary": { + "accent": "#d65d0e", + "paragraph": "#ebdbb2", + "background": "#3c3836", + "border": "#928374", + "heading": "#ebdbb2", + "icon": "#ebdbb2", + "separator": "#928374", + "placeholder": "#928374", + "hover": "#3c3836", + "accentForeground": "#282828", + "backdrop": "#28282899" + }, + "disabled": { + "accent": "#d65d0e", + "paragraph": "#ebdbb2", + "background": "#928374", + "border": "#928374", + "heading": "#ebdbb2", + "icon": "#ebdbb2", + "separator": "#928374", + "placeholder": "#ebdbb2", + "hover": "#928374", + "accentForeground": "#282828", + "backdrop": "#28282899" + }, + "selected": { + "accent": "#d65d0e", + "paragraph": "#ebdbb2", + "background": "#504945", + "border": "#d65d0e", + "heading": "#ebdbb2", + "icon": "#d65d0e", + "separator": "#928374", + "placeholder": "#928374", + "hover": "#3c3836", + "accentForeground": "#282828", + "backdrop": "#28282899" + }, + "error": { + "accent": "#fb4934", + "paragraph": "#fb4934", + "background": "#3c3836", + "border": "#928374", + "heading": "#fb4934", + "icon": "#fb4934", + "separator": "#928374", + "placeholder": "#928374", + "hover": "#928374", + "accentForeground": "#282828", + "backdrop": "#28282899" + }, + "success": { + "accent": "#b8bb26", + "paragraph": "#b8bb26", + "background": "#3c3836", + "border": "#928374", + "heading": "#b8bb26", + "icon": "#b8bb26", + "separator": "#928374", + "placeholder": "#928374", + "hover": "#928374", + "accentForeground": "#282828", + "backdrop": "#28282899" + } + }, + "statusBar": { + "primary": { + "paragraph": "#ebdbb2", + "background": "#282828", + "separator": "#282828" + } + }, + "list": { + "primary": { + "paragraph": "#ebdbb2", + "background": "#3c3836", + "hover": "#282828" + }, + "secondary": { + "paragraph": "#ebdbb2" + } + }, + "editor": { + "primary": { + "background": "#282828", + "border": "#928374" + }, + "secondary": { + "paragraph": "#928374", + "border": "#282828" + } + }, + "editorToolbar": { + "primary": { + "background": "#3c3836", + "hover": "#92837433" + }, + "secondary": { + "background": "#92837433" + } + }, + "navigationMenu": { + "primary": { + "background": "#282828" + } + }, + "sheet": { + "selected": { + "paragraph": "#b8bb26" + } + } + } +} diff --git a/themes/gruvbox-light/v1/code-block.css b/themes/gruvbox-light/v1/code-block.css new file mode 100644 index 0000000..2dbb5fd --- /dev/null +++ b/themes/gruvbox-light/v1/code-block.css @@ -0,0 +1 @@ +pre[class*="language-"] { --base: #fbf1c7; --surface: #ebdbb2; --overlay: #d5c4a1; --muted: #a89984; --subtle: #a89984; --text: #3c3836; --love: #cc241d; --gold: #d79921; --rose: #b16286; --pine: #98971a; --foam: #689d6a; --iris: #458588; --highlight-low: #ebdbb2; --highlight-med: #d5c4a1; --highlight-high: #a89984; --code-block-bg: #f9f5d7; } code[class*="language-"], pre[class*="language-"] { background: var(--code-block-bg); color: var(--text); font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; font-size: 1em; direction: ltr; text-align: left; white-space: pre; word-spacing: normal; word-break: normal; line-height: 1.5; -moz-tab-size: 4; -o-tab-size: 4; tab-size: 4; -webkit-hyphens: none; -moz-hyphens: none; -ms-hyphens: none; hyphens: none; } code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection, pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection, code[class*="language-"]::selection, code[class*="language-"] ::selection, pre[class*="language-"]::selection, pre[class*="language-"] ::selection { background: var(--highlight-med); } pre[class*="language-"] { padding: 1em; margin: 0.5em 0; overflow: auto; border-radius: unset; } :not(pre) > code[class*="language-"] { padding: 0.1em; border-radius: unset; white-space: normal; } .token.comment, .token.prolog, .token.cdata, .token.doctype { color: var(--muted); } .token.punctuation { color: var(--subtle); } .token.entity { color: var(--pine); } .token.boolean { color: var(--rose); } .token.attr-name { color: var(--foam); } .token.class-name { color: var(--text); } .token.constant { color: var(--love); font-style: italic; } .token.number { color: var(--foam); } .token.atrule { color: var(--love); } .token.keyword { color: var(--pine); } .token.property { color: var(--foam); } .token.tag { color: var(--foam); } .token.symbol { color: unset; } .token.deleted { color: var(--love); } .token.important { color: var(--love); } .token.selector { color: var(--rose); } .token.string { color: var(--gold); } .token.char { color: var(--gold); } .token.builtin { color: var(--love); } .token.inserted { color: var(--foam); } .token.regex { color: var(--gold); } .token.attr-value { color: var(--gold); } .token.variable { color: var(--text); } .token.operator { color: var(--subtle); } .token.function { color: var(--rose); font-style: italic; } .token.url { color: var(--iris); } .token.bold { font-weight: bold; } .token.italic { font-style: italic; } .token.entity { cursor: help; } .token.namespace { opacity: 0.7; } \ No newline at end of file diff --git a/themes/gruvbox-light/v1/theme.json b/themes/gruvbox-light/v1/theme.json new file mode 100644 index 0000000..a97f20d --- /dev/null +++ b/themes/gruvbox-light/v1/theme.json @@ -0,0 +1,145 @@ +{ + "$schema": "https://raw.githubusercontent.com/streetwriters/notesnook-themes/main/schemas/v1.schema.json", + "name": "Gruvbox Light", + "id": "gruvbox-light", + "version": 1, + "license": "GPL-3.0-or-later", + "homepage": "https://notesnook.com", + "description": "Gruvbox Light theme", + "colorScheme": "light", + "compatibilityVersion": 1, + "authors": [ + { + "name": "riiku", + "url": "https://tech.lgbt/@riiku" + } + ], + "scopes": { + "base": { + "primary": { + "accent": "#d65d0e", + "paragraph": "#3c3836", + "background": "#fbf1c7", + "border": "#fbf1c7", + "heading": "#3c3836", + "icon": "#d65d0e", + "separator": "#ebdbb2", + "placeholder": "#a89984", + "hover": "#f2e5bc", + "accentForeground": "#fbf1c7", + "backdrop": "#fbf1c799" + }, + "secondary": { + "accent": "#d65d0e", + "paragraph": "#3c3836", + "background": "#ebdbb2", + "border": "#a89984", + "heading": "#3c3836", + "icon": "#3c3836", + "separator": "#a89984", + "placeholder": "#a89984", + "hover": "#f2e5bc", + "accentForeground": "#fbf1c7", + "backdrop": "#fbf1c799" + }, + "disabled": { + "accent": "#d65d0e", + "paragraph": "#3c3836", + "background": "#a89984", + "border": "#a89984", + "heading": "#3c3836", + "icon": "#3c3836", + "separator": "#a89984", + "placeholder": "#3c3836", + "hover": "#f2e5bc", + "accentForeground": "#fbf1c7", + "backdrop": "#fbf1c799" + }, + "selected": { + "accent": "#d65d0e", + "paragraph": "#3c3836", + "background": "#d5c4a1", + "border": "#d65d0e", + "heading": "#3c3836", + "icon": "#d65d0e", + "separator": "#a89984", + "placeholder": "#a89984", + "hover": "#f2e5bc", + "accentForeground": "#fbf1c7", + "backdrop": "#fbf1c799" + }, + "error": { + "accent": "#cc241d", + "paragraph": "#cc241d", + "background": "#ebdbb2", + "border": "#a89984", + "heading": "#cc241d", + "icon": "#cc241d", + "separator": "#a89984", + "placeholder": "#a89984", + "hover": "#f2e5bc", + "accentForeground": "#fbf1c7", + "backdrop": "#fbf1c799" + }, + "success": { + "accent": "#98971a", + "paragraph": "#98971a", + "background": "#ebdbb2", + "border": "#a89984", + "heading": "#98971a", + "icon": "#98971a", + "separator": "#a89984", + "placeholder": "#a89984", + "hover": "#f2e5bc", + "accentForeground": "#fbf1c7", + "backdrop": "#fbf1c799" + } + }, + "statusBar": { + "primary": { + "paragraph": "#3c3836", + "background": "#f2e5bc", + "separator": "#f2e5bc" + } + }, + "list": { + "primary": { + "paragraph": "#3c3836", + "background": "#ebdbb2", + "hover": "#f2e5bc" + }, + "secondary": { + "paragraph": "#3c3836" + } + }, + "editor": { + "primary": { + "background": "#f2e5bc", + "border": "#a89984" + }, + "secondary": { + "paragraph": "#a89984", + "border": "#fbf1c7" + } + }, + "editorToolbar": { + "primary": { + "background": "#ebdbb2", + "hover": "#a8998433" + }, + "secondary": { + "background": "#a8998433" + } + }, + "navigationMenu": { + "primary": { + "background": "#fbf1c7" + } + }, + "sheet": { + "selected": { + "paragraph": "#98971a" + } + } + } +} From bbbaaf9629e22c37977a150eb715377780fa6425 Mon Sep 17 00:00:00 2001 From: Ricardo Rodrigues Date: Sat, 27 Jul 2024 22:20:27 -0300 Subject: [PATCH 04/15] typo --- themes/tokyonight-day/v1/theme.json | 2 +- themes/tokyonight-moon/v1/theme.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/tokyonight-day/v1/theme.json b/themes/tokyonight-day/v1/theme.json index ae936e5..1bfecc4 100644 --- a/themes/tokyonight-day/v1/theme.json +++ b/themes/tokyonight-day/v1/theme.json @@ -11,7 +11,7 @@ "authors": [ { "name": "riiku", - "url": "https://tech.lgbt/@iiku" + "url": "https://tech.lgbt/@riiku" }, { "name": "Andres M", diff --git a/themes/tokyonight-moon/v1/theme.json b/themes/tokyonight-moon/v1/theme.json index e7514ef..46b3d2c 100644 --- a/themes/tokyonight-moon/v1/theme.json +++ b/themes/tokyonight-moon/v1/theme.json @@ -11,7 +11,7 @@ "authors": [ { "name": "riiku", - "url": "https://tech.lgbt/@iiku" + "url": "https://tech.lgbt/@riiku" }, { "name": "Andres M", From 02656aae16639a3e50e12b7e5e10589d10532eae Mon Sep 17 00:00:00 2001 From: Ricardo Rodrigues Date: Sat, 27 Jul 2024 22:38:19 -0300 Subject: [PATCH 05/15] update versions --- themes/tokyonight-day/v1/theme.json | 2 +- themes/tokyonight-moon/v1/theme.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/tokyonight-day/v1/theme.json b/themes/tokyonight-day/v1/theme.json index 1bfecc4..fdea052 100644 --- a/themes/tokyonight-day/v1/theme.json +++ b/themes/tokyonight-day/v1/theme.json @@ -2,7 +2,7 @@ "$schema": "https://raw.githubusercontent.com/streetwriters/notesnook-themes/main/schemas/v1.schema.json", "name": "Tokyonight Day", "id": "tokyonight-day", - "version": 1, + "version": 2, "license": "GPL-3.0-or-later", "homepage": "https://notesnook.com", "description": "Tokyonight Day theme", diff --git a/themes/tokyonight-moon/v1/theme.json b/themes/tokyonight-moon/v1/theme.json index 46b3d2c..0d32c21 100644 --- a/themes/tokyonight-moon/v1/theme.json +++ b/themes/tokyonight-moon/v1/theme.json @@ -2,7 +2,7 @@ "$schema": "https://raw.githubusercontent.com/streetwriters/notesnook-themes/main/schemas/v1.schema.json", "name": "Tokyonight Moon", "id": "tokyonight-moon", - "version": 1, + "version": 2, "license": "GPL-3.0-or-later", "homepage": "https://notesnook.com", "description": "Tokyonight theme variant", From 2611a93912d0de971cfb6cff967e27fef093c3dc Mon Sep 17 00:00:00 2001 From: Ricardo Rodrigues Date: Sun, 28 Jul 2024 07:57:16 -0300 Subject: [PATCH 06/15] lint --- themes/tokyonight-day/v1/theme.json | 258 +++++++++++++-------------- themes/tokyonight-moon/v1/theme.json | 258 +++++++++++++-------------- 2 files changed, 258 insertions(+), 258 deletions(-) diff --git a/themes/tokyonight-day/v1/theme.json b/themes/tokyonight-day/v1/theme.json index fdea052..c131bee 100644 --- a/themes/tokyonight-day/v1/theme.json +++ b/themes/tokyonight-day/v1/theme.json @@ -9,142 +9,142 @@ "colorScheme": "light", "compatibilityVersion": 1, "authors": [ - { - "name": "riiku", - "url": "https://tech.lgbt/@riiku" - }, - { - "name": "Andres M", - "email": "andresmessina@proton.me", - "url": "https://mastodon.social/@aureliuspublius" - } + { + "name": "riiku", + "url": "https://tech.lgbt/@riiku" + }, + { + "name": "Andres M", + "email": "andresmessina@proton.me", + "url": "https://mastodon.social/@aureliuspublius" + } ], "scopes": { - "base": { - "primary": { - "accent": "#7aa2f7", - "paragraph": "#3760bf", - "background": "#f7f8fc", - "border": "#f7f8fc", - "heading": "#3760bf", - "icon": "#7aa2f7", - "separator": "#e1e2e7", - "placeholder": "#767c9d", - "hover": "#f0f1f5", - "accentForeground": "#f7f8fc", - "backdrop": "#f7f8fc99" - }, - "secondary": { - "accent": "#7aa2f7", - "paragraph": "#3760bf", - "background": "#e1e2e7", - "border": "#767c9d", - "heading": "#3760bf", - "icon": "#3760bf", - "separator": "#767c9d", - "placeholder": "#767c9d", - "hover": "#f0f1f5", - "accentForeground": "#f7f8fc", - "backdrop": "#f7f8fc99" + "base": { + "primary": { + "accent": "#7aa2f7", + "paragraph": "#3760bf", + "background": "#f7f8fc", + "border": "#f7f8fc", + "heading": "#3760bf", + "icon": "#7aa2f7", + "separator": "#e1e2e7", + "placeholder": "#767c9d", + "hover": "#f0f1f5", + "accentForeground": "#f7f8fc", + "backdrop": "#f7f8fc99" + }, + "secondary": { + "accent": "#7aa2f7", + "paragraph": "#3760bf", + "background": "#e1e2e7", + "border": "#767c9d", + "heading": "#3760bf", + "icon": "#3760bf", + "separator": "#767c9d", + "placeholder": "#767c9d", + "hover": "#f0f1f5", + "accentForeground": "#f7f8fc", + "backdrop": "#f7f8fc99" + }, + "disabled": { + "accent": "#7aa2f7", + "paragraph": "#3760bf", + "background": "#767c9d", + "border": "#767c9d", + "heading": "#3760bf", + "icon": "#3760bf", + "separator": "#767c9d", + "placeholder": "#3760bf", + "hover": "#f0f1f5", + "accentForeground": "#f7f8fc", + "backdrop": "#f7f8fc99" + }, + "selected": { + "accent": "#7aa2f7", + "paragraph": "#3760bf", + "background": "#cdd1e3", + "border": "#7aa2f7", + "heading": "#3760bf", + "icon": "#7aa2f7", + "separator": "#767c9d", + "placeholder": "#767c9d", + "hover": "#f0f1f5", + "accentForeground": "#f7f8fc", + "backdrop": "#f7f8fc99" + }, + "error": { + "accent": "#f7768e", + "paragraph": "#f7768e", + "background": "#e1e2e7", + "border": "#767c9d", + "heading": "#f7768e", + "icon": "#f7768e", + "separator": "#767c9d", + "placeholder": "#767c9d", + "hover": "#f0f1f5", + "accentForeground": "#f7f8fc", + "backdrop": "#f7f8fc99" + }, + "success": { + "accent": "#9ece6a", + "paragraph": "#9ece6a", + "background": "#e1e2e7", + "border": "#767c9d", + "heading": "#9ece6a", + "icon": "#9ece6a", + "separator": "#767c9d", + "placeholder": "#767c9d", + "hover": "#f0f1f5", + "accentForeground": "#f7f8fc", + "backdrop": "#f7f8fc99" + } }, - "disabled": { - "accent": "#7aa2f7", - "paragraph": "#3760bf", - "background": "#767c9d", - "border": "#767c9d", - "heading": "#3760bf", - "icon": "#3760bf", - "separator": "#767c9d", - "placeholder": "#3760bf", - "hover": "#f0f1f5", - "accentForeground": "#f7f8fc", - "backdrop": "#f7f8fc99" + "statusBar": { + "primary": { + "paragraph": "#3760bf", + "background": "#f0f1f5", + "separator": "#f0f1f5" + } }, - "selected": { - "accent": "#7aa2f7", - "paragraph": "#3760bf", - "background": "#cdd1e3", - "border": "#7aa2f7", - "heading": "#3760bf", - "icon": "#7aa2f7", - "separator": "#767c9d", - "placeholder": "#767c9d", - "hover": "#f0f1f5", - "accentForeground": "#f7f8fc", - "backdrop": "#f7f8fc99" + "list": { + "primary": { + "paragraph": "#3760bf", + "background": "#e1e2e7", + "hover": "#f0f1f5" + }, + "secondary": { + "paragraph": "#3760bf" + } }, - "error": { - "accent": "#f7768e", - "paragraph": "#f7768e", - "background": "#e1e2e7", - "border": "#767c9d", - "heading": "#f7768e", - "icon": "#f7768e", - "separator": "#767c9d", - "placeholder": "#767c9d", - "hover": "#f0f1f5", - "accentForeground": "#f7f8fc", - "backdrop": "#f7f8fc99" - }, - "success": { - "accent": "#9ece6a", - "paragraph": "#9ece6a", - "background": "#e1e2e7", - "border": "#767c9d", - "heading": "#9ece6a", - "icon": "#9ece6a", - "separator": "#767c9d", - "placeholder": "#767c9d", - "hover": "#f0f1f5", - "accentForeground": "#f7f8fc", - "backdrop": "#f7f8fc99" - } - }, - "statusBar": { - "primary": { - "paragraph": "#3760bf", - "background": "#f0f1f5", - "separator": "#f0f1f5" - } - }, - "list": { - "primary": { - "paragraph": "#3760bf", - "background": "#e1e2e7", - "hover": "#f0f1f5" + "editor": { + "primary": { + "background": "#f0f1f5", + "border": "#767c9d" + }, + "secondary": { + "paragraph": "#767c9d", + "border": "#f7f8fc" + } }, - "secondary": { - "paragraph": "#3760bf" - } - }, - "editor": { - "primary": { - "background": "#f0f1f5", - "border": "#767c9d" + "editorToolbar": { + "primary": { + "background": "#e1e2e7", + "hover": "#767c9d33" + }, + "secondary": { + "background": "#767c9d33" + } }, - "secondary": { - "paragraph": "#767c9d", - "border": "#f7f8fc" - } - }, - "editorToolbar": { - "primary": { - "background": "#e1e2e7", - "hover": "#767c9d33" + "navigationMenu": { + "primary": { + "background": "#f7f8fc" + } }, - "secondary": { - "background": "#767c9d33" - } - }, - "navigationMenu": { - "primary": { - "background": "#f7f8fc" - } - }, - "sheet": { - "selected": { - "paragraph": "#9ece6a" + "sheet": { + "selected": { + "paragraph": "#9ece6a" + } } - } } -} +} \ No newline at end of file diff --git a/themes/tokyonight-moon/v1/theme.json b/themes/tokyonight-moon/v1/theme.json index 0d32c21..df8ad5e 100644 --- a/themes/tokyonight-moon/v1/theme.json +++ b/themes/tokyonight-moon/v1/theme.json @@ -9,142 +9,142 @@ "colorScheme": "dark", "compatibilityVersion": 1, "authors": [ - { - "name": "riiku", - "url": "https://tech.lgbt/@riiku" - }, - { - "name": "Andres M", - "email": "andresmessina@proton.me", - "url": "https://mastodon.social/@aureliuspublius" - } + { + "name": "riiku", + "url": "https://tech.lgbt/@riiku" + }, + { + "name": "Andres M", + "email": "andresmessina@proton.me", + "url": "https://mastodon.social/@aureliuspublius" + } ], "scopes": { - "base": { - "primary": { - "accent": "#7aa2f7", - "paragraph": "#c0caf5", - "background": "#1a1b26", - "border": "#1a1b26", - "heading": "#c0caf5", - "icon": "#7aa2f7", - "separator": "#1f2335", - "placeholder": "#565f89", - "hover": "#1a1b26", - "accentForeground": "#1a1b26", - "backdrop": "#1a1b2699" - }, - "secondary": { - "accent": "#7aa2f7", - "paragraph": "#c0caf5", - "background": "#1f2335", - "border": "#565f89", - "heading": "#c0caf5", - "icon": "#c0caf5", - "separator": "#565f89", - "placeholder": "#565f89", - "hover": "#1a1b26", - "accentForeground": "#1a1b26", - "backdrop": "#1a1b2699" + "base": { + "primary": { + "accent": "#7aa2f7", + "paragraph": "#c0caf5", + "background": "#1a1b26", + "border": "#1a1b26", + "heading": "#c0caf5", + "icon": "#7aa2f7", + "separator": "#1f2335", + "placeholder": "#565f89", + "hover": "#1a1b26", + "accentForeground": "#1a1b26", + "backdrop": "#1a1b2699" + }, + "secondary": { + "accent": "#7aa2f7", + "paragraph": "#c0caf5", + "background": "#1f2335", + "border": "#565f89", + "heading": "#c0caf5", + "icon": "#c0caf5", + "separator": "#565f89", + "placeholder": "#565f89", + "hover": "#1a1b26", + "accentForeground": "#1a1b26", + "backdrop": "#1a1b2699" + }, + "disabled": { + "accent": "#7aa2f7", + "paragraph": "#c0caf5", + "background": "#565f89", + "border": "#565f89", + "heading": "#c0caf5", + "icon": "#c0caf5", + "separator": "#565f89", + "placeholder": "#c0caf5", + "hover": "#565f89", + "accentForeground": "#1a1b26", + "backdrop": "#1a1b2699" + }, + "selected": { + "accent": "#7aa2f7", + "paragraph": "#c0caf5", + "background": "#414868", + "border": "#7aa2f7", + "heading": "#c0caf5", + "icon": "#7aa2f7", + "separator": "#565f89", + "placeholder": "#565f89", + "hover": "#1a1b26", + "accentForeground": "#1a1b26", + "backdrop": "#1a1b2699" + }, + "error": { + "accent": "#f7768e", + "paragraph": "#f7768e", + "background": "#1f2335", + "border": "#565f89", + "heading": "#f7768e", + "icon": "#f7768e", + "separator": "#565f89", + "placeholder": "#565f89", + "hover": "#565f89", + "accentForeground": "#1a1b26", + "backdrop": "#1a1b2699" + }, + "success": { + "accent": "#9ece6a", + "paragraph": "#9ece6a", + "background": "#1f2335", + "border": "#565f89", + "heading": "#9ece6a", + "icon": "#9ece6a", + "separator": "#565f89", + "placeholder": "#565f89", + "hover": "#565f89", + "accentForeground": "#1a1b26", + "backdrop": "#1a1b2699" + } }, - "disabled": { - "accent": "#7aa2f7", - "paragraph": "#c0caf5", - "background": "#565f89", - "border": "#565f89", - "heading": "#c0caf5", - "icon": "#c0caf5", - "separator": "#565f89", - "placeholder": "#c0caf5", - "hover": "#565f89", - "accentForeground": "#1a1b26", - "backdrop": "#1a1b2699" + "statusBar": { + "primary": { + "paragraph": "#c0caf5", + "background": "#1a1b26", + "separator": "#1a1b26" + } }, - "selected": { - "accent": "#7aa2f7", - "paragraph": "#c0caf5", - "background": "#414868", - "border": "#7aa2f7", - "heading": "#c0caf5", - "icon": "#7aa2f7", - "separator": "#565f89", - "placeholder": "#565f89", - "hover": "#1a1b26", - "accentForeground": "#1a1b26", - "backdrop": "#1a1b2699" + "list": { + "primary": { + "paragraph": "#c0caf5", + "background": "#1f2335", + "hover": "#1a1b26" + }, + "secondary": { + "paragraph": "#c0caf5" + } }, - "error": { - "accent": "#f7768e", - "paragraph": "#f7768e", - "background": "#1f2335", - "border": "#565f89", - "heading": "#f7768e", - "icon": "#f7768e", - "separator": "#565f89", - "placeholder": "#565f89", - "hover": "#565f89", - "accentForeground": "#1a1b26", - "backdrop": "#1a1b2699" - }, - "success": { - "accent": "#9ece6a", - "paragraph": "#9ece6a", - "background": "#1f2335", - "border": "#565f89", - "heading": "#9ece6a", - "icon": "#9ece6a", - "separator": "#565f89", - "placeholder": "#565f89", - "hover": "#565f89", - "accentForeground": "#1a1b26", - "backdrop": "#1a1b2699" - } - }, - "statusBar": { - "primary": { - "paragraph": "#c0caf5", - "background": "#1a1b26", - "separator": "#1a1b26" - } - }, - "list": { - "primary": { - "paragraph": "#c0caf5", - "background": "#1f2335", - "hover": "#1a1b26" + "editor": { + "primary": { + "background": "#1a1b26", + "border": "#565f89" + }, + "secondary": { + "paragraph": "#565f89", + "border": "#1a1b26" + } }, - "secondary": { - "paragraph": "#c0caf5" - } - }, - "editor": { - "primary": { - "background": "#1a1b26", - "border": "#565f89" + "editorToolbar": { + "primary": { + "background": "#1f2335", + "hover": "#565f8933" + }, + "secondary": { + "background": "#565f8933" + } }, - "secondary": { - "paragraph": "#565f89", - "border": "#1a1b26" - } - }, - "editorToolbar": { - "primary": { - "background": "#1f2335", - "hover": "#565f8933" + "navigationMenu": { + "primary": { + "background": "#1a1b26" + } }, - "secondary": { - "background": "#565f8933" - } - }, - "navigationMenu": { - "primary": { - "background": "#1a1b26" - } - }, - "sheet": { - "selected": { - "paragraph": "#9ece6a" + "sheet": { + "selected": { + "paragraph": "#9ece6a" + } } - } } -} +} \ No newline at end of file From 7a933d4c32da491a9ee2cd415308cb7c63e2fa6c Mon Sep 17 00:00:00 2001 From: Ricardo Rodrigues Date: Sun, 28 Jul 2024 07:58:24 -0300 Subject: [PATCH 07/15] description update --- themes/tokyonight-moon/v1/theme.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/tokyonight-moon/v1/theme.json b/themes/tokyonight-moon/v1/theme.json index df8ad5e..733a605 100644 --- a/themes/tokyonight-moon/v1/theme.json +++ b/themes/tokyonight-moon/v1/theme.json @@ -5,7 +5,7 @@ "version": 2, "license": "GPL-3.0-or-later", "homepage": "https://notesnook.com", - "description": "Tokyonight theme variant", + "description": "Tokyonight Moon theme", "colorScheme": "dark", "compatibilityVersion": 1, "authors": [ From c93d2b229ed62d92288fd1160129bd203c5416df Mon Sep 17 00:00:00 2001 From: Ricardo Rodrigues Date: Sun, 28 Jul 2024 11:15:14 -0300 Subject: [PATCH 08/15] add solarized light and dark variants --- themes/solarized-dark/v1/code-block.css | 1 + themes/solarized-dark/v1/theme.json | 145 +++++++++++++++++++++++ themes/solarized-light/v1/code-block.css | 1 + themes/solarized-light/v1/theme.json | 145 +++++++++++++++++++++++ 4 files changed, 292 insertions(+) create mode 100644 themes/solarized-dark/v1/code-block.css create mode 100644 themes/solarized-dark/v1/theme.json create mode 100644 themes/solarized-light/v1/code-block.css create mode 100644 themes/solarized-light/v1/theme.json diff --git a/themes/solarized-dark/v1/code-block.css b/themes/solarized-dark/v1/code-block.css new file mode 100644 index 0000000..79b034d --- /dev/null +++ b/themes/solarized-dark/v1/code-block.css @@ -0,0 +1 @@ +pre[class*="language-"] { --base: #002b36; --surface: #073642; --overlay: #586e75; --muted: #586e75; --subtle: #586e75; --text: #839496; --love: #dc322f; --gold: #b58900; --rose: #cb4b16; --pine: #859900; --foam: #2aa198; --iris: #268bd2; --highlight-low: #073642; --highlight-med: #657b83; --highlight-high: #586e75; --code-block-bg: #073642; } code[class*="language-"], pre[class*="language-"] { background: var(--code-block-bg); color: var(--text); font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; font-size: 1em; direction: ltr; text-align: left; white-space: pre; word-spacing: normal; word-break: normal; line-height: 1.5; -moz-tab-size: 4; -o-tab-size: 4; tab-size: 4; -webkit-hyphens: none; -moz-hyphens: none; -ms-hyphens: none; hyphens: none; } code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection, pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection, code[class*="language-"]::selection, code[class*="language-"] ::selection, pre[class*="language-"]::selection, pre[class*="language-"] ::selection { background: var(--highlight-med); } pre[class*="language-"] { padding: 1em; margin: 0.5em 0; overflow: auto; border-radius: unset; } :not(pre) > code[class*="language-"] { padding: 0.1em; border-radius: unset; white-space: normal; } .token.comment, .token.prolog, .token.cdata, .token.doctype { color: var(--muted); } .token.punctuation { color: var(--subtle); } .token.entity { color: var(--pine); } .token.boolean { color: var(--rose); } .token.attr-name { color: var(--foam); } .token.class-name { color: var(--text); } .token.constant { color: var(--love); font-style: italic; } .token.number { color: var(--foam); } .token.atrule { color: var(--love); } .token.keyword { color: var(--pine); } .token.property { color: var(--foam); } .token.tag { color: var(--foam); } .token.symbol { color: unset; } .token.deleted { color: var(--love); } .token.important { color: var(--love); } .token.selector { color: var(--rose); } .token.string { color: var(--gold); } .token.char { color: var(--gold); } .token.builtin { color: var(--love); } .token.inserted { color: var(--foam); } .token.regex { color: var(--gold); } .token.attr-value { color: var(--gold); } .token.variable { color: var(--text); } .token.operator { color: var(--subtle); } .token.function { color: var(--rose); font-style: italic; } .token.url { color: var(--iris); } .token.bold { font-weight: bold; } .token.italic { font-style: italic; } .token.entity { cursor: help; } .token.namespace { opacity: 0.7; } \ No newline at end of file diff --git a/themes/solarized-dark/v1/theme.json b/themes/solarized-dark/v1/theme.json new file mode 100644 index 0000000..6b2f44b --- /dev/null +++ b/themes/solarized-dark/v1/theme.json @@ -0,0 +1,145 @@ +{ + "$schema": "https://raw.githubusercontent.com/streetwriters/notesnook-themes/main/schemas/v1.schema.json", + "name": "Solarized Dark", + "id": "solarized-dark", + "version": 1, + "license": "GPL-3.0-or-later", + "homepage": "https://notesnook.com", + "description": "Solarized Dark theme", + "colorScheme": "dark", + "compatibilityVersion": 1, + "authors": [ + { + "name": "riiku", + "url": "https://tech.lgbt/@riiku" + } + ], + "scopes": { + "base": { + "primary": { + "accent": "#268bd2", + "paragraph": "#839496", + "background": "#002b36", + "border": "#002b36", + "heading": "#839496", + "icon": "#268bd2", + "separator": "#073642", + "placeholder": "#586e75", + "hover": "#073642", + "accentForeground": "#002b36", + "backdrop": "#002b3699" + }, + "secondary": { + "accent": "#268bd2", + "paragraph": "#839496", + "background": "#073642", + "border": "#586e75", + "heading": "#839496", + "icon": "#839496", + "separator": "#586e75", + "placeholder": "#586e75", + "hover": "#073642", + "accentForeground": "#002b36", + "backdrop": "#002b3699" + }, + "disabled": { + "accent": "#268bd2", + "paragraph": "#839496", + "background": "#586e75", + "border": "#586e75", + "heading": "#839496", + "icon": "#839496", + "separator": "#586e75", + "placeholder": "#839496", + "hover": "#586e75", + "accentForeground": "#002b36", + "backdrop": "#002b3699" + }, + "selected": { + "accent": "#268bd2", + "paragraph": "#839496", + "background": "#073642", + "border": "#268bd2", + "heading": "#839496", + "icon": "#268bd2", + "separator": "#586e75", + "placeholder": "#586e75", + "hover": "#073642", + "accentForeground": "#002b36", + "backdrop": "#002b3699" + }, + "error": { + "accent": "#dc322f", + "paragraph": "#dc322f", + "background": "#073642", + "border": "#586e75", + "heading": "#dc322f", + "icon": "#dc322f", + "separator": "#586e75", + "placeholder": "#586e75", + "hover": "#586e75", + "accentForeground": "#002b36", + "backdrop": "#002b3699" + }, + "success": { + "accent": "#859900", + "paragraph": "#859900", + "background": "#073642", + "border": "#586e75", + "heading": "#859900", + "icon": "#859900", + "separator": "#586e75", + "placeholder": "#586e75", + "hover": "#586e75", + "accentForeground": "#002b36", + "backdrop": "#002b3699" + } + }, + "statusBar": { + "primary": { + "paragraph": "#839496", + "background": "#002b36", + "separator": "#002b36" + } + }, + "list": { + "primary": { + "paragraph": "#839496", + "background": "#073642", + "hover": "#002b36" + }, + "secondary": { + "paragraph": "#839496" + } + }, + "editor": { + "primary": { + "background": "#002b36", + "border": "#586e75" + }, + "secondary": { + "paragraph": "#586e75", + "border": "#002b36" + } + }, + "editorToolbar": { + "primary": { + "background": "#073642", + "hover": "#586e7533" + }, + "secondary": { + "background": "#586e7533" + } + }, + "navigationMenu": { + "primary": { + "background": "#002b36" + } + }, + "sheet": { + "selected": { + "paragraph": "#859900" + } + } + } +} diff --git a/themes/solarized-light/v1/code-block.css b/themes/solarized-light/v1/code-block.css new file mode 100644 index 0000000..52ed5b2 --- /dev/null +++ b/themes/solarized-light/v1/code-block.css @@ -0,0 +1 @@ +pre[class*="language-"] {--base: #fdf6e3;--surface: #eee8d5;--overlay: #93a1a1;--muted: #93a1a1;--subtle: #93a1a1;--text: #586e75;--love: #dc322f;--gold: #b58900;--rose: #cb4b16;--pine: #859900;--foam: #2aa198;--iris: #268bd2;--highlight-low: #eee8d5;--highlight-med: #93a1a1;--highlight-high: #93a1a1;--code-block-bg: #eee8d5;}code[class*="language-"], pre[class*="language-"] {background: var(--code-block-bg);color: var(--text);font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;font-size: 1em;direction: ltr;text-align: left;white-space: pre;word-spacing: normal;word-break: normal;line-height: 1.5;-moz-tab-size: 4;-o-tab-size: 4;tab-size: 4;-webkit-hyphens: none;-moz-hyphens: none;-ms-hyphens: none;hyphens: none;}code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection, pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection, code[class*="language-"]::selection, code[class*="language-"] ::selection, pre[class*="language-"]::selection, pre[class*="language-"] ::selection {background: var(--highlight-med);}pre[class*="language-"] {padding: 1em;margin: 0.5em 0;overflow: auto;border-radius: unset;}:not(pre) > code[class*="language-"] {padding: 0.1em;border-radius: unset;white-space: normal;}.token.comment, .token.prolog, .token.cdata, .token.doctype {color: var(--muted);}.token.punctuation {color: var(--subtle);}.token.entity {color: var(--pine);}.token.boolean {color: var(--rose);}.token.attr-name {color: var(--foam);}.token.class-name {color: var(--text);}.token.constant {color: var(--love);font-style: italic;}.token.number {color: var(--foam);}.token.atrule {color: var(--love);}.token.keyword {color: var(--pine);}.token.property {color: var(--foam);}.token.tag {color: var(--foam);}.token.symbol {color: unset;}.token.deleted {color: var(--love);}.token.important {color: var(--love);}.token.selector {color: var(--rose);}.token.string {color: var(--gold);}.token.char {color: var(--gold);}.token.builtin {color: var(--love);}.token.inserted {color: var(--foam);}.token.regex {color: var(--gold);}.token.attr-value {color: var(--gold);}.token.variable {color: var(--text);}.token.operator {color: var(--subtle);}.token.function {color: var(--rose);font-style: italic;}.token.url {color: var(--iris);}.token.bold {font-weight: bold;}.token.italic {font-style: italic;}.token.entity {cursor: help;}.token.namespace {opacity: 0.7;} \ No newline at end of file diff --git a/themes/solarized-light/v1/theme.json b/themes/solarized-light/v1/theme.json new file mode 100644 index 0000000..13ad7eb --- /dev/null +++ b/themes/solarized-light/v1/theme.json @@ -0,0 +1,145 @@ +{ + "$schema": "https://raw.githubusercontent.com/streetwriters/notesnook-themes/main/schemas/v1.schema.json", + "name": "Solarized Light", + "id": "solarized-light", + "version": 1, + "license": "GPL-3.0-or-later", + "homepage": "https://notesnook.com", + "description": "Solarized Light theme", + "colorScheme": "light", + "compatibilityVersion": 1, + "authors": [ + { + "name": "riiku", + "url": "https://tech.lgbt/@riiku" + } + ], + "scopes": { + "base": { + "primary": { + "accent": "#b48800", + "paragraph": "#586e75", + "background": "#fdf6e3", + "border": "#fdf6e3", + "heading": "#586e75", + "icon": "#b48800", + "separator": "#eee8d5", + "placeholder": "#93a1a1", + "hover": "#eee8d5", + "accentForeground": "#fdf6e3", + "backdrop": "#fdf6e399" + }, + "secondary": { + "accent": "#b48800", + "paragraph": "#586e75", + "background": "#eee8d5", + "border": "#93a1a1", + "heading": "#586e75", + "icon": "#586e75", + "separator": "#93a1a1", + "placeholder": "#93a1a1", + "hover": "#eee8d5", + "accentForeground": "#fdf6e3", + "backdrop": "#fdf6e399" + }, + "disabled": { + "accent": "#b48800", + "paragraph": "#586e75", + "background": "#93a1a1", + "border": "#93a1a1", + "heading": "#586e75", + "icon": "#586e75", + "separator": "#93a1a1", + "placeholder": "#586e75", + "hover": "#eee8d5", + "accentForeground": "#fdf6e3", + "backdrop": "#fdf6e399" + }, + "selected": { + "accent": "#b48800", + "paragraph": "#586e75", + "background": "#eee8d5", + "border": "#b48800", + "heading": "#586e75", + "icon": "#b48800", + "separator": "#93a1a1", + "placeholder": "#93a1a1", + "hover": "#eee8d5", + "accentForeground": "#fdf6e3", + "backdrop": "#fdf6e399" + }, + "error": { + "accent": "#dc322f", + "paragraph": "#dc322f", + "background": "#eee8d5", + "border": "#93a1a1", + "heading": "#dc322f", + "icon": "#dc322f", + "separator": "#93a1a1", + "placeholder": "#93a1a1", + "hover": "#eee8d5", + "accentForeground": "#fdf6e3", + "backdrop": "#fdf6e399" + }, + "success": { + "accent": "#859900", + "paragraph": "#859900", + "background": "#eee8d5", + "border": "#93a1a1", + "heading": "#859900", + "icon": "#859900", + "separator": "#93a1a1", + "placeholder": "#93a1a1", + "hover": "#eee8d5", + "accentForeground": "#fdf6e3", + "backdrop": "#fdf6e399" + } + }, + "statusBar": { + "primary": { + "paragraph": "#586e75", + "background": "#fdf6e3", + "separator": "#fdf6e3" + } + }, + "list": { + "primary": { + "paragraph": "#586e75", + "background": "#eee8d5", + "hover": "#fdf6e3" + }, + "secondary": { + "paragraph": "#586e75" + } + }, + "editor": { + "primary": { + "background": "#fdf6e3", + "border": "#93a1a1" + }, + "secondary": { + "paragraph": "#93a1a1", + "border": "#fdf6e3" + } + }, + "editorToolbar": { + "primary": { + "background": "#eee8d5", + "hover": "#93a1a133" + }, + "secondary": { + "background": "#93a1a133" + } + }, + "navigationMenu": { + "primary": { + "background": "#fdf6e3" + } + }, + "sheet": { + "selected": { + "paragraph": "#859900" + } + } + } +} \ No newline at end of file From d6b8b81f177b24cb01d67f1c9b261370e614f394 Mon Sep 17 00:00:00 2001 From: Ricardo Rodrigues Date: Sun, 28 Jul 2024 15:16:06 -0300 Subject: [PATCH 09/15] Add Mystic Night and Mystic Dawn themes --- themes/mystic-dawn/v1/code-block.css | 1 + themes/mystic-dawn/v1/theme.json | 145 ++++++++++++++++++++++++++ themes/mystic-night/v1/code-block.css | 1 + themes/mystic-night/v1/theme.json | 145 ++++++++++++++++++++++++++ 4 files changed, 292 insertions(+) create mode 100644 themes/mystic-dawn/v1/code-block.css create mode 100644 themes/mystic-dawn/v1/theme.json create mode 100644 themes/mystic-night/v1/code-block.css create mode 100644 themes/mystic-night/v1/theme.json diff --git a/themes/mystic-dawn/v1/code-block.css b/themes/mystic-dawn/v1/code-block.css new file mode 100644 index 0000000..216c141 --- /dev/null +++ b/themes/mystic-dawn/v1/code-block.css @@ -0,0 +1 @@ + code[class*="language-"], pre[class*="language-"] { background: #e0e0e0; color: #3e2723; font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; font-size: 1em; direction: ltr; text-align: left; white-space: pre; word-spacing: normal; word-break: normal; line-height: 1.5; -moz-tab-size: 4; -o-tab-size: 4; tab-size: 4; -webkit-hyphens: none; -moz-hyphens: none; -ms-hyphens: none; hyphens: none; } code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection, pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection, code[class*="language-"]::selection, code[class*="language-"] ::selection, pre[class*="language-"]::selection, pre[class*="language-"] ::selection { background: #d7ccc8; } pre[class*="language-"] { padding: 1em; margin: 0.5em 0; overflow: auto; border-radius: unset; } :not(pre) > code[class*="language-"] { padding: 0.1em; border-radius: unset; white-space: normal; } .token.comment, .token.prolog, .token.cdata, .token.doctype { color: #bdbdbd; } .token.punctuation { color: #bdbdbd; } .token.entity { color: #81c784; } .token.boolean { color: #db0088; } .token.attr-name { color: #99feff; } .token.class-name { color: #3e2723; } .token.constant { color: #e57373; font-style: italic; } .token.number { color: #99feff; } .token.atrule { color: #e57373; } .token.keyword { color: #81c784; } .token.property { color: #99feff; } .token.tag { color: #99feff; } .token.symbol { color: unset; } .token.deleted { color: #e57373; } .token.important { color: #e57373; } .token.selector { color: #db0088; } .token.string { color: #fde9a2; } .token.char { color: #fde9a2; } .token.builtin { color: #e57373; } .token.inserted { color: #99feff; } .token.regex { color: #fde9a2; } .token.attr-value { color: #fde9a2; } .token.variable { color: #3e2723; } .token.operator { color: #bdbdbd; } .token.function { color: #db0088; font-style: italic; } .token.url { color: #83a8d1; } .token.bold { font-weight: bold; } .token.italic { font-style: italic; } .token.entity { cursor: help; } .token.namespace { opacity: 0.7; } diff --git a/themes/mystic-dawn/v1/theme.json b/themes/mystic-dawn/v1/theme.json new file mode 100644 index 0000000..250ce07 --- /dev/null +++ b/themes/mystic-dawn/v1/theme.json @@ -0,0 +1,145 @@ +{ + "$schema": "https://raw.githubusercontent.com/streetwriters/notesnook-themes/main/schemas/v1.schema.json", + "name": "Mystic Dawn", + "id": "mystic-dawn", + "version": 1, + "license": "GPL-3.0-or-later", + "homepage": "https://notesnook.com", + "description": "Mystic Dawn for mystic notes", + "colorScheme": "light", + "compatibilityVersion": 1, + "authors": [ + { + "name": "riiku", + "url": "https://tech.lgbt/@riiku" + } + ], + "scopes": { + "base": { + "primary": { + "accent": "#6d4c41", + "paragraph": "#3e2723", + "background": "#ffffff", + "border": "#e0e0e0", + "heading": "#3e2723", + "icon": "#6d4c41", + "separator": "#e0e0e0", + "placeholder": "#bdbdbd", + "hover": "#e0e0e0", + "accentForeground": "#ffffff", + "backdrop": "#ffffff99" + }, + "secondary": { + "accent": "#6d4c41", + "paragraph": "#3e2723", + "background": "#fafafa", + "border": "#bdbdbd", + "heading": "#3e2723", + "icon": "#3e2723", + "separator": "#bdbdbd", + "placeholder": "#bdbdbd", + "hover": "#e0e0e0", + "accentForeground": "#ffffff", + "backdrop": "#ffffff99" + }, + "disabled": { + "accent": "#6d4c41", + "paragraph": "#3e2723", + "background": "#bdbdbd", + "border": "#bdbdbd", + "heading": "#3e2723", + "icon": "#3e2723", + "separator": "#bdbdbd", + "placeholder": "#3e2723", + "hover": "#bdbdbd", + "accentForeground": "#ffffff", + "backdrop": "#ffffff99" + }, + "selected": { + "accent": "#6d4c41", + "paragraph": "#3e2723", + "background": "#f5f5f5", + "border": "#6d4c41", + "heading": "#3e2723", + "icon": "#6d4c41", + "separator": "#bdbdbd", + "placeholder": "#bdbdbd", + "hover": "#e0e0e0", + "accentForeground": "#ffffff", + "backdrop": "#ffffff99" + }, + "error": { + "accent": "#e57373", + "paragraph": "#e57373", + "background": "#fafafa", + "border": "#bdbdbd", + "heading": "#e57373", + "icon": "#e57373", + "separator": "#bdbdbd", + "placeholder": "#bdbdbd", + "hover": "#bdbdbd", + "accentForeground": "#ffffff", + "backdrop": "#ffffff99" + }, + "success": { + "accent": "#81c784", + "paragraph": "#81c784", + "background": "#fafafa", + "border": "#bdbdbd", + "heading": "#81c784", + "icon": "#81c784", + "separator": "#bdbdbd", + "placeholder": "#bdbdbd", + "hover": "#bdbdbd", + "accentForeground": "#ffffff", + "backdrop": "#ffffff99" + } + }, + "statusBar": { + "primary": { + "paragraph": "#3e2723", + "background": "#ffffff", + "separator": "#ffffff" + } + }, + "list": { + "primary": { + "paragraph": "#3e2723", + "background": "#fafafa", + "hover": "#ffffff" + }, + "secondary": { + "paragraph": "#3e2723" + } + }, + "editor": { + "primary": { + "background": "#ffffff", + "border": "#bdbdbd" + }, + "secondary": { + "paragraph": "#bdbdbd", + "border": "#ffffff" + } + }, + "editorToolbar": { + "primary": { + "background": "#fafafa", + "hover": "#bdbdbd33" + }, + "secondary": { + "background": "#bdbdbd33" + } + }, + "navigationMenu": { + "primary": { + "background": "#ffffff" + } + }, + "sheet": { + "selected": { + "paragraph": "#81c784" + } + } + } +} diff --git a/themes/mystic-night/v1/code-block.css b/themes/mystic-night/v1/code-block.css new file mode 100644 index 0000000..2674ae8 --- /dev/null +++ b/themes/mystic-night/v1/code-block.css @@ -0,0 +1 @@ +code[class*="language-"], pre[class*="language-"] { background: #1c1e26; color: #cbd5e1; font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; font-size: 1em; direction: ltr; text-align: left; white-space: pre; word-spacing: normal; word-break: normal; line-height: 1.5; -moz-tab-size: 4; -o-tab-size: 4; tab-size: 4; -webkit-hyphens: none; -moz-hyphens: none; -ms-hyphens: none; hyphens: none; } code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection, pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection, code[class*="language-"]::selection, code[class*="language-"] ::selection, pre[class*="language-"]::selection, pre[class*="language-"] ::selection { background: #2d3748; } pre[class*="language-"] { padding: 1em; margin: 0.5em 0; overflow: auto; border-radius: unset; } :not(pre) > code[class*="language-"] { padding: 0.1em; border-radius: unset; white-space: normal; } .token.comment, .token.prolog, .token.cdata, .token.doctype { color: #4b5563; } .token.punctuation { color: #4b5563; } .token.entity { color: #81c784; } .token.boolean { color: #ff73c7; } .token.attr-name { color: #99feff; } .token.class-name { color: #cbd5e1; } .token.constant { color: #e57373; font-style: italic; } .token.number { color: #99feff; } .token.atrule { color: #e57373; } .token.keyword { color: #81c784; } .token.property { color: #99feff; } .token.tag { color: #99feff; } .token.symbol { color: unset; } .token.deleted { color: #e57373; } .token.important { color: #e57373; } .token.selector { color: #ff73c7; } .token.string { color: #fde9a2; } .token.char { color: #fde9a2; } .token.builtin { color: #e57373; } .token.inserted { color: #99feff; } .token.regex { color: #fde9a2; } .token.attr-value { color: #fde9a2; } .token.variable { color: #cbd5e1; } .token.operator { color: #4b5563; } .token.function { color: #ff73c7; font-style: italic; } .token.url { color: #83a8d1; } .token.bold { font-weight: bold; } .token.italic { font-style: italic; } .token.entity { cursor: help; } .token.namespace { opacity: 0.7; } \ No newline at end of file diff --git a/themes/mystic-night/v1/theme.json b/themes/mystic-night/v1/theme.json new file mode 100644 index 0000000..174419d --- /dev/null +++ b/themes/mystic-night/v1/theme.json @@ -0,0 +1,145 @@ +{ + "$schema": "https://raw.githubusercontent.com/streetwriters/notesnook-themes/main/schemas/v1.schema.json", + "name": "Mystic Night", + "id": "mystic-night", + "version": 1, + "license": "GPL-3.0-or-later", + "homepage": "https://notesnook.com", + "description": "Mystic Night for mystic notes", + "colorScheme": "dark", + "compatibilityVersion": 1, + "authors": [ + { + "name": "riiku", + "url": "https://tech.lgbt/@riiku" + } + ], + "scopes": { + "base": { + "primary": { + "accent": "#8fbcd4", + "paragraph": "#cbd5e1", + "background": "#0f111a", + "border": "#0f111a", + "heading": "#cbd5e1", + "icon": "#8fbcd4", + "separator": "#1c1e26", + "placeholder": "#4b5563", + "hover": "#1c1e26", + "accentForeground": "#0f111a", + "backdrop": "#0f111a99" + }, + "secondary": { + "accent": "#8fbcd4", + "paragraph": "#cbd5e1", + "background": "#1c1e26", + "border": "#4b5563", + "heading": "#cbd5e1", + "icon": "#cbd5e1", + "separator": "#4b5563", + "placeholder": "#4b5563", + "hover": "#1c1e26", + "accentForeground": "#0f111a", + "backdrop": "#0f111a99" + }, + "disabled": { + "accent": "#8fbcd4", + "paragraph": "#cbd5e1", + "background": "#4b5563", + "border": "#4b5563", + "heading": "#cbd5e1", + "icon": "#cbd5e1", + "separator": "#4b5563", + "placeholder": "#cbd5e1", + "hover": "#4b5563", + "accentForeground": "#0f111a", + "backdrop": "#0f111a99" + }, + "selected": { + "accent": "#8fbcd4", + "paragraph": "#cbd5e1", + "background": "#2d3748", + "border": "#8fbcd4", + "heading": "#cbd5e1", + "icon": "#8fbcd4", + "separator": "#4b5563", + "placeholder": "#4b5563", + "hover": "#1c1e26", + "accentForeground": "#0f111a", + "backdrop": "#0f111a99" + }, + "error": { + "accent": "#e57373", + "paragraph": "#e57373", + "background": "#1c1e26", + "border": "#4b5563", + "heading": "#e57373", + "icon": "#e57373", + "separator": "#4b5563", + "placeholder": "#4b5563", + "hover": "#4b5563", + "accentForeground": "#0f111a", + "backdrop": "#0f111a99" + }, + "success": { + "accent": "#81c784", + "paragraph": "#81c784", + "background": "#1c1e26", + "border": "#4b5563", + "heading": "#81c784", + "icon": "#81c784", + "separator": "#4b5563", + "placeholder": "#4b5563", + "hover": "#4b5563", + "accentForeground": "#0f111a", + "backdrop": "#0f111a99" + } + }, + "statusBar": { + "primary": { + "paragraph": "#cbd5e1", + "background": "#0f111a", + "separator": "#0f111a" + } + }, + "list": { + "primary": { + "paragraph": "#cbd5e1", + "background": "#1c1e26", + "hover": "#0f111a" + }, + "secondary": { + "paragraph": "#cbd5e1" + } + }, + "editor": { + "primary": { + "background": "#0f111a", + "border": "#4b5563" + }, + "secondary": { + "paragraph": "#4b5563", + "border": "#0f111a" + } + }, + "editorToolbar": { + "primary": { + "background": "#1c1e26", + "hover": "#4b556333" + }, + "secondary": { + "background": "#4b556333" + } + }, + "navigationMenu": { + "primary": { + "background": "#0f111a" + } + }, + "sheet": { + "selected": { + "paragraph": "#81c784" + } + } + } +} From bb00ce82e4bf04511fa055f4c57fdcdec6f4c650 Mon Sep 17 00:00:00 2001 From: Ricardo Rodrigues <42903366+echoriiku@users.noreply.github.com> Date: Mon, 29 Jul 2024 12:01:57 +0000 Subject: [PATCH 10/15] used the theme builder to correct the unintended formatting changes --- themes/tokyonight-day/v1/code-block.css | 2 +- themes/tokyonight-day/v1/theme.json | 261 +++++++++++------------ themes/tokyonight-moon/v1/code-block.css | 2 +- themes/tokyonight-moon/v1/theme.json | 261 +++++++++++------------ 4 files changed, 262 insertions(+), 264 deletions(-) diff --git a/themes/tokyonight-day/v1/code-block.css b/themes/tokyonight-day/v1/code-block.css index 49efdd0..de9cb5b 100644 --- a/themes/tokyonight-day/v1/code-block.css +++ b/themes/tokyonight-day/v1/code-block.css @@ -1 +1 @@ -/** * Tokyonight Day by Riiku * Licenced under the GPL v3 */ pre[class*="language-"] { --base: #f7f8fc; --surface: #e1e2e7; --overlay: #cdd1e3; --muted: #767c9d; --subtle: #767c9d; --text: #3760bf; --love: #f7768e; --gold: #e0af68; --rose: #bb9af7; --pine: #9ece6a; --foam: #7dcfff; --iris: #7aa2f7; --highlight-low: #e1e2e7; --highlight-med: #cdd1e3; --highlight-high: #767c9d; } code[class*="language-"], pre[class*="language-"] { background: var(--base); color: var(--text); font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; font-size: 1em; direction: ltr; text-align: left; white-space: pre; word-spacing: normal; word-break: normal; line-height: 1.5; -moz-tab-size: 4; -o-tab-size: 4; tab-size: 4; -webkit-hyphens: none; -moz-hyphens: none; -ms-hyphens: none; hyphens: none; } code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection, pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection, code[class*="language-"]::selection, code[class*="language-"] ::selection, pre[class*="language-"]::selection, pre[class*="language-"] ::selection { background: var(--highlight-med); } pre[class*="language-"] { padding: 1em; margin: 0.5em 0; overflow: auto; border-radius: unset; } :not(pre) > code[class*="language-"] { padding: 0.1em; border-radius: unset; white-space: normal; } .token.comment, .token.prolog, .token.cdata, .token.doctype { color: var(--muted); } .token.punctuation { color: var(--subtle); } .token.entity { color: var(--pine); } .token.boolean { color: var(--rose); } .token.attr-name { color: var(--foam); } .token.class-name { color: var(--text); } .token.constant { color: var(--love); font-style: italic; } .token.number { color: var(--foam); } .token.atrule { color: var(--love); } .token.keyword { color: var(--pine); } .token.property { color: var(--foam); } .token.tag { color: var(--foam); } .token.symbol { color: unset; } .token.deleted { color: var(--love); } .token.important { color: var(--love); } .token.selector { color: var(--rose); } .token.string { color: var(--gold); } .token.char { color: var(--gold); } .token.builtin { color: var(--love); } .token.inserted { color: var(--foam); } .token.regex { color: var(--gold); } .token.attr-value { color: var(--gold); } .token.variable { color: var(--text); } .token.operator { color: var(--subtle); } .token.function { color: var(--rose); font-style: italic; } .token.url { color: var(--iris); } .token.bold { font-weight: bold; } .token.italic { font-style: italic; } .token.entity { cursor: help; } .token.namespace { opacity: 0.7; } +/** * Tokyonight Day by Riiku * Licenced under the GPL v3 */ pre[class*="language-"] { --base: #f7f8fc; --surface: #e1e2e7; --overlay: #cdd1e3; --muted: #767c9d; --subtle: #767c9d; --text: #3760bf; --love: #f7768e; --gold: #e0af68; --rose: #bb9af7; --pine: #9ece6a; --foam: #7dcfff; --iris: #7aa2f7; --highlight-low: #e1e2e7; --highlight-med: #cdd1e3; --highlight-high: #767c9d; } code[class*="language-"], pre[class*="language-"] { background: var(--base); color: var(--text); font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; font-size: 1em; direction: ltr; text-align: left; white-space: pre; word-spacing: normal; word-break: normal; line-height: 1.5; -moz-tab-size: 4; -o-tab-size: 4; tab-size: 4; -webkit-hyphens: none; -moz-hyphens: none; -ms-hyphens: none; hyphens: none; } code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection, pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection, code[class*="language-"]::selection, code[class*="language-"] ::selection, pre[class*="language-"]::selection, pre[class*="language-"] ::selection { background: var(--highlight-med); } pre[class*="language-"] { padding: 1em; margin: 0.5em 0; overflow: auto; border-radius: unset; } :not(pre) > code[class*="language-"] { padding: 0.1em; border-radius: unset; white-space: normal; } .token.comment, .token.prolog, .token.cdata, .token.doctype { color: var(--muted); } .token.punctuation { color: var(--subtle); } .token.entity { color: var(--pine); } .token.boolean { color: var(--rose); } .token.attr-name { color: var(--foam); } .token.class-name { color: var(--text); } .token.constant { color: var(--love); font-style: italic; } .token.number { color: var(--foam); } .token.atrule { color: var(--love); } .token.keyword { color: var(--pine); } .token.property { color: var(--foam); } .token.tag { color: var(--foam); } .token.symbol { color: unset; } .token.deleted { color: var(--love); } .token.important { color: var(--love); } .token.selector { color: var(--rose); } .token.string { color: var(--gold); } .token.char { color: var(--gold); } .token.builtin { color: var(--love); } .token.inserted { color: var(--foam); } .token.regex { color: var(--gold); } .token.attr-value { color: var(--gold); } .token.variable { color: var(--text); } .token.operator { color: var(--subtle); } .token.function { color: var(--rose); font-style: italic; } .token.url { color: var(--iris); } .token.bold { font-weight: bold; } .token.italic { font-style: italic; } .token.entity { cursor: help; } .token.namespace { opacity: 0.7; } \ No newline at end of file diff --git a/themes/tokyonight-day/v1/theme.json b/themes/tokyonight-day/v1/theme.json index c131bee..8e807df 100644 --- a/themes/tokyonight-day/v1/theme.json +++ b/themes/tokyonight-day/v1/theme.json @@ -1,150 +1,149 @@ { - "$schema": "https://raw.githubusercontent.com/streetwriters/notesnook-themes/main/schemas/v1.schema.json", - "name": "Tokyonight Day", - "id": "tokyonight-day", - "version": 2, - "license": "GPL-3.0-or-later", - "homepage": "https://notesnook.com", - "description": "Tokyonight Day theme", - "colorScheme": "light", - "compatibilityVersion": 1, - "authors": [ + "$schema": "https://raw.githubusercontent.com/streetwriters/notesnook-themes/main/schemas/v1.schema.json", + "name": "Tokyonight Day", + "id": "tokyonight-day", + "version": 2, + "license": "GPL-3.0-or-later", + "homepage": "https://notesnook.com", + "description": "Tokyonight Day theme", + "colorScheme": "light", + "compatibilityVersion": 1, + "authors": [ { - "name": "riiku", - "url": "https://tech.lgbt/@riiku" + "name": "riiku", + "url": "https://tech.lgbt/@riiku" }, { - "name": "Andres M", - "email": "andresmessina@proton.me", - "url": "https://mastodon.social/@aureliuspublius" + "email": "andresmessina@proton.me", + "url": "https://mastodon.social/@aureliuspublius" } - ], - "scopes": { + ], + "scopes": { "base": { - "primary": { - "accent": "#7aa2f7", - "paragraph": "#3760bf", - "background": "#f7f8fc", - "border": "#f7f8fc", - "heading": "#3760bf", - "icon": "#7aa2f7", - "separator": "#e1e2e7", - "placeholder": "#767c9d", - "hover": "#f0f1f5", - "accentForeground": "#f7f8fc", - "backdrop": "#f7f8fc99" - }, - "secondary": { - "accent": "#7aa2f7", - "paragraph": "#3760bf", - "background": "#e1e2e7", - "border": "#767c9d", - "heading": "#3760bf", - "icon": "#3760bf", - "separator": "#767c9d", - "placeholder": "#767c9d", - "hover": "#f0f1f5", - "accentForeground": "#f7f8fc", - "backdrop": "#f7f8fc99" - }, - "disabled": { - "accent": "#7aa2f7", - "paragraph": "#3760bf", - "background": "#767c9d", - "border": "#767c9d", - "heading": "#3760bf", - "icon": "#3760bf", - "separator": "#767c9d", - "placeholder": "#3760bf", - "hover": "#f0f1f5", - "accentForeground": "#f7f8fc", - "backdrop": "#f7f8fc99" - }, - "selected": { - "accent": "#7aa2f7", - "paragraph": "#3760bf", - "background": "#cdd1e3", - "border": "#7aa2f7", - "heading": "#3760bf", - "icon": "#7aa2f7", - "separator": "#767c9d", - "placeholder": "#767c9d", - "hover": "#f0f1f5", - "accentForeground": "#f7f8fc", - "backdrop": "#f7f8fc99" - }, - "error": { - "accent": "#f7768e", - "paragraph": "#f7768e", - "background": "#e1e2e7", - "border": "#767c9d", - "heading": "#f7768e", - "icon": "#f7768e", - "separator": "#767c9d", - "placeholder": "#767c9d", - "hover": "#f0f1f5", - "accentForeground": "#f7f8fc", - "backdrop": "#f7f8fc99" - }, - "success": { - "accent": "#9ece6a", - "paragraph": "#9ece6a", - "background": "#e1e2e7", - "border": "#767c9d", - "heading": "#9ece6a", - "icon": "#9ece6a", - "separator": "#767c9d", - "placeholder": "#767c9d", - "hover": "#f0f1f5", - "accentForeground": "#f7f8fc", - "backdrop": "#f7f8fc99" - } + "primary": { + "accent": "#7aa2f7", + "paragraph": "#3760bf", + "background": "#f7f8fc", + "border": "#f7f8fc", + "heading": "#3760bf", + "icon": "#7aa2f7", + "separator": "#e1e2e7", + "placeholder": "#767c9d", + "hover": "#f0f1f5", + "accentForeground": "#f7f8fc", + "backdrop": "#f7f8fc99" + }, + "secondary": { + "accent": "#7aa2f7", + "paragraph": "#3760bf", + "background": "#e1e2e7", + "border": "#767c9d", + "heading": "#3760bf", + "icon": "#3760bf", + "separator": "#767c9d", + "placeholder": "#767c9d", + "hover": "#f0f1f5", + "accentForeground": "#f7f8fc", + "backdrop": "#f7f8fc99" + }, + "disabled": { + "accent": "#7aa2f7", + "paragraph": "#3760bf", + "background": "#767c9d", + "border": "#767c9d", + "heading": "#3760bf", + "icon": "#3760bf", + "separator": "#767c9d", + "placeholder": "#3760bf", + "hover": "#f0f1f5", + "accentForeground": "#f7f8fc", + "backdrop": "#f7f8fc99" + }, + "selected": { + "accent": "#7aa2f7", + "paragraph": "#3760bf", + "background": "#cdd1e3", + "border": "#7aa2f7", + "heading": "#3760bf", + "icon": "#7aa2f7", + "separator": "#767c9d", + "placeholder": "#767c9d", + "hover": "#f0f1f5", + "accentForeground": "#f7f8fc", + "backdrop": "#f7f8fc99" + }, + "error": { + "accent": "#f7768e", + "paragraph": "#f7768e", + "background": "#e1e2e7", + "border": "#767c9d", + "heading": "#f7768e", + "icon": "#f7768e", + "separator": "#767c9d", + "placeholder": "#767c9d", + "hover": "#f0f1f5", + "accentForeground": "#f7f8fc", + "backdrop": "#f7f8fc99" + }, + "success": { + "accent": "#9ece6a", + "paragraph": "#9ece6a", + "background": "#e1e2e7", + "border": "#767c9d", + "heading": "#9ece6a", + "icon": "#9ece6a", + "separator": "#767c9d", + "placeholder": "#767c9d", + "hover": "#f0f1f5", + "accentForeground": "#f7f8fc", + "backdrop": "#f7f8fc99" + } }, "statusBar": { - "primary": { - "paragraph": "#3760bf", - "background": "#f0f1f5", - "separator": "#f0f1f5" - } + "primary": { + "paragraph": "#3760bf", + "background": "#f0f1f5", + "separator": "#f0f1f5" + } }, "list": { - "primary": { - "paragraph": "#3760bf", - "background": "#e1e2e7", - "hover": "#f0f1f5" - }, - "secondary": { - "paragraph": "#3760bf" - } + "primary": { + "paragraph": "#3760bf", + "background": "#e1e2e7", + "hover": "#f0f1f5" + }, + "secondary": { + "paragraph": "#3760bf" + } }, "editor": { - "primary": { - "background": "#f0f1f5", - "border": "#767c9d" - }, - "secondary": { - "paragraph": "#767c9d", - "border": "#f7f8fc" - } + "primary": { + "background": "#f0f1f5", + "border": "#767c9d" + }, + "secondary": { + "paragraph": "#767c9d", + "border": "#f7f8fc" + } }, "editorToolbar": { - "primary": { - "background": "#e1e2e7", - "hover": "#767c9d33" - }, - "secondary": { - "background": "#767c9d33" - } + "primary": { + "background": "#e1e2e7", + "hover": "#767c9d33" + }, + "secondary": { + "background": "#767c9d33" + } }, "navigationMenu": { - "primary": { - "background": "#f7f8fc" - } + "primary": { + "background": "#f7f8fc" + } }, "sheet": { - "selected": { - "paragraph": "#9ece6a" - } + "selected": { + "paragraph": "#9ece6a" + } } - } -} \ No newline at end of file + } + } \ No newline at end of file diff --git a/themes/tokyonight-moon/v1/code-block.css b/themes/tokyonight-moon/v1/code-block.css index 266d733..7d18868 100644 --- a/themes/tokyonight-moon/v1/code-block.css +++ b/themes/tokyonight-moon/v1/code-block.css @@ -1 +1 @@ -/** * Tokyonight Moon by Riiku * Licenced under the GPL v3 */ pre[class*="language-"] { --base: #24283b; /* Lighter background color */ --surface: #1f2335; --overlay: #414868; --muted: #565f89; --subtle: #565f89; --text: #c0caf5; --love: #f7768e; --gold: #e0af68; --rose: #bb9af7; --pine: #9ece6a; --foam: #7dcfff; --iris: #7aa2f7; --highlight-low: #1f2335; --highlight-med: #414868; --highlight-high: #565f89; } code[class*="language-"], pre[class*="language-"] { background: var(--base); color: var(--text); font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; font-size: 1em; direction: ltr; text-align: left; white-space: pre; word-spacing: normal; word-break: normal; line-height: 1.5; -moz-tab-size: 4; -o-tab-size: 4; tab-size: 4; -webkit-hyphens: none; -moz-hyphens: none; -ms-hyphens: none; hyphens: none; } code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection, pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection, code[class*="language-"]::selection, code[class*="language-"] ::selection, pre[class*="language-"]::selection, pre[class*="language-"] ::selection { background: var(--highlight-med); } pre[class*="language-"] { padding: 1em; margin: 0.5em 0; overflow: auto; border-radius: unset; } :not(pre) > code[class*="language-"] { padding: 0.1em; border-radius: unset; white-space: normal; } .token.comment, .token.prolog, .token.cdata, .token.doctype { color: var(--muted); } .token.punctuation { color: var(--subtle); } .token.entity { color: var(--pine); } .token.boolean { color: var(--rose); } .token.attr-name { color: var(--foam); } .token.class-name { color: var(--text); } .token.constant { color: var (--love); font-style: italic; } .token.number { color: var(--foam); } .token.atrule { color: var(--love); } .token.keyword { color: var(--pine); } .token.property { color: var(--foam); } .token.tag { color: var(--foam); } .token.symbol { color: unset; } .token.deleted { color: var(--love); } .token.important { color: var(--love); } .token.selector { color: var(--rose); } .token.string { color: var(--gold); } .token.char { color: var(--gold); } .token.builtin { color: var(--love); } .token.inserted { color: var(--foam); } .token.regex { color: var(--gold); } .token.attr-value { color: var(--gold); } .token.variable { color: var(--text); } .token.operator { color: var(--subtle); } .token.function { color: var(--rose); font-style: italic; } .token.url { color: var(--iris); } .token.bold { font-weight: bold; } .token.italic { font-style: italic; } .token.entity { cursor: help; } .token.namespace { opacity: 0.7; } +/** * Tokyonight Moon by Riiku * Licenced under the GPL v3 */ pre[class*="language-"] { --base: #24283b; /* Lighter background color */ --surface: #1f2335; --overlay: #414868; --muted: #565f89; --subtle: #565f89; --text: #c0caf5; --love: #f7768e; --gold: #e0af68; --rose: #bb9af7; --pine: #9ece6a; --foam: #7dcfff; --iris: #7aa2f7; --highlight-low: #1f2335; --highlight-med: #414868; --highlight-high: #565f89; } code[class*="language-"], pre[class*="language-"] { background: var(--base); color: var(--text); font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; font-size: 1em; direction: ltr; text-align: left; white-space: pre; word-spacing: normal; word-break: normal; line-height: 1.5; -moz-tab-size: 4; -o-tab-size: 4; tab-size: 4; -webkit-hyphens: none; -moz-hyphens: none; -ms-hyphens: none; hyphens: none; } code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection, pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection, code[class*="language-"]::selection, code[class*="language-"] ::selection, pre[class*="language-"]::selection, pre[class*="language-"] ::selection { background: var(--highlight-med); } pre[class*="language-"] { padding: 1em; margin: 0.5em 0; overflow: auto; border-radius: unset; } :not(pre) > code[class*="language-"] { padding: 0.1em; border-radius: unset; white-space: normal; } .token.comment, .token.prolog, .token.cdata, .token.doctype { color: var(--muted); } .token.punctuation { color: var(--subtle); } .token.entity { color: var(--pine); } .token.boolean { color: var(--rose); } .token.attr-name { color: var(--foam); } .token.class-name { color: var(--text); } .token.constant { color: var (--love); font-style: italic; } .token.number { color: var(--foam); } .token.atrule { color: var(--love); } .token.keyword { color: var(--pine); } .token.property { color: var(--foam); } .token.tag { color: var(--foam); } .token.symbol { color: unset; } .token.deleted { color: var(--love); } .token.important { color: var(--love); } .token.selector { color: var(--rose); } .token.string { color: var(--gold); } .token.char { color: var(--gold); } .token.builtin { color: var(--love); } .token.inserted { color: var(--foam); } .token.regex { color: var(--gold); } .token.attr-value { color: var(--gold); } .token.variable { color: var(--text); } .token.operator { color: var(--subtle); } .token.function { color: var(--rose); font-style: italic; } .token.url { color: var(--iris); } .token.bold { font-weight: bold; } .token.italic { font-style: italic; } .token.entity { cursor: help; } .token.namespace { opacity: 0.7; } \ No newline at end of file diff --git a/themes/tokyonight-moon/v1/theme.json b/themes/tokyonight-moon/v1/theme.json index 733a605..c2e9916 100644 --- a/themes/tokyonight-moon/v1/theme.json +++ b/themes/tokyonight-moon/v1/theme.json @@ -1,150 +1,149 @@ { - "$schema": "https://raw.githubusercontent.com/streetwriters/notesnook-themes/main/schemas/v1.schema.json", - "name": "Tokyonight Moon", - "id": "tokyonight-moon", - "version": 2, - "license": "GPL-3.0-or-later", - "homepage": "https://notesnook.com", - "description": "Tokyonight Moon theme", - "colorScheme": "dark", - "compatibilityVersion": 1, - "authors": [ + "$schema": "https://raw.githubusercontent.com/streetwriters/notesnook-themes/main/schemas/v1.schema.json", + "name": "Tokyonight Moon", + "id": "tokyonight-moon", + "version": 2, + "license": "GPL-3.0-or-later", + "homepage": "https://notesnook.com", + "description": "Tokyonight Moon theme", + "colorScheme": "dark", + "compatibilityVersion": 1, + "authors": [ { - "name": "riiku", - "url": "https://tech.lgbt/@riiku" + "name": "riiku", + "url": "https://tech.lgbt/@riiku" }, { - "name": "Andres M", - "email": "andresmessina@proton.me", - "url": "https://mastodon.social/@aureliuspublius" + "email": "andresmessina@proton.me", + "url": "https://mastodon.social/@aureliuspublius" } - ], - "scopes": { + ], + "scopes": { "base": { - "primary": { - "accent": "#7aa2f7", - "paragraph": "#c0caf5", - "background": "#1a1b26", - "border": "#1a1b26", - "heading": "#c0caf5", - "icon": "#7aa2f7", - "separator": "#1f2335", - "placeholder": "#565f89", - "hover": "#1a1b26", - "accentForeground": "#1a1b26", - "backdrop": "#1a1b2699" - }, - "secondary": { - "accent": "#7aa2f7", - "paragraph": "#c0caf5", - "background": "#1f2335", - "border": "#565f89", - "heading": "#c0caf5", - "icon": "#c0caf5", - "separator": "#565f89", - "placeholder": "#565f89", - "hover": "#1a1b26", - "accentForeground": "#1a1b26", - "backdrop": "#1a1b2699" - }, - "disabled": { - "accent": "#7aa2f7", - "paragraph": "#c0caf5", - "background": "#565f89", - "border": "#565f89", - "heading": "#c0caf5", - "icon": "#c0caf5", - "separator": "#565f89", - "placeholder": "#c0caf5", - "hover": "#565f89", - "accentForeground": "#1a1b26", - "backdrop": "#1a1b2699" - }, - "selected": { - "accent": "#7aa2f7", - "paragraph": "#c0caf5", - "background": "#414868", - "border": "#7aa2f7", - "heading": "#c0caf5", - "icon": "#7aa2f7", - "separator": "#565f89", - "placeholder": "#565f89", - "hover": "#1a1b26", - "accentForeground": "#1a1b26", - "backdrop": "#1a1b2699" - }, - "error": { - "accent": "#f7768e", - "paragraph": "#f7768e", - "background": "#1f2335", - "border": "#565f89", - "heading": "#f7768e", - "icon": "#f7768e", - "separator": "#565f89", - "placeholder": "#565f89", - "hover": "#565f89", - "accentForeground": "#1a1b26", - "backdrop": "#1a1b2699" - }, - "success": { - "accent": "#9ece6a", - "paragraph": "#9ece6a", - "background": "#1f2335", - "border": "#565f89", - "heading": "#9ece6a", - "icon": "#9ece6a", - "separator": "#565f89", - "placeholder": "#565f89", - "hover": "#565f89", - "accentForeground": "#1a1b26", - "backdrop": "#1a1b2699" - } + "primary": { + "accent": "#7aa2f7", + "paragraph": "#c0caf5", + "background": "#1a1b26", + "border": "#1a1b26", + "heading": "#c0caf5", + "icon": "#7aa2f7", + "separator": "#1f2335", + "placeholder": "#565f89", + "hover": "#1a1b26", + "accentForeground": "#1a1b26", + "backdrop": "#1a1b2699" + }, + "secondary": { + "accent": "#7aa2f7", + "paragraph": "#c0caf5", + "background": "#1f2335", + "border": "#565f89", + "heading": "#c0caf5", + "icon": "#c0caf5", + "separator": "#565f89", + "placeholder": "#565f89", + "hover": "#1a1b26", + "accentForeground": "#1a1b26", + "backdrop": "#1a1b2699" + }, + "disabled": { + "accent": "#7aa2f7", + "paragraph": "#c0caf5", + "background": "#565f89", + "border": "#565f89", + "heading": "#c0caf5", + "icon": "#c0caf5", + "separator": "#565f89", + "placeholder": "#c0caf5", + "hover": "#565f89", + "accentForeground": "#1a1b26", + "backdrop": "#1a1b2699" + }, + "selected": { + "accent": "#7aa2f7", + "paragraph": "#c0caf5", + "background": "#414868", + "border": "#7aa2f7", + "heading": "#c0caf5", + "icon": "#7aa2f7", + "separator": "#565f89", + "placeholder": "#565f89", + "hover": "#1a1b26", + "accentForeground": "#1a1b26", + "backdrop": "#1a1b2699" + }, + "error": { + "accent": "#f7768e", + "paragraph": "#f7768e", + "background": "#1f2335", + "border": "#565f89", + "heading": "#f7768e", + "icon": "#f7768e", + "separator": "#565f89", + "placeholder": "#565f89", + "hover": "#565f89", + "accentForeground": "#1a1b26", + "backdrop": "#1a1b2699" + }, + "success": { + "accent": "#9ece6a", + "paragraph": "#9ece6a", + "background": "#1f2335", + "border": "#565f89", + "heading": "#9ece6a", + "icon": "#9ece6a", + "separator": "#565f89", + "placeholder": "#565f89", + "hover": "#565f89", + "accentForeground": "#1a1b26", + "backdrop": "#1a1b2699" + } }, "statusBar": { - "primary": { - "paragraph": "#c0caf5", - "background": "#1a1b26", - "separator": "#1a1b26" - } + "primary": { + "paragraph": "#c0caf5", + "background": "#1a1b26", + "separator": "#1a1b26" + } }, "list": { - "primary": { - "paragraph": "#c0caf5", - "background": "#1f2335", - "hover": "#1a1b26" - }, - "secondary": { - "paragraph": "#c0caf5" - } + "primary": { + "paragraph": "#c0caf5", + "background": "#1f2335", + "hover": "#1a1b26" + }, + "secondary": { + "paragraph": "#c0caf5" + } }, "editor": { - "primary": { - "background": "#1a1b26", - "border": "#565f89" - }, - "secondary": { - "paragraph": "#565f89", - "border": "#1a1b26" - } + "primary": { + "background": "#1a1b26", + "border": "#565f89" + }, + "secondary": { + "paragraph": "#565f89", + "border": "#1a1b26" + } }, "editorToolbar": { - "primary": { - "background": "#1f2335", - "hover": "#565f8933" - }, - "secondary": { - "background": "#565f8933" - } + "primary": { + "background": "#1f2335", + "hover": "#565f8933" + }, + "secondary": { + "background": "#565f8933" + } }, "navigationMenu": { - "primary": { - "background": "#1a1b26" - } + "primary": { + "background": "#1a1b26" + } }, "sheet": { - "selected": { - "paragraph": "#9ece6a" - } + "selected": { + "paragraph": "#9ece6a" + } } - } -} \ No newline at end of file + } + } \ No newline at end of file From 78e1844addd146c48e82959db52963116b48b0e4 Mon Sep 17 00:00:00 2001 From: Ricardo Rodrigues <42903366+echoriiku@users.noreply.github.com> Date: Mon, 29 Jul 2024 09:17:24 -0300 Subject: [PATCH 11/15] updated code-block background color --- themes/rose-pine-dawn/v1/code-block.css | 193 +----------------------- 1 file changed, 1 insertion(+), 192 deletions(-) diff --git a/themes/rose-pine-dawn/v1/code-block.css b/themes/rose-pine-dawn/v1/code-block.css index 7e92fe0..3668554 100644 --- a/themes/rose-pine-dawn/v1/code-block.css +++ b/themes/rose-pine-dawn/v1/code-block.css @@ -1,192 +1 @@ -/** - * Rosé Pine Dawn by Riiku - * Licenced under the GPL v3 - */ - -pre[class*="language-"] { - --base: #faf4ed; - --surface: #f2e9de; - --overlay: #e4dfde; - --muted: #9893a5; - --subtle: #797593; - --text: #575279; - --love: #eb6f92; - --gold: #f6c177; - --rose: #b4637a; - --pine: #286983; - --foam: #56949f; - --iris: #907aa9; - --highlight-low: #dfdad9; - --highlight-med: #dcd7ca; - --highlight-high: #cecacd; -} - -code[class*="language-"], -pre[class*="language-"] { - background: var(--base); - color: var(--text); - font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; - font-size: 1em; - direction: ltr; - text-align: left; - white-space: pre; - word-spacing: normal; - word-break: normal; - line-height: 1.5; - -moz-tab-size: 4; - -o-tab-size: 4; - tab-size: 4; - -webkit-hyphens: none; - -moz-hyphens: none; - -ms-hyphens: none; - hyphens: none; -} - -code[class*="language-"]::-moz-selection, -code[class*="language-"] ::-moz-selection, -pre[class*="language-"]::-moz-selection, -pre[class*="language-"] ::-moz-selection, -code[class*="language-"]::selection, -code[class*="language-"] ::selection, -pre[class*="language-"]::selection, -pre[class*="language-"] ::selection { - background: var(--highlight-med); -} - -pre[class*="language-"] { - padding: 1em; - margin: 0.5em 0; - overflow: auto; - border-radius: unset; -} - -:not(pre) > code[class*="language-"] { - padding: 0.1em; - border-radius: unset; - white-space: normal; -} - -.token.comment, -.token.prolog, -.token.cdata, -.token.doctype { - color: var(--muted); -} - -.token.punctuation { - color: var(--subtle); -} - -.token.entity { - color: var(--pine); -} - -.token.boolean { - color: var(--rose); -} - -.token.attr-name { - color: var(--foam); -} - -.token.class-name { - color: var(--text); -} - -.token.constant { - color: var(--love); - font-style: italic; -} - -.token.number { - color: var(--foam); -} - -.token.atrule { - color: var(--love); -} - -.token.keyword { - color: var(--pine); -} - -.token.property { - color: var(--foam); -} - -.token.tag { - color: var(--foam); -} - -.token.symbol { - color: unset; -} - -.token.deleted { - color: var(--love); -} - -.token.important { - color: var(--love); -} - -.token.selector { - color: var(--rose); -} - -.token.string { - color: var(--gold); -} - -.token.char { - color: var(--gold); -} - -.token.builtin { - color: var(--love); -} - -.token.inserted { - color: var(--foam); -} - -.token.regex { - color: var(--gold); -} - -.token.attr-value { - color: var(--gold); -} - -.token.variable { - color: var(--text); -} - -.token.operator { - color: var(--subtle); -} - -.token.function { - color: var(--rose); - font-style: italic; -} - -.token.url { - color: var(--iris); -} - -.token.bold { - font-weight: bold; -} - -.token.italic { - font-style: italic; -} - -.token.entity { - cursor: help; -} - -.token.namespace { - opacity: 0.7; -} +/** * Rosé Pine Dawn by Riiku * Licenced under the GPL v3 */pre[class*="language-"] { --base: #e4dfde; --surface: #f2e9de; --overlay: #e4dfde; --muted: #9893a5; --subtle: #797593; --text: #575279; --love: #eb6f92; --gold: #f6c177; --rose: #b4637a; --pine: #286983; --foam: #56949f; --iris: #907aa9; --highlight-low: #dfdad9; --highlight-med: #dcd7ca; --highlight-high: #cecacd;}code[class*="language-"],pre[class*="language-"] { background: var(--base); color: var(--text); font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; font-size: 1em; direction: ltr; text-align: left; white-space: pre; word-spacing: normal; word-break: normal; line-height: 1.5; -moz-tab-size: 4; -o-tab-size: 4; tab-size: 4; -webkit-hyphens: none; -moz-hyphens: none; -ms-hyphens: none; hyphens: none;}code[class*="language-"]::-moz-selection,code[class*="language-"] ::-moz-selection,pre[class*="language-"]::-moz-selection,pre[class*="language-"] ::-moz-selection,code[class*="language-"]::selection,code[class*="language-"] ::selection,pre[class*="language-"]::selection,pre[class*="language-"] ::selection { background: var(--highlight-med);}pre[class*="language-"] { padding: 1em; margin: 0.5em 0; overflow: auto; border-radius: unset;}:not(pre) > code[class*="language-"] { padding: 0.1em; border-radius: unset; white-space: normal;}.token.comment,.token.prolog,.token.cdata,.token.doctype { color: var(--muted);}.token.punctuation { color: var(--subtle);}.token.entity { color: var(--pine);}.token.boolean { color: var(--rose);}.token.attr-name { color: var(--foam);}.token.class-name { color: var(--text);}.token.constant { color: var(--love); font-style: italic;}.token.number { color: var(--foam);}.token.atrule { color: var(--love);}.token.keyword { color: var(--pine);}.token.property { color: var(--foam);}.token.tag { color: var(--foam);}.token.symbol { color: unset;}.token.deleted { color: var(--love);}.token.important { color: var(--love);}.token.selector { color: var(--rose);}.token.string { color: var(--gold);}.token.char { color: var(--gold);}.token.builtin { color: var(--love);}.token.inserted { color: var(--foam);}.token.regex { color: var(--gold);}.token.attr-value { color: var(--gold);}.token.variable { color: var(--text);}.token.operator { color: var(--subtle);}.token.function { color: var(--rose); font-style: italic;}.token.url { color: var(--iris);}.token.bold { font-weight: bold;}.token.italic { font-style: italic;}.token.entity { cursor: help;}.token.namespace { opacity: 0.7;} From ca87e35751cdee36294fe1bf3cb0be7c90118f82 Mon Sep 17 00:00:00 2001 From: Ricardo Rodrigues <42903366+echoriiku@users.noreply.github.com> Date: Mon, 29 Jul 2024 09:18:39 -0300 Subject: [PATCH 12/15] changed editor background color --- themes/rose-pine-dawn/v1/theme.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/rose-pine-dawn/v1/theme.json b/themes/rose-pine-dawn/v1/theme.json index 846f426..ef2a394 100644 --- a/themes/rose-pine-dawn/v1/theme.json +++ b/themes/rose-pine-dawn/v1/theme.json @@ -114,7 +114,7 @@ }, "editor": { "primary": { - "background": "#e4dfde", + "background": "#faf4ed", "border": "#9893a5" }, "secondary": { From 92a6105addcaac1788d2180303dedec914540d4c Mon Sep 17 00:00:00 2001 From: Ricardo Rodrigues <42903366+echoriiku@users.noreply.github.com> Date: Mon, 29 Jul 2024 13:55:26 +0000 Subject: [PATCH 13/15] fix missing comma again --- themes/tokyonight-day/v1/theme.json | 1 + themes/tokyonight-moon/v1/theme.json | 1 + 2 files changed, 2 insertions(+) diff --git a/themes/tokyonight-day/v1/theme.json b/themes/tokyonight-day/v1/theme.json index 8e807df..706c540 100644 --- a/themes/tokyonight-day/v1/theme.json +++ b/themes/tokyonight-day/v1/theme.json @@ -14,6 +14,7 @@ "url": "https://tech.lgbt/@riiku" }, { + "name": "Andres M", "email": "andresmessina@proton.me", "url": "https://mastodon.social/@aureliuspublius" } diff --git a/themes/tokyonight-moon/v1/theme.json b/themes/tokyonight-moon/v1/theme.json index c2e9916..9b04718 100644 --- a/themes/tokyonight-moon/v1/theme.json +++ b/themes/tokyonight-moon/v1/theme.json @@ -14,6 +14,7 @@ "url": "https://tech.lgbt/@riiku" }, { + "name": "Andres M", "email": "andresmessina@proton.me", "url": "https://mastodon.social/@aureliuspublius" } From 64d14afdf0bfe94632fdd1f7ba4c67908054f6d0 Mon Sep 17 00:00:00 2001 From: Ricardo Rodrigues Date: Tue, 30 Jul 2024 03:41:51 -0300 Subject: [PATCH 14/15] revert ID changes --- themes/{tokyonight-moon => tokyonight-dark}/v1/code-block.css | 0 themes/{tokyonight-moon => tokyonight-dark}/v1/theme.json | 2 +- themes/{tokyonight-day => tokyonight-light}/v1/code-block.css | 0 themes/{tokyonight-day => tokyonight-light}/v1/theme.json | 2 +- 4 files changed, 2 insertions(+), 2 deletions(-) rename themes/{tokyonight-moon => tokyonight-dark}/v1/code-block.css (100%) rename themes/{tokyonight-moon => tokyonight-dark}/v1/theme.json (99%) rename themes/{tokyonight-day => tokyonight-light}/v1/code-block.css (100%) rename themes/{tokyonight-day => tokyonight-light}/v1/theme.json (99%) diff --git a/themes/tokyonight-moon/v1/code-block.css b/themes/tokyonight-dark/v1/code-block.css similarity index 100% rename from themes/tokyonight-moon/v1/code-block.css rename to themes/tokyonight-dark/v1/code-block.css diff --git a/themes/tokyonight-moon/v1/theme.json b/themes/tokyonight-dark/v1/theme.json similarity index 99% rename from themes/tokyonight-moon/v1/theme.json rename to themes/tokyonight-dark/v1/theme.json index 9b04718..575dfa1 100644 --- a/themes/tokyonight-moon/v1/theme.json +++ b/themes/tokyonight-dark/v1/theme.json @@ -1,7 +1,7 @@ { "$schema": "https://raw.githubusercontent.com/streetwriters/notesnook-themes/main/schemas/v1.schema.json", "name": "Tokyonight Moon", - "id": "tokyonight-moon", + "id": "tokyonight-dark", "version": 2, "license": "GPL-3.0-or-later", "homepage": "https://notesnook.com", diff --git a/themes/tokyonight-day/v1/code-block.css b/themes/tokyonight-light/v1/code-block.css similarity index 100% rename from themes/tokyonight-day/v1/code-block.css rename to themes/tokyonight-light/v1/code-block.css diff --git a/themes/tokyonight-day/v1/theme.json b/themes/tokyonight-light/v1/theme.json similarity index 99% rename from themes/tokyonight-day/v1/theme.json rename to themes/tokyonight-light/v1/theme.json index 706c540..186e85e 100644 --- a/themes/tokyonight-day/v1/theme.json +++ b/themes/tokyonight-light/v1/theme.json @@ -1,7 +1,7 @@ { "$schema": "https://raw.githubusercontent.com/streetwriters/notesnook-themes/main/schemas/v1.schema.json", "name": "Tokyonight Day", - "id": "tokyonight-day", + "id": "tokyonight-light", "version": 2, "license": "GPL-3.0-or-later", "homepage": "https://notesnook.com", From 1942fcd6489e27c846a99c4ffa0e99c47f90d573 Mon Sep 17 00:00:00 2001 From: echoriiku Date: Tue, 30 Jul 2024 17:42:07 +0000 Subject: [PATCH 15/15] fixed the undo/redo button visibility on mobile --- themes/tokyonight-light/v1/theme.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/tokyonight-light/v1/theme.json b/themes/tokyonight-light/v1/theme.json index 186e85e..dd1d8bf 100644 --- a/themes/tokyonight-light/v1/theme.json +++ b/themes/tokyonight-light/v1/theme.json @@ -120,11 +120,11 @@ "editor": { "primary": { "background": "#f0f1f5", - "border": "#767c9d" + "border": "#d2d8ee" }, "secondary": { "paragraph": "#767c9d", - "border": "#f7f8fc" + "border": "#d2d8ee" } }, "editorToolbar": {