|
346 | 346 |
|
347 | 347 | :global(.vis-time-axis .vis-text) { |
348 | 348 | font-size: 10px; |
349 | | - color: white !important; |
| 349 | + color: theme(colors.white) !important; |
350 | 350 | } |
351 | 351 |
|
352 | 352 | :global(.vis-background, .vis-timeline) { |
353 | | - background-color: #000; |
354 | | - color: white; |
| 353 | + background-color: theme(colors.black); |
| 354 | + color: theme(colors.white); |
355 | 355 | border-radius: 0.75rem; |
356 | 356 | border-width: 2px; |
357 | | - border: 2px solid #000; |
| 357 | + border: 2px solid theme(colors.black); |
358 | 358 | } |
359 | 359 |
|
360 | 360 | :global(.vis-content, .vis-group) { |
|
367 | 367 | } |
368 | 368 |
|
369 | 369 | :global(.vis-item.vis-dot) { |
370 | | - background-color: #18181b; |
| 370 | + background-color: theme(colors.off-black); |
371 | 371 | } |
372 | 372 |
|
373 | 373 | :global(.vis-item-overflow) { |
374 | 374 | overflow: visible !important; |
375 | 375 | } |
376 | 376 |
|
377 | 377 | :global(.vis-tooltip) { |
378 | | - background-color: #18181b !important; |
| 378 | + background-color: theme(colors.off-black) !important; |
379 | 379 | color: white !important; |
380 | 380 | border-radius: 0.75rem !important; |
381 | 381 | border-width: 2px !important; |
382 | | - border: 2px solid #18181b !important; |
| 382 | + border: 2px solid theme(colors.off-black) !important; |
383 | 383 | height: auto !important; |
384 | 384 | font-size: 0.5em !important; |
385 | 385 | } |
|
390 | 390 |
|
391 | 391 | /* CSS for each activity type block */ |
392 | 392 | :global(.vis-item.vis-range.workflow) { |
393 | | - background-color: #f4f4f5; |
394 | | - border-color: #18181b; |
| 393 | + background-color: theme(colors.off-white); |
| 394 | + border-color: theme(colors.off-black); |
395 | 395 | border-radius: 9999px; |
396 | 396 | border-width: 2px; |
397 | | - color: #18181b; |
| 397 | + color: theme(colors.black); |
398 | 398 | } |
399 | 399 |
|
400 | 400 | :global(.vis-item.vis-point.workflow) { |
401 | | - background-color: #18181b; |
402 | | - color: #18181b; |
| 401 | + background-color: theme(colors.off-black); |
| 402 | + color: theme(colors.off-black); |
403 | 403 | } |
404 | 404 |
|
405 | 405 | /* CSS for each classifciation */ |
406 | | - :global(.vis-item.vis-range.Failed, .vis-item.vis-range.Terminated) { |
407 | | - background-color: #fee2e2; |
408 | | - border-color: #b91c1c; |
| 406 | + :global(.vis-item.vis-range.Failed) { |
| 407 | + background-color: theme(colors.red.300); |
| 408 | + border-color: theme(colors.red.300); |
| 409 | + border-radius: 9999px; |
| 410 | + border-width: 2px; |
| 411 | + color: theme(colors.black); |
| 412 | + } |
| 413 | +
|
| 414 | + :global(.vis-item.vis-point.Failed) { |
| 415 | + color: theme(colors.red.300); |
| 416 | + } |
| 417 | +
|
| 418 | + :global(.vis-item.vis-range.Terminated, .vis-item.vis-range.CancelRequested) { |
| 419 | + background-color: theme(colors.yellow.300); |
| 420 | + border-color: theme(colors.yellow.300); |
409 | 421 | border-radius: 9999px; |
410 | 422 | border-width: 2px; |
411 | | - color: #b91c1c; |
| 423 | + color: theme(colors.black); |
412 | 424 | } |
413 | 425 |
|
414 | | - :global(.vis-item.vis-point.Failed, .vis-item.vis-range.Terminated) { |
415 | | - color: #b91c1c; |
| 426 | + :global(.vis-item.vis-point.Terminated, .vis-item.vis-point.CancelRequested) { |
| 427 | + color: theme(colors.yellow.300); |
416 | 428 | } |
417 | 429 |
|
418 | 430 | :global(.vis-item.vis-range.TimedOut) { |
419 | | - background-color: #ffedd5; |
420 | | - border-color: #c2410c; |
| 431 | + background-color: theme(colors.orange.300); |
| 432 | + border-color: theme(colors.orange.300); |
421 | 433 | border-radius: 9999px; |
422 | 434 | border-width: 2px; |
423 | | - color: #c2410c; |
| 435 | + color: theme(colors.black); |
424 | 436 | } |
425 | 437 |
|
426 | 438 | :global(.vis-item.vis-point.TimedOut) { |
427 | | - color: #c2410c; |
| 439 | + color: theme(colors.orange.300); |
428 | 440 | } |
429 | 441 |
|
430 | | - :global( |
431 | | - .vis-item.vis-range.Canceled, |
432 | | - .vis-item.vis-range.CanceledRequested, |
433 | | - .vis-item.vis-range.Paused |
434 | | - ) { |
435 | | - background-color: #fef9c3; |
436 | | - border-color: #a16207; |
| 442 | + :global(.vis-item.vis-range.Canceled, .vis-item.vis-range.Unspecified) { |
| 443 | + background-color: theme(colors.slate.100); |
| 444 | + border-color: theme(colors.slate.100); |
437 | 445 | border-radius: 9999px; |
438 | 446 | border-width: 2px; |
439 | | - color: #a16207; |
| 447 | + color: theme(colors.black); |
440 | 448 | } |
441 | 449 |
|
442 | | - :global( |
443 | | - .vis-item.vis-point.Canceled, |
444 | | - .vis-item.vis-point.CanceledRequested, |
445 | | - .vis-item.vis-point.Paused |
446 | | - ) { |
447 | | - color: #a16207; |
| 450 | + :global(.vis-item.vis-point.Canceled, .vis-item.vis-point.Unspecified) { |
| 451 | + color: theme(colors.slate.100); |
| 452 | + } |
| 453 | +
|
| 454 | + :global(.vis-item.vis-range.Fired) { |
| 455 | + background-color: theme(colors.pink.300); |
| 456 | + border-color: theme(colors.pink.300); |
| 457 | + border-radius: 9999px; |
| 458 | + border-width: 2px; |
| 459 | + color: theme(colors.black); |
| 460 | + } |
| 461 | +
|
| 462 | + :global(.vis-item.vis-point.Fired) { |
| 463 | + color: theme(colors.pink.300); |
| 464 | + } |
| 465 | +
|
| 466 | + :global(.vis-item.vis-range.Scheduled) { |
| 467 | + background-color: theme(colors.indigo.300); |
| 468 | + border-color: theme(colors.indigo.300); |
| 469 | + border-radius: 9999px; |
| 470 | + border-width: 2px; |
| 471 | + color: theme(colors.black); |
| 472 | + } |
| 473 | +
|
| 474 | + :global(.vis-item.vis-point.Scheduled) { |
| 475 | + color: theme(colors.indigo.300); |
448 | 476 | } |
449 | 477 |
|
450 | 478 | :global( |
451 | 479 | .vis-item.vis-range.Running, |
452 | | - .vis-item.vis-range.Fired, |
453 | | - .vis-item.vis-range.Scheduled, |
| 480 | + .vis-item.vis-range.New, |
454 | 481 | .vis-item.vis-range.Started, |
455 | 482 | .vis-item.vis-range.Initiated |
456 | 483 | ) { |
457 | | - background-color: #93bbfd; |
458 | | - border-color: #1d4ed8; |
| 484 | + background-color: theme(colors.blue.300); |
| 485 | + border-color: theme(colors.blue.300); |
459 | 486 | border-radius: 9999px; |
460 | 487 | border-width: 2px; |
461 | | - color: #000; |
| 488 | + color: theme(colors.black); |
462 | 489 | } |
463 | 490 |
|
464 | 491 | :global( |
465 | 492 | .vis-item.vis-point.Running, |
466 | | - .vis-item.vis-point.Fired, |
467 | | - .vis-item.vis-point.Scheduled, |
| 493 | + .vis-item.vis-point.New, |
468 | 494 | .vis-item.vis-point.Started, |
469 | 495 | .vis-item.vis-point.Initiated |
470 | 496 | ) { |
471 | | - color: #1d4ed8; |
| 497 | + color: theme(colors.blue.300); |
472 | 498 | } |
473 | 499 |
|
474 | 500 | :global(.vis-item.vis-range.workflow.Running) { |
|
478 | 504 | } |
479 | 505 |
|
480 | 506 | :global(.vis-item.vis-range.ContinuedAsNew) { |
481 | | - background-color: #e4e4e7; |
482 | | - border-color: #18181b; |
| 507 | + background-color: theme(colors.purple.300); |
| 508 | + border-color: theme(colors.purple.300); |
483 | 509 | border-radius: 9999px; |
484 | 510 | border-width: 2px; |
485 | | - color: #17172c; |
| 511 | + color: theme(colors.black); |
486 | 512 | } |
487 | 513 |
|
488 | 514 | :global(.vis-item.vis-point.ContinuedAsNew) { |
489 | | - color: #18181b; |
| 515 | + color: theme(colors.purple.300); |
490 | 516 | } |
491 | 517 |
|
492 | 518 | :global(.vis-item.vis-range.Completed, .vis-item.vis-range.Open) { |
493 | | - background-color: #dcfce7; |
494 | | - border-color: #15803d; |
| 519 | + background-color: #71d375; |
| 520 | + border-color: #71d375; |
495 | 521 | border-radius: 9999px; |
496 | 522 | border-width: 2px; |
497 | | - color: #15803d; |
| 523 | + color: theme(colors.black); |
498 | 524 | } |
499 | 525 |
|
500 | 526 | :global(.vis-item.vis-point.Completed, .vis-item.vis-point.Open) { |
501 | | - color: #15803d; |
| 527 | + color: #71d375; |
502 | 528 | } |
503 | 529 |
|
504 | | - :global(.vis-item.vis-range.New) { |
505 | | - background-color: #e0eaff; |
506 | | - border-color: #4338ca; |
| 530 | + :global(.vis-item.vis-range.Signaled) { |
| 531 | + background-color: theme(colors.pink.200); |
| 532 | + border-color: theme(colors.pink.200); |
507 | 533 | border-radius: 9999px; |
508 | 534 | border-width: 2px; |
509 | | - color: #4338ca; |
| 535 | + color: theme(colors.black); |
510 | 536 | } |
511 | 537 |
|
512 | | - :global(.vis-item.vis-point.New) { |
513 | | - color: #4338ca; |
| 538 | + :global(.vis-item.vis-point.Signaled) { |
| 539 | + color: theme(colors.pink.200); |
514 | 540 | } |
515 | 541 |
|
516 | | - :global(.vis-item.vis-range.Signaled) { |
517 | | - background-color: #f3e8ff; |
518 | | - border-color: #7e22ce; |
| 542 | + :global(.vis-item.vis-range.Paused) { |
| 543 | + background-color: theme(colors.yellow.200); |
| 544 | + border-color: theme(colors.yellow.200); |
519 | 545 | border-radius: 9999px; |
520 | 546 | border-width: 2px; |
521 | | - color: #7e22ce; |
| 547 | + color: theme(colors.black); |
522 | 548 | } |
523 | 549 |
|
524 | | - :global(.vis-item.vis-point.Signaled) { |
525 | | - color: #7e22ce; |
| 550 | + :global(.vis-item.vis-point.Paused) { |
| 551 | + color: theme(colors.yellow.200); |
526 | 552 | } |
527 | 553 |
|
528 | 554 | /* CSS for each activity type */ |
529 | 555 | :global(.vis-item.vis-dot.marker) { |
530 | | - border-color: #18181b; |
| 556 | + border-color: theme(colors.off-black); |
531 | 557 | } |
532 | 558 |
|
533 | 559 | :global(.vis-item.vis-range.signal) { |
534 | | - color: #652b19; |
| 560 | + color: theme(colors.orange.900); |
535 | 561 | } |
536 | 562 |
|
537 | 563 | :global(.vis-item.vis-point.signal) { |
538 | | - color: #652b19; |
| 564 | + color: theme(colors.orange.900); |
539 | 565 | } |
540 | 566 |
|
541 | 567 | :global(.vis-item.vis-range.update) { |
542 | | - background-color: #f3e8ff; |
543 | | - border-color: #581c87; |
| 568 | + background-color: theme(colors.purple.100); |
| 569 | + border-color: theme(colors.purple.900); |
544 | 570 | border-radius: 9999px; |
545 | 571 | border-width: 2px; |
546 | | - color: #581c87; |
| 572 | + color: theme(colors.purple.900); |
547 | 573 | } |
548 | 574 |
|
549 | 575 | :global(.bar-content) { |
|
0 commit comments