A modern, Tailwind CSS-based UI library for Python web frameworks
Project description
EidosUI 🎨
A modern, flexible Tailwind CSS-based UI library for Python web frameworks. Built for maximum developer flexibility while providing excellent defaults.
Abstractions
- Themes: A Theme is a series of CSS variables. See
theme/dark.cssandtheme/light.cssfor examples - Theme Switching is done in
static/eidos-ui.jsthis is all AI generated and not looked at yet so probably bad - Styles are in
styles.pywhere we define data classes based on the css variables defined in the themes. These are a collection of class strings. - components are fasttags that FT components by default. For example
def H1(*content, cls: str = typography_styles.h1, **kwargs) -> ft.H1:
"""Semantic H1 heading"""
return ft.H1(*content, cls=cls, **kwargs)
def Mark(*content, cls: str = typography_styles.mark, **kwargs) -> ft.Mark:
"""Highlighted text"""
return ft.Mark(*content, cls=cls, **kwargs)
def Small(*content, cls: str = typography_styles.small, **kwargs) -> ft.Small:
"""Small text"""
return ft.Small(*content, cls=cls, **kwargs)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
eidosui-0.1.0.tar.gz
(9.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
eidosui-0.1.0-py3-none-any.whl
(10.8 kB
view details)
File details
Details for the file eidosui-0.1.0.tar.gz.
File metadata
- Download URL: eidosui-0.1.0.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0c5463612baa3197e3fea801f1d105767c349347e7c342252e7111489f66fde
|
|
| MD5 |
7ff8a7330baac54e8e17788cbae83393
|
|
| BLAKE2b-256 |
d039b2e71586e2ff29f3464cb01fe938880eb4ea7e1df3386f183e44613b4b09
|
File details
Details for the file eidosui-0.1.0-py3-none-any.whl.
File metadata
- Download URL: eidosui-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2293d8df042935324c33acb24ba8594717231f813b1bbbeba2e7f578c96a6d59
|
|
| MD5 |
7cabf436fa86fca6b6555b966e1b7c9f
|
|
| BLAKE2b-256 |
f02f2dee38a5480905fd67804c2c3f7a2ebb03875c642e6a5fd646e104fa0764
|