Skip to content
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(typescale): update typescale and mixin #357

Merged

Conversation

tw15egan
Copy link
Collaborator

Overview

Update Carbon Components to new typescale

Closes https://github.ibm.com/Bluemix/carbon-issues/issues/348

Added

A new typescale, based on this.
A new typescale mixin: @include typescale('zeta');

screen shot 2017-10-11 at 4 17 37 pm

Removed

Marked the old font-size mixin as deprecated. Will be removed in V9.

Changed

Removed all references to @include font-size and replaced with @include typescale

Testing / Reviewing

Make sure no type look wacky? 🙃

);

// ☠️ Deprecated ☠️
@mixin font-size($size) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we add a @warn to this block that logs that using it is deprecated in V8?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good idea! Will add

@marijohannessen
Copy link
Contributor

Can you also update the _css--typography.scss file with the new mixin and make sure each class has the correct font style?

@marijohannessen
Copy link
Contributor

👍 ✅

@marijohannessen marijohannessen merged commit 9df016f into carbon-design-system:master Oct 12, 2017
asudoh added a commit to asudoh/carbon-components that referenced this pull request Oct 15, 2017
joshblack pushed a commit to joshblack/carbon that referenced this pull request May 2, 2019
…nts (carbon-design-system#357)

* Add more detail about setting up webpack for working with our components
joshblack pushed a commit to joshblack/carbon that referenced this pull request May 2, 2019
… is inserted into (carbon-design-system#574)

Flatpickr does not change the position of calendar dropdown once it's created,
even after the element containing the triggering element (`<input>`) is scrolled.

Flatpickr allows specifying the DOM node the calendar dropdown is inserted into,
which would work as a way to alleviate such scrolling issue,
for example, by specifying a DOM element being scrolled along with the triggering element.

This change adds a prop that will be passed along to Flatpickr as such DOM node.

Fixes carbon-design-system#357.
@tw15egan tw15egan deleted the typography-updates branch April 28, 2021 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants