Describe the bug
The Profile Views widget throws a validation error saying "Color not valid 0" when generating a GitHub Profile README. The generator does not accept the default color value and prevents the Profile Views badge from being configured correctly.
To Reproduce
- Go to https://gprm.itsvg.in
- Enable the "Profile Views" section.
- Leave the default color value as
0 or select the default option.
- Generate the README.
- Observe the error message: "Color not valid 0".
Expected behavior
The Profile Views badge should generate successfully using the default color option, or the application should automatically substitute a valid color value instead of displaying a validation error.
Screenshots
Attached screenshot showing the error message:
Profile views — Color not valid 0
Desktop
- OS: macOS
- Browser: Google Chrome
- Version: Latest stable version
Smartphone
Tested on mobile devices.
Additional context
The issue appears to be related to validation of the Profile Views badge color parameter. The generated badge previously worked correctly, but the generator now rejects the value 0 as an invalid color. Manually specifying a valid color name or hex code may work as a temporary workaround.
Describe the bug
The Profile Views widget throws a validation error saying "Color not valid 0" when generating a GitHub Profile README. The generator does not accept the default color value and prevents the Profile Views badge from being configured correctly.
To Reproduce
0or select the default option.Expected behavior
The Profile Views badge should generate successfully using the default color option, or the application should automatically substitute a valid color value instead of displaying a validation error.
Screenshots
Attached screenshot showing the error message:
Desktop
Smartphone
Tested on mobile devices.
Additional context
The issue appears to be related to validation of the Profile Views badge color parameter. The generated badge previously worked correctly, but the generator now rejects the value
0as an invalid color. Manually specifying a valid color name or hex code may work as a temporary workaround.