justpy-org / justpy

An object oriented high-level Python Web Framework that requires no frontend programming
https://justpy.io
Apache License 2.0
1.22k stars 96 forks source link

Tailwind class and used Tailwind version are not in sync #622

Closed tholzheim closed 1 year ago

tholzheim commented 2 years ago

The Tailwind class https://github.com/justpy-org/justpy/blob/bb97f39179ccd7f0fe27b81cebd95cc804e5c0ea/jpcore/tailwind.py#L4 contains class names that are not supported by the used Tailwind version 2.2.7 https://github.com/justpy-org/justpy/blob/bb97f39179ccd7f0fe27b81cebd95cc804e5c0ea/justpy/templates/local/tailwind/base.css#L1

For example several color options are listed in tailwind.py but using those results in invisible html objects. e.g.

tholzheim commented 2 years ago

part of #528

tholzheim commented 2 years ago

The color css classes are located in justpy/templates/local/tailwind/utilities.css. The file has no indication of a tailwind version so I assume it has the same as the base.css

WolfgangFahl commented 1 year ago

see #685