@dnanpm/styleguide 3.12.2 → 3.12.3
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/build/cjs/assets/fonts/fonts.css.js +3 -0
- package/build/cjs/components/ButtonCard/ButtonCard.js +3 -5
- package/build/cjs/themes/globalStyles.js +1 -1
- package/build/es/assets/fonts/fonts.css.js +1 -0
- package/build/es/components/ButtonCard/ButtonCard.js +3 -5
- package/build/es/themes/globalStyles.js +1 -1
- package/package.json +5 -5
- package/build/cjs/build/assets/fonts/fonts.css +0 -129
- package/build/es/build/assets/fonts/fonts.css +0 -129
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
if(typeof document!=="undefined")document.head.appendChild(document.createElement("style")).textContent="@font-face{font-family:'DNA Text';font-style: normal;font-weight: 400;font-display: swap;src: url('https://www.dna.fi/fonts/DNAText-Regular.woff2') format('woff2'),url('https://www.dna.fi/fonts/DNAText-Regular.woff') format('woff');}@font-face{font-family:'DNA Text';font-style: normal;font-weight: 500;font-display: swap;src: url('https://www.dna.fi/fonts/DNAText-Medium.woff2') format('woff2'),url('https://www.dna.fi/fonts/DNAText-Medium.woff') format('woff');}@font-face{font-family:'DNA Text';font-style: normal;font-weight: 700;font-display: swap;src: url('https://www.dna.fi/fonts/DNAText-Bold.woff2') format('woff2'),url('https://www.dna.fi/fonts/DNAText-Bold.woff') format('woff');}@font-face{font-family:'DNA Heading';font-style: normal;font-weight: 600;font-display: swap;src: url('https://www.dna.fi/fonts/DNAHeading-DemiBold.woff2') format('woff2'),url('https://www.dna.fi/fonts/DNAHeading-DemiBold.woff') format('woff');}@font-face{font-family:'DNA Heading';font-style: normal;font-weight: 700;font-display: swap;src: url('https://www.dna.fi/fonts/DNAHeading-Bold.woff2') format('woff2'),url('https://www.dna.fi/fonts/DNAHeading-Bold.woff') format('woff');}@font-face{font-family:'DNA Heading';font-style: normal;font-weight: 900;font-display: swap;src: url('https://www.dna.fi/fonts/DNAHeading-Black.woff2') format('woff2'),url('https://www.dna.fi/fonts/DNAHeading-Black.woff') format('woff');}@font-face{font-family:'DNA Numerals';font-style: normal;font-weight: 700;font-display: swap;src: url('https://www.dna.fi/fonts/DNANumerals-Bold.woff2') format('woff2'),url('https://www.dna.fi/fonts/DNANumerals-Bold.woff') format('woff');}@font-face{font-family:'DNA Text Regular';font-style: normal;font-weight: 400;font-display: swap;src: url('https://www.dna.fi/fonts/DNAText-Regular.woff2') format('woff2'),url('https://www.dna.fi/fonts/DNAText-Regular.woff') format('woff');}@font-face{font-family:'DNA Text Medium';font-style: normal;font-weight: 500;font-display: swap;src: url('https://www.dna.fi/fonts/DNAText-Medium.woff2') format('woff2'),url('https://www.dna.fi/fonts/DNAText-Medium.woff') format('woff');}@font-face{font-family:'DNA Text Bold';font-style: normal;font-weight: 700;font-display: swap;src: url('https://www.dna.fi/fonts/DNAText-Bold.woff2') format('woff2'),url('https://www.dna.fi/fonts/DNAText-Bold.woff') format('woff');}@font-face{font-family:'DNA Heading Demi Bold';font-style: normal;font-weight: 600;font-display: swap;src: url('https://www.dna.fi/fonts/DNAHeading-DemiBold.woff2') format('woff2'),url('https://www.dna.fi/fonts/DNAHeading-DemiBold.woff') format('woff');}@font-face{font-family:'DNA Heading Bold';font-style: normal;font-weight: 700;font-display: swap;src: url('https://www.dna.fi/fonts/DNAHeading-Bold.woff2') format('woff2'),url('https://www.dna.fi/fonts/DNAHeading-Bold.woff') format('woff');}@font-face{font-family:'DNA Heading Black';font-style: normal;font-weight: 900;font-display: swap;src: url('https://www.dna.fi/fonts/DNAHeading-Black.woff2') format('woff2'),url('https://www.dna.fi/fonts/DNAHeading-Black.woff') format('woff');}@font-face{font-family:'DNA Numerals Bold';font-style: normal;font-weight: 700;font-display: swap;src: url('https://www.dna.fi/fonts/DNANumerals-Bold.woff2') format('woff2'),url('https://www.dna.fi/fonts/DNANumerals-Bold.woff') format('woff');}";
|
|
@@ -17,7 +17,7 @@ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
|
17
17
|
const ButtonCardWrapper = styledComponents.styled.button `
|
|
18
18
|
display: block;
|
|
19
19
|
padding: 0;
|
|
20
|
-
border: 0
|
|
20
|
+
border: 0;
|
|
21
21
|
width: 100%;
|
|
22
22
|
background-color: transparent;
|
|
23
23
|
cursor: pointer;
|
|
@@ -25,6 +25,7 @@ const ButtonCardWrapper = styledComponents.styled.button `
|
|
|
25
25
|
font-size: ${theme.default.fontSize.default};
|
|
26
26
|
line-height: ${theme.default.lineHeight.default};
|
|
27
27
|
color: ${theme.default.color.text.black};
|
|
28
|
+
text-decoration: none;
|
|
28
29
|
|
|
29
30
|
&:focus-visible {
|
|
30
31
|
border: 1px solid ${theme.default.color.focus.light};
|
|
@@ -33,13 +34,12 @@ const ButtonCardWrapper = styledComponents.styled.button `
|
|
|
33
34
|
outline: none;
|
|
34
35
|
|
|
35
36
|
& > div {
|
|
36
|
-
border: 0
|
|
37
|
+
border: 0;
|
|
37
38
|
}
|
|
38
39
|
}
|
|
39
40
|
|
|
40
41
|
&:hover {
|
|
41
42
|
color: ${theme.default.color.text.black};
|
|
42
|
-
text-decoration: none;
|
|
43
43
|
}
|
|
44
44
|
`;
|
|
45
45
|
const StyledBox = styledComponents.styled(Box.default) `
|
|
@@ -74,7 +74,6 @@ const Title = styledComponents.styled.div `
|
|
|
74
74
|
font-size: ${theme.default.fontSize.default};
|
|
75
75
|
line-height: ${theme.default.lineHeight.default};
|
|
76
76
|
font-weight: ${theme.default.fontWeight.bold};
|
|
77
|
-
|
|
78
77
|
text-overflow: ellipsis;
|
|
79
78
|
overflow: hidden;
|
|
80
79
|
white-space: nowrap;
|
|
@@ -97,7 +96,6 @@ const Subtitle = styledComponents.styled.div `
|
|
|
97
96
|
font-size: ${theme.default.fontSize.s};
|
|
98
97
|
line-height: ${theme.default.lineHeight.s};
|
|
99
98
|
font-weight: ${theme.default.fontWeight.medium};
|
|
100
|
-
|
|
101
99
|
text-overflow: ellipsis;
|
|
102
100
|
overflow: hidden;
|
|
103
101
|
white-space: nowrap;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
if(typeof document!=="undefined")document.head.appendChild(document.createElement("style")).textContent="@font-face{font-family:'DNA Text';font-style: normal;font-weight: 400;font-display: swap;src: url('https://www.dna.fi/fonts/DNAText-Regular.woff2') format('woff2'),url('https://www.dna.fi/fonts/DNAText-Regular.woff') format('woff');}@font-face{font-family:'DNA Text';font-style: normal;font-weight: 500;font-display: swap;src: url('https://www.dna.fi/fonts/DNAText-Medium.woff2') format('woff2'),url('https://www.dna.fi/fonts/DNAText-Medium.woff') format('woff');}@font-face{font-family:'DNA Text';font-style: normal;font-weight: 700;font-display: swap;src: url('https://www.dna.fi/fonts/DNAText-Bold.woff2') format('woff2'),url('https://www.dna.fi/fonts/DNAText-Bold.woff') format('woff');}@font-face{font-family:'DNA Heading';font-style: normal;font-weight: 600;font-display: swap;src: url('https://www.dna.fi/fonts/DNAHeading-DemiBold.woff2') format('woff2'),url('https://www.dna.fi/fonts/DNAHeading-DemiBold.woff') format('woff');}@font-face{font-family:'DNA Heading';font-style: normal;font-weight: 700;font-display: swap;src: url('https://www.dna.fi/fonts/DNAHeading-Bold.woff2') format('woff2'),url('https://www.dna.fi/fonts/DNAHeading-Bold.woff') format('woff');}@font-face{font-family:'DNA Heading';font-style: normal;font-weight: 900;font-display: swap;src: url('https://www.dna.fi/fonts/DNAHeading-Black.woff2') format('woff2'),url('https://www.dna.fi/fonts/DNAHeading-Black.woff') format('woff');}@font-face{font-family:'DNA Numerals';font-style: normal;font-weight: 700;font-display: swap;src: url('https://www.dna.fi/fonts/DNANumerals-Bold.woff2') format('woff2'),url('https://www.dna.fi/fonts/DNANumerals-Bold.woff') format('woff');}@font-face{font-family:'DNA Text Regular';font-style: normal;font-weight: 400;font-display: swap;src: url('https://www.dna.fi/fonts/DNAText-Regular.woff2') format('woff2'),url('https://www.dna.fi/fonts/DNAText-Regular.woff') format('woff');}@font-face{font-family:'DNA Text Medium';font-style: normal;font-weight: 500;font-display: swap;src: url('https://www.dna.fi/fonts/DNAText-Medium.woff2') format('woff2'),url('https://www.dna.fi/fonts/DNAText-Medium.woff') format('woff');}@font-face{font-family:'DNA Text Bold';font-style: normal;font-weight: 700;font-display: swap;src: url('https://www.dna.fi/fonts/DNAText-Bold.woff2') format('woff2'),url('https://www.dna.fi/fonts/DNAText-Bold.woff') format('woff');}@font-face{font-family:'DNA Heading Demi Bold';font-style: normal;font-weight: 600;font-display: swap;src: url('https://www.dna.fi/fonts/DNAHeading-DemiBold.woff2') format('woff2'),url('https://www.dna.fi/fonts/DNAHeading-DemiBold.woff') format('woff');}@font-face{font-family:'DNA Heading Bold';font-style: normal;font-weight: 700;font-display: swap;src: url('https://www.dna.fi/fonts/DNAHeading-Bold.woff2') format('woff2'),url('https://www.dna.fi/fonts/DNAHeading-Bold.woff') format('woff');}@font-face{font-family:'DNA Heading Black';font-style: normal;font-weight: 900;font-display: swap;src: url('https://www.dna.fi/fonts/DNAHeading-Black.woff2') format('woff2'),url('https://www.dna.fi/fonts/DNAHeading-Black.woff') format('woff');}@font-face{font-family:'DNA Numerals Bold';font-style: normal;font-weight: 700;font-display: swap;src: url('https://www.dna.fi/fonts/DNANumerals-Bold.woff2') format('woff2'),url('https://www.dna.fi/fonts/DNANumerals-Bold.woff') format('woff');}";
|
|
@@ -9,7 +9,7 @@ import Icon from '../Icon/Icon.js';
|
|
|
9
9
|
const ButtonCardWrapper = styled.button `
|
|
10
10
|
display: block;
|
|
11
11
|
padding: 0;
|
|
12
|
-
border: 0
|
|
12
|
+
border: 0;
|
|
13
13
|
width: 100%;
|
|
14
14
|
background-color: transparent;
|
|
15
15
|
cursor: pointer;
|
|
@@ -17,6 +17,7 @@ const ButtonCardWrapper = styled.button `
|
|
|
17
17
|
font-size: ${theme.fontSize.default};
|
|
18
18
|
line-height: ${theme.lineHeight.default};
|
|
19
19
|
color: ${theme.color.text.black};
|
|
20
|
+
text-decoration: none;
|
|
20
21
|
|
|
21
22
|
&:focus-visible {
|
|
22
23
|
border: 1px solid ${theme.color.focus.light};
|
|
@@ -25,13 +26,12 @@ const ButtonCardWrapper = styled.button `
|
|
|
25
26
|
outline: none;
|
|
26
27
|
|
|
27
28
|
& > div {
|
|
28
|
-
border: 0
|
|
29
|
+
border: 0;
|
|
29
30
|
}
|
|
30
31
|
}
|
|
31
32
|
|
|
32
33
|
&:hover {
|
|
33
34
|
color: ${theme.color.text.black};
|
|
34
|
-
text-decoration: none;
|
|
35
35
|
}
|
|
36
36
|
`;
|
|
37
37
|
const StyledBox = styled(Box) `
|
|
@@ -66,7 +66,6 @@ const Title = styled.div `
|
|
|
66
66
|
font-size: ${theme.fontSize.default};
|
|
67
67
|
line-height: ${theme.lineHeight.default};
|
|
68
68
|
font-weight: ${theme.fontWeight.bold};
|
|
69
|
-
|
|
70
69
|
text-overflow: ellipsis;
|
|
71
70
|
overflow: hidden;
|
|
72
71
|
white-space: nowrap;
|
|
@@ -89,7 +88,6 @@ const Subtitle = styled.div `
|
|
|
89
88
|
font-size: ${theme.fontSize.s};
|
|
90
89
|
line-height: ${theme.lineHeight.s};
|
|
91
90
|
font-weight: ${theme.fontWeight.medium};
|
|
92
|
-
|
|
93
91
|
text-overflow: ellipsis;
|
|
94
92
|
overflow: hidden;
|
|
95
93
|
white-space: nowrap;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dnanpm/styleguide",
|
|
3
3
|
"sideEffects": false,
|
|
4
|
-
"version": "v3.12.
|
|
4
|
+
"version": "v3.12.3",
|
|
5
5
|
"main": "build/cjs/index.js",
|
|
6
6
|
"module": "build/es/index.js",
|
|
7
7
|
"jsnext:main": "build/es/index.js",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@babel/core": "^7.26.10",
|
|
48
48
|
"@babel/preset-env": "^7.26.0",
|
|
49
49
|
"@babel/preset-react": "^7.26.3",
|
|
50
|
-
"@babel/preset-typescript": "^7.
|
|
50
|
+
"@babel/preset-typescript": "^7.28.5",
|
|
51
51
|
"@dnanpm/icons": "^2.0.9",
|
|
52
52
|
"@rollup/plugin-commonjs": "^29.0.0",
|
|
53
53
|
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
54
|
-
"@rollup/plugin-typescript": "^12.
|
|
54
|
+
"@rollup/plugin-typescript": "^12.3.0",
|
|
55
55
|
"@testing-library/jest-dom": "^6.6.3",
|
|
56
56
|
"@testing-library/react": "^16.3.0",
|
|
57
57
|
"@testing-library/user-event": "^14.5.2",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"eslint-config-airbnb-typescript": "^17.1.0",
|
|
73
73
|
"eslint-config-prettier": "^10.1.8",
|
|
74
74
|
"eslint-plugin-import": "2.32.0",
|
|
75
|
-
"eslint-plugin-jsdoc": "^61.1.
|
|
75
|
+
"eslint-plugin-jsdoc": "^61.1.12",
|
|
76
76
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
77
77
|
"eslint-plugin-prefer-arrow": "^1.2.3",
|
|
78
78
|
"eslint-plugin-react": "^7.37.4",
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"react-dom": "^18.3.1",
|
|
90
90
|
"react-styleguidist": "^13.1.4",
|
|
91
91
|
"rollup": "^3.29.4",
|
|
92
|
-
"rollup-plugin-import-css": "^4.1.
|
|
92
|
+
"rollup-plugin-import-css": "^4.1.2",
|
|
93
93
|
"style-loader": "^3.3.3",
|
|
94
94
|
"styled-components": "^6.1.19",
|
|
95
95
|
"ts-jest": "^29.3.2",
|
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
/* "DNA Text" font definition */
|
|
2
|
-
@font-face {
|
|
3
|
-
font-family: 'DNA Text';
|
|
4
|
-
font-style: normal;
|
|
5
|
-
font-weight: 400;
|
|
6
|
-
font-display: swap;
|
|
7
|
-
src: url('https://www.dna.fi/fonts/DNAText-Regular.woff2') format('woff2'),
|
|
8
|
-
url('https://www.dna.fi/fonts/DNAText-Regular.woff') format('woff');
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
@font-face {
|
|
12
|
-
font-family: 'DNA Text';
|
|
13
|
-
font-style: normal;
|
|
14
|
-
font-weight: 500;
|
|
15
|
-
font-display: swap;
|
|
16
|
-
src: url('https://www.dna.fi/fonts/DNAText-Medium.woff2') format('woff2'),
|
|
17
|
-
url('https://www.dna.fi/fonts/DNAText-Medium.woff') format('woff');
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
@font-face {
|
|
21
|
-
font-family: 'DNA Text';
|
|
22
|
-
font-style: normal;
|
|
23
|
-
font-weight: 700;
|
|
24
|
-
font-display: swap;
|
|
25
|
-
src: url('https://www.dna.fi/fonts/DNAText-Bold.woff2') format('woff2'),
|
|
26
|
-
url('https://www.dna.fi/fonts/DNAText-Bold.woff') format('woff');
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
/* "DNA Heading" font definition */
|
|
30
|
-
@font-face {
|
|
31
|
-
font-family: 'DNA Heading';
|
|
32
|
-
font-style: normal;
|
|
33
|
-
font-weight: 600;
|
|
34
|
-
font-display: swap;
|
|
35
|
-
src: url('https://www.dna.fi/fonts/DNAHeading-DemiBold.woff2') format('woff2'),
|
|
36
|
-
url('https://www.dna.fi/fonts/DNAHeading-DemiBold.woff') format('woff');
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
@font-face {
|
|
40
|
-
font-family: 'DNA Heading';
|
|
41
|
-
font-style: normal;
|
|
42
|
-
font-weight: 700;
|
|
43
|
-
font-display: swap;
|
|
44
|
-
src: url('https://www.dna.fi/fonts/DNAHeading-Bold.woff2') format('woff2'),
|
|
45
|
-
url('https://www.dna.fi/fonts/DNAHeading-Bold.woff') format('woff');
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
@font-face {
|
|
49
|
-
font-family: 'DNA Heading';
|
|
50
|
-
font-style: normal;
|
|
51
|
-
font-weight: 900;
|
|
52
|
-
font-display: swap;
|
|
53
|
-
src: url('https://www.dna.fi/fonts/DNAHeading-Black.woff2') format('woff2'),
|
|
54
|
-
url('https://www.dna.fi/fonts/DNAHeading-Black.woff') format('woff');
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/* "DNA Numerals" font definition */
|
|
58
|
-
@font-face {
|
|
59
|
-
font-family: 'DNA Numerals';
|
|
60
|
-
font-style: normal;
|
|
61
|
-
font-weight: 700;
|
|
62
|
-
font-display: swap;
|
|
63
|
-
src: url('https://www.dna.fi/fonts/DNANumerals-Bold.woff2') format('woff2'),
|
|
64
|
-
url('https://www.dna.fi/fonts/DNANumerals-Bold.woff') format('woff');
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
/* Direct definitons of DNA fonts */
|
|
68
|
-
@font-face {
|
|
69
|
-
font-family: 'DNA Text Regular';
|
|
70
|
-
font-style: normal;
|
|
71
|
-
font-weight: 400;
|
|
72
|
-
font-display: swap;
|
|
73
|
-
src: url('https://www.dna.fi/fonts/DNAText-Regular.woff2') format('woff2'),
|
|
74
|
-
url('https://www.dna.fi/fonts/DNAText-Regular.woff') format('woff');
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
@font-face {
|
|
78
|
-
font-family: 'DNA Text Medium';
|
|
79
|
-
font-style: normal;
|
|
80
|
-
font-weight: 500;
|
|
81
|
-
font-display: swap;
|
|
82
|
-
src: url('https://www.dna.fi/fonts/DNAText-Medium.woff2') format('woff2'),
|
|
83
|
-
url('https://www.dna.fi/fonts/DNAText-Medium.woff') format('woff');
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
@font-face {
|
|
87
|
-
font-family: 'DNA Text Bold';
|
|
88
|
-
font-style: normal;
|
|
89
|
-
font-weight: 700;
|
|
90
|
-
font-display: swap;
|
|
91
|
-
src: url('https://www.dna.fi/fonts/DNAText-Bold.woff2') format('woff2'),
|
|
92
|
-
url('https://www.dna.fi/fonts/DNAText-Bold.woff') format('woff');
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
@font-face {
|
|
96
|
-
font-family: 'DNA Heading Demi Bold';
|
|
97
|
-
font-style: normal;
|
|
98
|
-
font-weight: 600;
|
|
99
|
-
font-display: swap;
|
|
100
|
-
src: url('https://www.dna.fi/fonts/DNAHeading-DemiBold.woff2') format('woff2'),
|
|
101
|
-
url('https://www.dna.fi/fonts/DNAHeading-DemiBold.woff') format('woff');
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
@font-face {
|
|
105
|
-
font-family: 'DNA Heading Bold';
|
|
106
|
-
font-style: normal;
|
|
107
|
-
font-weight: 700;
|
|
108
|
-
font-display: swap;
|
|
109
|
-
src: url('https://www.dna.fi/fonts/DNAHeading-Bold.woff2') format('woff2'),
|
|
110
|
-
url('https://www.dna.fi/fonts/DNAHeading-Bold.woff') format('woff');
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
@font-face {
|
|
114
|
-
font-family: 'DNA Heading Black';
|
|
115
|
-
font-style: normal;
|
|
116
|
-
font-weight: 900;
|
|
117
|
-
font-display: swap;
|
|
118
|
-
src: url('https://www.dna.fi/fonts/DNAHeading-Black.woff2') format('woff2'),
|
|
119
|
-
url('https://www.dna.fi/fonts/DNAHeading-Black.woff') format('woff');
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
@font-face {
|
|
123
|
-
font-family: 'DNA Numerals Bold';
|
|
124
|
-
font-style: normal;
|
|
125
|
-
font-weight: 700;
|
|
126
|
-
font-display: swap;
|
|
127
|
-
src: url('https://www.dna.fi/fonts/DNANumerals-Bold.woff2') format('woff2'),
|
|
128
|
-
url('https://www.dna.fi/fonts/DNANumerals-Bold.woff') format('woff');
|
|
129
|
-
}
|
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
/* "DNA Text" font definition */
|
|
2
|
-
@font-face {
|
|
3
|
-
font-family: 'DNA Text';
|
|
4
|
-
font-style: normal;
|
|
5
|
-
font-weight: 400;
|
|
6
|
-
font-display: swap;
|
|
7
|
-
src: url('https://www.dna.fi/fonts/DNAText-Regular.woff2') format('woff2'),
|
|
8
|
-
url('https://www.dna.fi/fonts/DNAText-Regular.woff') format('woff');
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
@font-face {
|
|
12
|
-
font-family: 'DNA Text';
|
|
13
|
-
font-style: normal;
|
|
14
|
-
font-weight: 500;
|
|
15
|
-
font-display: swap;
|
|
16
|
-
src: url('https://www.dna.fi/fonts/DNAText-Medium.woff2') format('woff2'),
|
|
17
|
-
url('https://www.dna.fi/fonts/DNAText-Medium.woff') format('woff');
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
@font-face {
|
|
21
|
-
font-family: 'DNA Text';
|
|
22
|
-
font-style: normal;
|
|
23
|
-
font-weight: 700;
|
|
24
|
-
font-display: swap;
|
|
25
|
-
src: url('https://www.dna.fi/fonts/DNAText-Bold.woff2') format('woff2'),
|
|
26
|
-
url('https://www.dna.fi/fonts/DNAText-Bold.woff') format('woff');
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
/* "DNA Heading" font definition */
|
|
30
|
-
@font-face {
|
|
31
|
-
font-family: 'DNA Heading';
|
|
32
|
-
font-style: normal;
|
|
33
|
-
font-weight: 600;
|
|
34
|
-
font-display: swap;
|
|
35
|
-
src: url('https://www.dna.fi/fonts/DNAHeading-DemiBold.woff2') format('woff2'),
|
|
36
|
-
url('https://www.dna.fi/fonts/DNAHeading-DemiBold.woff') format('woff');
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
@font-face {
|
|
40
|
-
font-family: 'DNA Heading';
|
|
41
|
-
font-style: normal;
|
|
42
|
-
font-weight: 700;
|
|
43
|
-
font-display: swap;
|
|
44
|
-
src: url('https://www.dna.fi/fonts/DNAHeading-Bold.woff2') format('woff2'),
|
|
45
|
-
url('https://www.dna.fi/fonts/DNAHeading-Bold.woff') format('woff');
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
@font-face {
|
|
49
|
-
font-family: 'DNA Heading';
|
|
50
|
-
font-style: normal;
|
|
51
|
-
font-weight: 900;
|
|
52
|
-
font-display: swap;
|
|
53
|
-
src: url('https://www.dna.fi/fonts/DNAHeading-Black.woff2') format('woff2'),
|
|
54
|
-
url('https://www.dna.fi/fonts/DNAHeading-Black.woff') format('woff');
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/* "DNA Numerals" font definition */
|
|
58
|
-
@font-face {
|
|
59
|
-
font-family: 'DNA Numerals';
|
|
60
|
-
font-style: normal;
|
|
61
|
-
font-weight: 700;
|
|
62
|
-
font-display: swap;
|
|
63
|
-
src: url('https://www.dna.fi/fonts/DNANumerals-Bold.woff2') format('woff2'),
|
|
64
|
-
url('https://www.dna.fi/fonts/DNANumerals-Bold.woff') format('woff');
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
/* Direct definitons of DNA fonts */
|
|
68
|
-
@font-face {
|
|
69
|
-
font-family: 'DNA Text Regular';
|
|
70
|
-
font-style: normal;
|
|
71
|
-
font-weight: 400;
|
|
72
|
-
font-display: swap;
|
|
73
|
-
src: url('https://www.dna.fi/fonts/DNAText-Regular.woff2') format('woff2'),
|
|
74
|
-
url('https://www.dna.fi/fonts/DNAText-Regular.woff') format('woff');
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
@font-face {
|
|
78
|
-
font-family: 'DNA Text Medium';
|
|
79
|
-
font-style: normal;
|
|
80
|
-
font-weight: 500;
|
|
81
|
-
font-display: swap;
|
|
82
|
-
src: url('https://www.dna.fi/fonts/DNAText-Medium.woff2') format('woff2'),
|
|
83
|
-
url('https://www.dna.fi/fonts/DNAText-Medium.woff') format('woff');
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
@font-face {
|
|
87
|
-
font-family: 'DNA Text Bold';
|
|
88
|
-
font-style: normal;
|
|
89
|
-
font-weight: 700;
|
|
90
|
-
font-display: swap;
|
|
91
|
-
src: url('https://www.dna.fi/fonts/DNAText-Bold.woff2') format('woff2'),
|
|
92
|
-
url('https://www.dna.fi/fonts/DNAText-Bold.woff') format('woff');
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
@font-face {
|
|
96
|
-
font-family: 'DNA Heading Demi Bold';
|
|
97
|
-
font-style: normal;
|
|
98
|
-
font-weight: 600;
|
|
99
|
-
font-display: swap;
|
|
100
|
-
src: url('https://www.dna.fi/fonts/DNAHeading-DemiBold.woff2') format('woff2'),
|
|
101
|
-
url('https://www.dna.fi/fonts/DNAHeading-DemiBold.woff') format('woff');
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
@font-face {
|
|
105
|
-
font-family: 'DNA Heading Bold';
|
|
106
|
-
font-style: normal;
|
|
107
|
-
font-weight: 700;
|
|
108
|
-
font-display: swap;
|
|
109
|
-
src: url('https://www.dna.fi/fonts/DNAHeading-Bold.woff2') format('woff2'),
|
|
110
|
-
url('https://www.dna.fi/fonts/DNAHeading-Bold.woff') format('woff');
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
@font-face {
|
|
114
|
-
font-family: 'DNA Heading Black';
|
|
115
|
-
font-style: normal;
|
|
116
|
-
font-weight: 900;
|
|
117
|
-
font-display: swap;
|
|
118
|
-
src: url('https://www.dna.fi/fonts/DNAHeading-Black.woff2') format('woff2'),
|
|
119
|
-
url('https://www.dna.fi/fonts/DNAHeading-Black.woff') format('woff');
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
@font-face {
|
|
123
|
-
font-family: 'DNA Numerals Bold';
|
|
124
|
-
font-style: normal;
|
|
125
|
-
font-weight: 700;
|
|
126
|
-
font-display: swap;
|
|
127
|
-
src: url('https://www.dna.fi/fonts/DNANumerals-Bold.woff2') format('woff2'),
|
|
128
|
-
url('https://www.dna.fi/fonts/DNANumerals-Bold.woff') format('woff');
|
|
129
|
-
}
|