File tree 3 files changed +54
-3
lines changed
3 files changed +54
-3
lines changed Original file line number Diff line number Diff line change @@ -59,12 +59,13 @@ Below are several examples showcasing different ways to generate progress bars.
59
59
60
60
## Styles
61
61
62
- We currently have ` flat ` (default) and ` square ` styles:
62
+ We currently have ` flat ` (default), ` square ` and ` plastic ` styles:
63
63
64
64
| Example Preview | URL |
65
65
| ---------------------------------------------------------------------------------| ------------------------------------------------------------------------------------------|
66
66
| ![ Progress] ( https://progress-bar.xyz/100/?style=flat ) | [ https://progress-bar.xyz/100/?style=flat ] ( https://progress-bar.xyz/100/?style=flat ) |
67
67
| ![ Progress] ( https://progress-bar.xyz/100/?style=square ) | [ https://progress-bar.xyz/100/?style=square ] ( https://progress-bar.xyz/100/?style=square ) |
68
+ | ![ Progress] ( https://progress-bar.xyz/100/?style=plastic ) | [ https://progress-bar.xyz/100/?style=plastic ] ( https://progress-bar.xyz/100/?style=plastic ) |
68
69
69
70
---
70
71
Original file line number Diff line number Diff line change @@ -72,7 +72,12 @@ def get_style_fields(style):
72
72
"show_shadow" : False ,
73
73
},
74
74
"plastic" : {
75
- #
75
+ "border_radius" : 5 ,
76
+ "title_color" : "555" ,
77
+ "progress_color" : "91bc13" , # Greenish color for a plastic look
78
+ "progress_background" : "ECEFF1" , # Light background to enhance contrast
79
+ "show_shadow" : True ,
80
+ "gloss" : True , # Adding a gloss effect for plastic
76
81
},
77
82
"for-the-badge" : {
78
83
#
You can’t perform that action at this time.
0 commit comments