// Generated by scripts/flex-defaults/generate-defaults.mjs. Do not edit; run `yarn gen:flex-defaults`. // Source: x3-design/fluent-design@206e890b645fb450ad7c5df2ff981765349a2b58 // cool: dev/web/flex-themes/css/semantic.css, dev/web/flex-themes/css/interaction-fallback.css // warm: dev/web/flex-themes/css/warm/semantic.css, dev/web/flex-themes/css/warm/interaction-fallback.css // Generic sources: src/tokens/mappings/flex-token-map.yaml // Coverage: scripts/flex-defaults/coverage.generated.json import type { CompleteFlexTokenInput, PartialFlexTokens } from '../tokens.types'; import { sharedFlexTokenInput } from './sharedTokens.generated'; const inverted = 'inverted'; const rgb0b0600e1 = '#0b0600e1'; const rgb28231e = '#28231e'; const rgbffffff = '#ffffff'; const backgroundNeutralSoft = ['#4d200028', '#ffe3cb40'] as const; const backgroundNeutralSubtle = ['#6c31001a', '#fff4ef14'] as const; const backgroundNeutralTransparent = ['#28231e00', '#ffffff00'] as const; const foregroundNeutralPrimary = [rgb0b0600e1, '#fff7f2e3'] as const; const rest = ['#1e0d009a', '#ffeee39a'] as const; const strokeNeutralSoft = ['#250f0076', '#ffe6d35c'] as const; const backgroundNeutralHeavy = { rest: [rgb28231e, rgbffffff], type: inverted } as const; const backgroundNeutralLoud = { rest, type: inverted } as const; const strokeNeutralLoud = { rest: ['#776d65', '#9a9089'], type: inverted } as const; const strokeNeutralOnloud = { rest: [rgbffffff, rgb0b0600e1], type: inverted } as const; export const warmFlexTokenOverrides = { color: { surfaceNeutralFarther: ['#f0eae5', '#1e1916'], surfaceNeutralFar: ['#faf4f0', '#231e1a'], surfaceNeutralNear: ['#f6f1ec', '#1c1714'], surfaceNeutralNearer: [rgbffffff, '#2e2823'], surfaceNeutralTranslucent: ['#ffffff80', '#00000080'], backgroundNeutralHeavy, backgroundNeutralLoud, backgroundNeutralSoft, backgroundNeutralSubtle, backgroundNeutralTransparent, backgroundNeutralTranslucent: ['#e9e9e980', '#3c3c3c80'], backgroundBrandHeavy: backgroundNeutralHeavy, backgroundBrandLoud: backgroundNeutralLoud, backgroundBrandSoft: backgroundNeutralSoft, backgroundBrandSubtle: backgroundNeutralSubtle, backgroundBrandTransparent: backgroundNeutralTransparent, strokeNeutralHeavy: { rest: [rgb28231e, '#e3dcd7'], type: inverted }, strokeNeutralLoud, strokeNeutralSoft, strokeNeutralSubtle: backgroundNeutralSoft, strokeNeutralTransparent: backgroundNeutralTransparent, strokeNeutralOnloud, strokeBrandLoud: strokeNeutralLoud, strokeBrandSoft: strokeNeutralSoft, strokeBrandSubtle: backgroundNeutralSoft, strokeBrandOnloud: strokeNeutralOnloud, foregroundNeutralPrimary, foregroundNeutralSecondary: ['#190c00ab', '#fff2e8b5'], foregroundNeutralTertiary: rest, foregroundNeutralOnloud: strokeNeutralOnloud, foregroundBrandPrimary: foregroundNeutralPrimary, foregroundBrandOnloud: strokeNeutralOnloud, expressionAccentHeavy: [rgb28231e, rgbffffff], expressionAccentLoud: rest, expressionAccentSoft: backgroundNeutralSoft, expressionAccentSubtle: backgroundNeutralSubtle, backgroundNeutralSubtleDisabled: ['#0000000d', '#ffffff1b'], }, } satisfies PartialFlexTokens; /** The x3 warm-tone defaults. Omitted interaction states are computed from rest. */ export const warmFlexTokenInput: CompleteFlexTokenInput = { color: { ...sharedFlexTokenInput.color, ...warmFlexTokenOverrides.color }, shadow: sharedFlexTokenInput.shadow, fontWeight: sharedFlexTokenInput.fontWeight, fontFamily: sharedFlexTokenInput.fontFamily, fontSize: sharedFlexTokenInput.fontSize, lineHeight: sharedFlexTokenInput.lineHeight, borderRadius: sharedFlexTokenInput.borderRadius, spacing: sharedFlexTokenInput.spacing, strokeWidth: sharedFlexTokenInput.strokeWidth, motion: sharedFlexTokenInput.motion, };