How to use the @arch-ui/theme.colors.N60 function in @arch-ui/theme

To help you get started, we’ve selected a few @arch-ui/theme 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 keystonejs / keystone / website / src / templates / index.js View on Github external
marginBottom: '2rem',
        marginTop: '2rem',
      },

      // Misc. Typography
      // ------------------------------
      ul: {
        lineHeight: 1.8,
      },
      'ul > li > ul, ol > li > ol, ul > li > ol, ol > li > ul': {
        paddingLeft: '1.33rem',
      },
      blockquote: {
        fontSize: '1.25rem',
        fontStyle: 'italic',
        color: colors.N60,
        margin: `3rem 0`,
        padding: 0,
        paddingLeft: '3rem',
        position: 'relative',
      },

      // Code
      // ------------------------------

      code: {
        fontFamily: 'Consolas, Menlo, Monaco, "Andale Mono", "Ubuntu Mono", monospace',
        fontSize: '0.85em',
        fontWeight: 'normal',
      },
      pre: {
        backgroundColor: 'rgba(9, 30, 66, 0.03)',
github keystonejs / keystone / packages / admin-ui / client / pages / StyleGuide / Icons.js View on Github external
/** @jsx jsx */
import { Component, Fragment } from 'react';
import { jsx } from '@emotion/core';
import styled from '@emotion/styled';

import CopyToClipboard from '../../components/CopyToClipboard';

import * as icons from '@arch-ui/icons';
import { Grid, Cell } from '@arch-ui/layout';
import { colors } from '@arch-ui/theme';
import { Kbd } from '@arch-ui/typography';

const Instructions = styled('div')`
  color: ${colors.N60};
  font-size: 14px;
  margin: 16px 0 24px;
  min-height: 24px;
`;

const IconContainer = styled('div')`
  background-color: white;
  border-radius: 0.2em;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.075), 0 0 0 1px rgba(0, 0, 0, 0.1);
  color: #666;
  cursor: pointer;
  padding: 16px;
  position: relative;
  text-align: center;
  transition: box-shadow 80ms linear;
github keystonejs / keystone / packages / arch / packages / badge / src / index.js View on Github external
import React, { PureComponent } from 'react';
import styled from '@emotion/styled';

import { colors } from '@arch-ui/theme';

const boldBackgroundColor = {
  default: colors.N60,
  inverted: colors.text,
  primary: colors.primary,
  created: colors.create,
  warning: colors.warning,
  danger: colors.danger,
};
const boldTextColor = {
  default: 'white',
  inverted: 'white',
  primary: 'white',
  created: 'white',
  warning: 'white',
  danger: 'white',
};
const subtleBackgroundColor = {
  default: colors.N10,
github keystonejs / keystone / website / src / templates / MdTemplate.js View on Github external
const NavButton = ({ align = 'left', ...props }) => (
  <button>
);
</button>
github keystonejs / keystone / packages / arch / packages / typography / src / index.js View on Github external
/** @jsx jsx */
import { jsx } from '@emotion/core';
import styled from '@emotion/styled';

import { colors, gridSize } from '@arch-ui/theme';

const truncate = {
  minWidth: 0,
  overflow: 'hidden',
  textOverflow: 'ellipsis',
  whiteSpace: 'nowrap',
};

export const SubtleText = styled.span({
  color: colors.N60,
});

export const H1 = styled.h1({
  fontSize: 28,
  fontWeight: 300,
  margin: '24px 0',
});
export const PageTitle = styled.h1({
  fontSize: '2.4rem',
  fontWeight: 900,
  marginBottom: '0.5em',
  marginTop: '1.0rem',
});

export const Truncate = ({ as: Tag, ...props }) =&gt; ;
github keystonejs / keystone / packages / arch / packages / day-picker / src / DayPicker / month.js View on Github external
to update the size in the itemSize prop for List in DayPicker */}
      <div>
        <span>
          {readableMonths[month]}
        </span>
        <span>
          {year}
        </span>
      </div>
    
  );
});
github keystonejs / keystone / website / src / components / Header.js View on Github external
const NavItem = ({ as, lgOnly, ...props }) =&gt; {
  const Tag = props.to ? Link : as;
  return (
    <li>
      </li>