pixelgrade / customify

Intuitive Website Styling integrated into WordPress' Customizer
GNU General Public License v2.0
28 stars 5 forks source link

[Font Palettes] Add support for font size boost value in fonts logic #217

Closed vladolaru closed 4 years ago

vladolaru commented 4 years ago

We want to be able to define both at master font control level (e.g., for sm_font_primary) and at font interval level, a font size boost coefficient.

This will be a float value that will get multiplied with the font size value in the font palettes calculations. Most of the time this value will be between zero and two (e.g., 0.8, 1.2, 1.5). The default value will be 1, meaning no effect.

We will use the font_size_boost key in the fonts logic configuration.

vladolaru commented 4 years ago

There you go @georgeolaru

georgeolaru commented 4 years ago

Nice work @vladolaru! I just tested and this fonts stuff's really getting there 🤩

CleanShot 2020-05-21 at 14 52 23

As we discussed, are you willing to change the name to font_size_multiplier? In the meantime, I will adjust the "Pandora" (0.8) and "Edward" (1.2) palette to take into account this functionality.

vladolaru commented 4 years ago

As discussed, we will use font_size_multiplier.

vladolaru commented 4 years ago

Done @georgeolaru

georgeolaru commented 4 years ago

Awesome! I changed through the Cloud font palettes and we can close this 👏