Closed Nj221102 closed 7 months ago
I'm also seeing some odd things with quoted font family versus unquoted (e.g. font: "Pacifico" vs font: "'Pacifico'"). Probably time to add some tests...
@noahgibbs I have added the test for the parsing logic
Is there a need for further changes, please suggest .
Thank you! Merged.
Description
previously font- shorthand property wasn't working properly because the specific property for the font size was overwriting the font property and it has a default value so it was never nil, hence making the size section in the font useless.
so to overcome this problem and fix it, I made some changes so now font wouldn't write to a font property, but instead to the specific ones ,which will do three things:-
All these features are similar to how shoes used to work
Image(if needed, helps for a faster review)
Checklist