From 09f22c017266f51e400eeb2c6fe9190122dd4356 Mon Sep 17 00:00:00 2001 From: Ricardo Rodrigues Date: Wed, 7 Aug 2024 16:32:58 -0300 Subject: [PATCH] Feat: add nanab berry pastel theme --- themes/nanab-berry/v1/code-block.css | 1 + themes/nanab-berry/v1/theme.json | 146 +++++++++++++++++++++++++++ 2 files changed, 147 insertions(+) create mode 100644 themes/nanab-berry/v1/code-block.css create mode 100644 themes/nanab-berry/v1/theme.json diff --git a/themes/nanab-berry/v1/code-block.css b/themes/nanab-berry/v1/code-block.css new file mode 100644 index 0000000..0e18881 --- /dev/null +++ b/themes/nanab-berry/v1/code-block.css @@ -0,0 +1 @@ +code[class*="language-"], pre[class*="language-"] { background: #e6e6f2; 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: #66bb6a; } .token.boolean { color: #c2185b; } .token.attr-name { color: #00acc1; } .token.class-name { color: #3e2723; } .token.constant { color: #c2185b; font-style: italic; } .token.number { color: #00acc1; } .token.atrule { color: #c2185b; } .token.keyword { color: #66bb6a; } .token.property { color: #00acc1; } .token.tag { color: #00acc1; } .token.symbol { color: unset; } .token.deleted { color: #c2185b; } .token.important { color: #c2185b; } .token.selector { color: #c2185b; } .token.string { color: #ffa726; } .token.char { color: #ffa726; } .token.builtin { color: #c2185b; } .token.inserted { color: #00acc1; } .token.regex { color: #ffa726; } .token.attr-value { color: #ffa726; } .token.variable { color: #3e2723; } .token.operator { color: #bdbdbd; } .token.function { color: #c2185b; 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/nanab-berry/v1/theme.json b/themes/nanab-berry/v1/theme.json new file mode 100644 index 0000000..5710bb8 --- /dev/null +++ b/themes/nanab-berry/v1/theme.json @@ -0,0 +1,146 @@ +{ + "$schema": "https://raw.githubusercontent.com/streetwriters/notesnook-themes/main/schemas/v1.schema.json", + "name": "Nanab Berry", + "id": "nanab-berry", + "version": 1, + "license": "GPL-3.0-or-later", + "homepage": "https://notesnook.com", + "description": "A pastel light theme with soft colors", + "colorScheme": "light", + "compatibilityVersion": 1, + "authors": [ + { + "name": "riiku", + "email": "ricardo.ars@proton.me", + "url": "https://tech.lgbt/@riiku" + } + ], + "scopes": { + "base": { + "primary": { + "accent": "#E1AFD1", + "paragraph": "#5b5b5b", + "background": "#FFE6E6", + "border": "#AD88C6", + "heading": "#333333", + "icon": "#333333", + "separator": "#AD88C6", + "placeholder": "#999999", + "hover": "#e1afd1", + "accentForeground": "#FFE6E6", + "backdrop": "#FFE6E699" + }, + "secondary": { + "accent": "#E1AFD1", + "paragraph": "#5b5b5b", + "background": "#FFE6E6", + "border": "#AD88C6", + "heading": "#333333", + "icon": "#333333", + "separator": "#AD88C6", + "placeholder": "#999999", + "hover": "#e1afd1", + "accentForeground": "#FFE6E6", + "backdrop": "#FFE6E699" + }, + "disabled": { + "accent": "#E1AFD1", + "paragraph": "#999999", + "background": "#7469B6", + "border": "#AD88C6", + "heading": "#999999", + "icon": "#999999", + "separator": "#AD88C6", + "placeholder": "#999999", + "hover": "#e1afd1", + "accentForeground": "#FFE6E6", + "backdrop": "#FFE6E699" + }, + "selected": { + "accent": "#E1AFD1", + "paragraph": "#5b5b5b", + "background": "#E6E6F2", + "border": "#E1AFD1", + "heading": "#333333", + "icon": "#E1AFD1", + "separator": "#AD88C6", + "placeholder": "#999999", + "hover": "#e1afd1", + "accentForeground": "#FFE6E6", + "backdrop": "#FFE6E699" + }, + "error": { + "accent": "#FF6666", + "paragraph": "#FF6666", + "background": "#FFE6E6", + "border": "#AD88C6", + "heading": "#FF6666", + "icon": "#FF6666", + "separator": "#AD88C6", + "placeholder": "#999999", + "hover": "#e1afd1", + "accentForeground": "#FFE6E6", + "backdrop": "#FFE6E699" + }, + "success": { + "accent": "#66CC66", + "paragraph": "#66CC66", + "background": "#FFE6E6", + "border": "#AD88C6", + "heading": "#66CC66", + "icon": "#66CC66", + "separator": "#AD88C6", + "placeholder": "#999999", + "hover": "#e1afd1", + "accentForeground": "#FFE6E6", + "backdrop": "#FFE6E699" + } + }, + "statusBar": { + "primary": { + "paragraph": "#333333", + "background": "#FFE6E6", + "separator": "#AD88C6" + } + }, + "list": { + "primary": { + "paragraph": "#5b5b5b", + "background": "#FFDFD6", + "hover": "#FFE6E6" + }, + "secondary": { + "paragraph": "#333333" + } + }, + "editor": { + "primary": { + "background": "#FFE6E6", + "border": "#AD88C6" + }, + "secondary": { + "paragraph": "#999999", + "border": "#FFE6E6" + } + }, + "editorToolbar": { + "primary": { + "background": "#FFDFD6", + "hover": "#AD88C633" + }, + "secondary": { + "background": "#AD88C633" + } + }, + "navigationMenu": { + "primary": { + "background": "#FFE6E6" + } + }, + "sheet": { + "selected": { + "paragraph": "#66CC66" + } + } + } +} \ No newline at end of file