Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add underscores for Windows tile config #26

Merged
merged 4 commits into from
Mar 31, 2021
Merged

Add underscores for Windows tile config #26

merged 4 commits into from
Mar 31, 2021

Conversation

kb3eua
Copy link
Contributor

@kb3eua kb3eua commented Feb 7, 2021

"windows80Ie10Tile" and "windows10Ie11EdgeTiles" config options need to have underscores before both sets of numbers.

Converting from camelCase to underscore previously yielded "windows80_ie10_tile" and "windows10_ie11_edge_tiles", which was incorrect.

After the change the conversion now yields the correct values of "windows_80_ie_10_tile" and "windows_10_ie_11_edge_tiles".

Fixes RealFaviconGenerator/realfavicongenerator#267
Coincidentally Fixes RealFaviconGenerator/gulp-real-favicon#21
Coincidentally Fixes RealFaviconGenerator/grunt-real-favicon#43

"windows80Ie10Tile" and "windows10Ie11EdgeTiles" config options need to have underscores before both sets of numbers.

Converting from camelCase to underscore previously yielded "windows80_ie10_tile" and "windows10_ie11_edge_tiles", which was incorrect.

After the change the conversion now yields the correct values of "windows_80_ie_10_tile" and "windows_10_ie_11_edge_tiles".
color "#134f97" was getting converted to "#134f_97", so adding additional requirement that number must be followed by an uppercase letter
exclude "background_color" and "theme_color" from camelCase to underscore conversion
@phbernard phbernard merged commit a8e1dee into RealFaviconGenerator:master Mar 31, 2021
@kb3eua kb3eua deleted the patch-2 branch March 31, 2021 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants