Commit ac4b231
authored
Add theme text color config options (streamlit#12438)
Add configurable text colors for theming:
- `redTextColor`
- `orangeTextColor`
- `yellowTextColor`
- `blueTextColor`
- `greenTextColor`
- `violetTextColor`
- `grayTextColor`
**Order of precedence:**
* Uses configured `redTextColor`
* If there is no configured `redTextColor`, derives it from a provided `redColor` (darkened by 15% for light theme and lightened by 15% for dark theme)
* If neither, falls back to default1 parent 6f5ef1e commit ac4b231
File tree
20 files changed
+1026
-108
lines changed- e2e_playwright
- __snapshots__/linux
- custom_background_colors_test
- custom_main_colors_test
- custom_text_colors_test
- theming
- frontend/lib/src/theme
- lib
- streamlit
- tests/streamlit
- runtime
- proto/streamlit/proto
20 files changed
+1026
-108
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
0 commit comments