11import { sentenceCase } from "change-case" ;
22import type { DesignToken } from "@microsoft/fast-foundation" ;
33import {
4+ Color ,
45 densityAdjustmentUnits ,
56 DesignTokenMetadata ,
67 DesignTokenType ,
7- Swatch ,
88 TypedCSSDesignToken
99} from "@adaptive-web/adaptive-ui"
1010import {
@@ -79,6 +79,7 @@ import {
7979 labelFontFamily ,
8080 labelFontStyle ,
8181 labelFontWeight ,
82+ layerFillActiveDelta ,
8283 layerFillBaseLuminance ,
8384 layerFillFixedBase ,
8485 layerFillFixedMinus1 ,
@@ -89,7 +90,10 @@ import {
8990 layerFillFixedPlus2 ,
9091 layerFillFixedPlus3 ,
9192 layerFillFixedPlus4 ,
93+ layerFillFocusDelta ,
94+ layerFillHoverDelta ,
9295 layerFillInteractive ,
96+ layerFillRestDelta ,
9397 neutralBaseColor ,
9498 neutralFillDiscernible ,
9599 neutralFillIdeal ,
@@ -167,6 +171,10 @@ const designTokens: DesignTokenStore = [
167171 warningBaseColor ,
168172 criticalBaseColor ,
169173 layerFillBaseLuminance ,
174+ layerFillRestDelta ,
175+ layerFillHoverDelta ,
176+ layerFillActiveDelta ,
177+ layerFillFocusDelta ,
170178 docBaseColor ,
171179 wcagContrastLevel ,
172180 densityAdjustmentUnits ,
@@ -195,7 +203,7 @@ const designTokens: DesignTokenStore = [
195203 strokeStrongRestDelta ,
196204] ;
197205
198- const colorTokens : DesignTokenStore < Swatch > = [
206+ const colorTokens : DesignTokenStore < Color > = [
199207 // Layer
200208 layerFillFixedMinus4 ,
201209 layerFillFixedMinus3 ,
@@ -208,36 +216,43 @@ const colorTokens: DesignTokenStore<Swatch> = [
208216 layerFillFixedPlus4 ,
209217 layerFillInteractive . rest ,
210218 // Fill
219+ accentBaseColor ,
211220 accentFillStealth . rest ,
212221 accentFillSubtle . rest ,
213222 accentFillIdeal . rest ,
214223 accentFillDiscernible . rest ,
215224 accentFillReadable . rest ,
225+ highlightBaseColor ,
216226 highlightFillStealth . rest ,
217227 highlightFillSubtle . rest ,
218228 highlightFillIdeal . rest ,
219229 highlightFillDiscernible . rest ,
220230 highlightFillReadable . rest ,
231+ criticalBaseColor ,
221232 criticalFillStealth . rest ,
222233 criticalFillSubtle . rest ,
223234 criticalFillIdeal . rest ,
224235 criticalFillDiscernible . rest ,
225236 criticalFillReadable . rest ,
237+ warningBaseColor ,
226238 warningFillStealth . rest ,
227239 warningFillSubtle . rest ,
228240 warningFillIdeal . rest ,
229241 warningFillDiscernible . rest ,
230242 warningFillReadable . rest ,
243+ successBaseColor ,
231244 successFillStealth . rest ,
232245 successFillSubtle . rest ,
233246 successFillIdeal . rest ,
234247 successFillDiscernible . rest ,
235248 successFillReadable . rest ,
249+ infoBaseColor ,
236250 infoFillStealth . rest ,
237251 infoFillSubtle . rest ,
238252 infoFillIdeal . rest ,
239253 infoFillDiscernible . rest ,
240254 infoFillReadable . rest ,
255+ neutralBaseColor ,
241256 neutralFillStealth . rest ,
242257 neutralFillSubtle . rest ,
243258 neutralFillIdeal . rest ,
0 commit comments