@rijkshuisstijl-community/design-tokens 1.0.0-alpha.57 → 1.0.0-alpha.59
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/_variables.scss +43 -1
- package/dist/index.css +43 -1
- package/dist/index.d.ts +43 -1
- package/dist/index.js +43 -1
- package/dist/index.json +42 -0
- package/dist/index.tokens.json +70 -0
- package/dist/root.css +43 -1
- package/dist/tokens.d.ts +71 -1
- package/dist/tokens.js +979 -1
- package/dist/variables.less +43 -1
- package/figma/figma.tokens.json +201 -0
- package/package.json +2 -2
- package/src/generated/figma.tokens.json +196 -0
package/dist/variables.less
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
// Do not edit directly
|
|
3
|
-
// Generated on
|
|
3
|
+
// Generated on Wed, 06 Nov 2024 10:56:01 GMT
|
|
4
4
|
|
|
5
5
|
@rhc-sub-nav-bar-content-list-row-gap: 0.5rem;
|
|
6
6
|
@rhc-sub-nav-bar-content-max-inline-size: 1280px;
|
|
@@ -255,6 +255,48 @@
|
|
|
255
255
|
@rhc-accordion-button-font-weight: 400;
|
|
256
256
|
@rhc-accordion-button-font-size: 1.25rem;
|
|
257
257
|
@rhc-accordion-button-font-family: Fira Sans, Arial, Verdana, sans-serif;
|
|
258
|
+
@rhc-card-as-link-horizontal-heading-inline-size: 200px;
|
|
259
|
+
@rhc-card-as-link-horizontal-padding-inline-start: 1rem;
|
|
260
|
+
@rhc-card-as-link-horizontal-padding-inline-end: 1rem;
|
|
261
|
+
@rhc-card-as-link-horizontal-padding-block-start: 0;
|
|
262
|
+
@rhc-card-as-link-horizontal-padding-block-end: 0;
|
|
263
|
+
@rhc-card-as-link-horizontal-max-block-size: 96px;
|
|
264
|
+
@rhc-card-as-link-horizontal-color: #fff;
|
|
265
|
+
@rhc-card-as-link-horizontal-border-color: transparent;
|
|
266
|
+
@rhc-card-as-link-horizontal-background-color: #154273;
|
|
267
|
+
@rhc-card-as-link-heading-font-weight: 700;
|
|
268
|
+
@rhc-card-as-link-heading-font-size: 1.5rem;
|
|
269
|
+
@rhc-card-as-link-heading-padding-block-start: 0.5rem;
|
|
270
|
+
@rhc-card-as-link-full-bleed-opacity: 0.5;
|
|
271
|
+
@rhc-card-as-link-full-bleed-color: #fff;
|
|
272
|
+
@rhc-card-as-link-full-bleed-border-color: transparent;
|
|
273
|
+
@rhc-card-as-link-full-bleed-background-color: #000;
|
|
274
|
+
@rhc-card-as-link-focus-text-decoration: underline;
|
|
275
|
+
@rhc-card-as-link-focus-background-color: #dce3ea;
|
|
276
|
+
@rhc-card-as-link-hover-text-decoration: underline;
|
|
277
|
+
@rhc-card-as-link-hover-background-color: #F8FAFC;
|
|
278
|
+
@rhc-card-as-link-active-text-decoration: underline;
|
|
279
|
+
@rhc-card-as-link-active-background-color: #F1F5F9;
|
|
280
|
+
@rhc-card-as-link-row-gap: 0.75rem;
|
|
281
|
+
@rhc-card-as-link-padding-inline-start: 1rem;
|
|
282
|
+
@rhc-card-as-link-padding-inline-end: 1rem;
|
|
283
|
+
@rhc-card-as-link-padding-block-start: 1rem;
|
|
284
|
+
@rhc-card-as-link-padding-block-end: 1rem;
|
|
285
|
+
@rhc-card-as-link-metadata-color: #154273;
|
|
286
|
+
@rhc-card-as-link-link-focus-text-decoration: none;
|
|
287
|
+
@rhc-card-as-link-link-hover-text-decoration: none;
|
|
288
|
+
@rhc-card-as-link-link-active-text-decoration: none;
|
|
289
|
+
@rhc-card-as-link-link-text-decoration: underline;
|
|
290
|
+
@rhc-card-as-link-link-color: #01689b;
|
|
291
|
+
@rhc-card-as-link-icon-size: 24px;
|
|
292
|
+
@rhc-card-as-link-icon-color: #154273;
|
|
293
|
+
@rhc-card-as-link-inline-size: 328px;
|
|
294
|
+
@rhc-card-as-link-column-gap: 1rem;
|
|
295
|
+
@rhc-card-as-link-color: #154273;
|
|
296
|
+
@rhc-card-as-link-border-width: 1px;
|
|
297
|
+
@rhc-card-as-link-border-radius: 5px;
|
|
298
|
+
@rhc-card-as-link-border-color: #CBD5E1;
|
|
299
|
+
@rhc-card-as-link-background-color: #fff;
|
|
258
300
|
@rhc-checkbox-group-row-gap: 1rem;
|
|
259
301
|
@rhc-checkbox-group-padding-block-start: 0.5rem;
|
|
260
302
|
@rhc-checkbox-group-padding-block-end: 0.5rem;
|
package/figma/figma.tokens.json
CHANGED
|
@@ -2516,6 +2516,206 @@
|
|
|
2516
2516
|
}
|
|
2517
2517
|
}
|
|
2518
2518
|
},
|
|
2519
|
+
"components/card": {
|
|
2520
|
+
"rhc": {
|
|
2521
|
+
"card-as-link": {
|
|
2522
|
+
"background-color": {
|
|
2523
|
+
"value": "{rhc.color.wit}",
|
|
2524
|
+
"type": "color"
|
|
2525
|
+
},
|
|
2526
|
+
"border-color": {
|
|
2527
|
+
"value": "{rhc.color.grijs.300}",
|
|
2528
|
+
"type": "color"
|
|
2529
|
+
},
|
|
2530
|
+
"border-radius": {
|
|
2531
|
+
"value": "{rhc.border-radius.md}",
|
|
2532
|
+
"type": "borderRadius"
|
|
2533
|
+
},
|
|
2534
|
+
"border-width": {
|
|
2535
|
+
"value": "{rhc.border-width.default}",
|
|
2536
|
+
"type": "borderWidth"
|
|
2537
|
+
},
|
|
2538
|
+
"color": {
|
|
2539
|
+
"value": "{rhc.color.foreground.lint}",
|
|
2540
|
+
"type": "color"
|
|
2541
|
+
},
|
|
2542
|
+
"column-gap": {
|
|
2543
|
+
"value": "{rhc.space.200}",
|
|
2544
|
+
"type": "spacing"
|
|
2545
|
+
},
|
|
2546
|
+
"inline-size": {
|
|
2547
|
+
"value": "328px",
|
|
2548
|
+
"type": "sizing"
|
|
2549
|
+
},
|
|
2550
|
+
"icon": {
|
|
2551
|
+
"color": {
|
|
2552
|
+
"value": "{rhc.color.foreground.lint}",
|
|
2553
|
+
"type": "color"
|
|
2554
|
+
},
|
|
2555
|
+
"size": {
|
|
2556
|
+
"value": "{rhc.size.icon.functional}",
|
|
2557
|
+
"type": "sizing"
|
|
2558
|
+
}
|
|
2559
|
+
},
|
|
2560
|
+
"link": {
|
|
2561
|
+
"color": {
|
|
2562
|
+
"value": "{rhc.color.donkerblauw.500}",
|
|
2563
|
+
"type": "color"
|
|
2564
|
+
},
|
|
2565
|
+
"text-decoration": {
|
|
2566
|
+
"value": "underline",
|
|
2567
|
+
"type": "textDecoration"
|
|
2568
|
+
},
|
|
2569
|
+
"active": {
|
|
2570
|
+
"text-decoration": {
|
|
2571
|
+
"value": "none",
|
|
2572
|
+
"type": "textDecoration"
|
|
2573
|
+
}
|
|
2574
|
+
},
|
|
2575
|
+
"hover": {
|
|
2576
|
+
"text-decoration": {
|
|
2577
|
+
"value": "none",
|
|
2578
|
+
"type": "textDecoration"
|
|
2579
|
+
}
|
|
2580
|
+
},
|
|
2581
|
+
"focus": {
|
|
2582
|
+
"text-decoration": {
|
|
2583
|
+
"value": "none",
|
|
2584
|
+
"type": "textDecoration"
|
|
2585
|
+
}
|
|
2586
|
+
}
|
|
2587
|
+
},
|
|
2588
|
+
"metadata": {
|
|
2589
|
+
"color": {
|
|
2590
|
+
"value": "{rhc.color.foreground.lint}",
|
|
2591
|
+
"type": "color"
|
|
2592
|
+
}
|
|
2593
|
+
},
|
|
2594
|
+
"padding-block-end": {
|
|
2595
|
+
"value": "{rhc.space.200}",
|
|
2596
|
+
"type": "spacing"
|
|
2597
|
+
},
|
|
2598
|
+
"padding-block-start": {
|
|
2599
|
+
"value": "{rhc.space.200}",
|
|
2600
|
+
"type": "spacing"
|
|
2601
|
+
},
|
|
2602
|
+
"padding-inline-end": {
|
|
2603
|
+
"value": "{rhc.space.200}",
|
|
2604
|
+
"type": "spacing"
|
|
2605
|
+
},
|
|
2606
|
+
"padding-inline-start": {
|
|
2607
|
+
"value": "{rhc.space.200}",
|
|
2608
|
+
"type": "spacing"
|
|
2609
|
+
},
|
|
2610
|
+
"row-gap": {
|
|
2611
|
+
"value": "{rhc.space.150}",
|
|
2612
|
+
"type": "spacing"
|
|
2613
|
+
},
|
|
2614
|
+
"active": {
|
|
2615
|
+
"background-color": {
|
|
2616
|
+
"value": "{rhc.color.grijs.100}",
|
|
2617
|
+
"type": "color"
|
|
2618
|
+
},
|
|
2619
|
+
"text-decoration": {
|
|
2620
|
+
"value": "underline",
|
|
2621
|
+
"type": "textDecoration"
|
|
2622
|
+
}
|
|
2623
|
+
},
|
|
2624
|
+
"hover": {
|
|
2625
|
+
"background-color": {
|
|
2626
|
+
"value": "{rhc.color.grijs.50}",
|
|
2627
|
+
"type": "color"
|
|
2628
|
+
},
|
|
2629
|
+
"text-decoration": {
|
|
2630
|
+
"value": "underline",
|
|
2631
|
+
"type": "textDecoration"
|
|
2632
|
+
}
|
|
2633
|
+
},
|
|
2634
|
+
"focus": {
|
|
2635
|
+
"background-color": {
|
|
2636
|
+
"value": "{rhc.color.lintblauw.50}",
|
|
2637
|
+
"type": "color"
|
|
2638
|
+
},
|
|
2639
|
+
"text-decoration": {
|
|
2640
|
+
"value": "underline",
|
|
2641
|
+
"type": "textDecoration"
|
|
2642
|
+
}
|
|
2643
|
+
},
|
|
2644
|
+
"full-bleed": {
|
|
2645
|
+
"background-color": {
|
|
2646
|
+
"value": "{rhc.color.zwart}",
|
|
2647
|
+
"type": "color"
|
|
2648
|
+
},
|
|
2649
|
+
"border-color": {
|
|
2650
|
+
"value": "{rhc.color.none}",
|
|
2651
|
+
"type": "color"
|
|
2652
|
+
},
|
|
2653
|
+
"color": {
|
|
2654
|
+
"value": "{rhc.color.foreground.onEmphasis}",
|
|
2655
|
+
"type": "color"
|
|
2656
|
+
},
|
|
2657
|
+
"opacity": {
|
|
2658
|
+
"value": "0.5",
|
|
2659
|
+
"type": "opacity"
|
|
2660
|
+
}
|
|
2661
|
+
},
|
|
2662
|
+
"heading": {
|
|
2663
|
+
"padding-block-start": {
|
|
2664
|
+
"value": "{rhc.space.100}",
|
|
2665
|
+
"type": "spacing"
|
|
2666
|
+
},
|
|
2667
|
+
"font-size": {
|
|
2668
|
+
"value": "{rhc.font-size.heading.level-4}",
|
|
2669
|
+
"type": "fontSizes"
|
|
2670
|
+
},
|
|
2671
|
+
"font-weight": {
|
|
2672
|
+
"value": "{rhc.font-weight.bold}",
|
|
2673
|
+
"type": "fontWeights"
|
|
2674
|
+
}
|
|
2675
|
+
},
|
|
2676
|
+
"horizontal": {
|
|
2677
|
+
"background-color": {
|
|
2678
|
+
"value": "{rhc.color.lintblauw.500}",
|
|
2679
|
+
"type": "color"
|
|
2680
|
+
},
|
|
2681
|
+
"border-color": {
|
|
2682
|
+
"value": "{rhc.color.none}",
|
|
2683
|
+
"type": "color"
|
|
2684
|
+
},
|
|
2685
|
+
"color": {
|
|
2686
|
+
"value": "{rhc.color.foreground.onEmphasis}",
|
|
2687
|
+
"type": "color"
|
|
2688
|
+
},
|
|
2689
|
+
"max-block-size": {
|
|
2690
|
+
"value": "{rhc.size.2-lint}",
|
|
2691
|
+
"type": "sizing"
|
|
2692
|
+
},
|
|
2693
|
+
"padding-block-end": {
|
|
2694
|
+
"value": "0",
|
|
2695
|
+
"type": "spacing"
|
|
2696
|
+
},
|
|
2697
|
+
"padding-block-start": {
|
|
2698
|
+
"value": "0",
|
|
2699
|
+
"type": "spacing"
|
|
2700
|
+
},
|
|
2701
|
+
"padding-inline-end": {
|
|
2702
|
+
"value": "{rhc.space.200}",
|
|
2703
|
+
"type": "spacing"
|
|
2704
|
+
},
|
|
2705
|
+
"padding-inline-start": {
|
|
2706
|
+
"value": "{rhc.space.200}",
|
|
2707
|
+
"type": "spacing"
|
|
2708
|
+
},
|
|
2709
|
+
"heading": {
|
|
2710
|
+
"inline-size": {
|
|
2711
|
+
"value": "200px",
|
|
2712
|
+
"type": "sizing"
|
|
2713
|
+
}
|
|
2714
|
+
}
|
|
2715
|
+
}
|
|
2716
|
+
}
|
|
2717
|
+
}
|
|
2718
|
+
},
|
|
2519
2719
|
"components/checkbox": {
|
|
2520
2720
|
"utrecht": {
|
|
2521
2721
|
"checkbox": {
|
|
@@ -6652,6 +6852,7 @@
|
|
|
6652
6852
|
"components/breadcrumb",
|
|
6653
6853
|
"components/button",
|
|
6654
6854
|
"components/button-group",
|
|
6855
|
+
"components/card",
|
|
6655
6856
|
"components/checkbox",
|
|
6656
6857
|
"components/checkbox-group",
|
|
6657
6858
|
"components/counter-badge",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rijkshuisstijl-community/design-tokens",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.59",
|
|
4
4
|
"author": "Community for NL Design System",
|
|
5
5
|
"description": "Example design tokens",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"style-dictionary": "3.9.2",
|
|
34
34
|
"token-transformer": "0.0.33"
|
|
35
35
|
},
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "228f31253ba8eafecb5a2b463f95e8146688f378"
|
|
37
37
|
}
|
|
@@ -4028,6 +4028,202 @@
|
|
|
4028
4028
|
"type": "spacing"
|
|
4029
4029
|
}
|
|
4030
4030
|
},
|
|
4031
|
+
"card-as-link": {
|
|
4032
|
+
"background-color": {
|
|
4033
|
+
"value": "#fff",
|
|
4034
|
+
"type": "color"
|
|
4035
|
+
},
|
|
4036
|
+
"border-color": {
|
|
4037
|
+
"value": "#CBD5E1",
|
|
4038
|
+
"type": "color"
|
|
4039
|
+
},
|
|
4040
|
+
"border-radius": {
|
|
4041
|
+
"value": "5px",
|
|
4042
|
+
"type": "borderRadius"
|
|
4043
|
+
},
|
|
4044
|
+
"border-width": {
|
|
4045
|
+
"value": "1px",
|
|
4046
|
+
"type": "borderWidth"
|
|
4047
|
+
},
|
|
4048
|
+
"color": {
|
|
4049
|
+
"value": "#154273",
|
|
4050
|
+
"type": "color"
|
|
4051
|
+
},
|
|
4052
|
+
"column-gap": {
|
|
4053
|
+
"value": "1rem",
|
|
4054
|
+
"type": "spacing"
|
|
4055
|
+
},
|
|
4056
|
+
"inline-size": {
|
|
4057
|
+
"value": "328px",
|
|
4058
|
+
"type": "sizing"
|
|
4059
|
+
},
|
|
4060
|
+
"icon": {
|
|
4061
|
+
"color": {
|
|
4062
|
+
"value": "#154273",
|
|
4063
|
+
"type": "color"
|
|
4064
|
+
},
|
|
4065
|
+
"size": {
|
|
4066
|
+
"value": "24px",
|
|
4067
|
+
"type": "sizing"
|
|
4068
|
+
}
|
|
4069
|
+
},
|
|
4070
|
+
"link": {
|
|
4071
|
+
"color": {
|
|
4072
|
+
"value": "#01689b",
|
|
4073
|
+
"type": "color"
|
|
4074
|
+
},
|
|
4075
|
+
"text-decoration": {
|
|
4076
|
+
"value": "underline",
|
|
4077
|
+
"type": "textDecoration"
|
|
4078
|
+
},
|
|
4079
|
+
"active": {
|
|
4080
|
+
"text-decoration": {
|
|
4081
|
+
"value": "none",
|
|
4082
|
+
"type": "textDecoration"
|
|
4083
|
+
}
|
|
4084
|
+
},
|
|
4085
|
+
"hover": {
|
|
4086
|
+
"text-decoration": {
|
|
4087
|
+
"value": "none",
|
|
4088
|
+
"type": "textDecoration"
|
|
4089
|
+
}
|
|
4090
|
+
},
|
|
4091
|
+
"focus": {
|
|
4092
|
+
"text-decoration": {
|
|
4093
|
+
"value": "none",
|
|
4094
|
+
"type": "textDecoration"
|
|
4095
|
+
}
|
|
4096
|
+
}
|
|
4097
|
+
},
|
|
4098
|
+
"metadata": {
|
|
4099
|
+
"color": {
|
|
4100
|
+
"value": "#154273",
|
|
4101
|
+
"type": "color"
|
|
4102
|
+
}
|
|
4103
|
+
},
|
|
4104
|
+
"padding-block-end": {
|
|
4105
|
+
"value": "1rem",
|
|
4106
|
+
"type": "spacing"
|
|
4107
|
+
},
|
|
4108
|
+
"padding-block-start": {
|
|
4109
|
+
"value": "1rem",
|
|
4110
|
+
"type": "spacing"
|
|
4111
|
+
},
|
|
4112
|
+
"padding-inline-end": {
|
|
4113
|
+
"value": "1rem",
|
|
4114
|
+
"type": "spacing"
|
|
4115
|
+
},
|
|
4116
|
+
"padding-inline-start": {
|
|
4117
|
+
"value": "1rem",
|
|
4118
|
+
"type": "spacing"
|
|
4119
|
+
},
|
|
4120
|
+
"row-gap": {
|
|
4121
|
+
"value": "0.75rem",
|
|
4122
|
+
"type": "spacing"
|
|
4123
|
+
},
|
|
4124
|
+
"active": {
|
|
4125
|
+
"background-color": {
|
|
4126
|
+
"value": "#F1F5F9",
|
|
4127
|
+
"type": "color"
|
|
4128
|
+
},
|
|
4129
|
+
"text-decoration": {
|
|
4130
|
+
"value": "underline",
|
|
4131
|
+
"type": "textDecoration"
|
|
4132
|
+
}
|
|
4133
|
+
},
|
|
4134
|
+
"hover": {
|
|
4135
|
+
"background-color": {
|
|
4136
|
+
"value": "#F8FAFC",
|
|
4137
|
+
"type": "color"
|
|
4138
|
+
},
|
|
4139
|
+
"text-decoration": {
|
|
4140
|
+
"value": "underline",
|
|
4141
|
+
"type": "textDecoration"
|
|
4142
|
+
}
|
|
4143
|
+
},
|
|
4144
|
+
"focus": {
|
|
4145
|
+
"background-color": {
|
|
4146
|
+
"value": "#dce3ea",
|
|
4147
|
+
"type": "color"
|
|
4148
|
+
},
|
|
4149
|
+
"text-decoration": {
|
|
4150
|
+
"value": "underline",
|
|
4151
|
+
"type": "textDecoration"
|
|
4152
|
+
}
|
|
4153
|
+
},
|
|
4154
|
+
"full-bleed": {
|
|
4155
|
+
"background-color": {
|
|
4156
|
+
"value": "#000",
|
|
4157
|
+
"type": "color"
|
|
4158
|
+
},
|
|
4159
|
+
"border-color": {
|
|
4160
|
+
"value": "transparent",
|
|
4161
|
+
"type": "color"
|
|
4162
|
+
},
|
|
4163
|
+
"color": {
|
|
4164
|
+
"value": "#fff",
|
|
4165
|
+
"type": "color"
|
|
4166
|
+
},
|
|
4167
|
+
"opacity": {
|
|
4168
|
+
"value": 0.5,
|
|
4169
|
+
"type": "opacity"
|
|
4170
|
+
}
|
|
4171
|
+
},
|
|
4172
|
+
"heading": {
|
|
4173
|
+
"padding-block-start": {
|
|
4174
|
+
"value": "0.5rem",
|
|
4175
|
+
"type": "spacing"
|
|
4176
|
+
},
|
|
4177
|
+
"font-size": {
|
|
4178
|
+
"value": "1.5rem",
|
|
4179
|
+
"type": "fontSizes"
|
|
4180
|
+
},
|
|
4181
|
+
"font-weight": {
|
|
4182
|
+
"value": 700,
|
|
4183
|
+
"type": "fontWeights"
|
|
4184
|
+
}
|
|
4185
|
+
},
|
|
4186
|
+
"horizontal": {
|
|
4187
|
+
"background-color": {
|
|
4188
|
+
"value": "#154273",
|
|
4189
|
+
"type": "color"
|
|
4190
|
+
},
|
|
4191
|
+
"border-color": {
|
|
4192
|
+
"value": "transparent",
|
|
4193
|
+
"type": "color"
|
|
4194
|
+
},
|
|
4195
|
+
"color": {
|
|
4196
|
+
"value": "#fff",
|
|
4197
|
+
"type": "color"
|
|
4198
|
+
},
|
|
4199
|
+
"max-block-size": {
|
|
4200
|
+
"value": "96px",
|
|
4201
|
+
"type": "sizing"
|
|
4202
|
+
},
|
|
4203
|
+
"padding-block-end": {
|
|
4204
|
+
"value": 0,
|
|
4205
|
+
"type": "spacing"
|
|
4206
|
+
},
|
|
4207
|
+
"padding-block-start": {
|
|
4208
|
+
"value": 0,
|
|
4209
|
+
"type": "spacing"
|
|
4210
|
+
},
|
|
4211
|
+
"padding-inline-end": {
|
|
4212
|
+
"value": "1rem",
|
|
4213
|
+
"type": "spacing"
|
|
4214
|
+
},
|
|
4215
|
+
"padding-inline-start": {
|
|
4216
|
+
"value": "1rem",
|
|
4217
|
+
"type": "spacing"
|
|
4218
|
+
},
|
|
4219
|
+
"heading": {
|
|
4220
|
+
"inline-size": {
|
|
4221
|
+
"value": "200px",
|
|
4222
|
+
"type": "sizing"
|
|
4223
|
+
}
|
|
4224
|
+
}
|
|
4225
|
+
}
|
|
4226
|
+
},
|
|
4031
4227
|
"accordion": {
|
|
4032
4228
|
"button": {
|
|
4033
4229
|
"font-family": {
|