import Layout from '../../components/Layout' import { FoundationSidebar } from '../../sidebars' import { Playground } from '../../components/Playground'; import { Heading, Paragraph, Code } from '@knkui/typography'; import Swatch from '../../components/Swatch'; import { colors } from '@knkui/theme'; export default function Typography() { return ( Primary palette Secondary palette Extended palette Neutrals Neutrals have varying degrees of saturation that allow for the appropriate level of warmth across marketing and product. Typically they are used for text and subtle backgrounds when we don't want to draw too much attention to a particular touchpoint or convey information such as "to do" or "disabled". Dark neutrals Dark neutrals are very effective for creating contrast and are therefore the primary color used for typography. Occasionally the dark neutrals are found in illustration but they rarely dominate the palette. Some exceptions are dark mode UI elements and illustrations. Mid neutrals Use mid-neutrals to create depth in components such as modal dialog blankets and cards. Avoid mid-neutrals as background colors because there is usually not enough contrast to remain AA compliant. The mid-neutrals N400 to N200 can be used for subtle text and icons on light-neutral backgrounds. You can find text style using these colors in Typography. Light neutrals We use light neutrals as subtle backgrounds to indicate various interactive states such as hover and disabled, or simply to create secondary attention towards a component. You'll find light neutrals in buttons, text fields, tags, and illustrations. Red Red is mainly used for backgrounds in messages and in error states to draw attention to important information or actions that are destructive or block workflow. Yellow Yellow indicates a warning or that progress is impeded. Yellow feels right at home in components like lozenges, banners, flag messages, and buttons. Green We use green to indicate success or to celebrate a win. Keep in mind that our green is very vibrant, which can cause eye strain in large doses. However, because of this vibrancy, it can also stand out well among many other elements on a page, which is why it is a good choice for calls-to-action and buttons in marketing. Blue Blue is used to help us reinforce our presence and unify our touchpoints from marketing to product. When used appropriately and accurately, the colors have an incredible impact. Blue is used to indicate authentication, connectivity, or progress. ) }