From 2df027e88882ef3a5bbacc22646e1801b96cbe73 Mon Sep 17 00:00:00 2001 From: dragonwocky Date: Wed, 6 Oct 2021 17:55:04 +1100 Subject: [PATCH] theme: cherry cola --- .../client.css | 2 +- .../client.mjs | 2 +- .../mod.json | 2 +- .../client.css | 2 +- .../client.mjs | 2 +- .../mod.json | 2 +- .../mod.json | 22 +++ .../variables.css | 125 ++++++++++++++++++ .../mod.json | 2 +- .../variables.css | 2 +- .../client.css | 2 +- .../client.mjs | 1 - repo/registry.json | 3 +- 13 files changed, 158 insertions(+), 11 deletions(-) create mode 100644 repo/cherry-cola@ec5c4640-68d4-4d25-aefd-62c7e9737cfb/mod.json create mode 100644 repo/cherry-cola@ec5c4640-68d4-4d25-aefd-62c7e9737cfb/variables.css rename repo/{material-ocean@d0c0fc64-30d6-4f5d-bc8e-b1b8a19a6b66 => material-ocean@69e7ccb2-4aef-484c-876d-3de1b433d2b9}/mod.json (91%) rename repo/{material-ocean@d0c0fc64-30d6-4f5d-bc8e-b1b8a19a6b66 => material-ocean@69e7ccb2-4aef-484c-876d-3de1b433d2b9}/variables.css (99%) diff --git a/repo/bypass-preview@cb6fd684-f113-4a7a-9423-8f0f0cff069f/client.css b/repo/bypass-preview@cb6fd684-f113-4a7a-9423-8f0f0cff069f/client.css index 7cf79f8..91850ab 100644 --- a/repo/bypass-preview@cb6fd684-f113-4a7a-9423-8f0f0cff069f/client.css +++ b/repo/bypass-preview@cb6fd684-f113-4a7a-9423-8f0f0cff069f/client.css @@ -1,5 +1,5 @@ /* - * notion-enhancer: bypass-preview + * notion-enhancer: bypass preview * (c) 2021 dragonwocky (https://dragonwocky.me/) * (https://notion-enhancer.github.io/) under the MIT license */ diff --git a/repo/bypass-preview@cb6fd684-f113-4a7a-9423-8f0f0cff069f/client.mjs b/repo/bypass-preview@cb6fd684-f113-4a7a-9423-8f0f0cff069f/client.mjs index bff9c77..d831e75 100644 --- a/repo/bypass-preview@cb6fd684-f113-4a7a-9423-8f0f0cff069f/client.mjs +++ b/repo/bypass-preview@cb6fd684-f113-4a7a-9423-8f0f0cff069f/client.mjs @@ -1,5 +1,5 @@ /* - * notion-enhancer: bypass-preview + * notion-enhancer: bypass preview * (c) 2021 dragonwocky (https://dragonwocky.me/) * (https://notion-enhancer.github.io/) under the MIT license */ diff --git a/repo/bypass-preview@cb6fd684-f113-4a7a-9423-8f0f0cff069f/mod.json b/repo/bypass-preview@cb6fd684-f113-4a7a-9423-8f0f0cff069f/mod.json index 1d0cfb4..bda76dc 100644 --- a/repo/bypass-preview@cb6fd684-f113-4a7a-9423-8f0f0cff069f/mod.json +++ b/repo/bypass-preview@cb6fd684-f113-4a7a-9423-8f0f0cff069f/mod.json @@ -1,5 +1,5 @@ { - "name": "bypass-preview", + "name": "bypass preview", "id": "cb6fd684-f113-4a7a-9423-8f0f0cff069f", "version": "0.2.0", "description": "go straight to the normal full view when opening a page.", diff --git a/repo/calendar-scroll@b1c7db33-dfee-489a-a76c-0dd66f7ed29a/client.css b/repo/calendar-scroll@b1c7db33-dfee-489a-a76c-0dd66f7ed29a/client.css index a06fe12..9ba286c 100644 --- a/repo/calendar-scroll@b1c7db33-dfee-489a-a76c-0dd66f7ed29a/client.css +++ b/repo/calendar-scroll@b1c7db33-dfee-489a-a76c-0dd66f7ed29a/client.css @@ -1,5 +1,5 @@ /* - * notion-enhancer: calendar-scroll + * notion-enhancer: calendar scroll * (c) 2021 dragonwocky (https://dragonwocky.me/) * (https://notion-enhancer.github.io/) under the MIT license */ diff --git a/repo/calendar-scroll@b1c7db33-dfee-489a-a76c-0dd66f7ed29a/client.mjs b/repo/calendar-scroll@b1c7db33-dfee-489a-a76c-0dd66f7ed29a/client.mjs index b6585c6..f39f24f 100644 --- a/repo/calendar-scroll@b1c7db33-dfee-489a-a76c-0dd66f7ed29a/client.mjs +++ b/repo/calendar-scroll@b1c7db33-dfee-489a-a76c-0dd66f7ed29a/client.mjs @@ -1,5 +1,5 @@ /* - * notion-enhancer: calendar-scroll + * notion-enhancer: calendar scroll * (c) 2021 dragonwocky (https://dragonwocky.me/) * (https://notion-enhancer.github.io/) under the MIT license */ diff --git a/repo/calendar-scroll@b1c7db33-dfee-489a-a76c-0dd66f7ed29a/mod.json b/repo/calendar-scroll@b1c7db33-dfee-489a-a76c-0dd66f7ed29a/mod.json index 1e38790..8044b7e 100644 --- a/repo/calendar-scroll@b1c7db33-dfee-489a-a76c-0dd66f7ed29a/mod.json +++ b/repo/calendar-scroll@b1c7db33-dfee-489a-a76c-0dd66f7ed29a/mod.json @@ -1,5 +1,5 @@ { - "name": "calendar-scroll", + "name": "calendar scroll", "id": "b1c7db33-dfee-489a-a76c-0dd66f7ed29a", "version": "0.2.0", "description": "add a button to jump down to the current week in fullpage/infinite-scroll calendars.", diff --git a/repo/cherry-cola@ec5c4640-68d4-4d25-aefd-62c7e9737cfb/mod.json b/repo/cherry-cola@ec5c4640-68d4-4d25-aefd-62c7e9737cfb/mod.json new file mode 100644 index 0000000..25c98db --- /dev/null +++ b/repo/cherry-cola@ec5c4640-68d4-4d25-aefd-62c7e9737cfb/mod.json @@ -0,0 +1,22 @@ +{ + "name": "cherry cola", + "id": "ec5c4640-68d4-4d25-aefd-62c7e9737cfb", + "version": "0.2.0", + "description": "a delightfully plummy, cherry cola flavored theme.", + "tags": ["theme", "dark"], + "authors": [ + { + "name": "runargs", + "email": "alnbaldon@gmail.com", + "homepage": "http://github.com/runargs", + "avatar": "https://avatars.githubusercontent.com/u/39810066" + } + ], + "css": { + "frame": ["variables.css"], + "client": ["variables.css"], + "menu": ["variables.css"] + }, + "js": {}, + "options": [] +} diff --git a/repo/cherry-cola@ec5c4640-68d4-4d25-aefd-62c7e9737cfb/variables.css b/repo/cherry-cola@ec5c4640-68d4-4d25-aefd-62c7e9737cfb/variables.css new file mode 100644 index 0000000..32e70a6 --- /dev/null +++ b/repo/cherry-cola@ec5c4640-68d4-4d25-aefd-62c7e9737cfb/variables.css @@ -0,0 +1,125 @@ +/* + * notion-enhancer: cherry cola + * (c) 2020 Alexa Baldon (https://github.com/runargs) + * under the MIT license + */ + +:root.dark { + --cola--main: #180915; + --cola--sec: #1d0919; + --cola--tet: #492341; + --cola--info: #9b6890; + --cola--accent: #bf799b; + --cola--gray: #8a8a8a; + --cola--brown: #755241; + --cola--orange: #e6846b; + --cola--yellow: #d7b56e; + --cola--green: #8f9b4f; + --cola--blue: #6ebdb7; + --cola--purple: #813d63; + --cola--pink: #d86f71; + --cola--red: #a33232; + + --theme--accent_blue: var(--cola--accent); + --theme--accent_blue-selection: rgba(78, 32, 69, 0.5); + --theme--accent_blue-hover: #bd6992; + --theme--accent_blue-focus: #cc86a8; + --theme--accent_blue-text: #fff; + --theme--accent_red: var(--cola--accent); + --theme--accent_red-hover: #bf799b63; + --theme--accent_red-text: #fff; + + --theme--bg: var(--cola--main); + --theme--bg_secondary: var(--cola--sec); + --theme--bg_popup: var(--cola--sec); + + --theme--scrollbar_track: transparent; + --theme--scrollbar_thumb: var(--cola--sec); + --theme--scrollbar_thumb-hover: var(--cola--accent); + + --theme--ui_divider: rgba(73, 35, 65, 0.7); + --theme--ui_interactive-hover: var(--cola--tet); + --theme--ui_interactive-active: var(--cola--tet); + --theme--ui_toggle-off: rgba(73, 35, 65, 0.7); + + --theme--icon: var(--cola--gray); + --theme--icon_secondary: var(--cola--info); + + --theme--text: #fff; + --theme--text_secondary: var(--cola--info); + --theme--text_gray: var(--cola--gray); + --theme--text_brown: var(--cola--brown); + --theme--text_orange: var(--cola--orange); + --theme--text_yellow: var(--cola--yellow); + --theme--text_green: var(--cola--green); + --theme--text_blue: var(--cola--blue); + --theme--text_purple: var(--cola--purple); + --theme--text_pink: var(--cola--pink); + --theme--text_red: var(--cola--red); + + --theme--highlight-text: var(--theme--tag-text); + --theme--highlight_gray: var(--theme--tag_gray); + --theme--highlight_brown: var(--theme--tag_brown); + --theme--highlight_orange: var(--theme--tag_orange); + --theme--highlight_yellow: var(--theme--tag_yellow); + --theme--highlight_green: var(--theme--tag_green); + --theme--highlight_blue: var(--theme--tag_blue); + --theme--highlight_purple: var(--theme--tag_purple); + --theme--highlight_pink: var(--theme--tag_pink); + --theme--highlight_red: var(--theme--tag_red); + + --theme--block-text: var(--cola--main); + --theme--block_gray: var(--cola--gray); + --theme--block_brown: var(--cola--brown); + --theme--block_orange: var(--cola--orange); + --theme--block_yellow: var(--cola--yellow); + --theme--block_green: var(--cola--green); + --theme--block_blue: var(--cola--blue); + --theme--block_purple: var(--cola--purple); + --theme--block_pink: var(--cola--pink); + --theme--block_red: var(--cola--red); + + --theme--tag-text: var(--cola--main); + --theme--tag_gray: var(--cola--gray); + --theme--tag_brown: var(--cola--brown); + --theme--tag_brown-text: #ffffff; + --theme--tag_orange: var(--cola--orange); + --theme--tag_yellow: var(--cola--yellow); + --theme--tag_green: var(--cola--green); + --theme--tag_blue: var(--cola--blue); + --theme--tag_purple: var(--cola--purple); + --theme--tag_purple-text: #ffffff; + --theme--tag_pink: var(--cola--pink); + --theme--tag_red: var(--cola--red); + --theme--tag_red-text: #ffffff; + + --theme--callout-text: var(--theme--block-text); + --theme--callout_gray: var(--theme--block_gray); + --theme--callout_brown: var(--theme--block_brown); + --theme--callout_orange: var(--theme--block_orange); + --theme--callout_yellow: var(--theme--block_yellow); + --theme--callout_green: var(--theme--block_green); + --theme--callout_blue: var(--theme--block_blue); + --theme--callout_purple: var(--theme--block_purple); + --theme--callout_pink: var(--theme--block_pink); + --theme--callout_red: var(--theme--block_red); + + --theme--code_inline: var(--cola--main); + --theme--code_inline-text: var(--cola--accent); + + --theme--code: var(--cola--sec); + --theme--code_function: var(--theme--text_blue); + --theme--code_keyword: var(--theme--text_pink); + --theme--code_tag: var(--theme--text_pink); + --theme--code_operator: var(--theme--text_yellow); + --theme--code_property: var(--theme--text_pink); + --theme--code_builtin: var(--theme--text_yellow); + --theme--code_attr-name: var(--theme--text_yellow); + --theme--code_comment: var(--theme--text_gray); + --theme--code_punctuation: var(--theme--text_gray); + --theme--code_doctype: var(--theme--text_gray); + --theme--code_number: var(--theme--text_purple); + --theme--code_selector: var(--theme--text_orange); + --theme--code_atrule: var(--theme--text_orange); + --theme--code_regex: var(--theme--text_yellow); +} diff --git a/repo/material-ocean@d0c0fc64-30d6-4f5d-bc8e-b1b8a19a6b66/mod.json b/repo/material-ocean@69e7ccb2-4aef-484c-876d-3de1b433d2b9/mod.json similarity index 91% rename from repo/material-ocean@d0c0fc64-30d6-4f5d-bc8e-b1b8a19a6b66/mod.json rename to repo/material-ocean@69e7ccb2-4aef-484c-876d-3de1b433d2b9/mod.json index 38896d1..af763aa 100644 --- a/repo/material-ocean@d0c0fc64-30d6-4f5d-bc8e-b1b8a19a6b66/mod.json +++ b/repo/material-ocean@69e7ccb2-4aef-484c-876d-3de1b433d2b9/mod.json @@ -1,6 +1,6 @@ { "name": "material ocean", - "id": "d0c0fc64-30d6-4f5d-bc8e-b1b8a19a6b66", + "id": "69e7ccb2-4aef-484c-876d-3de1b433d2b9", "version": "0.2.0", "description": "an oceanic colour palette.", "tags": ["theme", "dark"], diff --git a/repo/material-ocean@d0c0fc64-30d6-4f5d-bc8e-b1b8a19a6b66/variables.css b/repo/material-ocean@69e7ccb2-4aef-484c-876d-3de1b433d2b9/variables.css similarity index 99% rename from repo/material-ocean@d0c0fc64-30d6-4f5d-bc8e-b1b8a19a6b66/variables.css rename to repo/material-ocean@69e7ccb2-4aef-484c-876d-3de1b433d2b9/variables.css index dfd4a14..c020a29 100644 --- a/repo/material-ocean@d0c0fc64-30d6-4f5d-bc8e-b1b8a19a6b66/variables.css +++ b/repo/material-ocean@69e7ccb2-4aef-484c-876d-3de1b433d2b9/variables.css @@ -1,5 +1,5 @@ /* - * material ocean + * notion-enhancer: material ocean * (c) 2020 Abubakar Yagoub (https://blacksuan19.tk) * under the MIT license */ diff --git a/repo/menu@a6621988-551d-495a-97d8-3c568bca2e9e/client.css b/repo/menu@a6621988-551d-495a-97d8-3c568bca2e9e/client.css index e21c00a..13b3730 100644 --- a/repo/menu@a6621988-551d-495a-97d8-3c568bca2e9e/client.css +++ b/repo/menu@a6621988-551d-495a-97d8-3c568bca2e9e/client.css @@ -45,7 +45,7 @@ text-overflow: ellipsis; } -.enhancer--sidebarMenuLink[data-has-notifications] { +.enhancer--sidebarMenuLink:active { color: var(--theme--text); } .enhancer--sidebarMenuLink > div > .enhancer--notificationBubble { diff --git a/repo/menu@a6621988-551d-495a-97d8-3c568bca2e9e/client.mjs b/repo/menu@a6621988-551d-495a-97d8-3c568bca2e9e/client.mjs index 8f2520b..51c22d1 100644 --- a/repo/menu@a6621988-551d-495a-97d8-3c568bca2e9e/client.mjs +++ b/repo/menu@a6621988-551d-495a-97d8-3c568bca2e9e/client.mjs @@ -48,7 +48,6 @@ export default async function (api, db) { } } if (notifications.count) { - $sidebarLink.dataset.hasNotifications = true; web.render( $sidebarLink.children[0], web.html`
${notifications.count}
` diff --git a/repo/registry.json b/repo/registry.json index 2be72e5..d8f95af 100644 --- a/repo/registry.json +++ b/repo/registry.json @@ -5,5 +5,6 @@ "tweaks@5174a483-c88d-4bf8-a95f-35cd330b76e2", "bypass-preview@cb6fd684-f113-4a7a-9423-8f0f0cff069f", "calendar-scroll@b1c7db33-dfee-489a-a76c-0dd66f7ed29a", - "material-ocean@d0c0fc64-30d6-4f5d-bc8e-b1b8a19a6b66" + "material-ocean@69e7ccb2-4aef-484c-876d-3de1b433d2b9", + "cherry-cola@ec5c4640-68d4-4d25-aefd-62c7e9737cfb" ]