|
1 | 1 | import { css } from '@microsoft/fast-element';
|
2 | 2 | import { display } from '../utils/index.js';
|
| 3 | +import { |
| 4 | + anchorState, |
| 5 | + beigeState, |
| 6 | + blueState, |
| 7 | + brandState, |
| 8 | + brassState, |
| 9 | + brownState, |
| 10 | + cornflowerState, |
| 11 | + cranberryState, |
| 12 | + darkGreenState, |
| 13 | + darkRedState, |
| 14 | + forestState, |
| 15 | + goldState, |
| 16 | + grapeState, |
| 17 | + lavenderState, |
| 18 | + lightTealState, |
| 19 | + lilacState, |
| 20 | + magentaState, |
| 21 | + marigoldState, |
| 22 | + minkState, |
| 23 | + navyState, |
| 24 | + peachState, |
| 25 | + pinkState, |
| 26 | + platinumState, |
| 27 | + plumState, |
| 28 | + pumpkinState, |
| 29 | + purpleState, |
| 30 | + redState, |
| 31 | + royalBlueState, |
| 32 | + seafoamState, |
| 33 | + steelState, |
| 34 | + tealState, |
| 35 | +} from '../styles/states/index.js'; |
3 | 36 | import {
|
4 | 37 | borderRadiusCircular,
|
5 | 38 | borderRadiusLarge,
|
@@ -322,157 +355,157 @@ export const styles = css`
|
322 | 355 | border-radius: ${borderRadiusXLarge};
|
323 | 356 | }
|
324 | 357 |
|
325 |
| - :host(:is([state--brand], :state(brand))) { |
| 358 | + :host(${brandState}) { |
326 | 359 | color: ${colorNeutralForegroundStaticInverted};
|
327 | 360 | background-color: ${colorBrandBackgroundStatic};
|
328 | 361 | }
|
329 | 362 |
|
330 |
| - :host(:is([state--dark-red], :state(dark-red))) { |
| 363 | + :host(${darkRedState}) { |
331 | 364 | color: ${colorPaletteDarkRedForeground2};
|
332 | 365 | background-color: ${colorPaletteDarkRedBackground2};
|
333 | 366 | }
|
334 | 367 |
|
335 |
| - :host(:is([state--cranberry], :state(cranberry))) { |
| 368 | + :host(${cranberryState}) { |
336 | 369 | color: ${colorPaletteCranberryForeground2};
|
337 | 370 | background-color: ${colorPaletteCranberryBackground2};
|
338 | 371 | }
|
339 | 372 |
|
340 |
| - :host(:is([state--red], :state(red))) { |
| 373 | + :host(${redState}) { |
341 | 374 | color: ${colorPaletteRedForeground2};
|
342 | 375 | background-color: ${colorPaletteRedBackground2};
|
343 | 376 | }
|
344 | 377 |
|
345 |
| - :host(:is([state--pumpkin], :state(pumpkin))) { |
| 378 | + :host(${pumpkinState}) { |
346 | 379 | color: ${colorPalettePumpkinForeground2};
|
347 | 380 | background-color: ${colorPalettePumpkinBackground2};
|
348 | 381 | }
|
349 | 382 |
|
350 |
| - :host(:is([state--peach], :state(peach))) { |
| 383 | + :host(${peachState}) { |
351 | 384 | color: ${colorPalettePeachForeground2};
|
352 | 385 | background-color: ${colorPalettePeachBackground2};
|
353 | 386 | }
|
354 | 387 |
|
355 |
| - :host(:is([state--marigold], :state(marigold))) { |
| 388 | + :host(${marigoldState}) { |
356 | 389 | color: ${colorPaletteMarigoldForeground2};
|
357 | 390 | background-color: ${colorPaletteMarigoldBackground2};
|
358 | 391 | }
|
359 | 392 |
|
360 |
| - :host(:is([state--gold], :state(gold))) { |
| 393 | + :host(${goldState}) { |
361 | 394 | color: ${colorPaletteGoldForeground2};
|
362 | 395 | background-color: ${colorPaletteGoldBackground2};
|
363 | 396 | }
|
364 | 397 |
|
365 |
| - :host(:is([state--brass], :state(brass))) { |
| 398 | + :host(${brassState}) { |
366 | 399 | color: ${colorPaletteBrassForeground2};
|
367 | 400 | background-color: ${colorPaletteBrassBackground2};
|
368 | 401 | }
|
369 | 402 |
|
370 |
| - :host(:is([state--brown], :state(brown))) { |
| 403 | + :host(${brownState}) { |
371 | 404 | color: ${colorPaletteBrownForeground2};
|
372 | 405 | background-color: ${colorPaletteBrownBackground2};
|
373 | 406 | }
|
374 | 407 |
|
375 |
| - :host(:is([state--forest], :state(forest))) { |
| 408 | + :host(${forestState}) { |
376 | 409 | color: ${colorPaletteForestForeground2};
|
377 | 410 | background-color: ${colorPaletteForestBackground2};
|
378 | 411 | }
|
379 | 412 |
|
380 |
| - :host(:is([state--seafoam], :state(seafoam))) { |
| 413 | + :host(${seafoamState}) { |
381 | 414 | color: ${colorPaletteSeafoamForeground2};
|
382 | 415 | background-color: ${colorPaletteSeafoamBackground2};
|
383 | 416 | }
|
384 | 417 |
|
385 |
| - :host(:is([state--dark-green], :state(dark-green))) { |
| 418 | + :host(${darkGreenState}) { |
386 | 419 | color: ${colorPaletteDarkGreenForeground2};
|
387 | 420 | background-color: ${colorPaletteDarkGreenBackground2};
|
388 | 421 | }
|
389 | 422 |
|
390 |
| - :host(:is([state--light-teal], :state(light-teal))) { |
| 423 | + :host(${lightTealState}) { |
391 | 424 | color: ${colorPaletteLightTealForeground2};
|
392 | 425 | background-color: ${colorPaletteLightTealBackground2};
|
393 | 426 | }
|
394 | 427 |
|
395 |
| - :host(:is([state--teal], :state(teal))) { |
| 428 | + :host(${tealState}) { |
396 | 429 | color: ${colorPaletteTealForeground2};
|
397 | 430 | background-color: ${colorPaletteTealBackground2};
|
398 | 431 | }
|
399 | 432 |
|
400 |
| - :host(:is([state--steel], :state(steel))) { |
| 433 | + :host(${steelState}) { |
401 | 434 | color: ${colorPaletteSteelForeground2};
|
402 | 435 | background-color: ${colorPaletteSteelBackground2};
|
403 | 436 | }
|
404 | 437 |
|
405 |
| - :host(:is([state--blue], :state(blue))) { |
| 438 | + :host(${blueState}) { |
406 | 439 | color: ${colorPaletteBlueForeground2};
|
407 | 440 | background-color: ${colorPaletteBlueBackground2};
|
408 | 441 | }
|
409 | 442 |
|
410 |
| - :host(:is([state--royal-blue], :state(royal-blue))) { |
| 443 | + :host(${royalBlueState}) { |
411 | 444 | color: ${colorPaletteRoyalBlueForeground2};
|
412 | 445 | background-color: ${colorPaletteRoyalBlueBackground2};
|
413 | 446 | }
|
414 | 447 |
|
415 |
| - :host(:is([state--cornflower], :state(cornflower))) { |
| 448 | + :host(${cornflowerState}) { |
416 | 449 | color: ${colorPaletteCornflowerForeground2};
|
417 | 450 | background-color: ${colorPaletteCornflowerBackground2};
|
418 | 451 | }
|
419 | 452 |
|
420 |
| - :host(:is([state--navy], :state(navy))) { |
| 453 | + :host(${navyState}) { |
421 | 454 | color: ${colorPaletteNavyForeground2};
|
422 | 455 | background-color: ${colorPaletteNavyBackground2};
|
423 | 456 | }
|
424 | 457 |
|
425 |
| - :host(:is([state--lavender], :state(lavender))) { |
| 458 | + :host(${lavenderState}) { |
426 | 459 | color: ${colorPaletteLavenderForeground2};
|
427 | 460 | background-color: ${colorPaletteLavenderBackground2};
|
428 | 461 | }
|
429 | 462 |
|
430 |
| - :host(:is([state--purple], :state(purple))) { |
| 463 | + :host(${purpleState}) { |
431 | 464 | color: ${colorPalettePurpleForeground2};
|
432 | 465 | background-color: ${colorPalettePurpleBackground2};
|
433 | 466 | }
|
434 | 467 |
|
435 |
| - :host(:is([state--grape], :state(grape))) { |
| 468 | + :host(${grapeState}) { |
436 | 469 | color: ${colorPaletteGrapeForeground2};
|
437 | 470 | background-color: ${colorPaletteGrapeBackground2};
|
438 | 471 | }
|
439 | 472 |
|
440 |
| - :host(:is([state--lilac], :state(lilac))) { |
| 473 | + :host(${lilacState}) { |
441 | 474 | color: ${colorPaletteLilacForeground2};
|
442 | 475 | background-color: ${colorPaletteLilacBackground2};
|
443 | 476 | }
|
444 | 477 |
|
445 |
| - :host(:is([state--pink], :state(pink))) { |
| 478 | + :host(${pinkState}) { |
446 | 479 | color: ${colorPalettePinkForeground2};
|
447 | 480 | background-color: ${colorPalettePinkBackground2};
|
448 | 481 | }
|
449 | 482 |
|
450 |
| - :host(:is([state--magenta], :state(magenta))) { |
| 483 | + :host(${magentaState}) { |
451 | 484 | color: ${colorPaletteMagentaForeground2};
|
452 | 485 | background-color: ${colorPaletteMagentaBackground2};
|
453 | 486 | }
|
454 | 487 |
|
455 |
| - :host(:is([state--plum], :state(plum))) { |
| 488 | + :host(${plumState}) { |
456 | 489 | color: ${colorPalettePlumForeground2};
|
457 | 490 | background-color: ${colorPalettePlumBackground2};
|
458 | 491 | }
|
459 | 492 |
|
460 |
| - :host(:is([state--beige], :state(beige))) { |
| 493 | + :host(${beigeState}) { |
461 | 494 | color: ${colorPaletteBeigeForeground2};
|
462 | 495 | background-color: ${colorPaletteBeigeBackground2};
|
463 | 496 | }
|
464 | 497 |
|
465 |
| - :host(:is([state--mink], :state(mink))) { |
| 498 | + :host(${minkState}) { |
466 | 499 | color: ${colorPaletteMinkForeground2};
|
467 | 500 | background-color: ${colorPaletteMinkBackground2};
|
468 | 501 | }
|
469 | 502 |
|
470 |
| - :host(:is([state--platinum], :state(platinum))) { |
| 503 | + :host(${platinumState}) { |
471 | 504 | color: ${colorPalettePlatinumForeground2};
|
472 | 505 | background-color: ${colorPalettePlatinumBackground2};
|
473 | 506 | }
|
474 | 507 |
|
475 |
| - :host(:is([state--anchor], :state(anchor))) { |
| 508 | + :host(${anchorState}) { |
476 | 509 | color: ${colorPaletteAnchorForeground2};
|
477 | 510 | background-color: ${colorPaletteAnchorBackground2};
|
478 | 511 | }
|
|
0 commit comments