-
Notifications
You must be signed in to change notification settings - Fork 6
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
feat(vwc-text): 1st draft to support font faces #942
Conversation
🚀 Latest successful build of the PR deployed here. 🚀 |
@@ -0,0 +1,32 @@ | |||
import '@vonage/vwc-text'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it should be in the components/vwc-text
folder. What makes this file a utility? Will it be used someplace else?
In addition, I can't see a reason it should import @vonage/vwc-text
. If it is used in the vwc-text
tests, it already imports the vwc-text
, no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is a new exposed API
note https://vonage.slack.com/archives/C013F0YKH99/p1625584237238900
it is actually an (good?) idea to later integrate it within typography in components...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You mean typography tests?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no. I mean we can use this component within other components that reflect styled text. but just throwing it off the air. not sure about its benefits
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mind leaving it inside the text for now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove ui-tests/diff.png
and ui-tests/tmpScreenshot.png
. They are not relevant anymore.
Adding some context |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
general question: if we can add these preset font combinations to our "context" (as classes), should we add a dedicated component for it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I approve. Just see if you can get the vwc-text test utils into the vwc-text as they are not general test utils but specific to vwc-text...
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Affected scopes
vwc-text
vvd-design-tokens