github.com/iqoqo/nomad@v0.11.3-0.20200911112621-d7021c74d101/ui/.storybook/theme.js (about)

     1  import { create } from '@storybook/theming';
     2  
     3  // From Bulma
     4  let blackBis = 'hsl(0, 0%, 7%)';
     5  let greyLight = 'hsl(0, 0%, 71%)';
     6  
     7  // From product-colors.scss
     8  let vagrantBlue = '#1563ff';
     9  
    10  export default create({
    11    base: 'light',
    12  
    13    colorPrimary: blackBis,
    14    colorSecondary: vagrantBlue,
    15  
    16    // UI
    17    appBorderColor: greyLight,
    18  
    19    // Typography
    20    // From variables.scss
    21    fontBase: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif",
    22    // From Bulma
    23    fontCode: 'monospace',
    24  
    25    // Text colors
    26    textColor: blackBis,
    27  
    28    // Toolbar default and active colors
    29    barTextColor: greyLight,
    30    barSelectedColor: 'white',
    31    barBg: blackBis,
    32  
    33    brandTitle: 'Nomad Storybook',
    34    brandUrl: 'https://www.nomadproject.io/',
    35  });