@bi-digital/tokens 0.2.8 → 0.2.10

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/tokens.css CHANGED
@@ -36,11 +36,20 @@
36
36
  --bi-primary-95: #042f5b;
37
37
  --bi-primary-100: #002341;
38
38
  --bi-secondary-5: #fcf6df;
39
- --bi-secondary-10: #f9edbf;
40
- --bi-secondary-20: #f5e49f;
41
- --bi-secondary-30: #f2dc7e;
42
- --bi-secondary-40: #efd35f;
43
- --bi-secondary-50: #ecca3f;
39
+ --bi-secondary-10: #fff2bf;
40
+ --bi-secondary-15: #ffea95;
41
+ --bi-secondary-20: #ffe680;
42
+ --bi-secondary-25: #ffe26a;
43
+ --bi-secondary-30: #ffde55;
44
+ --bi-secondary-40: #ffd52b;
45
+ --bi-secondary-50: #ffcd00;
46
+ --bi-secondary-60: #deb300;
47
+ --bi-secondary-70: #bd9800;
48
+ --bi-secondary-80: #9d7e00;
49
+ --bi-secondary-85: #7c6400;
50
+ --bi-secondary-90: #5b4900;
51
+ --bi-secondary-95: #4a3c01;
52
+ --bi-secondary-100: #3a2f00;
44
53
  --bi-info-5: #e6d5ff;
45
54
  --bi-info-10: #d9bfff;
46
55
  --bi-info-15: #cdaaff;
@@ -153,14 +162,14 @@
153
162
  --bi-radius-xl: var(--bi-scale-3x);
154
163
  --bi-radius-brand: var(--bi-scale-12x);
155
164
  --bi-radius-full: var(--bi-scale-max);
156
- --bi-icon-xs: var(--bi-scale-5x);
157
- --bi-icon-small: var(--bi-scale-6x);
158
- --bi-icon-medium: var(--bi-scale-8x);
159
- --bi-icon-large: var(--bi-scale-10x);
160
- --bi-icon-2xl: var(--bi-scale-12x);
165
+ --bi-icon-small: var(--bi-scale-5x);
166
+ --bi-icon-medium: var(--bi-scale-6x);
167
+ --bi-icon-large: var(--bi-scale-8x);
168
+ --bi-icon-xl: var(--bi-scale-10x);
169
+ --bi-icon-2xl: var(--bi-scale-11x);
161
170
  --bi-icon-primary: var(--bi-neutral-95);
162
171
  --bi-icon-secondary: var(--bi-neutral-50);
163
172
  --bi-icon-disabled: var(--bi-neutral-50);
164
173
  --bi-icon-link: var(--bi-primary-50);
165
- --bi-navbar-height: var(--bi-scale-16x);
174
+ --bi-layout-navbar-height: var(--bi-scale-16x);
166
175
  }
package/dist/tokens.d.ts CHANGED
@@ -56,10 +56,19 @@ declare const tokens: {
56
56
  secondary: {
57
57
  "5": DesignToken;
58
58
  "10": DesignToken;
59
+ "15": DesignToken;
59
60
  "20": DesignToken;
61
+ "25": DesignToken;
60
62
  "30": DesignToken;
61
63
  "40": DesignToken;
62
64
  "50": DesignToken;
65
+ "60": DesignToken;
66
+ "70": DesignToken;
67
+ "80": DesignToken;
68
+ "85": DesignToken;
69
+ "90": DesignToken;
70
+ "95": DesignToken;
71
+ "100": DesignToken;
63
72
  };
64
73
  info: {
65
74
  "5": DesignToken;
@@ -185,10 +194,10 @@ declare const tokens: {
185
194
  full: DesignToken;
186
195
  };
187
196
  icon: {
188
- xs: DesignToken;
189
197
  small: DesignToken;
190
198
  medium: DesignToken;
191
199
  large: DesignToken;
200
+ xl: DesignToken;
192
201
  "2xl": DesignToken;
193
202
  Primary: DesignToken;
194
203
  Secondary: DesignToken;
@@ -204,7 +213,7 @@ declare const tokens: {
204
213
  "press-dark": DesignToken;
205
214
  "press-light": DesignToken;
206
215
  };
207
- navbar: {
208
- height: DesignToken;
216
+ layout: {
217
+ "navbar-height": DesignToken;
209
218
  };
210
219
  };
package/dist/tokens.js CHANGED
@@ -540,12 +540,12 @@ export default {
540
540
  },
541
541
  10: {
542
542
  $type: "color",
543
- $value: "#f9edbf",
543
+ $value: "#fff2bf",
544
544
  filePath: "tokens/Reference.Mode 1.tokens.json",
545
545
  isSource: true,
546
546
  original: {
547
547
  $type: "color",
548
- $value: "#f9edbf",
548
+ $value: "#fff2bf",
549
549
  },
550
550
  name: "bi-secondary-10",
551
551
  attributes: {
@@ -554,14 +554,30 @@ export default {
554
554
  },
555
555
  path: ["secondary", "10"],
556
556
  },
557
+ 15: {
558
+ $type: "color",
559
+ $value: "#ffea95",
560
+ filePath: "tokens/Reference.Mode 1.tokens.json",
561
+ isSource: true,
562
+ original: {
563
+ $type: "color",
564
+ $value: "#ffea95",
565
+ },
566
+ name: "bi-secondary-15",
567
+ attributes: {
568
+ category: "secondary",
569
+ type: "15",
570
+ },
571
+ path: ["secondary", "15"],
572
+ },
557
573
  20: {
558
574
  $type: "color",
559
- $value: "#f5e49f",
575
+ $value: "#ffe680",
560
576
  filePath: "tokens/Reference.Mode 1.tokens.json",
561
577
  isSource: true,
562
578
  original: {
563
579
  $type: "color",
564
- $value: "#f5e49f",
580
+ $value: "#ffe680",
565
581
  },
566
582
  name: "bi-secondary-20",
567
583
  attributes: {
@@ -570,14 +586,30 @@ export default {
570
586
  },
571
587
  path: ["secondary", "20"],
572
588
  },
589
+ 25: {
590
+ $type: "color",
591
+ $value: "#ffe26a",
592
+ filePath: "tokens/Reference.Mode 1.tokens.json",
593
+ isSource: true,
594
+ original: {
595
+ $type: "color",
596
+ $value: "#ffe26a",
597
+ },
598
+ name: "bi-secondary-25",
599
+ attributes: {
600
+ category: "secondary",
601
+ type: "25",
602
+ },
603
+ path: ["secondary", "25"],
604
+ },
573
605
  30: {
574
606
  $type: "color",
575
- $value: "#f2dc7e",
607
+ $value: "#ffde55",
576
608
  filePath: "tokens/Reference.Mode 1.tokens.json",
577
609
  isSource: true,
578
610
  original: {
579
611
  $type: "color",
580
- $value: "#f2dc7e",
612
+ $value: "#ffde55",
581
613
  },
582
614
  name: "bi-secondary-30",
583
615
  attributes: {
@@ -588,12 +620,12 @@ export default {
588
620
  },
589
621
  40: {
590
622
  $type: "color",
591
- $value: "#efd35f",
623
+ $value: "#ffd52b",
592
624
  filePath: "tokens/Reference.Mode 1.tokens.json",
593
625
  isSource: true,
594
626
  original: {
595
627
  $type: "color",
596
- $value: "#efd35f",
628
+ $value: "#ffd52b",
597
629
  },
598
630
  name: "bi-secondary-40",
599
631
  attributes: {
@@ -604,12 +636,12 @@ export default {
604
636
  },
605
637
  50: {
606
638
  $type: "color",
607
- $value: "#ecca3f",
639
+ $value: "#ffcd00",
608
640
  filePath: "tokens/Reference.Mode 1.tokens.json",
609
641
  isSource: true,
610
642
  original: {
611
643
  $type: "color",
612
- $value: "#ecca3f",
644
+ $value: "#ffcd00",
613
645
  },
614
646
  name: "bi-secondary-50",
615
647
  attributes: {
@@ -618,6 +650,118 @@ export default {
618
650
  },
619
651
  path: ["secondary", "50"],
620
652
  },
653
+ 60: {
654
+ $type: "color",
655
+ $value: "#deb300",
656
+ filePath: "tokens/Reference.Mode 1.tokens.json",
657
+ isSource: true,
658
+ original: {
659
+ $type: "color",
660
+ $value: "#deb300",
661
+ },
662
+ name: "bi-secondary-60",
663
+ attributes: {
664
+ category: "secondary",
665
+ type: "60",
666
+ },
667
+ path: ["secondary", "60"],
668
+ },
669
+ 70: {
670
+ $type: "color",
671
+ $value: "#bd9800",
672
+ filePath: "tokens/Reference.Mode 1.tokens.json",
673
+ isSource: true,
674
+ original: {
675
+ $type: "color",
676
+ $value: "#bd9800",
677
+ },
678
+ name: "bi-secondary-70",
679
+ attributes: {
680
+ category: "secondary",
681
+ type: "70",
682
+ },
683
+ path: ["secondary", "70"],
684
+ },
685
+ 80: {
686
+ $type: "color",
687
+ $value: "#9d7e00",
688
+ filePath: "tokens/Reference.Mode 1.tokens.json",
689
+ isSource: true,
690
+ original: {
691
+ $type: "color",
692
+ $value: "#9d7e00",
693
+ },
694
+ name: "bi-secondary-80",
695
+ attributes: {
696
+ category: "secondary",
697
+ type: "80",
698
+ },
699
+ path: ["secondary", "80"],
700
+ },
701
+ 85: {
702
+ $type: "color",
703
+ $value: "#7c6400",
704
+ filePath: "tokens/Reference.Mode 1.tokens.json",
705
+ isSource: true,
706
+ original: {
707
+ $type: "color",
708
+ $value: "#7c6400",
709
+ },
710
+ name: "bi-secondary-85",
711
+ attributes: {
712
+ category: "secondary",
713
+ type: "85",
714
+ },
715
+ path: ["secondary", "85"],
716
+ },
717
+ 90: {
718
+ $type: "color",
719
+ $value: "#5b4900",
720
+ filePath: "tokens/Reference.Mode 1.tokens.json",
721
+ isSource: true,
722
+ original: {
723
+ $type: "color",
724
+ $value: "#5b4900",
725
+ },
726
+ name: "bi-secondary-90",
727
+ attributes: {
728
+ category: "secondary",
729
+ type: "90",
730
+ },
731
+ path: ["secondary", "90"],
732
+ },
733
+ 95: {
734
+ $type: "color",
735
+ $value: "#4a3c01",
736
+ filePath: "tokens/Reference.Mode 1.tokens.json",
737
+ isSource: true,
738
+ original: {
739
+ $type: "color",
740
+ $value: "#4a3c01",
741
+ },
742
+ name: "bi-secondary-95",
743
+ attributes: {
744
+ category: "secondary",
745
+ type: "95",
746
+ },
747
+ path: ["secondary", "95"],
748
+ },
749
+ 100: {
750
+ $type: "color",
751
+ $value: "#3a2f00",
752
+ filePath: "tokens/Reference.Mode 1.tokens.json",
753
+ isSource: true,
754
+ original: {
755
+ $type: "color",
756
+ $value: "#3a2f00",
757
+ },
758
+ name: "bi-secondary-100",
759
+ attributes: {
760
+ category: "secondary",
761
+ type: "100",
762
+ },
763
+ path: ["secondary", "100"],
764
+ },
621
765
  },
622
766
  info: {
623
767
  5: {
@@ -2348,7 +2492,7 @@ export default {
2348
2492
  },
2349
2493
  },
2350
2494
  icon: {
2351
- xs: {
2495
+ small: {
2352
2496
  $type: "dimension",
2353
2497
  $value: "1.25rem",
2354
2498
  filePath: "tokens/System.Mode 1.tokens.json",
@@ -2357,14 +2501,14 @@ export default {
2357
2501
  $type: "dimension",
2358
2502
  $value: "{scale.5x}",
2359
2503
  },
2360
- name: "bi-icon-xs",
2504
+ name: "bi-icon-small",
2361
2505
  attributes: {
2362
2506
  category: "icon",
2363
- type: "xs",
2507
+ type: "small",
2364
2508
  },
2365
- path: ["icon", "xs"],
2509
+ path: ["icon", "small"],
2366
2510
  },
2367
- small: {
2511
+ medium: {
2368
2512
  $type: "dimension",
2369
2513
  $value: "1.5rem",
2370
2514
  filePath: "tokens/System.Mode 1.tokens.json",
@@ -2373,14 +2517,14 @@ export default {
2373
2517
  $type: "dimension",
2374
2518
  $value: "{scale.6x}",
2375
2519
  },
2376
- name: "bi-icon-small",
2520
+ name: "bi-icon-medium",
2377
2521
  attributes: {
2378
2522
  category: "icon",
2379
- type: "small",
2523
+ type: "medium",
2380
2524
  },
2381
- path: ["icon", "small"],
2525
+ path: ["icon", "medium"],
2382
2526
  },
2383
- medium: {
2527
+ large: {
2384
2528
  $type: "dimension",
2385
2529
  $value: "2rem",
2386
2530
  filePath: "tokens/System.Mode 1.tokens.json",
@@ -2389,14 +2533,14 @@ export default {
2389
2533
  $type: "dimension",
2390
2534
  $value: "{scale.8x}",
2391
2535
  },
2392
- name: "bi-icon-medium",
2536
+ name: "bi-icon-large",
2393
2537
  attributes: {
2394
2538
  category: "icon",
2395
- type: "medium",
2539
+ type: "large",
2396
2540
  },
2397
- path: ["icon", "medium"],
2541
+ path: ["icon", "large"],
2398
2542
  },
2399
- large: {
2543
+ xl: {
2400
2544
  $type: "dimension",
2401
2545
  $value: "2.5rem",
2402
2546
  filePath: "tokens/System.Mode 1.tokens.json",
@@ -2405,21 +2549,21 @@ export default {
2405
2549
  $type: "dimension",
2406
2550
  $value: "{scale.10x}",
2407
2551
  },
2408
- name: "bi-icon-large",
2552
+ name: "bi-icon-xl",
2409
2553
  attributes: {
2410
2554
  category: "icon",
2411
- type: "large",
2555
+ type: "xl",
2412
2556
  },
2413
- path: ["icon", "large"],
2557
+ path: ["icon", "xl"],
2414
2558
  },
2415
2559
  "2xl": {
2416
2560
  $type: "dimension",
2417
- $value: "3rem",
2561
+ $value: "2.75rem",
2418
2562
  filePath: "tokens/System.Mode 1.tokens.json",
2419
2563
  isSource: true,
2420
2564
  original: {
2421
2565
  $type: "dimension",
2422
- $value: "{scale.12x}",
2566
+ $value: "{scale.11x}",
2423
2567
  },
2424
2568
  name: "bi-icon-2xl",
2425
2569
  attributes: {
@@ -2577,22 +2721,22 @@ export default {
2577
2721
  path: ["states", "press-light"],
2578
2722
  },
2579
2723
  },
2580
- navbar: {
2581
- height: {
2724
+ layout: {
2725
+ "navbar-height": {
2582
2726
  $type: "dimension",
2583
2727
  $value: "4rem",
2584
- filePath: "tokens/custom.tokens.json",
2728
+ filePath: "tokens/System.Mode 1.tokens.json",
2585
2729
  isSource: true,
2586
2730
  original: {
2587
2731
  $type: "dimension",
2588
2732
  $value: "{scale.16x}",
2589
2733
  },
2590
- name: "bi-navbar-height",
2734
+ name: "bi-layout-navbar-height",
2591
2735
  attributes: {
2592
- category: "navbar",
2593
- type: "height",
2736
+ category: "layout",
2737
+ type: "navbar-height",
2594
2738
  },
2595
- path: ["navbar", "height"],
2739
+ path: ["layout", "navbar-height"],
2596
2740
  },
2597
2741
  },
2598
2742
  };
package/dist/tokens.scss CHANGED
@@ -34,11 +34,20 @@ $bi-primary-90: #083a76;
34
34
  $bi-primary-95: #042f5b;
35
35
  $bi-primary-100: #002341;
36
36
  $bi-secondary-5: #fcf6df;
37
- $bi-secondary-10: #f9edbf;
38
- $bi-secondary-20: #f5e49f;
39
- $bi-secondary-30: #f2dc7e;
40
- $bi-secondary-40: #efd35f;
41
- $bi-secondary-50: #ecca3f;
37
+ $bi-secondary-10: #fff2bf;
38
+ $bi-secondary-15: #ffea95;
39
+ $bi-secondary-20: #ffe680;
40
+ $bi-secondary-25: #ffe26a;
41
+ $bi-secondary-30: #ffde55;
42
+ $bi-secondary-40: #ffd52b;
43
+ $bi-secondary-50: #ffcd00;
44
+ $bi-secondary-60: #deb300;
45
+ $bi-secondary-70: #bd9800;
46
+ $bi-secondary-80: #9d7e00;
47
+ $bi-secondary-85: #7c6400;
48
+ $bi-secondary-90: #5b4900;
49
+ $bi-secondary-95: #4a3c01;
50
+ $bi-secondary-100: #3a2f00;
42
51
  $bi-info-5: #e6d5ff;
43
52
  $bi-info-10: #d9bfff;
44
53
  $bi-info-15: #cdaaff;
@@ -146,11 +155,11 @@ $bi-radius-large: 0.5rem;
146
155
  $bi-radius-xl: 0.75rem;
147
156
  $bi-radius-brand: 3rem;
148
157
  $bi-radius-full: 624.9375rem;
149
- $bi-icon-xs: 1.25rem;
150
- $bi-icon-small: 1.5rem;
151
- $bi-icon-medium: 2rem;
152
- $bi-icon-large: 2.5rem;
153
- $bi-icon-2xl: 3rem;
158
+ $bi-icon-small: 1.25rem;
159
+ $bi-icon-medium: 1.5rem;
160
+ $bi-icon-large: 2rem;
161
+ $bi-icon-xl: 2.5rem;
162
+ $bi-icon-2xl: 2.75rem;
154
163
  $bi-icon-primary: #26333f;
155
164
  $bi-icon-secondary: #597694;
156
165
  $bi-icon-disabled: #597694;
@@ -160,4 +169,4 @@ $bi-states-hover-dark: rgba(38, 51, 63, 0.1);
160
169
  $bi-states-hover-light: rgba(255, 255, 255, 0.1);
161
170
  $bi-states-press-dark: rgba(38, 51, 63, 0.15);
162
171
  $bi-states-press-light: rgba(255, 255, 255, 0.15);
163
- $bi-navbar-height: 4rem;
172
+ $bi-layout-navbar-height: 4rem;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bi-digital/tokens",
3
- "version": "0.2.8",
3
+ "version": "0.2.10",
4
4
  "description": "CSS and SASS variables for the BI Design System",
5
5
  "author": "BI Digital",
6
6
  "license": "ISC",