|
| 1 | +/** |
| 2 | + * Copyright (c) Meta Platforms, Inc. and affiliates. |
| 3 | + * |
| 4 | + * This source code is licensed under the MIT license found in the |
| 5 | + * LICENSE file in the root directory of this source tree. |
| 6 | + * |
| 7 | + * @flow strict |
| 8 | + */ |
| 9 | + |
| 10 | +import type { Theme } from '@stylexjs/stylex'; |
| 11 | +import { colors } from './colors.stylex'; |
| 12 | +import * as stylex from '@stylexjs/stylex'; |
| 13 | + |
| 14 | +export const WDSSystemTheme: Theme<typeof colors> = stylex.createTheme(colors, { |
| 15 | + '--accent': '#1DAA61', |
| 16 | + '--accent-deemphasized': '#D9FDD3', |
| 17 | + '--accent-emphasized': '#15603E', |
| 18 | + '--secondary-negative': '#EA0038', |
| 19 | + '--secondary-negative-deemphasized': '#FDE8EB', |
| 20 | + '--secondary-negative-emphasized': '#B80531', |
| 21 | + '--secondary-positive': '#1DAA61', |
| 22 | + '--secondary-positive-deemphasized': '#E7FCE3', |
| 23 | + '--secondary-warning': '#FFB938', |
| 24 | + '--secondary-warning-deemphasized': '#FFF7E5', |
| 25 | + '--content-default': '#0A0A0A', |
| 26 | + '--content-deemphasized': 'rgba(0, 0, 0, 0.6)', |
| 27 | + '--content-disabled': '#BDBDBD', |
| 28 | + '--content-on-accent': '#FFFFFF', |
| 29 | + '--content-action-default': '#0A0A0A', |
| 30 | + '--content-action-emphasized': '#1B8755', |
| 31 | + '--content-external-link': '#1B8755', |
| 32 | + '--content-inverse': '#FFFFFF', |
| 33 | + '--content-read': '#007BFC', |
| 34 | + '--background-wash-plain': '#FFFFFF', |
| 35 | + '--background-wash-inset': '#F7F5F3', |
| 36 | + '--background-elevated-wash-plain': '#FFFFFF', |
| 37 | + '--background-elevated-wash-inset': '#F7F5F3', |
| 38 | + '--background-dimmer': 'rgb(0, 0, 0, 0.32)', |
| 39 | + '--surface-default': '#FFFFFF', |
| 40 | + '--surface-emphasized': '#F7F5F3', |
| 41 | + '--surface-elevated-default': '#FFFFFF', |
| 42 | + '--surface-elevated-emphasized': '#F7F5F3', |
| 43 | + '--surface-highlight': 'rgba(194, 189, 184, 0.15)', |
| 44 | + '--surface-inverse': '#242626', |
| 45 | + '--surface-pressed': 'rgba(0, 0, 0, 0.2)', |
| 46 | + '--lines-divider': 'rgba(0, 0, 0, 0.1)', |
| 47 | + '--lines-outline-default': '#959393', |
| 48 | + '--lines-outline-deemphasized': 'rgba(0, 0, 0, 0.2)', |
| 49 | + '--persistent-always-branded': '#1DAA61', |
| 50 | + '--persistent-always-black': '#0A0A0A', |
| 51 | + '--persistent-always-white': '#FFFFFF', |
| 52 | + '--persistent-activity-indicator': '#25D366', |
| 53 | + '--systems-bubble-surface-incoming': '#FFFFFF', |
| 54 | + '--systems-bubble-surface-outgoing': '#D9FDD3', |
| 55 | + '--systems-bubble-content-deemphasized': 'rgba(0, 0, 0, 0.6)', |
| 56 | + '--systems-bubble-surface-overlay': 'rgba(194, 189, 184, 0.15)', |
| 57 | + '--systems-bubble-surface-system': 'rgba(255, 255, 255, 0.9)', |
| 58 | + '--systems-bubble-surface-e2e': '#FFF0D4', |
| 59 | + '--systems-bubble-content-e2e': 'rgba(0, 0, 0, 0.6)', |
| 60 | + '--systems-bubble-surface-business': '#D5FDED', |
| 61 | + '--systems-bubble-content-business': 'rgba(0, 0, 0, 0.6)', |
| 62 | + '--systems-chat-surface-composer': '#FFFFFF', |
| 63 | + '--systems-chat-background-wallpaper': '#F5F1EB', |
| 64 | + '--systems-chat-foreground-wallpaper': '#EAE0D3', |
| 65 | + '--systems-chat-surface-tray': '#F7F5F3', |
| 66 | + '--systems-status-seen': '#C2BDB8', |
| 67 | + '--internal-components-surface-nav-bar': '#F7F5F3', |
| 68 | + '--internal-components-active-list-row': 'rgba(194, 189, 184, 0.15)', |
| 69 | +}); |
0 commit comments