Skip to content

Conversation

@hobbitronics
Copy link
Contributor

@hobbitronics hobbitronics commented Jul 1, 2021

Added

  • mdc-typography class to Badge, StaticChip and Card as it was not being applied

Updated

  • README
  • CHANGELOG

Before:
Screen Shot 2021-07-01 at 4 37 58 PM
Screen Shot 2021-07-01 at 4 38 59 PM

After:
Screen Shot 2021-07-01 at 4 34 22 PM
Screen Shot 2021-07-01 at 4 40 16 PM

@hobbitronics hobbitronics requested a review from briskt July 1, 2021 20:35
</style>

<span class="dib text-align-center white fs-16 br-50 background {$$props.class}" style="--theme-color: {color}" ><slot /></span>
<span class="mdc-typography dib text-align-center white fs-16 br-50 background {$$props.class}" style="--theme-color: {color}" ><slot /></span>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this make Badge dependent on MDC? If so, should it move to the mdc directory?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mdc-typography is only applied if typography is in the project, so it depends on the consumer. Also, it is not in the mdc catalog so I am still leaning toward not moving it for now.

</style>

<div class="chip black flex justify-center align-items-center mb-1 mr-2 fs-14 br-16px {$$props.class}">
<div class="mdc-typography chip black flex justify-center align-items-center mb-1 mr-2 fs-14 br-16px {$$props.class}">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comment as Badge

@hobbitronics hobbitronics merged commit 462a7d1 into develop Jul 1, 2021
@hobbitronics hobbitronics deleted the feature/fix-typography branch July 2, 2021 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants