0.0.1-alpha.31 โ€ข Published 5 years ago

carbon__type-ts v0.0.1-alpha.31

Weekly downloads
3
License
Apache-2.0
Repository
github
Last release
5 years ago

@carbon/type

Typography for digital and software products using the Carbon Design System

Getting started

To install @carbon/type in your project, you will need to run the following command using npm:

npm install -S @carbon/type

If you prefer Yarn, use the following command instead:

yarn add @carbon/type

Usage

@carbon/type provides a variety of ways to work with typography from the IBM Design Language. You can use all of these features either in JavaScript or Sass. These features include:

FeatureDescription
Font faceInclude IBM Plexโ„ข font faces in your application. Uses Google fonts
Type classesHelpers to use type styles directly. Not included by default
Font familyDefines the font stack for IBM Plexโ„ข in your application, provides helpers for working with font definitions
ResetProvides a high-level CSS Reset to use in your project
ScaleProvides the type scale. Can access the size at any given step
SpacingProvides a high-level spacing scale to be used when laying out type
StylesProvides type styles for your application

๐Ÿ“š Examples

If you're looking for more examples on how to use @carbon/type, we have some examples that you can check out:

๐Ÿ™Œ Contributing

We're always looking for contributors to help us fix bugs, build new features, or help us improve the project documentation. If you're interested, definitely check out our Contributing Guide ! ๐Ÿ‘€

๐Ÿ“ License

Licensed under the Apache 2.0 License.