flynt icon indicating copy to clipboard operation
flynt copied to clipboard

feat(variables): add typography css variables with fallback

Open MadFlip opened this issue 5 years ago • 2 comments

MadFlip avatar Nov 30 '20 17:11 MadFlip

@MadFlip @harunbleech I'm not sure I understand the intentions here. Why introduce the fallbacks, if we're not using fallbacks for any other variables?

steffenbew avatar Feb 16 '21 08:02 steffenbew

@MadFlip @harunbleech I'm not sure I understand the intentions here. Why introduce the fallbacks, if we're not using fallbacks for any other variables?

@steffenbew Because spacings and colors we always use in projects, but google fonts not, more often we use self-hosted fonts and in case you need to remove fonts option from customizer it easier to have fallback in one place rather then looking for all those variables in base style.

MadFlip avatar Feb 16 '21 09:02 MadFlip