Skip to content

Commit

Permalink
Default colors fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-cserrano committed Dec 22, 2023
1 parent 7e3ac1a commit 737b6a8
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ vertical_slider(
default_value=5 ,#Optional - Defaults to 0
min_value= 0, # Defaults to 0
max_value= 10, # Defaults to 10
track_color = "blue", #Optional - Defaults to #D3D3D3
slider_color = ('red','blue'), #Optional - Defaults to #29B5E8
thumb_color= "orange", #Optional - Defaults to #11567f
track_color = "blue", #Optional - Defaults to Streamlit Red
slider_color = ('red','blue'), #Optional
thumb_color= "orange", #Optional - Defaults to Streamlit Red
value_always_visible = True ,#Optional - Defaults to False
)
```
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

setuptools.setup(
name="streamlit_vertical_slider",
version="2.5.3",
version="2.5.5",
author="Carlos D. Serrano",
author_email="[email protected]",
description="Creates a customizable vertical slider",
Expand Down
8 changes: 4 additions & 4 deletions streamlit_vertical_slider/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ def vertical_slider(
default_value: [int, float] = 0,
min_value: [int, float] = 0,
max_value: [int, float] = 10,
track_color: str = "#D3D3D3",
slider_color: [str, tuple] = "#29B5E8",
thumb_color: str = "#11567f",
value_always_visible: bool = True,
track_color: str = "#E5E9F1",
slider_color: [str, tuple] = "#FF4B4B",
thumb_color: str = "#FF4B4B",
value_always_visible: bool = False,
):
assert thumb_shape in ["circle", "square", "pill"]
if default_value < min_value:
Expand Down
2 changes: 1 addition & 1 deletion streamlit_vertical_slider/frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "streamlit_vertical_slider",
"version": "2.5.2",
"version": "2.5.4",
"private": true,
"dependencies": {
"@emotion/react": "^11.11.1",
Expand Down

0 comments on commit 737b6a8

Please sign in to comment.