@helvetia-design/assets 0.1.0 → 0.2.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,3 +1,56 @@
1
+ @font-face {
2
+ font-family: 'Baloise Create Headline';
3
+ font-style: normal;
4
+ font-weight: 700;
5
+ font-display: swap;
6
+ src:
7
+ local('BaloiseCreateHeadline'),
8
+ local('BaloiseCreateHeadline-bold'),
9
+ url('https://cdn.jsdelivr.net/npm/@helvetia-design/assets/src/fonts/BaloiseCreateHeadline-bold.woff2')
10
+ format('woff2'),
11
+ url('https://cdn.jsdelivr.net/npm/@helvetia-design/assets/src/fonts/BaloiseCreateHeadline-bold.woff') format('woff');
12
+ }
13
+
14
+ @font-face {
15
+ font-family: 'Baloise Create Headline';
16
+ font-style: normal;
17
+ font-weight: 300;
18
+ font-display: swap;
19
+ src:
20
+ local('BaloiseCreateHeadline'),
21
+ local('BaloiseCreateHeadline-light'),
22
+ url('https://cdn.jsdelivr.net/npm/@helvetia-design/assets/src/fonts/BaloiseCreateHeadline-light.woff2')
23
+ format('woff2'),
24
+ url('https://cdn.jsdelivr.net/npm/@helvetia-design/assets/src/fonts/BaloiseCreateHeadline-light.woff')
25
+ format('woff');
26
+ }
27
+
28
+ @font-face {
29
+ font-family: 'Baloise Create Text';
30
+ font-style: normal;
31
+ font-weight: 700;
32
+ font-display: swap;
33
+ src:
34
+ local('BaloiseCreateText'),
35
+ local('BaloiseCreateText-bold'),
36
+ url('https://cdn.jsdelivr.net/npm/@helvetia-design/assets/src/fonts/BaloiseCreateText-bold.woff2') format('woff2'),
37
+ url('https://cdn.jsdelivr.net/npm/@helvetia-design/assets/src/fonts/BaloiseCreateText-bold.woff') format('woff');
38
+ }
39
+
40
+ @font-face {
41
+ font-family: 'Baloise Create Text';
42
+ font-style: normal;
43
+ font-weight: 400;
44
+ font-display: swap;
45
+ src:
46
+ local('BaloiseCreateText'),
47
+ local('BaloiseCreateText-regular'),
48
+ url('https://cdn.jsdelivr.net/npm/@helvetia-design/assets/src/fonts/BaloiseCreateText-regular.woff2')
49
+ format('woff2'),
50
+ url('https://cdn.jsdelivr.net/npm/@helvetia-design/assets/src/fonts/BaloiseCreateText-regular.woff') format('woff');
51
+ }
52
+
53
+ /* Deprecated: legacy no-space family names, kept so apps that hardcode them keep working. Remove in next major. */
1
54
  @font-face {
2
55
  font-family: 'BaloiseCreateHeadline';
3
56
  font-style: normal;
@@ -1,3 +1,52 @@
1
+ @font-face {
2
+ font-family: 'Baloise Create Headline';
3
+ font-style: normal;
4
+ font-weight: 700;
5
+ font-display: swap;
6
+ src:
7
+ local('BaloiseCreateHeadline'),
8
+ local('BaloiseCreateHeadline-bold'),
9
+ url('https://www.baloise.ch/app-integration/assets/fonts/BaloiseCreateHeadline-bold.woff2') format('woff2'),
10
+ url('https://www.baloise.ch/app-integration/assets/fonts/BaloiseCreateHeadline-bold.woff') format('woff');
11
+ }
12
+
13
+ @font-face {
14
+ font-family: 'Baloise Create Headline';
15
+ font-style: normal;
16
+ font-weight: 300;
17
+ font-display: swap;
18
+ src:
19
+ local('BaloiseCreateHeadline'),
20
+ local('BaloiseCreateHeadline-light'),
21
+ url('https://www.baloise.ch/app-integration/assets/fonts/BaloiseCreateHeadline-light.woff2') format('woff2'),
22
+ url('https://www.baloise.ch/app-integration/assets/fonts/BaloiseCreateHeadline-light.woff') format('woff');
23
+ }
24
+
25
+ @font-face {
26
+ font-family: 'Baloise Create Text';
27
+ font-style: normal;
28
+ font-weight: 700;
29
+ font-display: swap;
30
+ src:
31
+ local('BaloiseCreateText'),
32
+ local('BaloiseCreateText-bold'),
33
+ url('https://www.baloise.ch/app-integration/assets/fonts/BaloiseCreateText-bold.woff2') format('woff2'),
34
+ url('https://www.baloise.ch/app-integration/assets/fonts/BaloiseCreateText-bold.woff') format('woff');
35
+ }
36
+
37
+ @font-face {
38
+ font-family: 'Baloise Create Text';
39
+ font-style: normal;
40
+ font-weight: 400;
41
+ font-display: swap;
42
+ src:
43
+ local('BaloiseCreateText'),
44
+ local('BaloiseCreateText-regular'),
45
+ url('https://www.baloise.ch/app-integration/assets/fonts/BaloiseCreateText-regular.woff2') format('woff2'),
46
+ url('https://www.baloise.ch/app-integration/assets/fonts/BaloiseCreateText-regular.woff') format('woff');
47
+ }
48
+
49
+ /* Deprecated: legacy no-space family names, kept so apps that hardcode them keep working. Remove in next major. */
1
50
  @font-face {
2
51
  font-family: 'BaloiseCreateHeadline';
3
52
  font-style: normal;
@@ -1,3 +1,52 @@
1
+ @font-face {
2
+ font-family: 'Baloise Create Headline';
3
+ font-style: normal;
4
+ font-weight: 700;
5
+ font-display: swap;
6
+ src:
7
+ local('BaloiseCreateHeadline'),
8
+ local('BaloiseCreateHeadline-bold'),
9
+ url('/assets/fonts/BaloiseCreateHeadline-bold.woff2') format('woff2'),
10
+ url('/assets/fonts/BaloiseCreateHeadline-bold.woff') format('woff');
11
+ }
12
+
13
+ @font-face {
14
+ font-family: 'Baloise Create Headline';
15
+ font-style: normal;
16
+ font-weight: 300;
17
+ font-display: swap;
18
+ src:
19
+ local('BaloiseCreateHeadline'),
20
+ local('BaloiseCreateHeadline-light'),
21
+ url('/assets/fonts/BaloiseCreateHeadline-light.woff2') format('woff2'),
22
+ url('/assets/fonts/BaloiseCreateHeadline-light.woff') format('woff');
23
+ }
24
+
25
+ @font-face {
26
+ font-family: 'Baloise Create Text';
27
+ font-style: normal;
28
+ font-weight: 700;
29
+ font-display: swap;
30
+ src:
31
+ local('BaloiseCreateText'),
32
+ local('BaloiseCreateText-bold'),
33
+ url('/assets/fonts/BaloiseCreateText-bold.woff2') format('woff2'),
34
+ url('/assets/fonts/BaloiseCreateText-bold.woff') format('woff');
35
+ }
36
+
37
+ @font-face {
38
+ font-family: 'Baloise Create Text';
39
+ font-style: normal;
40
+ font-weight: 400;
41
+ font-display: swap;
42
+ src:
43
+ local('BaloiseCreateText'),
44
+ local('BaloiseCreateText-regular'),
45
+ url('/assets/fonts/BaloiseCreateText-regular.woff2') format('woff2'),
46
+ url('/assets/fonts/BaloiseCreateText-regular.woff') format('woff');
47
+ }
48
+
49
+ /* Deprecated: legacy no-space family names, kept so apps that hardcode them keep working. Remove in next major. */
1
50
  @font-face {
2
51
  font-family: 'BaloiseCreateHeadline';
3
52
  font-style: normal;
@@ -6,7 +6,7 @@ $font-heading-bold-woff: string.insert('/BaloiseCreateHeadline-bold.woff', $font
6
6
  $font-heading-bold-woff2: string.insert('/BaloiseCreateHeadline-bold.woff2', $font-path, 1);
7
7
 
8
8
  @font-face {
9
- font-family: BaloiseCreateHeadline;
9
+ font-family: 'Baloise Create Headline';
10
10
  font-style: normal;
11
11
  font-weight: 700;
12
12
  font-display: swap;
@@ -21,7 +21,7 @@ $font-heading-light-woff: string.insert('/BaloiseCreateHeadline-light.woff', $fo
21
21
  $font-heading-light-woff2: string.insert('/BaloiseCreateHeadline-light.woff2', $font-path, 1);
22
22
 
23
23
  @font-face {
24
- font-family: BaloiseCreateHeadline;
24
+ font-family: 'Baloise Create Headline';
25
25
  font-style: normal;
26
26
  font-weight: 300;
27
27
  font-display: swap;
@@ -35,7 +35,7 @@ $font-text-bold-woff: string.insert('/BaloiseCreateText-bold.woff', $font-path,
35
35
  $font-text-bold-woff2: string.insert('/BaloiseCreateText-bold.woff2', $font-path, 1);
36
36
 
37
37
  @font-face {
38
- font-family: BaloiseCreateText;
38
+ font-family: 'Baloise Create Text';
39
39
  font-style: normal;
40
40
  font-weight: 700;
41
41
  font-display: swap;
@@ -48,6 +48,53 @@ $font-text-bold-woff2: string.insert('/BaloiseCreateText-bold.woff2', $font-path
48
48
  $font-text-regular-woff: string.insert('/BaloiseCreateText-regular.woff', $font-path, 1);
49
49
  $font-text-regular-woff2: string.insert('/BaloiseCreateText-regular.woff2', $font-path, 1);
50
50
 
51
+ @font-face {
52
+ font-family: 'Baloise Create Text';
53
+ font-style: normal;
54
+ font-weight: 400;
55
+ font-display: swap;
56
+ src:
57
+ local('BaloiseCreateText'),
58
+ local('BaloiseCreateText-regular'),
59
+ url('#{$font-text-regular-woff2}') format('woff2'),
60
+ url('#{$font-text-regular-woff}') format('woff');
61
+ }
62
+
63
+ /* Deprecated: legacy no-space family names, kept so apps that hardcode them keep working. Remove in next major. */
64
+ @font-face {
65
+ font-family: BaloiseCreateHeadline;
66
+ font-style: normal;
67
+ font-weight: 700;
68
+ font-display: swap;
69
+ src:
70
+ local('BaloiseCreateHeadline'),
71
+ local('BaloiseCreateHeadline-bold'),
72
+ url('#{$font-heading-bold-woff2}') format('woff2'),
73
+ url('#{$font-heading-bold-woff}') format('woff');
74
+ }
75
+
76
+ @font-face {
77
+ font-family: BaloiseCreateHeadline;
78
+ font-style: normal;
79
+ font-weight: 300;
80
+ font-display: swap;
81
+ src:
82
+ local('BaloiseCreateHeadline-light'),
83
+ url('#{$font-heading-light-woff2}') format('woff2'),
84
+ url('#{$font-heading-light-woff}') format('woff');
85
+ }
86
+
87
+ @font-face {
88
+ font-family: BaloiseCreateText;
89
+ font-style: normal;
90
+ font-weight: 700;
91
+ font-display: swap;
92
+ src:
93
+ local('BaloiseCreateText-bold'),
94
+ url('#{$font-text-bold-woff2}') format('woff2'),
95
+ url('#{$font-text-bold-woff}') format('woff');
96
+ }
97
+
51
98
  @font-face {
52
99
  font-family: BaloiseCreateText;
53
100
  font-style: normal;