@knime/kds-styles 0.3.2 → 0.4.1

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
  }
@@ -1091,19 +1091,19 @@ syntax: "<length>";
1091
1091
  @property --kds-core-font-family-roboto {
1092
1092
  syntax: "<string>#";
1093
1093
  inherits: true;
1094
- initial-value: Roboto;
1094
+ initial-value: Roboto, sans-serif;
1095
1095
  }
1096
1096
 
1097
1097
  @property --kds-core-font-family-roboto-condensed {
1098
1098
  syntax: "<string>#";
1099
1099
  inherits: true;
1100
- initial-value: 'Roboto Condensed';
1100
+ initial-value: 'Roboto Condensed', sans-serif;
1101
1101
  }
1102
1102
 
1103
1103
  @property --kds-core-font-family-roboto-mono {
1104
1104
  syntax: "<string>#";
1105
1105
  inherits: true;
1106
- initial-value: 'Roboto Mono';
1106
+ initial-value: 'Roboto Mono', monospace;
1107
1107
  }
1108
1108
 
1109
1109
  @property --kds-core-font-weight-regular {
@@ -1119,8 +1119,8 @@ syntax: "<number>";
1119
1119
  }
1120
1120
 
1121
1121
  @property --kds-core-font-weight-regular-italic-style {
1122
- syntax: "*";
1123
- inherits: false;
1122
+ syntax: "<string>";
1123
+ inherits: true;
1124
1124
  initial-value: italic;
1125
1125
  }
1126
1126
 
@@ -1136,6 +1136,18 @@ syntax: "<number>";
1136
1136
  initial-value: 700;
1137
1137
  }
1138
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
+
1139
1151
  @property --kds-core-line-height-singleline {
1140
1152
  syntax: "<number> | <percentage>";
1141
1153
  inherits: true;
@@ -1433,7 +1445,7 @@ syntax: "<color>";
1433
1445
  @property --kds-color-background-static-danger-muted {
1434
1446
  syntax: "<color>";
1435
1447
  inherits: true;
1436
- initial-value: hsl(0 100% 97%);
1448
+ initial-value: light-dark(hsl(0 100% 97%), hsl(356.66 65.093% 15.235%));
1437
1449
  }
1438
1450
 
1439
1451
  @property --kds-color-background-static-success {
@@ -2693,323 +2705,377 @@ syntax: "<length>";
2693
2705
  @property --kds-font-base-display-xsmall {
2694
2706
  syntax: "<string>";
2695
2707
  inherits: true;
2696
- initial-value: 700 18px/1.3 Roboto;
2708
+ initial-value: 700 18px/1.3 Roboto, sans-serif;
2697
2709
  }
2698
2710
 
2699
2711
  @property --kds-font-base-display-small {
2700
2712
  syntax: "<string>";
2701
2713
  inherits: true;
2702
- initial-value: 700 20px/1.3 Roboto;
2714
+ initial-value: 700 20px/1.3 Roboto, sans-serif;
2703
2715
  }
2704
2716
 
2705
2717
  @property --kds-font-base-display-medium {
2706
2718
  syntax: "<string>";
2707
2719
  inherits: true;
2708
- initial-value: 700 24px/1.3 Roboto;
2720
+ initial-value: 700 24px/1.3 Roboto, sans-serif;
2709
2721
  }
2710
2722
 
2711
2723
  @property --kds-font-base-display-large {
2712
2724
  syntax: "<string>";
2713
2725
  inherits: true;
2714
- initial-value: 700 32px/1.3 Roboto;
2726
+ initial-value: 700 32px/1.3 Roboto, sans-serif;
2715
2727
  }
2716
2728
 
2717
2729
  @property --kds-font-base-display-xlarge {
2718
2730
  syntax: "<string>";
2719
2731
  inherits: true;
2720
- initial-value: 700 40px/1.3 Roboto;
2732
+ initial-value: 700 40px/1.3 Roboto, sans-serif;
2721
2733
  }
2722
2734
 
2723
2735
  @property --kds-font-base-title-xsmall {
2724
2736
  syntax: "<string>";
2725
2737
  inherits: true;
2726
- initial-value: 500 10px/1 Roboto;
2738
+ initial-value: 500 10px/1 Roboto, sans-serif;
2727
2739
  }
2728
2740
 
2729
2741
  @property --kds-font-base-title-small {
2730
2742
  syntax: "<string>";
2731
2743
  inherits: true;
2732
- initial-value: 500 12px/1 Roboto;
2744
+ initial-value: 500 12px/1 Roboto, sans-serif;
2733
2745
  }
2734
2746
 
2735
2747
  @property --kds-font-base-title-small-strong {
2736
2748
  syntax: "<string>";
2737
2749
  inherits: true;
2738
- initial-value: 700 12px/1 Roboto;
2750
+ initial-value: 700 12px/1 Roboto, sans-serif;
2739
2751
  }
2740
2752
 
2741
2753
  @property --kds-font-base-title-medium {
2742
2754
  syntax: "<string>";
2743
2755
  inherits: true;
2744
- initial-value: 500 14px/1 Roboto;
2756
+ initial-value: 500 14px/1 Roboto, sans-serif;
2745
2757
  }
2746
2758
 
2747
2759
  @property --kds-font-base-title-medium-strong {
2748
2760
  syntax: "<string>";
2749
2761
  inherits: true;
2750
- initial-value: 700 14px/1 Roboto;
2762
+ initial-value: 700 14px/1 Roboto, sans-serif;
2751
2763
  }
2752
2764
 
2753
2765
  @property --kds-font-base-title-large {
2754
2766
  syntax: "<string>";
2755
2767
  inherits: true;
2756
- initial-value: 500 16px/1 Roboto;
2768
+ initial-value: 500 16px/1 Roboto, sans-serif;
2757
2769
  }
2758
2770
 
2759
2771
  @property --kds-font-base-title-large-strong {
2760
2772
  syntax: "<string>";
2761
2773
  inherits: true;
2762
- initial-value: 700 16px/1 Roboto;
2774
+ initial-value: 700 16px/1 Roboto, sans-serif;
2763
2775
  }
2764
2776
 
2765
2777
  @property --kds-font-base-body-small {
2766
2778
  syntax: "<string>";
2767
2779
  inherits: true;
2768
- initial-value: 400 12px/1.5 Roboto;
2780
+ initial-value: 400 12px/1.5 Roboto, sans-serif;
2769
2781
  }
2770
2782
 
2771
2783
  @property --kds-font-base-body-small-italic {
2772
2784
  syntax: "<string>";
2773
2785
  inherits: true;
2774
- initial-value: italic 400 12px/1.5 Roboto;
2786
+ initial-value: italic 400 12px/1.5 Roboto, sans-serif;
2775
2787
  }
2776
2788
 
2777
2789
  @property --kds-font-base-body-small-strong {
2778
2790
  syntax: "<string>";
2779
2791
  inherits: true;
2780
- 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;
2781
2799
  }
2782
2800
 
2783
2801
  @property --kds-font-base-body-medium {
2784
2802
  syntax: "<string>";
2785
2803
  inherits: true;
2786
- initial-value: 400 14px/1.5 Roboto;
2804
+ initial-value: 400 14px/1.5 Roboto, sans-serif;
2787
2805
  }
2788
2806
 
2789
2807
  @property --kds-font-base-body-large {
2790
2808
  syntax: "<string>";
2791
2809
  inherits: true;
2792
- initial-value: 400 16px/1.3 Roboto;
2810
+ initial-value: 400 16px/1.3 Roboto, sans-serif;
2793
2811
  }
2794
2812
 
2795
2813
  @property --kds-font-base-body-xlarge {
2796
2814
  syntax: "<string>";
2797
2815
  inherits: true;
2798
- initial-value: 400 20px/1.5 Roboto;
2816
+ initial-value: 400 20px/1.5 Roboto, sans-serif;
2799
2817
  }
2800
2818
 
2801
2819
  @property --kds-font-base-subtext-xsmall {
2802
2820
  syntax: "<string>";
2803
2821
  inherits: true;
2804
- initial-value: 400 9px Roboto;
2822
+ initial-value: 400 9px Roboto, sans-serif;
2805
2823
  }
2806
2824
 
2807
2825
  @property --kds-font-base-subtext-small {
2808
2826
  syntax: "<string>";
2809
2827
  inherits: true;
2810
- initial-value: 400 10px/1.3 Roboto;
2828
+ initial-value: 400 10px/1.3 Roboto, sans-serif;
2811
2829
  }
2812
2830
 
2813
2831
  @property --kds-font-base-subtext-medium {
2814
2832
  syntax: "<string>";
2815
2833
  inherits: true;
2816
- initial-value: 400 12px/1.3 Roboto;
2834
+ initial-value: 400 12px/1.3 Roboto, sans-serif;
2817
2835
  }
2818
2836
 
2819
2837
  @property --kds-font-base-interactive-xsmall-strong {
2820
2838
  syntax: "<string>";
2821
2839
  inherits: true;
2822
- initial-value: 500 11px/1 Roboto;
2840
+ initial-value: 500 11px/1 Roboto, sans-serif;
2823
2841
  }
2824
2842
 
2825
2843
  @property --kds-font-base-interactive-small {
2826
2844
  syntax: "<string>";
2827
2845
  inherits: true;
2828
- initial-value: 400 12px/1 Roboto;
2846
+ initial-value: 400 12px/1 Roboto, sans-serif;
2829
2847
  }
2830
2848
 
2831
2849
  @property --kds-font-base-interactive-small-italic {
2832
2850
  syntax: "<string>";
2833
2851
  inherits: true;
2834
- initial-value: italic 400 12px/1 Roboto;
2852
+ initial-value: italic 400 12px/1 Roboto, sans-serif;
2835
2853
  }
2836
2854
 
2837
2855
  @property --kds-font-base-interactive-small-strong {
2838
2856
  syntax: "<string>";
2839
2857
  inherits: true;
2840
- initial-value: 500 12px/1 Roboto;
2858
+ initial-value: 500 12px/1 Roboto, sans-serif;
2841
2859
  }
2842
2860
 
2843
2861
  @property --kds-font-base-interactive-medium {
2844
2862
  syntax: "<string>";
2845
2863
  inherits: true;
2846
- initial-value: 400 14px/1 Roboto;
2864
+ initial-value: 400 14px/1 Roboto, sans-serif;
2847
2865
  }
2848
2866
 
2849
2867
  @property --kds-font-base-interactive-medium-strong {
2850
2868
  syntax: "<string>";
2851
2869
  inherits: true;
2852
- initial-value: 500 14px/1 Roboto;
2870
+ initial-value: 500 14px/1 Roboto, sans-serif;
2853
2871
  }
2854
2872
 
2855
2873
  @property --kds-font-base-interactive-large {
2856
2874
  syntax: "<string>";
2857
2875
  inherits: true;
2858
- initial-value: 400 16px/1 Roboto;
2876
+ initial-value: 400 16px/1 Roboto, sans-serif;
2859
2877
  }
2860
2878
 
2861
2879
  @property --kds-font-base-interactive-large-strong {
2862
2880
  syntax: "<string>";
2863
2881
  inherits: true;
2864
- initial-value: 500 16px/1 Roboto;
2882
+ initial-value: 500 16px/1 Roboto, sans-serif;
2865
2883
  }
2866
2884
 
2867
2885
  @property --kds-font-base-code-xsmall {
2868
2886
  syntax: "<string>";
2869
2887
  inherits: true;
2870
- initial-value: 400 10px/1 'Roboto Mono';
2888
+ initial-value: 400 10px/1 'Roboto Mono', monospace;
2871
2889
  }
2872
2890
 
2873
2891
  @property --kds-font-base-code-small {
2874
2892
  syntax: "<string>";
2875
2893
  inherits: true;
2876
- initial-value: 400 11px/1.3 'Roboto Mono';
2894
+ initial-value: 400 11px/1.3 'Roboto Mono', monospace;
2895
+ }
2896
+
2897
+ @property --kds-font-workflow-annotation-headline-h1 {
2898
+ syntax: "<string>";
2899
+ inherits: true;
2900
+ initial-value: 700 36px/1.5 'Roboto Condensed', sans-serif;
2901
+ }
2902
+
2903
+ @property --kds-font-workflow-annotation-headline-h2 {
2904
+ syntax: "<string>";
2905
+ inherits: true;
2906
+ initial-value: 700 30px/1.5 'Roboto Condensed', sans-serif;
2907
+ }
2908
+
2909
+ @property --kds-font-workflow-annotation-headline-h3 {
2910
+ syntax: "<string>";
2911
+ inherits: true;
2912
+ initial-value: 700 26px/1.5 'Roboto Condensed', sans-serif;
2877
2913
  }
2878
2914
 
2879
- @property --kds-font-workflows-annotations-h1 {
2915
+ @property --kds-font-workflow-annotation-headline-h4 {
2880
2916
  syntax: "<string>";
2881
2917
  inherits: true;
2882
- initial-value: 700 36px/1.5 'Roboto Condensed';
2918
+ initial-value: 700 22px/1.5 'Roboto Condensed', sans-serif;
2883
2919
  }
2884
2920
 
2885
- @property --kds-font-workflows-annotations-h2 {
2921
+ @property --kds-font-workflow-annotation-headline-h5 {
2886
2922
  syntax: "<string>";
2887
2923
  inherits: true;
2888
- initial-value: 700 30px/1.5 'Roboto Condensed';
2924
+ initial-value: 700 16px/1.5 'Roboto Condensed', sans-serif;
2889
2925
  }
2890
2926
 
2891
- @property --kds-font-workflows-annotations-h3 {
2927
+ @property --kds-font-workflow-annotation-headline-h1-italic {
2892
2928
  syntax: "<string>";
2893
2929
  inherits: true;
2894
- initial-value: 700 26px/1.5 'Roboto Condensed';
2930
+ initial-value: 700 36px/1.5 'Roboto Condensed', sans-serif;
2895
2931
  }
2896
2932
 
2897
- @property --kds-font-workflows-annotations-h4 {
2933
+ @property --kds-font-workflow-annotation-headline-h2-italic {
2898
2934
  syntax: "<string>";
2899
2935
  inherits: true;
2900
- initial-value: 700 22px/1.5 'Roboto Condensed';
2936
+ initial-value: 700 30px/1.5 'Roboto Condensed', sans-serif;
2901
2937
  }
2902
2938
 
2903
- @property --kds-font-workflows-annotations-h5 {
2939
+ @property --kds-font-workflow-annotation-headline-h3-italic {
2904
2940
  syntax: "<string>";
2905
2941
  inherits: true;
2906
- initial-value: 700 16px/1.5 'Roboto Condensed';
2942
+ initial-value: 700 26px/1.5 'Roboto Condensed', sans-serif;
2907
2943
  }
2908
2944
 
2909
- @property --kds-font-workflows-annotations-h6 {
2945
+ @property --kds-font-workflow-annotation-headline-h4-italic {
2910
2946
  syntax: "<string>";
2911
2947
  inherits: true;
2912
- initial-value: 700 13px/1.5 'Roboto Condensed';
2948
+ initial-value: 700 22px/1.5 'Roboto Condensed', sans-serif;
2913
2949
  }
2914
2950
 
2915
- @property --kds-font-workflows-annotations-body {
2951
+ @property --kds-font-workflow-annotation-headline-h5-italic {
2916
2952
  syntax: "<string>";
2917
2953
  inherits: true;
2918
- initial-value: 700 13px/1.5 'Roboto Condensed';
2954
+ initial-value: 700 16px/1.5 'Roboto Condensed', sans-serif;
2919
2955
  }
2920
2956
 
2921
- @property --kds-font-workflows-node-name {
2957
+ @property --kds-font-workflow-annotation-headline-h6 {
2922
2958
  syntax: "<string>";
2923
2959
  inherits: true;
2924
- initial-value: 700 13px 'Roboto Condensed';
2960
+ initial-value: 700 13px/1.5 'Roboto Condensed', sans-serif;
2925
2961
  }
2926
2962
 
2927
- @property --kds-font-workflows-node-label {
2963
+ @property --kds-font-workflow-annotation-headline-h6-italic {
2928
2964
  syntax: "<string>";
2929
2965
  inherits: true;
2930
- initial-value: 400 12px 'Roboto Condensed';
2966
+ initial-value: 700 13px/1.5 'Roboto Condensed', sans-serif;
2931
2967
  }
2932
2968
 
2933
- @property --kds-font-workflows-node-status {
2969
+ @property --kds-font-workflow-annotation-body-small {
2934
2970
  syntax: "<string>";
2935
2971
  inherits: true;
2936
- initial-value: 400 8px 'Roboto Condensed';
2972
+ initial-value: 400 13px/1.5 'Roboto Condensed', sans-serif;
2937
2973
  }
2938
2974
 
2939
- @property --kds-font-dataapps-h1 {
2975
+ @property --kds-font-workflow-annotation-body-small-italic {
2940
2976
  syntax: "<string>";
2941
2977
  inherits: true;
2942
- initial-value: 700 36px/1.5 Roboto;
2978
+ initial-value: italic 400 13px/1.5 'Roboto Condensed', sans-serif;
2943
2979
  }
2944
2980
 
2945
- @property --kds-font-dataapps-h2 {
2981
+ @property --kds-font-workflow-annotation-body-small-strong {
2946
2982
  syntax: "<string>";
2947
2983
  inherits: true;
2948
- initial-value: 700 30px/1.5 Roboto;
2984
+ initial-value: 700 13px/1.5 'Roboto Condensed', sans-serif;
2949
2985
  }
2950
2986
 
2951
- @property --kds-font-dataapps-h3 {
2987
+ @property --kds-font-workflow-annotation-body-small-strong-italic {
2952
2988
  syntax: "<string>";
2953
2989
  inherits: true;
2954
- initial-value: 700 26px/1.5 Roboto;
2990
+ initial-value: italic 700 13px/1.5 'Roboto Condensed', sans-serif;
2955
2991
  }
2956
2992
 
2957
- @property --kds-font-dataapps-h4 {
2993
+ @property --kds-font-workflow-node-name {
2958
2994
  syntax: "<string>";
2959
2995
  inherits: true;
2960
- initial-value: 700 22px/1.5 Roboto;
2996
+ initial-value: 700 13px 'Roboto Condensed', sans-serif;
2961
2997
  }
2962
2998
 
2963
- @property --kds-font-dataapps-h5 {
2999
+ @property --kds-font-workflow-node-label {
2964
3000
  syntax: "<string>";
2965
3001
  inherits: true;
2966
- initial-value: 700 16px/1.5 Roboto;
3002
+ initial-value: 400 12px 'Roboto Condensed', sans-serif;
2967
3003
  }
2968
3004
 
2969
- @property --kds-font-dataapps-h6 {
3005
+ @property --kds-font-workflow-node-status {
2970
3006
  syntax: "<string>";
2971
3007
  inherits: true;
2972
- initial-value: 700 13px/1.5 Roboto;
3008
+ initial-value: 400 8px 'Roboto Condensed', sans-serif;
2973
3009
  }
2974
3010
 
2975
- @property --kds-font-dataapps-body {
3011
+ @property --kds-font-dataapp-h1 {
2976
3012
  syntax: "<string>";
2977
3013
  inherits: true;
2978
- initial-value: 700 13px/1.5 Roboto;
3014
+ initial-value: 700 36px/1.5 Roboto, sans-serif;
2979
3015
  }
2980
3016
 
2981
- @property --kds-font-dataapps-body-small {
3017
+ @property --kds-font-dataapp-h2 {
2982
3018
  syntax: "<string>";
2983
3019
  inherits: true;
2984
- initial-value: 700 10px/1.5 Roboto;
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;
2985
3057
  }
2986
3058
 
2987
3059
  @property --kds-elevation-level-0 {
2988
- syntax: "*";
3060
+ syntax: "<string>";
2989
3061
  inherits: false;
2990
3062
  initial-value: 0 0 0 0 light-dark(hsl(330 0% 73% / 0.32), hsl(345 0% 10% / 0.9));
2991
3063
  }
2992
3064
 
2993
3065
  @property --kds-elevation-level-1 {
2994
- syntax: "*";
3066
+ syntax: "<string>";
2995
3067
  inherits: false;
2996
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));
2997
3069
  }
2998
3070
 
2999
3071
  @property --kds-elevation-level-3 {
3000
- syntax: "*";
3072
+ syntax: "<string>";
3001
3073
  inherits: false;
3002
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));
3003
3075
  }
3004
3076
 
3005
3077
  @property --kds-box-shadow-knob {
3006
- syntax: "*";
3078
+ syntax: "<string>";
3007
3079
  inherits: false;
3008
3080
  initial-value: 0 1px 2px 0 light-dark(hsl(330 0% 32% / 0.5), hsl(345 0% 10% / 0.6));
3009
- }
3010
-
3011
- @property --kds-color-background-static-danger-bold {
3012
- syntax: "<color>";
3013
- inherits: true;
3014
- initial-value: hsl(356.66 65.093% 15.235%);
3015
3081
  }
@@ -184,14 +184,16 @@
184
184
  --kds-core-paragraph-spacing-medium: 0.5px;
185
185
  --kds-core-paragraph-spacing-large: 0.75px;
186
186
  --kds-core-paragraph-spacing-extra-large: 1px;
187
- --kds-core-font-family-roboto: Roboto;
188
- --kds-core-font-family-roboto-condensed: 'Roboto Condensed';
189
- --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;
190
190
  --kds-core-font-weight-regular: 400;
191
191
  --kds-core-font-weight-regular-italic-weight: 400;
192
192
  --kds-core-font-weight-regular-italic-style: italic;
193
193
  --kds-core-font-weight-medium: 500;
194
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;
195
197
  --kds-core-line-height-singleline: 1;
196
198
  --kds-core-line-height-multiline-narrow: 1.3;
197
199
  --kds-core-line-height-multiline-wide: 1.5;
@@ -241,7 +243,7 @@
241
243
  --kds-color-background-static-warning: light-dark(hsl(30 95% 92%), hsl(13 66% 23%));
242
244
  --kds-color-background-static-warning-muted: light-dark(hsl(29.611 97.821% 95.88%), hsl(14.626 60.206% 14.715%));
243
245
  --kds-color-background-static-danger: light-dark(hsl(2 100% 92%), hsl(348 97% 27%));
244
- --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%));
245
247
  --kds-color-background-static-success: light-dark(hsl(119.44 95.797% 93.942%), hsl(124 47% 21%));
246
248
  --kds-color-background-static-success-muted: light-dark(hsl(124.89 65.088% 97.723%), hsl(128.09 38.652% 10.529%));
247
249
  --kds-color-background-static-brand: hsl(51 100% 50%);
@@ -451,58 +453,67 @@
451
453
  --kds-dimension-icon-0-75x: 12px;
452
454
  --kds-dimension-icon-1x: 16px;
453
455
  --kds-dimension-icon-1-25x: 20px;
454
- --kds-font-base-display-xsmall: 700 18px/1.3 Roboto;
455
- --kds-font-base-display-small: 700 20px/1.3 Roboto;
456
- --kds-font-base-display-medium: 700 24px/1.3 Roboto;
457
- --kds-font-base-display-large: 700 32px/1.3 Roboto;
458
- --kds-font-base-display-xlarge: 700 40px/1.3 Roboto;
459
- --kds-font-base-title-xsmall: 500 10px/1 Roboto;
460
- --kds-font-base-title-small: 500 12px/1 Roboto;
461
- --kds-font-base-title-small-strong: 700 12px/1 Roboto;
462
- --kds-font-base-title-medium: 500 14px/1 Roboto;
463
- --kds-font-base-title-medium-strong: 700 14px/1 Roboto;
464
- --kds-font-base-title-large: 500 16px/1 Roboto;
465
- --kds-font-base-title-large-strong: 700 16px/1 Roboto;
466
- --kds-font-base-body-small: 400 12px/1.5 Roboto;
467
- --kds-font-base-body-small-italic: italic 400 12px/1.5 Roboto;
468
- --kds-font-base-body-small-strong: 700 12px/1.5 Roboto;
469
- --kds-font-base-body-medium: 400 14px/1.5 Roboto;
470
- --kds-font-base-body-large: 400 16px/1.3 Roboto;
471
- --kds-font-base-body-xlarge: 400 20px/1.5 Roboto;
472
- --kds-font-base-subtext-xsmall: 400 9px Roboto;
473
- --kds-font-base-subtext-small: 400 10px/1.3 Roboto;
474
- --kds-font-base-subtext-medium: 400 12px/1.3 Roboto;
475
- --kds-font-base-interactive-xsmall-strong: 500 11px/1 Roboto;
476
- --kds-font-base-interactive-small: 400 12px/1 Roboto;
477
- --kds-font-base-interactive-small-italic: italic 400 12px/1 Roboto;
478
- --kds-font-base-interactive-small-strong: 500 12px/1 Roboto;
479
- --kds-font-base-interactive-medium: 400 14px/1 Roboto;
480
- --kds-font-base-interactive-medium-strong: 500 14px/1 Roboto;
481
- --kds-font-base-interactive-large: 400 16px/1 Roboto;
482
- --kds-font-base-interactive-large-strong: 500 16px/1 Roboto;
483
- --kds-font-base-code-xsmall: 400 10px/1 'Roboto Mono';
484
- --kds-font-base-code-small: 400 11px/1.3 'Roboto Mono';
485
- --kds-font-workflows-annotations-h1: 700 36px/1.5 'Roboto Condensed';
486
- --kds-font-workflows-annotations-h2: 700 30px/1.5 'Roboto Condensed';
487
- --kds-font-workflows-annotations-h3: 700 26px/1.5 'Roboto Condensed';
488
- --kds-font-workflows-annotations-h4: 700 22px/1.5 'Roboto Condensed';
489
- --kds-font-workflows-annotations-h5: 700 16px/1.5 'Roboto Condensed';
490
- --kds-font-workflows-annotations-h6: 700 13px/1.5 'Roboto Condensed';
491
- --kds-font-workflows-annotations-body: 700 13px/1.5 'Roboto Condensed';
492
- --kds-font-workflows-node-name: 700 13px 'Roboto Condensed';
493
- --kds-font-workflows-node-label: 400 12px 'Roboto Condensed';
494
- --kds-font-workflows-node-status: 400 8px 'Roboto Condensed';
495
- --kds-font-dataapps-h1: 700 36px/1.5 Roboto;
496
- --kds-font-dataapps-h2: 700 30px/1.5 Roboto;
497
- --kds-font-dataapps-h3: 700 26px/1.5 Roboto;
498
- --kds-font-dataapps-h4: 700 22px/1.5 Roboto;
499
- --kds-font-dataapps-h5: 700 16px/1.5 Roboto;
500
- --kds-font-dataapps-h6: 700 13px/1.5 Roboto;
501
- --kds-font-dataapps-body: 700 13px/1.5 Roboto;
502
- --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;
503
515
  --kds-elevation-level-0: 0 0 0 0 light-dark(hsl(330 0% 73% / 0.32), hsl(345 0% 10% / 0.9));
504
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));
505
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));
506
518
  --kds-box-shadow-knob: 0 1px 2px 0 light-dark(hsl(330 0% 32% / 0.5), hsl(345 0% 10% / 0.6));
507
- --kds-color-background-static-danger-bold: hsl(356.66 65.093% 15.235%);
508
519
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knime/kds-styles",
3
- "version": "0.3.2",
3
+ "version": "0.4.1",
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";