You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/2.guide/1.features.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -159,7 +159,7 @@ You can further customize your badges by appending query parameters to the badge
159
159
160
160
##### `labelColor`
161
161
162
-
Overrides the default label color. You can pass a standard hex code (with or without the `#` prefix). The label text color is automatically chosen (black or white) based on WCAG contrast ratio so the badge remains readable.
162
+
Overrides the default label color. You can pass a standard hex code (with or without the `#` prefix). The label text color is automatically chosen (black or white) based on WCAG contrast ratio, so the badge remains readable.
163
163
164
164
-**Default**: `#0a0a0a`
165
165
-**Usage**: `?labelColor=HEX_CODE`
@@ -173,7 +173,7 @@ Overrides the default label text. You can pass any string to customize the label
173
173
174
174
##### `color`
175
175
176
-
Overrides the default strategy color. You can pass a standard hex code (with or without the `#` prefix). The text color is automatically chosen (black or white) based on WCAG contrast ratio so the badge remains readable.
176
+
Overrides the default strategy color. You can pass a standard hex code (with or without the `#` prefix). The text color is automatically chosen (black or white) based on WCAG contrast ratio, so the badge remains readable.
177
177
178
178
-**Default**: Depends on the badge type (e.g., version is blue, downloads are orange).
0 commit comments