mirror of
https://github.com/logseq/logseq.git
synced 2026-04-28 16:15: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:
@@ -170,8 +170,8 @@
|
||||
[:div.input-hints.text-sm.py-2.px-3.rounded.mb-2.mt-2.flex.items-center
|
||||
(if-let [display-str (:fail set-remote-graph-pwd-result)]
|
||||
[:<>
|
||||
[:span.flex.pr-1.text-red-600 (ui/icon "alert-circle" {:class "text-md mr-1"})]
|
||||
[:span.text-red-600 display-str]]
|
||||
[:span.flex.pr-1.text-error (ui/icon "alert-circle" {:class "text-md mr-1"})]
|
||||
[:span.text-error display-str]]
|
||||
[:<>
|
||||
[:span.flex.pr-1 (ui/icon "bulb" {:class "text-md mr-1"})]
|
||||
[:span "Please enter the password for this graph to continue syncing."]])]])
|
||||
@@ -187,8 +187,8 @@
|
||||
(not (string/blank? @*pw-confirm)))
|
||||
(if (or (not (pattern-ok?))
|
||||
(not= @*password @*pw-confirm))
|
||||
[:span.flex.pr-1.text-red-600 (ui/icon "alert-circle" {:class "text-md mr-1"})]
|
||||
[:span.flex.pr-1.text-green-600 (ui/icon "circle-check" {:class "text-md mr-1"})])
|
||||
[:span.flex.pr-1.text-error (ui/icon "alert-circle" {:class "text-md mr-1"})]
|
||||
[:span.flex.pr-1.text-success (ui/icon "circle-check" {:class "text-md mr-1"})])
|
||||
[:span.flex.pr-1 (ui/icon "bulb" {:class "text-md mr-1"})])
|
||||
|
||||
(if (not (string/blank? @*password))
|
||||
|
||||
Reference in New Issue
Block a user