import * as React from 'react'; import getColour from '@lendi-ui/commons/colours'; import { getThemeName, ThemeNames } from '../../utils'; import { color } from '../tokens'; import styled from 'styled-components'; import Error from '@lendi-ui/icon/Error'; import { ColorPaletteTable } from './components/PaletteTable'; import { SemanticTable } from './components/SemanticTable'; export const SemanticColours = () => { return ; }; export const CommonColor = () => { return ; }; export const ThemedBaseColor = () => { const themeName = getThemeName(); switch (themeName) { case ThemeNames.Lendi: return ; case ThemeNames.LendiNext: return ; case ThemeNames.Domain: return ; case ThemeNames.Aussie: return ; } }; export const UsageWithReact = () => { const linkColor = getColour('interaction', 'main'); return ( Welcome to LUI! ); }; export const UsageWithStyledComponent = () => { const Link = styled.a` color: ${getColour('interaction', 'main')}; `; return Welcome to LUI!; }; export const UsageWithIcon = () => { const errorColour = getColour('interaction', 'error'); return ( Error Message (Interactive) ); };