rio-labs / rio

WebApps in pure Python. No JavaScript, HTML and CSS needed
https://rio.dev
Apache License 2.0
453 stars 14 forks source link

Alternative Styles for `TextInput` #27

Open Sn3llius opened 1 month ago

Sn3llius commented 1 month ago

Discussed in https://github.com/rio-labs/rio/discussions/26

Originally posted by **reiderin** May 19, 2024 I recently experimented with the AI chatbot example provided and found it to be quite effective. However, I noticed that the default styling of the TextInput component might not suit everyone's preferences, including mine. In particular, I would like to explore the possibility of customizing the styling or introducing alternative styles similar to those used in platforms like OpenAI or Gemini. **Proposal:** 1. Custom Styling Option: Implement a feature that allows users to apply custom styling to the TextInput component. This could involve providing parameters or options to modify attributes such as font, color, size, and border. 2. Predefined Styles: Introduce a set of predefined styles inspired by popular chatbot interfaces like OpenAI or Gemini. Users could choose from these styles to better match their visual preferences.