@deriv-web-design/ui 0.0.15 → 0.0.17

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/index.css CHANGED
@@ -62,14 +62,14 @@
62
62
  pointer-events: none;
63
63
  }
64
64
  .coral_primary {
65
- background-color: var(--color-coral-500);
65
+ background-color: var(--color-coral-700);
66
66
  color: var(--color-slate-50);
67
67
  }
68
68
  .coral_primary:hover:not(:disabled) {
69
- background-color: var(--color-coral-600);
69
+ background-color: var(--color-coral-800);
70
70
  }
71
71
  .coral_primary:active:not(:disabled) {
72
- background-color: var(--color-coral-700);
72
+ background-color: var(--color-coral-900);
73
73
  }
74
74
  .coral_primary:disabled {
75
75
  opacity: 0.24;
@@ -77,8 +77,8 @@
77
77
  }
78
78
  .coral_secondary {
79
79
  background-color: transparent;
80
- color: var(--color-coral-500);
81
- border-color: var(--color-coral-500);
80
+ color: var(--color-coral-700);
81
+ border-color: var(--color-coral-700);
82
82
  }
83
83
  .coral_secondary:hover:not(:disabled) {
84
84
  background-color: rgba(255, 68, 79, 0.08);
@@ -1198,7 +1198,7 @@
1198
1198
  background-color: var(--color-slate-1200);
1199
1199
  }
1200
1200
  .card-primary.style--brand {
1201
- background-color: var(--color-coral-500);
1201
+ background-color: var(--color-coral-700);
1202
1202
  }
1203
1203
  .card-primary.style--image {
1204
1204
  background-color: transparent;
@@ -1554,7 +1554,7 @@
1554
1554
  font-size: var(--typography-h2-font-size);
1555
1555
  font-weight: var(--typography-h2-font-weight);
1556
1556
  line-height: var(--typography-h2-line-height);
1557
- color: var(--color-slate-1200);
1557
+ color: var(--text-primary);
1558
1558
  margin: 0;
1559
1559
  }
1560
1560
  .fc-sectionDescription {
@@ -1621,7 +1621,7 @@
1621
1621
  font-size: var(--typography-h2-font-size);
1622
1622
  font-weight: var(--typography-h2-font-weight);
1623
1623
  line-height: var(--typography-h2-line-height);
1624
- color: var(--color-slate-1200);
1624
+ color: var(--text-primary);
1625
1625
  margin: 0;
1626
1626
  }
1627
1627
  .fcs-sectionDescription {
@@ -2133,7 +2133,7 @@
2133
2133
  --hero-dark-bg: var(--color-slate-1200);
2134
2134
  --hero-light-bg: var(--color-slate-75);
2135
2135
  --hero-text-light: var(--color-slate-50);
2136
- --hero-text-dark: var(--color-slate-1200);
2136
+ --hero-text-dark: var(--text-primary);
2137
2137
  --hero-subtitle-size: var(--typography-body-md-font-size);
2138
2138
  --hero-subtitle-lh: var(--typography-body-md-line-height);
2139
2139
  --hero-subtitle-weight: var(--font-weight-semi-bold);
@@ -2875,7 +2875,7 @@
2875
2875
  :root {
2876
2876
  --stats-bg: var(--color-slate-50);
2877
2877
  --stats-card-bg: var(--color-slate-75);
2878
- --stats-text-primary: var(--color-slate-1200);
2878
+ --stats-text-primary: var(--text-primary);
2879
2879
  --stats-title-size: var(--typography-h2-font-size);
2880
2880
  --stats-title-lh: var(--typography-h2-line-height);
2881
2881
  --stats-desc-size: var(--typography-body-md-font-size);
@@ -3096,10 +3096,10 @@
3096
3096
  /* templates/FeatureScroll/FeatureScroll.css */
3097
3097
  :root {
3098
3098
  --fs-bg: var(--color-slate-50);
3099
- --fs-text-primary: var(--color-slate-1200);
3099
+ --fs-text-primary: var(--text-primary);
3100
3100
  --fs-text-muted: var(--color-slate-500);
3101
- --fs-link-color: var(--color-coral-500);
3102
- --fs-link-hover: var(--color-coral-600);
3101
+ --fs-link-color: var(--color-coral-700);
3102
+ --fs-link-hover: var(--color-coral-800);
3103
3103
  --fs-media-bg: transparent;
3104
3104
  --fs-font-family: var(--font-family-base);
3105
3105
  --fs-header-family: var(--typography-h2-font-family);
@@ -3322,10 +3322,10 @@
3322
3322
  :root {
3323
3323
  --ssc-bg: var(--color-slate-50);
3324
3324
  --ssc-font-family: var(--font-family-base);
3325
- --ssc-header-color: var(--color-slate-1200);
3325
+ --ssc-header-color: var(--text-primary);
3326
3326
  --ssc-card-light-bg: var(--color-slate-75);
3327
3327
  --ssc-card-light-text: var(--color-slate-1200);
3328
- --ssc-card-coral-bg: var(--color-coral-500);
3328
+ --ssc-card-coral-bg: var(--color-coral-700);
3329
3329
  --ssc-card-coral-text: var(--color-slate-50);
3330
3330
  --ssc-card-dark-bg: var(--color-slate-1200);
3331
3331
  --ssc-card-dark-text: var(--color-slate-50);
@@ -3514,7 +3514,7 @@
3514
3514
  position: relative;
3515
3515
  width: 100%;
3516
3516
  min-height: var(--ctab-section-min-height);
3517
- background-color: var(--color-coral-500);
3517
+ background-color: var(--color-coral-700);
3518
3518
  font-family: var(--font-family-base);
3519
3519
  box-sizing: border-box;
3520
3520
  overflow: hidden;
@@ -4425,8 +4425,8 @@
4425
4425
  :root {
4426
4426
  --dnt-text-day: var(--color-slate-1400);
4427
4427
  --dnt-text-night: var(--color-slate-50);
4428
- --dnt-btn-bg: var(--color-coral-500);
4429
- --dnt-btn-bg-hover: var(--color-coral-600);
4428
+ --dnt-btn-bg: var(--color-coral-700);
4429
+ --dnt-btn-bg-hover: var(--color-coral-800);
4430
4430
  --dnt-btn-text: var(--color-slate-50);
4431
4431
  --dnt-btn-radius: var(--radius-full);
4432
4432
  --dnt-btn-px: var(--spacing-24);
@@ -4455,6 +4455,9 @@
4455
4455
  width: 100%;
4456
4456
  font-family: var(--font-family-base);
4457
4457
  }
4458
+ .dnt--webflow-v2 {
4459
+ --dnt-wrapper-height: 200vh;
4460
+ }
4458
4461
  .dnt__sticky {
4459
4462
  position: sticky;
4460
4463
  top: 0;
@@ -4478,6 +4481,107 @@
4478
4481
  .dnt__bg--night {
4479
4482
  z-index: 1;
4480
4483
  }
4484
+ .dnt__v2-background-wrapper {
4485
+ z-index: -1;
4486
+ width: 100%;
4487
+ height: 100%;
4488
+ position: absolute;
4489
+ inset: 0;
4490
+ pointer-events: none;
4491
+ }
4492
+ .dnt__v2-bg-day {
4493
+ z-index: 1;
4494
+ opacity: 1;
4495
+ width: 100%;
4496
+ box-sizing: border-box;
4497
+ position: relative;
4498
+ top: 0;
4499
+ left: 0;
4500
+ right: 0;
4501
+ background-repeat: no-repeat;
4502
+ background-size: cover;
4503
+ background-position: 100% 100%;
4504
+ overflow: hidden;
4505
+ }
4506
+ .dnt__v2-bg-night {
4507
+ z-index: 0;
4508
+ width: 100%;
4509
+ height: 100vh;
4510
+ margin-top: -100vh;
4511
+ position: sticky;
4512
+ top: 0;
4513
+ left: 0;
4514
+ right: 0;
4515
+ box-sizing: border-box;
4516
+ background-repeat: no-repeat;
4517
+ background-size: cover;
4518
+ background-position: 100% 100%;
4519
+ }
4520
+ .dnt--webflow-v2 .dnt__v2-bg-day,
4521
+ .dnt--webflow-v2 .dnt__v2-bg-night {
4522
+ background-attachment: fixed;
4523
+ }
4524
+ .dnt__sticky--webflow-v2 {
4525
+ z-index: 0;
4526
+ }
4527
+ .dnt--webflow-v2 .dnt__sticky--webflow-v2 {
4528
+ height: 100dvh;
4529
+ min-height: 100vh;
4530
+ }
4531
+ @media screen and (max-width: 991px) {
4532
+ .dnt--webflow-v2 .dnt__v2-bg-day {
4533
+ position: sticky;
4534
+ top: 0;
4535
+ background-position: 30% 0;
4536
+ background-repeat: repeat;
4537
+ background-size: auto 100vh;
4538
+ }
4539
+ .dnt--webflow-v2 .dnt__v2-bg-night {
4540
+ background-position: 30% 0;
4541
+ background-repeat: repeat;
4542
+ background-size: auto 100vh;
4543
+ }
4544
+ .dnt--webflow-v2 .dnt__sticky--webflow-v2 .dnt__content {
4545
+ flex-flow: column nowrap;
4546
+ justify-content: flex-start;
4547
+ align-items: flex-start;
4548
+ padding: var(--spacing-112) var(--dnt-content-px) var(--dnt-content-py) var(--dnt-content-px);
4549
+ }
4550
+ .dnt--webflow-v2 .dnt__text-wrap {
4551
+ max-width: 100%;
4552
+ width: 100%;
4553
+ }
4554
+ .dnt--webflow-v2 .dnt__headline--inline-day-night {
4555
+ width: 60%;
4556
+ }
4557
+ }
4558
+ @media screen and (max-width: 767px) {
4559
+ .dnt--webflow-v2 .dnt__headline--inline-day-night {
4560
+ width: 80%;
4561
+ }
4562
+ }
4563
+ @media screen and (max-width: 479px) {
4564
+ .dnt--webflow-v2 .dnt__v2-bg-day {
4565
+ background-position: 40% 0;
4566
+ }
4567
+ .dnt--webflow-v2 .dnt__v2-bg-night {
4568
+ background-position: 40% 0;
4569
+ }
4570
+ .dnt--webflow-v2 .dnt__sticky--webflow-v2 .dnt__content {
4571
+ padding: var(--spacing-80) var(--dnt-content-px) var(--dnt-content-py) var(--dnt-content-px);
4572
+ }
4573
+ .dnt--layout-v2 .dnt__inner {
4574
+ padding-left: var(--spacing-16);
4575
+ padding-right: var(--spacing-16);
4576
+ }
4577
+ .dnt--webflow-v2.dnt--headline-h1 .dnt__headline {
4578
+ font-size: 3.5rem;
4579
+ line-height: 4rem;
4580
+ }
4581
+ .dnt--webflow-v2 .dnt__description {
4582
+ margin-top: 0;
4583
+ }
4584
+ }
4481
4585
  .dnt__content {
4482
4586
  position: relative;
4483
4587
  z-index: 2;
@@ -4498,6 +4602,9 @@
4498
4602
  margin: 0 auto;
4499
4603
  box-sizing: border-box;
4500
4604
  }
4605
+ .dnt--layout-v2 .dnt__inner {
4606
+ max-width: 83rem;
4607
+ }
4501
4608
  .dnt__text-wrap {
4502
4609
  display: flex;
4503
4610
  flex-direction: column;
@@ -4518,6 +4625,30 @@
4518
4625
  font-weight: var(--typography-h2-font-weight);
4519
4626
  line-height: var(--typography-h2-line-height);
4520
4627
  }
4628
+ .dnt__headline--inline-day-night {
4629
+ display: block;
4630
+ }
4631
+ .dnt__headline-prefix {
4632
+ white-space: pre;
4633
+ }
4634
+ .dnt__headline-pair {
4635
+ display: inline-block;
4636
+ position: relative;
4637
+ vertical-align: bottom;
4638
+ }
4639
+ .dnt__headline-wday,
4640
+ .dnt__headline-wnight {
4641
+ display: inline-block;
4642
+ }
4643
+ .dnt__headline-wnight {
4644
+ vertical-align: bottom;
4645
+ }
4646
+ .dnt--headline-h1 .dnt__headline {
4647
+ font-family: var(--typography-h1-font-family);
4648
+ font-size: var(--typography-h1-font-size);
4649
+ font-weight: var(--typography-h1-font-weight);
4650
+ line-height: var(--typography-h1-line-height);
4651
+ }
4521
4652
  .dnt__description {
4522
4653
  margin: 0;
4523
4654
  font-family: var(--font-family-base);
@@ -4525,6 +4656,12 @@
4525
4656
  font-weight: var(--dnt-desc-weight);
4526
4657
  line-height: var(--dnt-desc-lh);
4527
4658
  }
4659
+ .dnt--desc-body-lg .dnt__description {
4660
+ font-family: var(--typography-body-lg-font-family);
4661
+ font-size: var(--typography-body-lg-font-size);
4662
+ font-weight: var(--typography-body-lg-font-weight);
4663
+ line-height: var(--typography-body-lg-line-height);
4664
+ }
4528
4665
  .dnt__btn {
4529
4666
  display: inline-flex;
4530
4667
  align-items: center;
@@ -4558,7 +4695,7 @@
4558
4695
  --lm-section-height: 50rem;
4559
4696
  --lm-max-width: var(--content-width-1280);
4560
4697
  --lm-layout-gap: var(--spacing-112);
4561
- --lm-card-bg: transparent;
4698
+ --lm-card-bg: var(--color-slate-1000);
4562
4699
  --lm-card-radius: var(--radius-lg);
4563
4700
  --lm-card-radius-mobile: var(--radius-2xl);
4564
4701
  --lm-card-px: var(--spacing-16);
@@ -4584,7 +4721,7 @@
4584
4721
  --lm-disc-lh: var(--typography-body-sm-line-height);
4585
4722
  --lm-disc-color: var(--color-slate-400);
4586
4723
  --lm-disc-weight: var(--typography-body-sm-font-weight);
4587
- --lm-link-color: var(--color-coral-500);
4724
+ --lm-link-color: var(--color-coral-700);
4588
4725
  --lm-link-size: var(--typography-link-md-font-size);
4589
4726
  --lm-link-weight: var(--typography-link-md-font-weight);
4590
4727
  --lm-text-width: 32.625rem;
@@ -4677,7 +4814,7 @@
4677
4814
  transition: color 0.2s ease;
4678
4815
  }
4679
4816
  .lm__link:hover {
4680
- color: var(--color-coral-600);
4817
+ color: var(--color-coral-800);
4681
4818
  }
4682
4819
  .lm__link-icon {
4683
4820
  display: inline-flex;
@@ -4840,9 +4977,9 @@
4840
4977
  /* templates/Steps/Steps.css */
4841
4978
  :root {
4842
4979
  --steps-bg: var(--color-slate-50);
4843
- --steps-title-color: var(--color-slate-1200);
4844
- --steps-number-color: var(--color-coral-500);
4845
- --steps-item-title-color: var(--color-slate-1200);
4980
+ --steps-title-color: var(--text-primary);
4981
+ --steps-number-color: var(--color-coral-700);
4982
+ --steps-item-title-color: var(--text-primary);
4846
4983
  --steps-item-desc-color: var(--color-slate-600);
4847
4984
  --steps-divider-color: var(--color-slate-200);
4848
4985
  }
@@ -4973,9 +5110,9 @@
4973
5110
  --db-card-bg-light: var(--color-slate-50);
4974
5111
  --db-card-bg-light-2: var(--color-slate-100);
4975
5112
  --db-card-bg-dark: var(--color-slate-1200);
4976
- --db-title-color-light: var(--color-slate-1200);
5113
+ --db-title-color-light: var(--text-primary);
4977
5114
  --db-title-color-dark: var(--color-slate-50);
4978
- --db-subtitle-color-light: var(--color-slate-1200);
5115
+ --db-subtitle-color-light: var(--text-primary);
4979
5116
  --db-subtitle-color-dark: var(--color-slate-50);
4980
5117
  --db-disclaimer-color-light: var(--color-slate-500);
4981
5118
  --db-disclaimer-color-dark: var(--color-slate-500);
@@ -5154,4 +5291,44 @@
5154
5291
  width: auto;
5155
5292
  }
5156
5293
  }
5294
+
5295
+ /* templates/TextScroll/TextScroll.css */
5296
+ .ts {
5297
+ font-family: var(--font-family-base);
5298
+ box-sizing: border-box;
5299
+ }
5300
+ .ts__inner {
5301
+ max-width: var(--content-width-1280);
5302
+ margin: 0 auto;
5303
+ padding: var(--spacing-56) var(--spacing-16);
5304
+ box-sizing: border-box;
5305
+ }
5306
+ @media (min-width: 768px) {
5307
+ .ts__inner {
5308
+ padding: var(--spacing-56) var(--spacing-24);
5309
+ }
5310
+ }
5311
+ @media (min-width: 1280px) {
5312
+ .ts__inner {
5313
+ padding: var(--spacing-112) var(--spacing-24);
5314
+ }
5315
+ }
5316
+ .ts__text {
5317
+ margin: 0;
5318
+ font-family: var(--typography-h4-font-family);
5319
+ font-size: var(--typography-h4-font-size);
5320
+ font-weight: var(--typography-h4-font-weight);
5321
+ line-height: var(--typography-h4-line-height);
5322
+ color: var(--text-primary);
5323
+ }
5324
+ @media (min-width: 768px) {
5325
+ .ts__text {
5326
+ text-align: center;
5327
+ }
5328
+ }
5329
+ .ts__word {
5330
+ display: inline;
5331
+ white-space: pre-wrap;
5332
+ will-change: opacity;
5333
+ }
5157
5334
  /*# sourceMappingURL=index.css.map */