@knime/kds-styles 0.3.1 → 0.4.0

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.
@@ -1,13 +1,20 @@
1
1
  /**
2
- * Import only the weights and styles that are required:
3
- * Sync with dist/tokens/css/_variables.css
4
- * Search for --kds-font- to find all font related CSS variables.
5
- *
6
- * Roboto Condensed is not imported here as it's only rarely used,
7
- * it's imported in fonts-workflows.css instead.
8
- */
9
- @import "@fontsource/roboto";
10
- @import "@fontsource/roboto/400-italic";
11
- @import "@fontsource/roboto/500";
12
- @import "@fontsource/roboto/700";
13
- @import "@fontsource/roboto-mono/300";
2
+ * Auto-generated font imports based on design tokens in _variables.css
3
+ * DO NOT EDIT MANUALLY - Run `pnpm build:fonts` to regenerate this file
4
+ */
5
+
6
+ /* roboto */
7
+ @import "@fontsource/roboto/400.css";
8
+ @import "@fontsource/roboto/400-italic.css";
9
+ @import "@fontsource/roboto/500.css";
10
+ @import "@fontsource/roboto/700.css";
11
+ @import "@fontsource/roboto/700-italic.css";
12
+
13
+ /* roboto-condensed */
14
+ @import "@fontsource/roboto-condensed/400.css";
15
+ @import "@fontsource/roboto-condensed/400-italic.css";
16
+ @import "@fontsource/roboto-condensed/700.css";
17
+ @import "@fontsource/roboto-condensed/700-italic.css";
18
+
19
+ /* roboto-mono */
20
+ @import "@fontsource/roboto-mono/400.css";
@@ -1101,25 +1101,25 @@ syntax: "<string>";
1101
1101
  }
1102
1102
 
1103
1103
  @property --kds-elevation-level-0 {
1104
- syntax: "*";
1104
+ syntax: "<string>";
1105
1105
  inherits: false;
1106
1106
  initial-value: 0 0 0 0 hsl(330 0% 73% / 0.32);
1107
1107
  }
1108
1108
 
1109
1109
  @property --kds-elevation-level-1 {
1110
- syntax: "*";
1110
+ syntax: "<string>";
1111
1111
  inherits: false;
1112
1112
  initial-value: 0 1px 1px 0 hsl(330 0% 73% / 0.32), 0 0 1px 0 hsl(330 0% 32% / 0.14), 0 0 8px 0 hsl(330 0% 32% / 0.12);
1113
1113
  }
1114
1114
 
1115
1115
  @property --kds-elevation-level-3 {
1116
- syntax: "*";
1116
+ syntax: "<string>";
1117
1117
  inherits: false;
1118
1118
  initial-value: 0 2px 4px 0 hsl(330 0% 73% / 0.32), 0 4px 8px 0 hsl(330 0% 32% / 0.14), 0 0 20px 0 hsl(330 0% 32% / 0.12);
1119
1119
  }
1120
1120
 
1121
1121
  @property --kds-box-shadow-knob {
1122
- syntax: "*";
1122
+ syntax: "<string>";
1123
1123
  inherits: false;
1124
1124
  initial-value: 0 1px 2px 0 hsl(330 0% 32% / 0.5);
1125
1125
  }
@@ -938,6 +938,12 @@ syntax: "<length>";
938
938
  initial-value: 16px;
939
939
  }
940
940
 
941
+ @property --kds-core-font-size-1-13x {
942
+ syntax: "<length>";
943
+ inherits: true;
944
+ initial-value: 18px;
945
+ }
946
+
941
947
  @property --kds-core-font-size-1-25x {
942
948
  syntax: "<length>";
943
949
  inherits: true;
@@ -1085,19 +1091,19 @@ syntax: "<length>";
1085
1091
  @property --kds-core-font-family-roboto {
1086
1092
  syntax: "<string>#";
1087
1093
  inherits: true;
1088
- initial-value: Roboto;
1094
+ initial-value: Roboto, sans-serif;
1089
1095
  }
1090
1096
 
1091
1097
  @property --kds-core-font-family-roboto-condensed {
1092
1098
  syntax: "<string>#";
1093
1099
  inherits: true;
1094
- initial-value: 'Roboto Condensed';
1100
+ initial-value: 'Roboto Condensed', sans-serif;
1095
1101
  }
1096
1102
 
1097
1103
  @property --kds-core-font-family-roboto-mono {
1098
1104
  syntax: "<string>#";
1099
1105
  inherits: true;
1100
- initial-value: 'Roboto Mono';
1106
+ initial-value: 'Roboto Mono', monospace;
1101
1107
  }
1102
1108
 
1103
1109
  @property --kds-core-font-weight-regular {
@@ -1113,8 +1119,8 @@ syntax: "<number>";
1113
1119
  }
1114
1120
 
1115
1121
  @property --kds-core-font-weight-regular-italic-style {
1116
- syntax: "*";
1117
- inherits: false;
1122
+ syntax: "<string>";
1123
+ inherits: true;
1118
1124
  initial-value: italic;
1119
1125
  }
1120
1126
 
@@ -1130,6 +1136,18 @@ syntax: "<number>";
1130
1136
  initial-value: 700;
1131
1137
  }
1132
1138
 
1139
+ @property --kds-core-font-weight-strong-italic-weight {
1140
+ syntax: "<number>";
1141
+ inherits: true;
1142
+ initial-value: 700;
1143
+ }
1144
+
1145
+ @property --kds-core-font-weight-strong-italic-style {
1146
+ syntax: "<string>";
1147
+ inherits: true;
1148
+ initial-value: italic;
1149
+ }
1150
+
1133
1151
  @property --kds-core-line-height-singleline {
1134
1152
  syntax: "<number> | <percentage>";
1135
1153
  inherits: true;
@@ -1427,7 +1445,7 @@ syntax: "<color>";
1427
1445
  @property --kds-color-background-static-danger-muted {
1428
1446
  syntax: "<color>";
1429
1447
  inherits: true;
1430
- initial-value: hsl(0 100% 97%);
1448
+ initial-value: light-dark(hsl(0 100% 97%), hsl(356.66 65.093% 15.235%));
1431
1449
  }
1432
1450
 
1433
1451
  @property --kds-color-background-static-success {
@@ -2684,320 +2702,380 @@ syntax: "<length>";
2684
2702
  initial-value: 20px;
2685
2703
  }
2686
2704
 
2705
+ @property --kds-font-base-display-xsmall {
2706
+ syntax: "<string>";
2707
+ inherits: true;
2708
+ initial-value: 700 18px/1.3 Roboto, sans-serif;
2709
+ }
2710
+
2687
2711
  @property --kds-font-base-display-small {
2688
2712
  syntax: "<string>";
2689
2713
  inherits: true;
2690
- initial-value: 700 20px/1.3 Roboto;
2714
+ initial-value: 700 20px/1.3 Roboto, sans-serif;
2691
2715
  }
2692
2716
 
2693
2717
  @property --kds-font-base-display-medium {
2694
2718
  syntax: "<string>";
2695
2719
  inherits: true;
2696
- initial-value: 700 24px/1.3 Roboto;
2720
+ initial-value: 700 24px/1.3 Roboto, sans-serif;
2697
2721
  }
2698
2722
 
2699
2723
  @property --kds-font-base-display-large {
2700
2724
  syntax: "<string>";
2701
2725
  inherits: true;
2702
- initial-value: 700 32px/1.3 Roboto;
2726
+ initial-value: 700 32px/1.3 Roboto, sans-serif;
2703
2727
  }
2704
2728
 
2705
2729
  @property --kds-font-base-display-xlarge {
2706
2730
  syntax: "<string>";
2707
2731
  inherits: true;
2708
- initial-value: 700 40px/1.3 Roboto;
2732
+ initial-value: 700 40px/1.3 Roboto, sans-serif;
2709
2733
  }
2710
2734
 
2711
2735
  @property --kds-font-base-title-xsmall {
2712
2736
  syntax: "<string>";
2713
2737
  inherits: true;
2714
- initial-value: 500 10px/1 Roboto;
2738
+ initial-value: 500 10px/1 Roboto, sans-serif;
2715
2739
  }
2716
2740
 
2717
2741
  @property --kds-font-base-title-small {
2718
2742
  syntax: "<string>";
2719
2743
  inherits: true;
2720
- initial-value: 500 12px/1 Roboto;
2744
+ initial-value: 500 12px/1 Roboto, sans-serif;
2721
2745
  }
2722
2746
 
2723
2747
  @property --kds-font-base-title-small-strong {
2724
2748
  syntax: "<string>";
2725
2749
  inherits: true;
2726
- initial-value: 700 12px/1 Roboto;
2750
+ initial-value: 700 12px/1 Roboto, sans-serif;
2727
2751
  }
2728
2752
 
2729
2753
  @property --kds-font-base-title-medium {
2730
2754
  syntax: "<string>";
2731
2755
  inherits: true;
2732
- initial-value: 500 14px/1 Roboto;
2756
+ initial-value: 500 14px/1 Roboto, sans-serif;
2733
2757
  }
2734
2758
 
2735
2759
  @property --kds-font-base-title-medium-strong {
2736
2760
  syntax: "<string>";
2737
2761
  inherits: true;
2738
- initial-value: 700 14px/1 Roboto;
2762
+ initial-value: 700 14px/1 Roboto, sans-serif;
2739
2763
  }
2740
2764
 
2741
2765
  @property --kds-font-base-title-large {
2742
2766
  syntax: "<string>";
2743
2767
  inherits: true;
2744
- initial-value: 500 16px/1 Roboto;
2768
+ initial-value: 500 16px/1 Roboto, sans-serif;
2745
2769
  }
2746
2770
 
2747
2771
  @property --kds-font-base-title-large-strong {
2748
2772
  syntax: "<string>";
2749
2773
  inherits: true;
2750
- initial-value: 700 16px/1 Roboto;
2774
+ initial-value: 700 16px/1 Roboto, sans-serif;
2751
2775
  }
2752
2776
 
2753
2777
  @property --kds-font-base-body-small {
2754
2778
  syntax: "<string>";
2755
2779
  inherits: true;
2756
- initial-value: 400 12px/1.5 Roboto;
2780
+ initial-value: 400 12px/1.5 Roboto, sans-serif;
2757
2781
  }
2758
2782
 
2759
2783
  @property --kds-font-base-body-small-italic {
2760
2784
  syntax: "<string>";
2761
2785
  inherits: true;
2762
- initial-value: italic 400 12px/1.5 Roboto;
2786
+ initial-value: italic 400 12px/1.5 Roboto, sans-serif;
2763
2787
  }
2764
2788
 
2765
2789
  @property --kds-font-base-body-small-strong {
2766
2790
  syntax: "<string>";
2767
2791
  inherits: true;
2768
- initial-value: 700 12px/1.5 Roboto;
2792
+ initial-value: 700 12px/1.5 Roboto, sans-serif;
2793
+ }
2794
+
2795
+ @property --kds-font-base-body-small-strong-italic {
2796
+ syntax: "<string>";
2797
+ inherits: true;
2798
+ initial-value: italic 700 12px/1.5 Roboto, sans-serif;
2769
2799
  }
2770
2800
 
2771
2801
  @property --kds-font-base-body-medium {
2772
2802
  syntax: "<string>";
2773
2803
  inherits: true;
2774
- initial-value: 400 14px/1.5 Roboto;
2804
+ initial-value: 400 14px/1.5 Roboto, sans-serif;
2775
2805
  }
2776
2806
 
2777
2807
  @property --kds-font-base-body-large {
2778
2808
  syntax: "<string>";
2779
2809
  inherits: true;
2780
- initial-value: 400 16px/1.3 Roboto;
2810
+ initial-value: 400 16px/1.3 Roboto, sans-serif;
2781
2811
  }
2782
2812
 
2783
2813
  @property --kds-font-base-body-xlarge {
2784
2814
  syntax: "<string>";
2785
2815
  inherits: true;
2786
- initial-value: 400 20px/1.5 Roboto;
2816
+ initial-value: 400 20px/1.5 Roboto, sans-serif;
2787
2817
  }
2788
2818
 
2789
2819
  @property --kds-font-base-subtext-xsmall {
2790
2820
  syntax: "<string>";
2791
2821
  inherits: true;
2792
- initial-value: 400 9px Roboto;
2822
+ initial-value: 400 9px Roboto, sans-serif;
2793
2823
  }
2794
2824
 
2795
2825
  @property --kds-font-base-subtext-small {
2796
2826
  syntax: "<string>";
2797
2827
  inherits: true;
2798
- initial-value: 400 10px/1.3 Roboto;
2828
+ initial-value: 400 10px/1.3 Roboto, sans-serif;
2799
2829
  }
2800
2830
 
2801
2831
  @property --kds-font-base-subtext-medium {
2802
2832
  syntax: "<string>";
2803
2833
  inherits: true;
2804
- initial-value: 400 12px/1.3 Roboto;
2834
+ initial-value: 400 12px/1.3 Roboto, sans-serif;
2805
2835
  }
2806
2836
 
2807
2837
  @property --kds-font-base-interactive-xsmall-strong {
2808
2838
  syntax: "<string>";
2809
2839
  inherits: true;
2810
- initial-value: 500 11px/1 Roboto;
2840
+ initial-value: 500 11px/1 Roboto, sans-serif;
2811
2841
  }
2812
2842
 
2813
2843
  @property --kds-font-base-interactive-small {
2814
2844
  syntax: "<string>";
2815
2845
  inherits: true;
2816
- initial-value: 400 12px/1 Roboto;
2846
+ initial-value: 400 12px/1 Roboto, sans-serif;
2817
2847
  }
2818
2848
 
2819
2849
  @property --kds-font-base-interactive-small-italic {
2820
2850
  syntax: "<string>";
2821
2851
  inherits: true;
2822
- initial-value: italic 400 12px/1 Roboto;
2852
+ initial-value: italic 400 12px/1 Roboto, sans-serif;
2823
2853
  }
2824
2854
 
2825
2855
  @property --kds-font-base-interactive-small-strong {
2826
2856
  syntax: "<string>";
2827
2857
  inherits: true;
2828
- initial-value: 500 12px/1 Roboto;
2858
+ initial-value: 500 12px/1 Roboto, sans-serif;
2829
2859
  }
2830
2860
 
2831
2861
  @property --kds-font-base-interactive-medium {
2832
2862
  syntax: "<string>";
2833
2863
  inherits: true;
2834
- initial-value: 400 14px/1 Roboto;
2864
+ initial-value: 400 14px/1 Roboto, sans-serif;
2835
2865
  }
2836
2866
 
2837
2867
  @property --kds-font-base-interactive-medium-strong {
2838
2868
  syntax: "<string>";
2839
2869
  inherits: true;
2840
- initial-value: 500 14px/1 Roboto;
2870
+ initial-value: 500 14px/1 Roboto, sans-serif;
2841
2871
  }
2842
2872
 
2843
2873
  @property --kds-font-base-interactive-large {
2844
2874
  syntax: "<string>";
2845
2875
  inherits: true;
2846
- initial-value: 400 16px/1 Roboto;
2876
+ initial-value: 400 16px/1 Roboto, sans-serif;
2847
2877
  }
2848
2878
 
2849
2879
  @property --kds-font-base-interactive-large-strong {
2850
2880
  syntax: "<string>";
2851
2881
  inherits: true;
2852
- initial-value: 500 16px/1 Roboto;
2882
+ initial-value: 500 16px/1 Roboto, sans-serif;
2853
2883
  }
2854
2884
 
2855
2885
  @property --kds-font-base-code-xsmall {
2856
2886
  syntax: "<string>";
2857
2887
  inherits: true;
2858
- initial-value: 400 10px/1 'Roboto Mono';
2888
+ initial-value: 400 10px/1 'Roboto Mono', monospace;
2859
2889
  }
2860
2890
 
2861
2891
  @property --kds-font-base-code-small {
2862
2892
  syntax: "<string>";
2863
2893
  inherits: true;
2864
- initial-value: 400 11px/1.3 'Roboto Mono';
2894
+ initial-value: 400 11px/1.3 'Roboto Mono', monospace;
2865
2895
  }
2866
2896
 
2867
- @property --kds-font-workflows-annotations-h1 {
2897
+ @property --kds-font-workflow-annotation-headline-h1 {
2868
2898
  syntax: "<string>";
2869
2899
  inherits: true;
2870
- initial-value: 700 36px/1.5 'Roboto Condensed';
2900
+ initial-value: 700 36px/1.5 'Roboto Condensed', sans-serif;
2871
2901
  }
2872
2902
 
2873
- @property --kds-font-workflows-annotations-h2 {
2903
+ @property --kds-font-workflow-annotation-headline-h2 {
2874
2904
  syntax: "<string>";
2875
2905
  inherits: true;
2876
- initial-value: 700 30px/1.5 'Roboto Condensed';
2906
+ initial-value: 700 30px/1.5 'Roboto Condensed', sans-serif;
2877
2907
  }
2878
2908
 
2879
- @property --kds-font-workflows-annotations-h3 {
2909
+ @property --kds-font-workflow-annotation-headline-h3 {
2880
2910
  syntax: "<string>";
2881
2911
  inherits: true;
2882
- initial-value: 700 26px/1.5 'Roboto Condensed';
2912
+ initial-value: 700 26px/1.5 'Roboto Condensed', sans-serif;
2883
2913
  }
2884
2914
 
2885
- @property --kds-font-workflows-annotations-h4 {
2915
+ @property --kds-font-workflow-annotation-headline-h4 {
2886
2916
  syntax: "<string>";
2887
2917
  inherits: true;
2888
- initial-value: 700 22px/1.5 'Roboto Condensed';
2918
+ initial-value: 700 22px/1.5 'Roboto Condensed', sans-serif;
2889
2919
  }
2890
2920
 
2891
- @property --kds-font-workflows-annotations-h5 {
2921
+ @property --kds-font-workflow-annotation-headline-h5 {
2892
2922
  syntax: "<string>";
2893
2923
  inherits: true;
2894
- initial-value: 700 16px/1.5 'Roboto Condensed';
2924
+ initial-value: 700 16px/1.5 'Roboto Condensed', sans-serif;
2895
2925
  }
2896
2926
 
2897
- @property --kds-font-workflows-annotations-h6 {
2927
+ @property --kds-font-workflow-annotation-headline-h1-italic {
2898
2928
  syntax: "<string>";
2899
2929
  inherits: true;
2900
- initial-value: 700 13px/1.5 'Roboto Condensed';
2930
+ initial-value: 700 36px/1.5 'Roboto Condensed', sans-serif;
2901
2931
  }
2902
2932
 
2903
- @property --kds-font-workflows-annotations-body {
2933
+ @property --kds-font-workflow-annotation-headline-h2-italic {
2904
2934
  syntax: "<string>";
2905
2935
  inherits: true;
2906
- initial-value: 700 13px/1.5 'Roboto Condensed';
2936
+ initial-value: 700 30px/1.5 'Roboto Condensed', sans-serif;
2907
2937
  }
2908
2938
 
2909
- @property --kds-font-workflows-node-name {
2939
+ @property --kds-font-workflow-annotation-headline-h3-italic {
2910
2940
  syntax: "<string>";
2911
2941
  inherits: true;
2912
- initial-value: 700 13px 'Roboto Condensed';
2942
+ initial-value: 700 26px/1.5 'Roboto Condensed', sans-serif;
2913
2943
  }
2914
2944
 
2915
- @property --kds-font-workflows-node-label {
2945
+ @property --kds-font-workflow-annotation-headline-h4-italic {
2916
2946
  syntax: "<string>";
2917
2947
  inherits: true;
2918
- initial-value: 400 12px 'Roboto Condensed';
2948
+ initial-value: 700 22px/1.5 'Roboto Condensed', sans-serif;
2919
2949
  }
2920
2950
 
2921
- @property --kds-font-workflows-node-status {
2951
+ @property --kds-font-workflow-annotation-headline-h5-italic {
2922
2952
  syntax: "<string>";
2923
2953
  inherits: true;
2924
- initial-value: 400 8px 'Roboto Condensed';
2954
+ initial-value: 700 16px/1.5 'Roboto Condensed', sans-serif;
2925
2955
  }
2926
2956
 
2927
- @property --kds-font-dataapps-h1 {
2957
+ @property --kds-font-workflow-annotation-headline-h6 {
2928
2958
  syntax: "<string>";
2929
2959
  inherits: true;
2930
- initial-value: 700 36px/1.5 Roboto;
2960
+ initial-value: 700 13px/1.5 'Roboto Condensed', sans-serif;
2931
2961
  }
2932
2962
 
2933
- @property --kds-font-dataapps-h2 {
2963
+ @property --kds-font-workflow-annotation-headline-h6-italic {
2934
2964
  syntax: "<string>";
2935
2965
  inherits: true;
2936
- initial-value: 700 30px/1.5 Roboto;
2966
+ initial-value: 700 13px/1.5 'Roboto Condensed', sans-serif;
2937
2967
  }
2938
2968
 
2939
- @property --kds-font-dataapps-h3 {
2969
+ @property --kds-font-workflow-annotation-body-small {
2940
2970
  syntax: "<string>";
2941
2971
  inherits: true;
2942
- initial-value: 700 26px/1.5 Roboto;
2972
+ initial-value: 400 13px/1.5 'Roboto Condensed', sans-serif;
2943
2973
  }
2944
2974
 
2945
- @property --kds-font-dataapps-h4 {
2975
+ @property --kds-font-workflow-annotation-body-small-italic {
2946
2976
  syntax: "<string>";
2947
2977
  inherits: true;
2948
- initial-value: 700 22px/1.5 Roboto;
2978
+ initial-value: italic 400 13px/1.5 'Roboto Condensed', sans-serif;
2949
2979
  }
2950
2980
 
2951
- @property --kds-font-dataapps-h5 {
2981
+ @property --kds-font-workflow-annotation-body-small-strong {
2952
2982
  syntax: "<string>";
2953
2983
  inherits: true;
2954
- initial-value: 700 16px/1.5 Roboto;
2984
+ initial-value: 700 13px/1.5 'Roboto Condensed', sans-serif;
2955
2985
  }
2956
2986
 
2957
- @property --kds-font-dataapps-h6 {
2987
+ @property --kds-font-workflow-annotation-body-small-strong-italic {
2958
2988
  syntax: "<string>";
2959
2989
  inherits: true;
2960
- initial-value: 700 13px/1.5 Roboto;
2990
+ initial-value: italic 700 13px/1.5 'Roboto Condensed', sans-serif;
2961
2991
  }
2962
2992
 
2963
- @property --kds-font-dataapps-body {
2993
+ @property --kds-font-workflow-node-name {
2964
2994
  syntax: "<string>";
2965
2995
  inherits: true;
2966
- initial-value: 700 13px/1.5 Roboto;
2996
+ initial-value: 700 13px 'Roboto Condensed', sans-serif;
2967
2997
  }
2968
2998
 
2969
- @property --kds-font-dataapps-body-small {
2999
+ @property --kds-font-workflow-node-label {
2970
3000
  syntax: "<string>";
2971
3001
  inherits: true;
2972
- initial-value: 700 10px/1.5 Roboto;
3002
+ initial-value: 400 12px 'Roboto Condensed', sans-serif;
3003
+ }
3004
+
3005
+ @property --kds-font-workflow-node-status {
3006
+ syntax: "<string>";
3007
+ inherits: true;
3008
+ initial-value: 400 8px 'Roboto Condensed', sans-serif;
3009
+ }
3010
+
3011
+ @property --kds-font-dataapp-h1 {
3012
+ syntax: "<string>";
3013
+ inherits: true;
3014
+ initial-value: 700 36px/1.5 Roboto, sans-serif;
3015
+ }
3016
+
3017
+ @property --kds-font-dataapp-h2 {
3018
+ syntax: "<string>";
3019
+ inherits: true;
3020
+ initial-value: 700 30px/1.5 Roboto, sans-serif;
3021
+ }
3022
+
3023
+ @property --kds-font-dataapp-h3 {
3024
+ syntax: "<string>";
3025
+ inherits: true;
3026
+ initial-value: 700 26px/1.5 Roboto, sans-serif;
3027
+ }
3028
+
3029
+ @property --kds-font-dataapp-h4 {
3030
+ syntax: "<string>";
3031
+ inherits: true;
3032
+ initial-value: 700 22px/1.5 Roboto, sans-serif;
3033
+ }
3034
+
3035
+ @property --kds-font-dataapp-h5 {
3036
+ syntax: "<string>";
3037
+ inherits: true;
3038
+ initial-value: 700 16px/1.5 Roboto, sans-serif;
3039
+ }
3040
+
3041
+ @property --kds-font-dataapp-h6 {
3042
+ syntax: "<string>";
3043
+ inherits: true;
3044
+ initial-value: 700 13px/1.5 Roboto, sans-serif;
3045
+ }
3046
+
3047
+ @property --kds-font-dataapp-body {
3048
+ syntax: "<string>";
3049
+ inherits: true;
3050
+ initial-value: 700 13px/1.5 Roboto, sans-serif;
3051
+ }
3052
+
3053
+ @property --kds-font-dataapp-body-small {
3054
+ syntax: "<string>";
3055
+ inherits: true;
3056
+ initial-value: 700 10px/1.5 Roboto, sans-serif;
2973
3057
  }
2974
3058
 
2975
3059
  @property --kds-elevation-level-0 {
2976
- syntax: "*";
3060
+ syntax: "<string>";
2977
3061
  inherits: false;
2978
3062
  initial-value: 0 0 0 0 light-dark(hsl(330 0% 73% / 0.32), hsl(345 0% 10% / 0.9));
2979
3063
  }
2980
3064
 
2981
3065
  @property --kds-elevation-level-1 {
2982
- syntax: "*";
3066
+ syntax: "<string>";
2983
3067
  inherits: false;
2984
3068
  initial-value: 0 1px 1px 0 light-dark(hsl(330 0% 73% / 0.32), hsl(345 0% 10% / 0.9)), 0 0 1px 0 light-dark(hsl(330 0% 32% / 0.14), hsl(345 0% 10% / 0.94)), 0 0 8px 0 light-dark(hsl(330 0% 32% / 0.12), hsl(345 0% 10% / 0.98));
2985
3069
  }
2986
3070
 
2987
3071
  @property --kds-elevation-level-3 {
2988
- syntax: "*";
3072
+ syntax: "<string>";
2989
3073
  inherits: false;
2990
3074
  initial-value: 0 2px 4px 0 light-dark(hsl(330 0% 73% / 0.32), hsl(345 0% 10% / 0.9)), 0 4px 8px 0 light-dark(hsl(330 0% 32% / 0.14), hsl(345 0% 10% / 0.94)), 0 0 20px 0 light-dark(hsl(330 0% 32% / 0.12), hsl(345 0% 10% / 0.98));
2991
3075
  }
2992
3076
 
2993
3077
  @property --kds-box-shadow-knob {
2994
- syntax: "*";
3078
+ syntax: "<string>";
2995
3079
  inherits: false;
2996
3080
  initial-value: 0 1px 2px 0 light-dark(hsl(330 0% 32% / 0.5), hsl(345 0% 10% / 0.6));
2997
- }
2998
-
2999
- @property --kds-color-background-static-danger-bold {
3000
- syntax: "<color>";
3001
- inherits: true;
3002
- initial-value: hsl(356.66 65.093% 15.235%);
3003
3081
  }
@@ -159,6 +159,7 @@
159
159
  --kds-core-font-size-0-81x: 13px;
160
160
  --kds-core-font-size-0-87x: 14px;
161
161
  --kds-core-font-size-1x: 16px;
162
+ --kds-core-font-size-1-13x: 18px;
162
163
  --kds-core-font-size-1-25x: 20px;
163
164
  --kds-core-font-size-1-375x: 22px;
164
165
  --kds-core-font-size-1-625x: 26px;
@@ -183,14 +184,16 @@
183
184
  --kds-core-paragraph-spacing-medium: 0.5px;
184
185
  --kds-core-paragraph-spacing-large: 0.75px;
185
186
  --kds-core-paragraph-spacing-extra-large: 1px;
186
- --kds-core-font-family-roboto: Roboto;
187
- --kds-core-font-family-roboto-condensed: 'Roboto Condensed';
188
- --kds-core-font-family-roboto-mono: 'Roboto Mono';
187
+ --kds-core-font-family-roboto: Roboto, sans-serif;
188
+ --kds-core-font-family-roboto-condensed: 'Roboto Condensed', sans-serif;
189
+ --kds-core-font-family-roboto-mono: 'Roboto Mono', monospace;
189
190
  --kds-core-font-weight-regular: 400;
190
191
  --kds-core-font-weight-regular-italic-weight: 400;
191
192
  --kds-core-font-weight-regular-italic-style: italic;
192
193
  --kds-core-font-weight-medium: 500;
193
194
  --kds-core-font-weight-strong: 700;
195
+ --kds-core-font-weight-strong-italic-weight: 700;
196
+ --kds-core-font-weight-strong-italic-style: italic;
194
197
  --kds-core-line-height-singleline: 1;
195
198
  --kds-core-line-height-multiline-narrow: 1.3;
196
199
  --kds-core-line-height-multiline-wide: 1.5;
@@ -240,7 +243,7 @@
240
243
  --kds-color-background-static-warning: light-dark(hsl(30 95% 92%), hsl(13 66% 23%));
241
244
  --kds-color-background-static-warning-muted: light-dark(hsl(29.611 97.821% 95.88%), hsl(14.626 60.206% 14.715%));
242
245
  --kds-color-background-static-danger: light-dark(hsl(2 100% 92%), hsl(348 97% 27%));
243
- --kds-color-background-static-danger-muted: hsl(0 100% 97%);
246
+ --kds-color-background-static-danger-muted: light-dark(hsl(0 100% 97%), hsl(356.66 65.093% 15.235%));
244
247
  --kds-color-background-static-success: light-dark(hsl(119.44 95.797% 93.942%), hsl(124 47% 21%));
245
248
  --kds-color-background-static-success-muted: light-dark(hsl(124.89 65.088% 97.723%), hsl(128.09 38.652% 10.529%));
246
249
  --kds-color-background-static-brand: hsl(51 100% 50%);
@@ -450,57 +453,67 @@
450
453
  --kds-dimension-icon-0-75x: 12px;
451
454
  --kds-dimension-icon-1x: 16px;
452
455
  --kds-dimension-icon-1-25x: 20px;
453
- --kds-font-base-display-small: 700 20px/1.3 Roboto;
454
- --kds-font-base-display-medium: 700 24px/1.3 Roboto;
455
- --kds-font-base-display-large: 700 32px/1.3 Roboto;
456
- --kds-font-base-display-xlarge: 700 40px/1.3 Roboto;
457
- --kds-font-base-title-xsmall: 500 10px/1 Roboto;
458
- --kds-font-base-title-small: 500 12px/1 Roboto;
459
- --kds-font-base-title-small-strong: 700 12px/1 Roboto;
460
- --kds-font-base-title-medium: 500 14px/1 Roboto;
461
- --kds-font-base-title-medium-strong: 700 14px/1 Roboto;
462
- --kds-font-base-title-large: 500 16px/1 Roboto;
463
- --kds-font-base-title-large-strong: 700 16px/1 Roboto;
464
- --kds-font-base-body-small: 400 12px/1.5 Roboto;
465
- --kds-font-base-body-small-italic: italic 400 12px/1.5 Roboto;
466
- --kds-font-base-body-small-strong: 700 12px/1.5 Roboto;
467
- --kds-font-base-body-medium: 400 14px/1.5 Roboto;
468
- --kds-font-base-body-large: 400 16px/1.3 Roboto;
469
- --kds-font-base-body-xlarge: 400 20px/1.5 Roboto;
470
- --kds-font-base-subtext-xsmall: 400 9px Roboto;
471
- --kds-font-base-subtext-small: 400 10px/1.3 Roboto;
472
- --kds-font-base-subtext-medium: 400 12px/1.3 Roboto;
473
- --kds-font-base-interactive-xsmall-strong: 500 11px/1 Roboto;
474
- --kds-font-base-interactive-small: 400 12px/1 Roboto;
475
- --kds-font-base-interactive-small-italic: italic 400 12px/1 Roboto;
476
- --kds-font-base-interactive-small-strong: 500 12px/1 Roboto;
477
- --kds-font-base-interactive-medium: 400 14px/1 Roboto;
478
- --kds-font-base-interactive-medium-strong: 500 14px/1 Roboto;
479
- --kds-font-base-interactive-large: 400 16px/1 Roboto;
480
- --kds-font-base-interactive-large-strong: 500 16px/1 Roboto;
481
- --kds-font-base-code-xsmall: 400 10px/1 'Roboto Mono';
482
- --kds-font-base-code-small: 400 11px/1.3 'Roboto Mono';
483
- --kds-font-workflows-annotations-h1: 700 36px/1.5 'Roboto Condensed';
484
- --kds-font-workflows-annotations-h2: 700 30px/1.5 'Roboto Condensed';
485
- --kds-font-workflows-annotations-h3: 700 26px/1.5 'Roboto Condensed';
486
- --kds-font-workflows-annotations-h4: 700 22px/1.5 'Roboto Condensed';
487
- --kds-font-workflows-annotations-h5: 700 16px/1.5 'Roboto Condensed';
488
- --kds-font-workflows-annotations-h6: 700 13px/1.5 'Roboto Condensed';
489
- --kds-font-workflows-annotations-body: 700 13px/1.5 'Roboto Condensed';
490
- --kds-font-workflows-node-name: 700 13px 'Roboto Condensed';
491
- --kds-font-workflows-node-label: 400 12px 'Roboto Condensed';
492
- --kds-font-workflows-node-status: 400 8px 'Roboto Condensed';
493
- --kds-font-dataapps-h1: 700 36px/1.5 Roboto;
494
- --kds-font-dataapps-h2: 700 30px/1.5 Roboto;
495
- --kds-font-dataapps-h3: 700 26px/1.5 Roboto;
496
- --kds-font-dataapps-h4: 700 22px/1.5 Roboto;
497
- --kds-font-dataapps-h5: 700 16px/1.5 Roboto;
498
- --kds-font-dataapps-h6: 700 13px/1.5 Roboto;
499
- --kds-font-dataapps-body: 700 13px/1.5 Roboto;
500
- --kds-font-dataapps-body-small: 700 10px/1.5 Roboto;
456
+ --kds-font-base-display-xsmall: 700 18px/1.3 Roboto, sans-serif;
457
+ --kds-font-base-display-small: 700 20px/1.3 Roboto, sans-serif;
458
+ --kds-font-base-display-medium: 700 24px/1.3 Roboto, sans-serif;
459
+ --kds-font-base-display-large: 700 32px/1.3 Roboto, sans-serif;
460
+ --kds-font-base-display-xlarge: 700 40px/1.3 Roboto, sans-serif;
461
+ --kds-font-base-title-xsmall: 500 10px/1 Roboto, sans-serif;
462
+ --kds-font-base-title-small: 500 12px/1 Roboto, sans-serif;
463
+ --kds-font-base-title-small-strong: 700 12px/1 Roboto, sans-serif;
464
+ --kds-font-base-title-medium: 500 14px/1 Roboto, sans-serif;
465
+ --kds-font-base-title-medium-strong: 700 14px/1 Roboto, sans-serif;
466
+ --kds-font-base-title-large: 500 16px/1 Roboto, sans-serif;
467
+ --kds-font-base-title-large-strong: 700 16px/1 Roboto, sans-serif;
468
+ --kds-font-base-body-small: 400 12px/1.5 Roboto, sans-serif;
469
+ --kds-font-base-body-small-italic: italic 400 12px/1.5 Roboto, sans-serif;
470
+ --kds-font-base-body-small-strong: 700 12px/1.5 Roboto, sans-serif;
471
+ --kds-font-base-body-small-strong-italic: italic 700 12px/1.5 Roboto, sans-serif;
472
+ --kds-font-base-body-medium: 400 14px/1.5 Roboto, sans-serif;
473
+ --kds-font-base-body-large: 400 16px/1.3 Roboto, sans-serif;
474
+ --kds-font-base-body-xlarge: 400 20px/1.5 Roboto, sans-serif;
475
+ --kds-font-base-subtext-xsmall: 400 9px Roboto, sans-serif;
476
+ --kds-font-base-subtext-small: 400 10px/1.3 Roboto, sans-serif;
477
+ --kds-font-base-subtext-medium: 400 12px/1.3 Roboto, sans-serif;
478
+ --kds-font-base-interactive-xsmall-strong: 500 11px/1 Roboto, sans-serif;
479
+ --kds-font-base-interactive-small: 400 12px/1 Roboto, sans-serif;
480
+ --kds-font-base-interactive-small-italic: italic 400 12px/1 Roboto, sans-serif;
481
+ --kds-font-base-interactive-small-strong: 500 12px/1 Roboto, sans-serif;
482
+ --kds-font-base-interactive-medium: 400 14px/1 Roboto, sans-serif;
483
+ --kds-font-base-interactive-medium-strong: 500 14px/1 Roboto, sans-serif;
484
+ --kds-font-base-interactive-large: 400 16px/1 Roboto, sans-serif;
485
+ --kds-font-base-interactive-large-strong: 500 16px/1 Roboto, sans-serif;
486
+ --kds-font-base-code-xsmall: 400 10px/1 'Roboto Mono', monospace;
487
+ --kds-font-base-code-small: 400 11px/1.3 'Roboto Mono', monospace;
488
+ --kds-font-workflow-annotation-headline-h1: 700 36px/1.5 'Roboto Condensed', sans-serif;
489
+ --kds-font-workflow-annotation-headline-h2: 700 30px/1.5 'Roboto Condensed', sans-serif;
490
+ --kds-font-workflow-annotation-headline-h3: 700 26px/1.5 'Roboto Condensed', sans-serif;
491
+ --kds-font-workflow-annotation-headline-h4: 700 22px/1.5 'Roboto Condensed', sans-serif;
492
+ --kds-font-workflow-annotation-headline-h5: 700 16px/1.5 'Roboto Condensed', sans-serif;
493
+ --kds-font-workflow-annotation-headline-h1-italic: 700 36px/1.5 'Roboto Condensed', sans-serif;
494
+ --kds-font-workflow-annotation-headline-h2-italic: 700 30px/1.5 'Roboto Condensed', sans-serif;
495
+ --kds-font-workflow-annotation-headline-h3-italic: 700 26px/1.5 'Roboto Condensed', sans-serif;
496
+ --kds-font-workflow-annotation-headline-h4-italic: 700 22px/1.5 'Roboto Condensed', sans-serif;
497
+ --kds-font-workflow-annotation-headline-h5-italic: 700 16px/1.5 'Roboto Condensed', sans-serif;
498
+ --kds-font-workflow-annotation-headline-h6: 700 13px/1.5 'Roboto Condensed', sans-serif;
499
+ --kds-font-workflow-annotation-headline-h6-italic: 700 13px/1.5 'Roboto Condensed', sans-serif;
500
+ --kds-font-workflow-annotation-body-small: 400 13px/1.5 'Roboto Condensed', sans-serif;
501
+ --kds-font-workflow-annotation-body-small-italic: italic 400 13px/1.5 'Roboto Condensed', sans-serif;
502
+ --kds-font-workflow-annotation-body-small-strong: 700 13px/1.5 'Roboto Condensed', sans-serif;
503
+ --kds-font-workflow-annotation-body-small-strong-italic: italic 700 13px/1.5 'Roboto Condensed', sans-serif;
504
+ --kds-font-workflow-node-name: 700 13px 'Roboto Condensed', sans-serif;
505
+ --kds-font-workflow-node-label: 400 12px 'Roboto Condensed', sans-serif;
506
+ --kds-font-workflow-node-status: 400 8px 'Roboto Condensed', sans-serif;
507
+ --kds-font-dataapp-h1: 700 36px/1.5 Roboto, sans-serif;
508
+ --kds-font-dataapp-h2: 700 30px/1.5 Roboto, sans-serif;
509
+ --kds-font-dataapp-h3: 700 26px/1.5 Roboto, sans-serif;
510
+ --kds-font-dataapp-h4: 700 22px/1.5 Roboto, sans-serif;
511
+ --kds-font-dataapp-h5: 700 16px/1.5 Roboto, sans-serif;
512
+ --kds-font-dataapp-h6: 700 13px/1.5 Roboto, sans-serif;
513
+ --kds-font-dataapp-body: 700 13px/1.5 Roboto, sans-serif;
514
+ --kds-font-dataapp-body-small: 700 10px/1.5 Roboto, sans-serif;
501
515
  --kds-elevation-level-0: 0 0 0 0 light-dark(hsl(330 0% 73% / 0.32), hsl(345 0% 10% / 0.9));
502
516
  --kds-elevation-level-1: 0 1px 1px 0 light-dark(hsl(330 0% 73% / 0.32), hsl(345 0% 10% / 0.9)), 0 0 1px 0 light-dark(hsl(330 0% 32% / 0.14), hsl(345 0% 10% / 0.94)), 0 0 8px 0 light-dark(hsl(330 0% 32% / 0.12), hsl(345 0% 10% / 0.98));
503
517
  --kds-elevation-level-3: 0 2px 4px 0 light-dark(hsl(330 0% 73% / 0.32), hsl(345 0% 10% / 0.9)), 0 4px 8px 0 light-dark(hsl(330 0% 32% / 0.14), hsl(345 0% 10% / 0.94)), 0 0 20px 0 light-dark(hsl(330 0% 32% / 0.12), hsl(345 0% 10% / 0.98));
504
518
  --kds-box-shadow-knob: 0 1px 2px 0 light-dark(hsl(330 0% 32% / 0.5), hsl(345 0% 10% / 0.6));
505
- --kds-color-background-static-danger-bold: hsl(356.66 65.093% 15.235%);
506
519
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knime/kds-styles",
3
- "version": "0.3.1",
3
+ "version": "0.4.0",
4
4
  "description": "Package containing the design tokens and icons for the KNIME Design System",
5
5
  "repository": {
6
6
  "type": "git",
@@ -45,9 +45,11 @@
45
45
  "npm": "please-use-pnpm"
46
46
  },
47
47
  "scripts": {
48
- "build": "pnpm run --parallel --aggregate-output /^build:.*/",
48
+ "build": "pnpm run build:parallel && pnpm run build:fonts",
49
+ "build:parallel": "pnpm run --parallel --aggregate-output \"/^build:(css|icons|tokens)$/\"",
49
50
  "build:icons": "node src/processSVGs.js",
50
51
  "build:tokens": "node src/buildTokens.js",
52
+ "build:fonts": "node src/processFonts.js",
51
53
  "build:css": "node src/copyCss.js",
52
54
  "test": "echo \"Error: no test specified\" && exit 1"
53
55
  }
@@ -1,10 +0,0 @@
1
- /**
2
- * Fonts for workflows.
3
- *
4
- * Import only the weights and styles that are required:
5
- * Sync with dist/tokens/css/_variables.css
6
- * Search for --kds-font- to find all font related CSS variables.
7
- */
8
- @import "./fonts.css";
9
- @import "@fontsource/roboto-condensed/400";
10
- @import "@fontsource/roboto-condensed/700";