How to use the ic-snacks.colors.GRAY_46 function in ic-snacks

To help you get started, we’ve selected a few ic-snacks 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 instacart / Snacks / site / src / components / Navigation / NavGroup / styles.js View on Github external
import {colors} from 'ic-snacks'

export const container = {
  display: 'flex',
  justifyContent: 'space-between',
  alignItems: 'center',
  height: 40,
  width: '100%',
  cursor: 'pointer',

  ':hover': {}
}

export const icon = {
  color: colors.GRAY_46,
  padding: 4,
  borderRadius: 3,
  transition: 'transform 150ms',
}

export const iconOpen = {
  transform: 'rotate(-180deg)',
}

export const iconHover = {
  background: colors.GRAY_93,
}

export const navGroupTitle = {
  fontSize: 14,
  fontWeight: 600,
github instacart / Snacks / site / src / components / Typography / styles.js View on Github external
}

export const subtitle = {
  ...gray20,
  ...spaced,
  ...spacing.MARGIN_BOTTOM_LG,
  fontSize: 20,
  lineHeight: '34px',
}

export const bodyTitle2 = {
  ...spaced,
  fontSize: 16,
  fontWeight: 700,
  lineHeight: '20px',
  color: colors.GRAY_46,
  textTransform: 'uppercase',
}

export const body = {
  ...spaced,
  ...spacing.MARGIN_BOTTOM_SM,
  fontSize: 16,
  lineHeight: '20px',
}
github instacart / Snacks / site / src / components / Swatch / styles.js View on Github external
}

export const selected = {
  ...container,
  borderWidth: 2,
  borderStyle: 'solid',
}

export const swatch = {
  flexBasis: 125,
}

export const info = {
  fontSize: 16,
  fontWeight: 600,
  color: colors.GRAY_46,
  textAlign: 'center',
  display: 'flex',
  flexDirection: 'column',
  justifyContent: 'center',
  flex: 1,
}
github instacart / Snacks / site / src / components / utilities / Icons / index.js View on Github external
groups[group].map(icon => (
                <div style="{{">
                  </div>}
                  &gt;
                    {icon}