All files / src/theme/foundations colors.ts

0% Statements 0/3
100% Branches 0/0
100% Functions 0/0
0% Lines 0/3

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38                                                                           
import { theme } from "@chakra-ui/react";
 
const blue = {
  50: "#dcf3ff",
  100: "#aed9ff",
  200: "#7dbeff",
  300: "#4aa4ff",
  400: "#1a8aff",
  500: "#0070e6",
  600: "#0057b4",
  700: "#003e82",
  800: "#002551",
  900: "#000d21",
};
 
// TODO: See if brand palette can be configured?
const brand = blue;
 
export const colors = {
  ...theme.colors,
  blue,
  brand,
  // Declares light-theme colors, overwritten via index.css
  // Backgrounds
  bgPrimary: theme.colors.gray[50],
  bgSecondary: theme.colors.white,
  // Hovers
  hoverPrimary: theme.colors.gray[100],
  // Text colors
  link: blue[500],
  textPrimary: theme.colors.gray[800],
  textSecondary: theme.colors.gray[700],
  textTertiary: theme.colors.gray[600],
  // Accents
  borderColor: theme.colors.blackAlpha[300],
  shadowColor: theme.colors.blackAlpha[300],
};