mirror of
https://github.com/logseq/logseq.git
synced 2026-05-04 19:06:21 +00:00
Enhance: Color system (#6821)
* refactor: remove redundant utility classes * chore: expose tailwind colors to css vars * refactor: introduce error/warning/success colors * fix: move tailwind utilities import * fix: extend tailwind font sizes * fix: exclude color classes from purge * refactor: admonition component * fix: admonition warning color * fix: notification icon color * fix: capitalize icon title * chore: remove caution color * feat: highlighting system * chore: add color title and remove comment * chore: add color translations * chore: add missing bg classes * refactor: highlight system * fix: color id * fix: bg color value * fix: pdf highlight colors * fix: resolve conflicts * fix: class directive typo
This commit is contained in:
@@ -292,7 +292,7 @@
|
||||
svg/folder)
|
||||
|
||||
(when (and (not market?) unpacked?)
|
||||
[:span.flex.justify-center.text-xs.text-red-500.pt-2 (t :plugin/unpacked)])]
|
||||
[:span.flex.justify-center.text-xs.text-error.pt-2 (t :plugin/unpacked)])]
|
||||
|
||||
[:div.r
|
||||
[:h3.head.text-xl.font-bold.pt-1.5
|
||||
@@ -1004,7 +1004,7 @@
|
||||
[:div
|
||||
[:span.block.whitespace-normal
|
||||
"This plugin "
|
||||
[:strong.text-red-500 "#" name]
|
||||
[:strong.text-error "#" name]
|
||||
" takes too long to load, affecting the application startup time and
|
||||
potentially causing other plugins to fail to load."]
|
||||
|
||||
@@ -1021,7 +1021,7 @@
|
||||
(notification/clear! pid)
|
||||
(notification/show!
|
||||
[:span "The plugin "
|
||||
[:strong.text-red-500 "#" name]
|
||||
[:strong.text-error "#" name]
|
||||
" is disabled."] :success
|
||||
true nil 3000)))
|
||||
(p/catch #(js/console.error %)))))]])
|
||||
|
||||
Reference in New Issue
Block a user