Skip to content

An open source design system that's fully customizable and agent ready

TypeScript
2.1 KB
Raw Blame
// Copyright (c) Meta Platforms, Inc. and affiliates.

// Generated from the committed full palette for the stops used by Y2K's
// theme source. Regenerate with `pnpm generate:y2k-palette-refs`.
// Keep the complete palette available for authoring and audits without
// making consumers pay for unused palette stops.
// prettier-ignore
export const y2kPaletteRefs = {
  purple: {
    light: {25: '#431a88', 40: '#663ebd', 75: '#bbaaff', 85: '#d5cdff'},
    dark: {15: '#2a1159', 75: '#bbaaff', 85: '#d5cdff'},
  },
  green: {
    light: {30: '#3f4e00', 40: '#546800', 75: '#b5d360', 80: '#c5e17a'},
    dark: {20: '#2a3600', 65: '#95b041', 75: '#b5d263', 80: '#c5e17a'},
  },
  neutral: {
    light: {15: '#2d241b', 20: '#382e24', 30: '#4f453b', 40: '#675d52', 80: '#d1c5b8', 85: '#dfd5c9', 90: '#f1e6db', 95: '#fff6ed', 100: '#ffffff'},
    dark: {0: '#000000', 5: '#0e0f1a', 10: '#16182b', 20: '#1f2238', 25: '#2c3048', 35: '#4a4f6b', 45: '#636889', 70: '#a6acd6', 85: '#d0d4eb', 90: '#dfe2f3', 95: '#edeffc'},
  },
  orange: {
    light: {30: '#703400', 40: '#904800', 80: '#ffb477', 85: '#ffc89d'},
    dark: {15: '#411800', 80: '#ffb477', 85: '#ffc89d'},
  },
  blue: {
    light: {20: '#003454', 40: '#00649b', 75: '#70c1ff', 85: '#addbff'},
    dark: {20: '#003454', 75: '#70c1ff', 85: '#addbff'},
  },
  red: {
    light: {30: '#880023', 35: '#9d002a', 75: '#ff969a', 85: '#ffc3c3'},
    dark: {20: '#610016', 75: '#ff969a', 85: '#ffc3c3'},
  },
  yellow: {
    light: {30: '#584400', 40: '#745b00', 85: '#f9d059', 90: '#ffe08a'},
    dark: {20: '#3d2e00', 70: '#d0a601', 85: '#f3d172', 90: '#fde08f'},
  },
  teal: {
    light: {30: '#00553b', 40: '#007050', 80: '#81dcb6', 90: '#b6f2d7'},
    dark: {15: '#002f1e', 70: '#5bc29a', 80: '#8ed9b9', 85: '#a6e5c9'},
  },
  accent: {
    light: {80: '#cccffa'},
  },
  pink: {
    light: {30: '#82004f', 80: '#ffa8cd', 85: '#ffbfd9'},
    dark: {20: '#5d0037', 80: '#ffa8cd', 85: '#ffbfd9'},
  },
  cyan: {
    light: {30: '#005250', 80: '#73dbd7', 90: '#b2f0ed'},
    dark: {15: '#002d2c', 80: '#84d8d4', 90: '#baeeec'},
  },
} as const;

export default y2kPaletteRefs;