How to use the @buffetjs/styles.colors.greyLink function in @buffetjs/styles

To help you get started, we’ve selected a few @buffetjs/styles 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 strapi / buffet / packages / buffetjs-core / src / components / NavTabs / index.js View on Github external
function NavTabs({ links }) {
  let color = colors.greyLink;

  return (
    <ul>
      {links.map((link, index) =&gt; {
        color = gradient(color, 1.5);
        const content = link.label ? <p>{link.label}</p> : link.compo || null;

        return (
          
            {content}
          </ul>

@buffetjs/styles

Buffetjs Styles - The styling solution of Buffetjs

MIT
Latest version published 3 years ago

Package Health Score

56 / 100
Full package analysis