Exemplo n.º 1
0
  span.cm-comment {
    color: #626466;
  }
  span.cm-atom {
    color: #aa759f;
  }
  span.cm-number {
    color: #aa759f;
  }

  span.cm-property,
  span.cm-attribute {
    color: #aa759f;
  }
  span.cm-keyword {
    color: ${theme.secondary()};
  }
  span.cm-string {
    color: #99c794;
  }

  span.cm-variable {
    color: ${theme.primary.darken(0.1)()};
  }
  span.cm-variable-2 {
    color: ${theme.secondary()};
  }
  span.cm-def {
    color: #fac863;
  }
  span.cm-bracket {
Exemplo n.º 2
0
 color: ${props => (props.color ? props.color : theme.secondary())};
Exemplo n.º 3
0
 border-left-color: ${props =>
   props.color ? props.color : theme.secondary()};
Exemplo n.º 4
0
 border-color: ${props => {
   if (props.type === 'error') return theme.red.darken(0.2)();
   if (props.type === 'warning') return theme.primary.darken(0.2);
   if (props.type === 'success') return theme.green();
   return theme.secondary();
 }};