@akropolys/kiku 1.7.4 → 1.7.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/styles.css CHANGED
@@ -603,61 +603,40 @@
603
603
  flex: 1;
604
604
  display: flex;
605
605
  flex-direction: column;
606
- align-items: center;
606
+ align-items: flex-start;
607
607
  justify-content: center;
608
- gap: 20px;
609
- padding: 60px 32px;
610
- text-align: center;
611
- background:
612
- radial-gradient(
613
- circle at center,
614
- rgba(var(--hsk-primary-rgb, 255, 106, 51), 0.08) 0%,
615
- transparent 60%);
608
+ gap: 14px;
609
+ padding: 40px clamp(24px, 6%, 56px) 48px;
610
+ text-align: left;
616
611
  }
617
- .hsk-cb-empty-icon {
618
- font-size: 48px;
619
- color: var(--hsk-primary);
620
- display: flex;
621
- align-items: center;
622
- animation: hsk-sparkle-spin 4s linear infinite;
612
+ .hsk-cb-hello {
613
+ margin: 0;
614
+ font-size: clamp(30px, 6.5vw, 48px);
615
+ font-weight: 400;
616
+ line-height: 1.04;
617
+ letter-spacing: -0.025em;
618
+ color: var(--hsk-chat-text, #111);
623
619
  }
624
- .hsk-cb-empty-logo {
625
- width: 52px;
626
- height: 52px;
620
+ .hsk-cb-hello b {
621
+ font-weight: 600;
627
622
  color: var(--hsk-primary, #ff6a33);
628
623
  }
629
- .hsk-cb-empty-logo .hsk-brand-mark {
630
- width: 100%;
631
- height: 100%;
632
- fill: currentColor;
633
- }
634
- .hsk-cb-empty-title {
635
- font-size: 26px;
636
- font-weight: 500;
637
- color: var(--hsk-chat-text, #111);
638
- letter-spacing: -.02em;
639
- }
640
- .hsk-cb-empty-sub {
641
- font-size: 14px;
624
+ .hsk-cb-hello-lead {
625
+ margin: 0;
626
+ font-size: 16px;
627
+ line-height: 1.6;
642
628
  color: var(--hsk-chat-muted, #5f6368);
643
- line-height: 1.7;
644
- max-width: 380px;
629
+ max-width: 34ch;
645
630
  }
646
- .hsk-cb-onboard-title {
647
- font-size: 34px;
648
- font-weight: 600;
649
- letter-spacing: -.03em;
650
- }
651
- .hsk-cb-onboard-ask {
631
+ .hsk-cb-hello-ask {
632
+ margin: 6px 0 0;
652
633
  font-size: 17px;
653
634
  font-weight: 500;
654
635
  color: var(--hsk-chat-text, #111);
655
- margin-top: 4px;
656
636
  }
657
- .hsk-cb-onboard-skip {
658
- margin-top: 2px;
659
- padding: 4px 10px;
660
- font-size: 12.5px;
637
+ .hsk-cb-hello-skip {
638
+ padding: 0;
639
+ font-size: 13px;
661
640
  color: var(--hsk-chat-muted, #888);
662
641
  background: transparent;
663
642
  border: none;
@@ -665,14 +644,87 @@
665
644
  text-decoration: underline;
666
645
  text-underline-offset: 3px;
667
646
  }
668
- .hsk-cb-onboard-skip:hover {
647
+ .hsk-cb-hello-skip:hover {
669
648
  color: var(--hsk-chat-text, #111);
670
649
  }
650
+ @keyframes hsk-hello-rise {
651
+ from {
652
+ opacity: 0;
653
+ transform: translateY(16px);
654
+ filter: blur(10px);
655
+ }
656
+ to {
657
+ opacity: 1;
658
+ transform: translateY(0);
659
+ filter: blur(0);
660
+ }
661
+ }
662
+ .hsk-cb-hello,
663
+ .hsk-cb-hello-lead,
664
+ .hsk-cb-hello-ask,
665
+ .hsk-cb-hello-skip {
666
+ opacity: 0;
667
+ animation: hsk-hello-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
668
+ }
669
+ .hsk-cb-hello {
670
+ animation-delay: 0.06s;
671
+ }
672
+ .hsk-cb-hello-lead {
673
+ animation-delay: 0.26s;
674
+ }
675
+ .hsk-cb-hello-ask {
676
+ animation-delay: 0.44s;
677
+ }
678
+ .hsk-cb-hello-skip {
679
+ animation-delay: 0.60s;
680
+ }
681
+ .hsk-cb-hello b {
682
+ background-image:
683
+ linear-gradient(
684
+ 100deg,
685
+ currentColor 0%,
686
+ currentColor 42%,
687
+ rgba(255, 255, 255, 0.92) 50%,
688
+ currentColor 58%,
689
+ currentColor 100%);
690
+ background-size: 250% 100%;
691
+ background-repeat: no-repeat;
692
+ background-position: 130% 0;
693
+ -webkit-background-clip: text;
694
+ background-clip: text;
695
+ -webkit-text-fill-color: transparent;
696
+ animation: hsk-hello-sheen 4.5s ease-in-out 1s infinite;
697
+ }
698
+ @keyframes hsk-hello-sheen {
699
+ 0% {
700
+ background-position: 130% 0;
701
+ }
702
+ 55% {
703
+ background-position: -30% 0;
704
+ }
705
+ 100% {
706
+ background-position: -30% 0;
707
+ }
708
+ }
709
+ @media (prefers-reduced-motion: reduce) {
710
+ .hsk-cb-hello,
711
+ .hsk-cb-hello-lead,
712
+ .hsk-cb-hello-ask,
713
+ .hsk-cb-hello-skip {
714
+ animation: none;
715
+ opacity: 1;
716
+ transform: none;
717
+ filter: none;
718
+ }
719
+ .hsk-cb-hello b {
720
+ animation: none;
721
+ }
722
+ }
671
723
  .hsk-cb-chips {
672
724
  display: flex;
673
725
  flex-wrap: wrap;
674
726
  gap: 8px;
675
- justify-content: center;
727
+ justify-content: flex-start;
676
728
  margin-top: 4px;
677
729
  }
678
730
  .hsk-cb-chip {
@@ -1435,10 +1487,13 @@
1435
1487
  border-color: rgba(255, 255, 255, .07);
1436
1488
  color: #888;
1437
1489
  }
1438
- .hsk-cb-empty-title {
1490
+ .hsk-cb-hello {
1491
+ color: #f0efed;
1492
+ }
1493
+ .hsk-cb-hello-ask {
1439
1494
  color: #f0efed;
1440
1495
  }
1441
- .hsk-cb-empty-sub {
1496
+ .hsk-cb-hello-lead {
1442
1497
  color: #888;
1443
1498
  }
1444
1499
  .hsk-cb-chip {