How to use the bpk-tokens/tokens/base.es6.colors.colorGray700 function in bpk-tokens

To help you get started, we’ve selected a few bpk-tokens examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Skyscanner / backpack / packages / bpk-docs / src / pages / AlignmentPage / AlignmentPage.js View on Github external
const AlignedArrow = withAlignment(
  LongArrowRightIcon, lineHeightBase, iconSizeSm
);


  Search
   
  

`}
      ,
    ],
    examples: [
      
        Search  
        
      ,
    ],
  },
  {
    id: 'withinLarge',
    title: 'Icon alignment within text with textStyle "lg"',
    blurb: [
      
        Similarly, within text with textStyle large, alignment can be achieved
        as follows:
      ,
      
        {`import LongArrowRightIcon from 'bpk-component-icon/lg/long-arrow-right';
import { withAlignment } from 'bpk-component-icon';
import { lineHeightLg, iconSizeLg, colors } from 'bpk-tokens/tokens/base.es6';
import BpkText from 'bpk-component-text';
github Skyscanner / backpack / packages / bpk-docs / src / pages / ColorsPage / ColorsPage.js View on Github external
<div>
        
        
        
        
        
        
      </div>,
    ],
    examples: [],
  },
  {
    id: 'gradients',
    title: 'Gradients',
    blurb: [
      <div></div>