How to use the ic-snacks.colors.GREEN_500 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
export const iconHover = {
  background: colors.GRAY_93,
}

export const navGroupTitle = {
  fontSize: 14,
  fontWeight: 600,
  color: colors.GRAY_20,
  width: '100%',
  display: 'inline-block',
  textTransform: 'uppercase',

}

export const navGroupTitleHover = {
  color: colors.GREEN_500,
}
github instacart / Snacks / gatsby / src / pages / layout / colors.js View on Github external
export default function Colors() {
  return (
    
      Colors
      We have two main color palettes - a UI color palette (primary and
      secondary colors) and an illustration color palette that has some expanded
      colors for selective use.
      Primary
      
        
        
        
        
        
      
      Secondary
      
        
        
        
        
        
      
      Grayscale
github instacart / Snacks / site / src / components / utilities / Colors.js View on Github external
export default function Colors() {
  return (
    
      Colors
      
        We have two main color palettes - a UI color palette (primary and
        secondary colors) and an illustration color palette that has some
        expanded colors for selective use.
      
      Primary
      <div style="{group}">
        
        
        
        
        
      </div>
      Secondary
      <div style="{group}">
        
        
        
        
        
      </div>
      Grayscale
      <div style="{group}">
        
        
        </div>
github instacart / Snacks / site / src / components / Navigation / styles.js View on Github external
width: '100%',
    cursor: 'pointer',

    ':hover': {}
  },
  navGroupTitle: {
    fontSize: 14,
    fontWeight: 600,
    color: colors.GRAY_20,
    width: '100%',
    display: 'inline-block',
    textTransform: 'uppercase',

  },
  navGroupTitleHover: {
    color: colors.GREEN_500,
  },
  navGroupIcon: {
    color: colors.GRAY_74,
    padding: 4,
    borderRadius: 3,
    transition: 'transform 150ms',
  },
  navGroupIconOpen: {
    transform: 'rotate(-180deg)',
  },
  navGroupIconHover: {
    background: colors.GRAY_93,
  },
  navGroupLinks: {
    ...spacing.PADDING_LEFT_SM,
  },
github instacart / Snacks / site / src / components / utilities / Icons / index.js View on Github external
groups[group].map(icon =&gt; (
                <div style="{{">
                  </div>}
                  &gt;
                    {icon}
                  
                
              ))
            }
github instacart / Snacks / site / src / components / Navigation / styles.js View on Github external
...spacing.PADDING_LEFT_SM,
  },
  navLinkRow: {
    height: 40,
    lineHeight: '40px',
    width: '100%',
  },
  navLinkInactive: {
    ...navLink,
    color: '#424242',
  },
  navLinkText: {
    display: 'inline-block',
    width: '100%',
    ':hover': {
      color: colors.GREEN_500,
    },
  }
}