npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript.Learn more »

This package has been deprecated

Author message:

Please use @atlaskit/theme instead. Migration guide is available at https://atlaskit.atlassian.com/packages/core/theme/docs/migration-guide

@atlaskit/util-shared-styles

3.1.2 • Public • Published

Atlaskit component registry Commitizen friendly semantic-release Report an issue

[WARNING] This package is deprecated. We recommend using @atlaskit/theme package instead.

Please follow @atlaskit/theme migration guide for migration to @atlaskit/theme package in your project.


This package provides you with the ADG colors & typography in a programmatic way.

You can either use the less files by importing them via

@import "~@atlaskit/util-shared-styles/src/colors.less";
@import "~@atlaskit/util-shared-styles/src/fonts.less";
 
.myclass {
  color: @ak-color-R100;
  font-family: @ak-font-family;
}

or use them within JS via

import {
  akColorN500 as defaultColor,
  akColorR500 as highlightColor,
  akFontFamily as fontFamily
} from "@atlaskit/util-shared-styles";

* Please note that this module could have dependencies that are governed by the Atlassian Design Guidelines license which will be automatically included on install. Each dependency has a license file that indicates whether the Atlassian Design Guidelines license applies.

We're here to help!

Let us know what you think of our components and docs, your feedback is really important for us.

Are you in trouble? Read through our contribution guidelines and raise an issue to us.

install

npm i @atlaskit/util-shared-styles

Downloadsweekly downloads

61,021

version

3.1.2

license

SEE LICENSE IN LICENSE

repository

Gitbitbucket

last publish

collaborators

  • avatar
Report a vulnerability