Browse Source

use Tailwind classes for link color instead of Quasar's

Falko Schindler 2 năm trước cách đây
mục cha
commit
4cf7466657
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      nicegui/elements/link.py

+ 1 - 1
nicegui/elements/link.py

@@ -20,7 +20,7 @@ class Link(TextElement):
         """
         super().__init__(tag='a', text=text)
         self._props['href'] = target if isinstance(target, str) else globals.page_routes[target]
-        self._classes.extend(['underline', 'text-blue'])
+        self._classes.extend(['underline', 'text-blue-500'])
 
 
 class LinkTarget(Element):