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:
Konstantinos
2022-10-07 06:54:06 +03:00
committed by GitHub
parent 35763e75ce
commit 6007d6061f
19 changed files with 196 additions and 500 deletions

View File

@@ -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 %)))))]])