Installation

# Using npm
npm install --save @kiwicom/orbit-design-tokens
# Using yarn
yarn add @kiwicom/orbit-design-tokens

Usage without @kiwicom/orbit-components

import { defaultTheme } from "@kiwicom/orbit-design-tokens";
/*
The content of defaultTheme object
*/
{
...,
fontFamily: "Roboto",
fontSizeSmall: "12px",
fontSizeNormal: "14px",
fontSizeLarge: "16px",
...
}

Usage with @kiwicom/orbit-components

import { defaultTheme } from "@kiwicom/orbit-components";
/*
The content of defaultTheme object
*/
{
rtl: true,
transitions: true,
lockScrolling: true,
lockScrollingBarGap: true,
orbit: {
...,
fontFamily: "Roboto",
fontSizeSmall: "12px",
fontSizeNormal: "14px",
...
}
}