Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

colour fixes #47

Merged
merged 11 commits into from
Jan 21, 2022
Merged

colour fixes #47

merged 11 commits into from
Jan 21, 2022

Conversation

blorbb
Copy link
Contributor

@blorbb blorbb commented Jan 6, 2022

Which bug report or feature request do these changes address?

light gray tags missing - notion-enhancer/notion-enhancer#894

gruvbox dark tag colours not applying - notion-enhancer/notion-enhancer#888
list and timeline tag colours not applying - notion-enhancer/notion-enhancer#888

also added: apply theme variables to the palette of colours when selecting a tag/background colour

What does your code do and why?

missing light gray tags - added in separately as they only exist in boards and tags.
added a light gray colour variation to all themes, most of them are just the existing gray colour lightened by 30%.

gruvbox dark tag colours not applying - variables were named --gruvbox_light--... instead of --gruvbox_dark--..., fixed this.

list and timeline tag colours not applying - the tags have a style padding-left: 8px but the selector used 6px. removed the 6px; to select the extra tags.

apply theme variables to menu preview - selector on line 295-7 of _mapColors.js and 429-447 (vanilla notion uses callout colours for the highlight palette, changed this to actual highlight colours because highlights are probably used more than callouts. feel free to change back to callout colour if you want.)

tested on extension and browser, have not noticed any selectors picking up on too much.

@dragonwocky dragonwocky merged commit 81213ca into notion-enhancer:dev Jan 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants