-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: regression issues from v0.5 (#29)
* fix: whiteboard tooltip container styles * fix: button icon color fav and recent tab * comment out temp vars * fix: theme selection hover, selected color * init support for logseq accent * feat: start using catppuccin/palette * fix: whiteboard shape background color * fix: latte in logseq accent * fix
- Loading branch information
Showing
13 changed files
with
170 additions
and
176 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,58 @@ | ||
:root:not([data-color]), :root[data-color='none'] { | ||
:root:not([data-color]), :root[data-color='none'], :root[data-theme=dark][data-color='logseq'] { | ||
/* | ||
--background: 192 100% 11%; | ||
--foreground: 0 0% 95%; | ||
--accent: 192 80% 10%; | ||
--accent-foreground: 255 92% 100%; | ||
--primary: 200 97% 37%; | ||
--primary-foreground: 255 92% 100%; | ||
--ring: 200 97% 37%; | ||
--secondary: 203 50% 20%; | ||
--secondary-foreground: 0 0% 98%; | ||
--muted: 192 100% 13%; | ||
--card: 192 100% 10%; | ||
--card-foreground: 0 0% 95%; | ||
--popover: 192 100% 11%; | ||
--input: 203 35% 25%; | ||
*/ | ||
--border: var(--ctp-surface0-hsl); | ||
|
||
--lx-popover-bg: var(--ctp-secondary-background-color); | ||
} | ||
|
||
html[data-color=logseq][data-theme=light] { | ||
/* | ||
--primary: 200 97% 37%; | ||
--primary-foreground: 255 92% 100%; | ||
--accent: 200 97% 37%; | ||
--accent-foreground: 255 92% 100%; | ||
--ring: 200 97% 37%; | ||
*/ | ||
--lx-gray-01: initial; | ||
--lx-gray-02: initial; | ||
--lx-gray-03: initial; | ||
--lx-gray-04: initial; | ||
--lx-gray-05: initial; | ||
--lx-gray-06: initial; | ||
--lx-gray-07: initial; | ||
--lx-gray-08: initial; | ||
--lx-gray-09: initial; | ||
--lx-gray-10: initial; | ||
--lx-gray-11: initial; | ||
--lx-gray-12: initial; | ||
} | ||
|
||
html[data-color=logseq] { | ||
--lx-accent-01: initial; | ||
--lx-accent-02: initial; | ||
--lx-accent-03: initial; | ||
--lx-accent-04: initial; | ||
--lx-accent-05: initial; | ||
--lx-accent-06: initial; | ||
--lx-accent-07: initial; | ||
--lx-accent-08: initial; | ||
--lx-accent-09: initial; | ||
--lx-accent-10: initial; | ||
--lx-accent-11: initial; | ||
--lx-accent-12: initial; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
@use "@catppuccin/palette/scss/catppuccin" as catppuccin; | ||
@use 'sass:math'; | ||
|
||
@function strip-unit($value) { | ||
@return math.div($value, ($value * 0 + 1)); | ||
} | ||
|
||
@function hex-to-hsl($hexColor) { | ||
@return #{math.round(strip-unit(hue($hexColor)))}, #{math.round(saturation($hexColor))}, #{math.round(lightness($hexColor))} | ||
} | ||
|
||
@function hex-to-rgb($hexColor) { | ||
@return #{red($hexColor)}, #{green($hexColor)}, #{blue($hexColor)} | ||
} | ||
|
||
@mixin ctp-hsl-vars ($flavor) { | ||
@each $color, $hex in map-get(catppuccin.$palette, $flavor) { | ||
--ctp-#{$color}-hsl: #{hex-to-hsl($hex)}; | ||
} | ||
} | ||
|
||
@mixin ctp-rgb-vars ($flavor) { | ||
@each $color, $hex in map-get(catppuccin.$palette, $flavor) { | ||
--ctp-#{$color}: #{hex-to-rgb($hex)}; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.