From 461533fa07c276a3a98a1b7182bc15fda8969ddd Mon Sep 17 00:00:00 2001 From: dragonwocky Date: Tue, 30 Nov 2021 20:44:04 +1100 Subject: [PATCH] push mit license, corner action color vars --- api/LICENSE | 21 +++++++++++++++++++++ api/client/components/corner-action.css | 14 ++++++++------ api/client/components/corner-action.mjs | 2 +- api/client/components/feather.mjs | 2 +- api/client/components/index.mjs | 2 +- api/client/components/panel.css | 2 +- api/client/components/panel.mjs | 2 +- api/client/components/tooltip.css | 2 +- api/client/components/tooltip.mjs | 2 +- 9 files changed, 36 insertions(+), 13 deletions(-) create mode 100644 api/LICENSE diff --git a/api/LICENSE b/api/LICENSE new file mode 100644 index 0000000..b503961 --- /dev/null +++ b/api/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2021 dragonwocky (https://dragonwocky.me/) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/api/client/components/corner-action.css b/api/client/components/corner-action.css index 9b66eb9..5479dbc 100644 --- a/api/client/components/corner-action.css +++ b/api/client/components/corner-action.css @@ -1,5 +1,5 @@ /* - * notion-enhancer core: api + * notion-enhancer core: components * (c) 2021 dragonwocky (https://dragonwocky.me/) * (c) 2021 CloudHill (https://github.com/CloudHill) * (https://notion-enhancer.github.io/) under the MIT license @@ -28,7 +28,9 @@ display: flex; align-items: center; justify-content: center; - background: var(--theme--tag_default) !important; + color: var(--theme--icon); + fill: var(--theme--icon); + background: var(--theme--ui_corner_action) !important; box-shadow: var(--theme--ui_shadow, rgba(15, 15, 15, 0.15)) 0px 0px 0px 1px, var(--theme--ui_shadow, rgba(15, 15, 15, 0.15)) 0px 2px 4px !important; @@ -36,10 +38,10 @@ cursor: pointer; } #enhancer--corner-actions > div:hover { - background: var(--theme--ui_interactive-hover); + background: var(--theme--ui_corner_action-hover) !important; } #enhancer--corner-actions > div:active { - background: var(--theme--ui_interactive-active); + background: var(--theme--ui_corner_action-active) !important; } #enhancer--corner-actions > div.hidden { display: none; @@ -48,6 +50,6 @@ #enhancer--corner-actions > div > svg { width: 22px; height: 22px; - color: var(--theme--tag_default-text); - fill: var(--theme--tag_default-text); + color: var(--theme--icon); + fill: var(--theme--icon); } diff --git a/api/client/components/corner-action.mjs b/api/client/components/corner-action.mjs index 26abc63..9f05c39 100644 --- a/api/client/components/corner-action.mjs +++ b/api/client/components/corner-action.mjs @@ -1,5 +1,5 @@ /* - * notion-enhancer core: api + * notion-enhancer core: components * (c) 2021 dragonwocky (https://dragonwocky.me/) * (c) 2021 CloudHill (https://github.com/CloudHill) * (https://notion-enhancer.github.io/) under the MIT license diff --git a/api/client/components/feather.mjs b/api/client/components/feather.mjs index 61108a7..97381f5 100644 --- a/api/client/components/feather.mjs +++ b/api/client/components/feather.mjs @@ -1,5 +1,5 @@ /* - * notion-enhancer core: api + * notion-enhancer core: components * (c) 2021 dragonwocky (https://dragonwocky.me/) * (https://notion-enhancer.github.io/) under the MIT license */ diff --git a/api/client/components/index.mjs b/api/client/components/index.mjs index 2119cd9..43c85e4 100644 --- a/api/client/components/index.mjs +++ b/api/client/components/index.mjs @@ -1,5 +1,5 @@ /* - * notion-enhancer core: api + * notion-enhancer core: components * (c) 2021 dragonwocky (https://dragonwocky.me/) * (https://notion-enhancer.github.io/) under the MIT license */ diff --git a/api/client/components/panel.css b/api/client/components/panel.css index 61acbd4..ef72b8d 100644 --- a/api/client/components/panel.css +++ b/api/client/components/panel.css @@ -1,5 +1,5 @@ /* - * notion-enhancer core: api + * notion-enhancer core: components * (c) 2021 dragonwocky (https://dragonwocky.me/) * (c) 2021 CloudHill (https://github.com/CloudHill) * (https://notion-enhancer.github.io/) under the MIT license diff --git a/api/client/components/panel.mjs b/api/client/components/panel.mjs index d08bb6d..d9b5914 100644 --- a/api/client/components/panel.mjs +++ b/api/client/components/panel.mjs @@ -1,5 +1,5 @@ /* - * notion-enhancer core: api + * notion-enhancer core: components * (c) 2021 dragonwocky (https://dragonwocky.me/) * (c) 2021 CloudHill (https://github.com/CloudHill) * (https://notion-enhancer.github.io/) under the MIT license diff --git a/api/client/components/tooltip.css b/api/client/components/tooltip.css index 9f2bbcf..588b960 100644 --- a/api/client/components/tooltip.css +++ b/api/client/components/tooltip.css @@ -1,5 +1,5 @@ /* - * notion-enhancer core: api + * notion-enhancer core: components * (c) 2021 dragonwocky (https://dragonwocky.me/) * (https://notion-enhancer.github.io/) under the MIT license */ diff --git a/api/client/components/tooltip.mjs b/api/client/components/tooltip.mjs index 7abf709..d80f34b 100644 --- a/api/client/components/tooltip.mjs +++ b/api/client/components/tooltip.mjs @@ -1,5 +1,5 @@ /* - * notion-enhancer core: api + * notion-enhancer core: components * (c) 2021 dragonwocky (https://dragonwocky.me/) * (https://notion-enhancer.github.io/) under the MIT license */