@oslokommune/punkt-css 0.18.2
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/CHANGELOG.md +260 -0
- package/CONTRIBUTING.md +116 -0
- package/LICENSE +23 -0
- package/README.md +221 -0
- package/dist/css/components/alert.css +111 -0
- package/dist/css/components/alert.min.css +1 -0
- package/dist/css/components/backlink.css +38 -0
- package/dist/css/components/backlink.min.css +1 -0
- package/dist/css/components/badge.css +52 -0
- package/dist/css/components/badge.min.css +1 -0
- package/dist/css/components/breadcrumbs.css +116 -0
- package/dist/css/components/breadcrumbs.min.css +1 -0
- package/dist/css/components/footer.css +48 -0
- package/dist/css/components/footer.min.css +1 -0
- package/dist/css/components/header.css +123 -0
- package/dist/css/components/header.min.css +1 -0
- package/dist/css/components/icon.css +63 -0
- package/dist/css/components/icon.min.css +1 -0
- package/dist/css/components/teaserlist.css +53 -0
- package/dist/css/components/teaserlist.min.css +1 -0
- package/dist/css/pkt-base.css +9721 -0
- package/dist/css/pkt-base.min.css +1 -0
- package/dist/css/pkt-components.css +611 -0
- package/dist/css/pkt-components.min.css +1 -0
- package/dist/css/pkt-elements.css +881 -0
- package/dist/css/pkt-elements.min.css +1 -0
- package/dist/css/pkt-normalise.css +221 -0
- package/dist/css/pkt-normalise.min.css +1 -0
- package/dist/css/pkt.css +11415 -0
- package/dist/css/pkt.min.css +1 -0
- package/dist/scss/abstracts/_index.scss +3 -0
- package/dist/scss/abstracts/functions/_index.scss +65 -0
- package/dist/scss/abstracts/mixins/_breakpoints.scss +60 -0
- package/dist/scss/abstracts/mixins/_index.scss +2 -0
- package/dist/scss/abstracts/mixins/_typography.scss +45 -0
- package/dist/scss/abstracts/placeholders/_index.scss +19 -0
- package/dist/scss/abstracts/variables/_breakpoints.scss +8 -0
- package/dist/scss/abstracts/variables/_colors.scss +55 -0
- package/dist/scss/abstracts/variables/_index.scss +24 -0
- package/dist/scss/abstracts/variables/_spacing.scss +22 -0
- package/dist/scss/abstracts/variables/_typography.scss +430 -0
- package/dist/scss/base/_accessibility.scss +11 -0
- package/dist/scss/base/_colors.scss +24 -0
- package/dist/scss/base/_containers.scss +75 -0
- package/dist/scss/base/_defaults.scss +48 -0
- package/dist/scss/base/_grid.scss +114 -0
- package/dist/scss/base/_index.scss +9 -0
- package/dist/scss/base/_oslo-sans.scss +21 -0
- package/dist/scss/base/_spacing.scss +109 -0
- package/dist/scss/base/_typography.scss +102 -0
- package/dist/scss/base/_visibility.scss +28 -0
- package/dist/scss/components/_alert.scss +153 -0
- package/dist/scss/components/_backlink.scss +50 -0
- package/dist/scss/components/_badge.scss +59 -0
- package/dist/scss/components/_breadcrumbs.scss +130 -0
- package/dist/scss/components/_footer.scss +52 -0
- package/dist/scss/components/_header.scss +125 -0
- package/dist/scss/components/_icon.scss +83 -0
- package/dist/scss/components/_index.scss +8 -0
- package/dist/scss/components/_teaserlist.scss +56 -0
- package/dist/scss/elements/_button.scss +412 -0
- package/dist/scss/elements/_form.scss +190 -0
- package/dist/scss/elements/_hr.scss +8 -0
- package/dist/scss/elements/_image.scss +32 -0
- package/dist/scss/elements/_index.scss +8 -0
- package/dist/scss/elements/_list.scss +104 -0
- package/dist/scss/elements/_section.scss +98 -0
- package/dist/scss/elements/_select.scss +82 -0
- package/dist/scss/elements/_table.scss +80 -0
- package/dist/scss/normalise/_index.scss +241 -0
- package/dist/scss/pkt-base.scss +4 -0
- package/dist/scss/pkt-components.scss +4 -0
- package/dist/scss/pkt-elements.scss +4 -0
- package/dist/scss/pkt-normalise.scss +4 -0
- package/dist/scss/pkt.scss +13 -0
- package/index.js +1 -0
- package/package.json +40 -0
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// Typography mixins
|
|
2
|
+
|
|
3
|
+
@use 'sass:map';
|
|
4
|
+
@use '../variables';
|
|
5
|
+
@use '../functions';
|
|
6
|
+
@use '../mixins/breakpoints' as *;
|
|
7
|
+
|
|
8
|
+
// Generate text-class from settings files
|
|
9
|
+
@mixin generate-text-class($name, $style) {
|
|
10
|
+
.#{$name} {
|
|
11
|
+
font-size: map.get(variables.$font-size, map.get($style, 'size'));
|
|
12
|
+
font-weight: map.get(variables.$font-weight, map.get($style, 'weight'));
|
|
13
|
+
letter-spacing: map.get(
|
|
14
|
+
variables.$letter-spacing,
|
|
15
|
+
map.get($style, 'letter-spacing')
|
|
16
|
+
);
|
|
17
|
+
line-height: map.get(
|
|
18
|
+
variables.$line-height,
|
|
19
|
+
map.get($style, 'line-height')
|
|
20
|
+
);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
// Fetch pkt get-text from settings files
|
|
25
|
+
@mixin get-text($name) {
|
|
26
|
+
font-size: map.get(
|
|
27
|
+
variables.$font-size,
|
|
28
|
+
functions.map-deep-get(variables.$pkt-styles, $name, 'size')
|
|
29
|
+
);
|
|
30
|
+
font-weight: map.get(
|
|
31
|
+
variables.$font-weight,
|
|
32
|
+
functions.map-deep-get(variables.$pkt-styles, $name, 'weight')
|
|
33
|
+
);
|
|
34
|
+
letter-spacing: map.get(
|
|
35
|
+
variables.$letter-spacing,
|
|
36
|
+
functions.map-deep-get(variables.$pkt-styles, $name, 'letter-spacing')
|
|
37
|
+
);
|
|
38
|
+
line-height: 1.5em;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@mixin truncate-text() {
|
|
42
|
+
overflow: hidden;
|
|
43
|
+
text-overflow: ellipsis;
|
|
44
|
+
white-space: nowrap;
|
|
45
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Accessibility
|
|
3
|
+
* https://kittygiraudel.com/2016/10/13/css-hide-and-seek/#undesirable-overflows-18012019
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
// content available to screen readers only
|
|
7
|
+
%sr-only {
|
|
8
|
+
border: 0 !important;
|
|
9
|
+
clip: rect(1px, 1px, 1px, 1px) !important;
|
|
10
|
+
-webkit-clip-path: inset(50%) !important;
|
|
11
|
+
clip-path: inset(50%) !important;
|
|
12
|
+
height: 1px !important;
|
|
13
|
+
overflow: hidden !important;
|
|
14
|
+
margin: -1px !important;
|
|
15
|
+
padding: 0 !important;
|
|
16
|
+
position: absolute !important;
|
|
17
|
+
width: 1px !important;
|
|
18
|
+
white-space: nowrap !important;
|
|
19
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
$colors: (
|
|
2
|
+
// brand
|
|
3
|
+
color-blue: #6fe9ff,
|
|
4
|
+
color-blue-light: #b3f5ff,
|
|
5
|
+
color-blue-dark: #2a2859,
|
|
6
|
+
color-green: #43f8b6,
|
|
7
|
+
color-green-light: #c7f6c9,
|
|
8
|
+
color-green-dark: #034b45,
|
|
9
|
+
color-red: #ff8274,
|
|
10
|
+
color-yellow: #f9c66b,
|
|
11
|
+
color-beige-light: #f8f0dd,
|
|
12
|
+
color-beige-dark: #d0bfae,
|
|
13
|
+
// state
|
|
14
|
+
color-active: #1f42aa,
|
|
15
|
+
color-active-light: #b3f5ff,
|
|
16
|
+
color-hover: #1f42aa,
|
|
17
|
+
color-hover-light: #b3f5ff,
|
|
18
|
+
color-visited: #8d50b1,
|
|
19
|
+
color-visited-light: #e0adff,
|
|
20
|
+
color-disabled: #999,
|
|
21
|
+
color-disabled-light: #f9f9f9,
|
|
22
|
+
// system
|
|
23
|
+
color-info: #2a2859,
|
|
24
|
+
color-success: #034b45,
|
|
25
|
+
color-warning: #774c01,
|
|
26
|
+
color-error: #db2424,
|
|
27
|
+
// shade
|
|
28
|
+
color-blue-dark-5: #f2f9ff,
|
|
29
|
+
color-blue-dark-10: #d9e9f2,
|
|
30
|
+
color-blue-5: #f1fdff,
|
|
31
|
+
color-blue-10: #e5fcff,
|
|
32
|
+
color-green-dark-5: #f2fff3,
|
|
33
|
+
color-green-dark-10: #d9f2ef,
|
|
34
|
+
color-green-10: #e5ffe6,
|
|
35
|
+
color-red-5: #fff3f2,
|
|
36
|
+
color-red-10: #ffe8e5,
|
|
37
|
+
color-yellow-5: #fef9f0,
|
|
38
|
+
// grayscale digital
|
|
39
|
+
color-gray-light: #f9f9f9,
|
|
40
|
+
color-gray: #f2f2f2,
|
|
41
|
+
color-gray-dark: #2c2c2c,
|
|
42
|
+
//grayscale
|
|
43
|
+
color-transparent: transparent,
|
|
44
|
+
color-white: #fff,
|
|
45
|
+
color-grayscale-10: #e6e6e6,
|
|
46
|
+
color-grayscale-20: #ccc,
|
|
47
|
+
color-grayscale-30: #b3b3b3,
|
|
48
|
+
color-grayscale-40: #9a9a9a,
|
|
49
|
+
color-grayscale-50: #808080,
|
|
50
|
+
color-grayscale-60: #666,
|
|
51
|
+
color-grayscale-70: #4d4d4d,
|
|
52
|
+
color-grayscale-80: #333,
|
|
53
|
+
color-grayscale-90: #1a1a1a,
|
|
54
|
+
color-black: #000
|
|
55
|
+
) !default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// All design tokens in Punkt
|
|
2
|
+
|
|
3
|
+
@forward 'colors';
|
|
4
|
+
@forward 'typography';
|
|
5
|
+
@forward 'breakpoints';
|
|
6
|
+
@forward 'spacing';
|
|
7
|
+
|
|
8
|
+
// Borders
|
|
9
|
+
$border-width: (
|
|
10
|
+
'thin': 1px,
|
|
11
|
+
) !default;
|
|
12
|
+
|
|
13
|
+
$border-radius: (
|
|
14
|
+
'small': 0.25rem,
|
|
15
|
+
'medium': 0.5rem,
|
|
16
|
+
'large': 1rem,
|
|
17
|
+
) !default;
|
|
18
|
+
|
|
19
|
+
// Shadows
|
|
20
|
+
$box-shadow: (
|
|
21
|
+
'small': 0 1px 1px rgba(0, 0, 0, 0.1),
|
|
22
|
+
'medium': 0 1px 3px rgba(0, 0, 0, 0.2),
|
|
23
|
+
'large': 0 1px 5px rgba(0, 0, 0, 0.4),
|
|
24
|
+
) !default;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
$spacing: (
|
|
2
|
+
'size-0': 0rem,
|
|
3
|
+
'size-2': 0.125rem,
|
|
4
|
+
'size-4': 0.25rem,
|
|
5
|
+
'size-8': 0.5rem,
|
|
6
|
+
'size-12': 0.75rem,
|
|
7
|
+
'size-16': 1rem,
|
|
8
|
+
'size-24': 1.5rem,
|
|
9
|
+
'size-32': 2rem,
|
|
10
|
+
'size-40': 2.5rem,
|
|
11
|
+
'size-64': 4rem,
|
|
12
|
+
'size-104': 6.5rem,
|
|
13
|
+
'size-5': 0.3125rem /* deprecated */,
|
|
14
|
+
'size-10': 0.625rem /* deprecated */,
|
|
15
|
+
'size-15': 0.9375rem /* deprecated */,
|
|
16
|
+
'size-20': 1.25rem /* deprecated */,
|
|
17
|
+
'size-30': 1.875rem /* deprecated */,
|
|
18
|
+
'size-50': 3.125rem /* deprecated */,
|
|
19
|
+
'size-60': 3.75rem /* deprecated */,
|
|
20
|
+
'size-75': 4.6875rem /* deprecated */,
|
|
21
|
+
'size-100': 6.25rem /* deprecated */,
|
|
22
|
+
) !default;
|
|
@@ -0,0 +1,430 @@
|
|
|
1
|
+
// Typography
|
|
2
|
+
$font-path: '..' !default;
|
|
3
|
+
|
|
4
|
+
$font-family: (
|
|
5
|
+
'normal': "'Oslo Sans', arial, sans-serif",
|
|
6
|
+
'icon': "'Oslo Icons', sans-serif",
|
|
7
|
+
) !default;
|
|
8
|
+
|
|
9
|
+
$font-face: (
|
|
10
|
+
'regular': (
|
|
11
|
+
'family': Oslo Sans,
|
|
12
|
+
'style': normal,
|
|
13
|
+
'weight': 400,
|
|
14
|
+
'src-woff': '#{$font-path}/fonts/OsloSans-Regular.woff',
|
|
15
|
+
'src-woff2': '#{$font-path}/fonts/OsloSans-Regular.woff2',
|
|
16
|
+
),
|
|
17
|
+
'regular-italic': (
|
|
18
|
+
'family': Oslo Sans,
|
|
19
|
+
'style': italic,
|
|
20
|
+
'weight': 400,
|
|
21
|
+
'src-woff': '#{$font-path}/fonts/OsloSans-RegularItalic.woff',
|
|
22
|
+
'src-woff2': '#{$font-path}/fonts/OsloSans-RegularItalic.woff2',
|
|
23
|
+
),
|
|
24
|
+
'light': (
|
|
25
|
+
'family': Oslo Sans,
|
|
26
|
+
'style': normal,
|
|
27
|
+
'weight': 300,
|
|
28
|
+
'src-woff': '#{$font-path}/fonts/OsloSans-Light.woff',
|
|
29
|
+
'src-woff2': '#{$font-path}/fonts/OsloSans-Light.woff2',
|
|
30
|
+
),
|
|
31
|
+
'medium': (
|
|
32
|
+
'family': Oslo Sans,
|
|
33
|
+
'style': normal,
|
|
34
|
+
'weight': 500,
|
|
35
|
+
'src-woff': '#{$font-path}/fonts/OsloSans-Medium.woff',
|
|
36
|
+
'src-woff2': '#{$font-path}/fonts/OsloSans-Medium.woff2',
|
|
37
|
+
),
|
|
38
|
+
'bold': (
|
|
39
|
+
'family': Oslo Sans,
|
|
40
|
+
'style': normal,
|
|
41
|
+
'weight': 700,
|
|
42
|
+
'src-woff': '#{$font-path}/fonts/OsloSans-Bold.woff',
|
|
43
|
+
'src-woff2': '#{$font-path}/fonts/OsloSans-Bold.woff2',
|
|
44
|
+
),
|
|
45
|
+
'icons': (
|
|
46
|
+
'family': Oslo Icons,
|
|
47
|
+
'style': normal,
|
|
48
|
+
'weight': 400,
|
|
49
|
+
'src-woff': '#{$font-path}/fonts/OsloIcons.woff',
|
|
50
|
+
'src-woff2': '#{$font-path}/fonts/OsloIcons.woff2',
|
|
51
|
+
),
|
|
52
|
+
) !default;
|
|
53
|
+
|
|
54
|
+
$font-size-base: 16px;
|
|
55
|
+
$font-size: (
|
|
56
|
+
'size-12': 0.75rem,
|
|
57
|
+
'size-14': 0.875rem,
|
|
58
|
+
'size-16': 1rem,
|
|
59
|
+
'size-18': 1.125rem,
|
|
60
|
+
'size-20': 1.25rem,
|
|
61
|
+
'size-22': 1.375rem,
|
|
62
|
+
'size-24': 1.5rem,
|
|
63
|
+
'size-26': 1.625rem,
|
|
64
|
+
'size-28': 1.75rem,
|
|
65
|
+
'size-30': 1.875rem,
|
|
66
|
+
'size-36': 2.25rem,
|
|
67
|
+
'size-40': 2.5rem,
|
|
68
|
+
'size-54': 3.375rem,
|
|
69
|
+
) !default;
|
|
70
|
+
|
|
71
|
+
$font-weight: (
|
|
72
|
+
'light': 300,
|
|
73
|
+
'regular': 400,
|
|
74
|
+
'medium': 500,
|
|
75
|
+
'bold': 700,
|
|
76
|
+
) !default;
|
|
77
|
+
|
|
78
|
+
$line-height: (
|
|
79
|
+
'body': 1.5em,
|
|
80
|
+
'lh-82': 5.125rem,
|
|
81
|
+
'lh-60': 3.75rem,
|
|
82
|
+
'lh-54': 3.375rem,
|
|
83
|
+
'lh-44': 2.75rem,
|
|
84
|
+
'lh-42': 2.25rem,
|
|
85
|
+
'lh-40': 2.5rem,
|
|
86
|
+
'lh-36': 2.25rem,
|
|
87
|
+
'lh-34': 2.125rem,
|
|
88
|
+
'lh-32': 2rem,
|
|
89
|
+
'lh-28': 1.75rem,
|
|
90
|
+
'lh-24': 1.5rem,
|
|
91
|
+
'lh-22': 1.375rem,
|
|
92
|
+
'lh-20': 1.25rem,
|
|
93
|
+
) !default;
|
|
94
|
+
|
|
95
|
+
$letter-spacing: (
|
|
96
|
+
'tighter': -0.4px,
|
|
97
|
+
'tight': -0.2px,
|
|
98
|
+
'normal': normal,
|
|
99
|
+
) !default;
|
|
100
|
+
|
|
101
|
+
$pkt-font-weight: (
|
|
102
|
+
'pkt-font-light': (
|
|
103
|
+
'weight': 'light',
|
|
104
|
+
),
|
|
105
|
+
'pkt-font-regular': (
|
|
106
|
+
'weight': 'regular',
|
|
107
|
+
),
|
|
108
|
+
'pkt-font-medium': (
|
|
109
|
+
'weight': 'medium',
|
|
110
|
+
),
|
|
111
|
+
'pkt-font-bold': (
|
|
112
|
+
'weight': 'bold',
|
|
113
|
+
),
|
|
114
|
+
);
|
|
115
|
+
|
|
116
|
+
// pkt specific styles
|
|
117
|
+
$pkt-styles: (
|
|
118
|
+
'pkt-txt-54': (
|
|
119
|
+
'size': 'size-54',
|
|
120
|
+
'weight': 'regular',
|
|
121
|
+
'letter-spacing': 'tighter',
|
|
122
|
+
'line-height': 'lh-82',
|
|
123
|
+
),
|
|
124
|
+
'pkt-txt-40': (
|
|
125
|
+
'size': 'size-40',
|
|
126
|
+
'weight': 'regular',
|
|
127
|
+
'letter-spacing': 'tight',
|
|
128
|
+
'line-height': 'lh-60',
|
|
129
|
+
),
|
|
130
|
+
'pkt-txt-36': (
|
|
131
|
+
'size': 'size-36',
|
|
132
|
+
'weight': 'regular',
|
|
133
|
+
'letter-spacing': 'tight',
|
|
134
|
+
'line-height': 'lh-54',
|
|
135
|
+
),
|
|
136
|
+
'pkt-txt-30': (
|
|
137
|
+
'size': 'size-30',
|
|
138
|
+
'weight': 'regular',
|
|
139
|
+
'letter-spacing': 'tight',
|
|
140
|
+
'line-height': 'lh-44',
|
|
141
|
+
),
|
|
142
|
+
'pkt-txt-28': (
|
|
143
|
+
'size': 'size-28',
|
|
144
|
+
'weight': 'regular',
|
|
145
|
+
'letter-spacing': 'tight',
|
|
146
|
+
'line-height': 'lh-42',
|
|
147
|
+
),
|
|
148
|
+
'pkt-txt-26': (
|
|
149
|
+
'size': 'size-26',
|
|
150
|
+
'weight': 'regular',
|
|
151
|
+
'letter-spacing': 'tight',
|
|
152
|
+
'line-height': 'lh-40',
|
|
153
|
+
),
|
|
154
|
+
'pkt-txt-24': (
|
|
155
|
+
'size': 'size-24',
|
|
156
|
+
'weight': 'regular',
|
|
157
|
+
'letter-spacing': 'tight',
|
|
158
|
+
'line-height': 'lh-36',
|
|
159
|
+
),
|
|
160
|
+
'pkt-txt-22': (
|
|
161
|
+
'size': 'size-22',
|
|
162
|
+
'weight': 'regular',
|
|
163
|
+
'letter-spacing': 'tight',
|
|
164
|
+
'line-height': 'lh-34',
|
|
165
|
+
),
|
|
166
|
+
'pkt-txt-20': (
|
|
167
|
+
'size': 'size-20',
|
|
168
|
+
'weight': 'regular',
|
|
169
|
+
'letter-spacing': 'tight',
|
|
170
|
+
'line-height': 'lh-32',
|
|
171
|
+
),
|
|
172
|
+
'pkt-txt-18': (
|
|
173
|
+
'size': 'size-18',
|
|
174
|
+
'weight': 'regular',
|
|
175
|
+
'letter-spacing': 'tight',
|
|
176
|
+
'line-height': 'lh-28',
|
|
177
|
+
),
|
|
178
|
+
'pkt-txt-16': (
|
|
179
|
+
'size': 'size-16',
|
|
180
|
+
'weight': 'regular',
|
|
181
|
+
'letter-spacing': 'tight',
|
|
182
|
+
'line-height': 'lh-24',
|
|
183
|
+
),
|
|
184
|
+
'pkt-txt-14': (
|
|
185
|
+
'size': 'size-14',
|
|
186
|
+
'weight': 'regular',
|
|
187
|
+
'letter-spacing': 'tight',
|
|
188
|
+
'line-height': 'lh-22',
|
|
189
|
+
),
|
|
190
|
+
'pkt-txt-12': (
|
|
191
|
+
'size': 'size-12',
|
|
192
|
+
'weight': 'regular',
|
|
193
|
+
'letter-spacing': 'tight',
|
|
194
|
+
'line-height': 'lh-20',
|
|
195
|
+
),
|
|
196
|
+
'pkt-txt-54-medium': (
|
|
197
|
+
'size': 'size-54',
|
|
198
|
+
'weight': 'medium',
|
|
199
|
+
'letter-spacing': 'tighter',
|
|
200
|
+
'line-height': 'lh-82',
|
|
201
|
+
),
|
|
202
|
+
'pkt-txt-40-medium': (
|
|
203
|
+
'size': 'size-40',
|
|
204
|
+
'weight': 'medium',
|
|
205
|
+
'letter-spacing': 'tight',
|
|
206
|
+
'line-height': 'lh-60',
|
|
207
|
+
),
|
|
208
|
+
'pkt-txt-36-medium': (
|
|
209
|
+
'size': 'size-36',
|
|
210
|
+
'weight': 'medium',
|
|
211
|
+
'letter-spacing': 'tight',
|
|
212
|
+
'line-height': 'lh-54',
|
|
213
|
+
),
|
|
214
|
+
'pkt-txt-30-medium': (
|
|
215
|
+
'size': 'size-30',
|
|
216
|
+
'weight': 'medium',
|
|
217
|
+
'letter-spacing': 'tight',
|
|
218
|
+
'line-height': 'lh-44',
|
|
219
|
+
),
|
|
220
|
+
'pkt-txt-28-medium': (
|
|
221
|
+
'size': 'size-28',
|
|
222
|
+
'weight': 'medium',
|
|
223
|
+
'letter-spacing': 'tight',
|
|
224
|
+
'line-height': 'lh-42',
|
|
225
|
+
),
|
|
226
|
+
'pkt-txt-26-medium': (
|
|
227
|
+
'size': 'size-26',
|
|
228
|
+
'weight': 'medium',
|
|
229
|
+
'letter-spacing': 'tight',
|
|
230
|
+
'line-height': 'lh-40',
|
|
231
|
+
),
|
|
232
|
+
'pkt-txt-24-medium': (
|
|
233
|
+
'size': 'size-24',
|
|
234
|
+
'weight': 'medium',
|
|
235
|
+
'letter-spacing': 'tight',
|
|
236
|
+
'line-height': 'lh-36',
|
|
237
|
+
),
|
|
238
|
+
'pkt-txt-22-medium': (
|
|
239
|
+
'size': 'size-22',
|
|
240
|
+
'weight': 'medium',
|
|
241
|
+
'letter-spacing': 'tight',
|
|
242
|
+
'line-height': 'lh-34',
|
|
243
|
+
),
|
|
244
|
+
'pkt-txt-20-medium': (
|
|
245
|
+
'size': 'size-20',
|
|
246
|
+
'weight': 'medium',
|
|
247
|
+
'letter-spacing': 'tight',
|
|
248
|
+
'line-height': 'lh-32',
|
|
249
|
+
),
|
|
250
|
+
'pkt-txt-18-medium': (
|
|
251
|
+
'size': 'size-18',
|
|
252
|
+
'weight': 'medium',
|
|
253
|
+
'letter-spacing': 'tight',
|
|
254
|
+
'line-height': 'lh-28',
|
|
255
|
+
),
|
|
256
|
+
'pkt-txt-16-medium': (
|
|
257
|
+
'size': 'size-16',
|
|
258
|
+
'weight': 'medium',
|
|
259
|
+
'letter-spacing': 'tight',
|
|
260
|
+
'line-height': 'lh-24',
|
|
261
|
+
),
|
|
262
|
+
'pkt-txt-14-medium': (
|
|
263
|
+
'size': 'size-14',
|
|
264
|
+
'weight': 'medium',
|
|
265
|
+
'letter-spacing': 'tight',
|
|
266
|
+
'line-height': 'lh-22',
|
|
267
|
+
),
|
|
268
|
+
'pkt-txt-12-medium': (
|
|
269
|
+
'size': 'size-12',
|
|
270
|
+
'weight': 'medium',
|
|
271
|
+
'letter-spacing': 'tight',
|
|
272
|
+
'line-height': 'lh-20',
|
|
273
|
+
),
|
|
274
|
+
'pkt-txt-54-bold': (
|
|
275
|
+
'size': 'size-54',
|
|
276
|
+
'weight': 'bold',
|
|
277
|
+
'letter-spacing': 'tighter',
|
|
278
|
+
'line-height': 'lh-82',
|
|
279
|
+
),
|
|
280
|
+
'pkt-txt-40-bold': (
|
|
281
|
+
'size': 'size-40',
|
|
282
|
+
'weight': 'bold',
|
|
283
|
+
'letter-spacing': 'tight',
|
|
284
|
+
'line-height': 'lh-60',
|
|
285
|
+
),
|
|
286
|
+
'pkt-txt-36-bold': (
|
|
287
|
+
'size': 'size-36',
|
|
288
|
+
'weight': 'bold',
|
|
289
|
+
'letter-spacing': 'tight',
|
|
290
|
+
'line-height': 'lh-54',
|
|
291
|
+
),
|
|
292
|
+
'pkt-txt-30-bold': (
|
|
293
|
+
'size': 'size-30',
|
|
294
|
+
'weight': 'bold',
|
|
295
|
+
'letter-spacing': 'tight',
|
|
296
|
+
'line-height': 'lh-44',
|
|
297
|
+
),
|
|
298
|
+
'pkt-txt-28-bold': (
|
|
299
|
+
'size': 'size-28',
|
|
300
|
+
'weight': 'bold',
|
|
301
|
+
'letter-spacing': 'tight',
|
|
302
|
+
'line-height': 'lh-42',
|
|
303
|
+
),
|
|
304
|
+
'pkt-txt-26-bold': (
|
|
305
|
+
'size': 'size-26',
|
|
306
|
+
'weight': 'bold',
|
|
307
|
+
'letter-spacing': 'tight',
|
|
308
|
+
'line-height': 'lh-40',
|
|
309
|
+
),
|
|
310
|
+
'pkt-txt-24-bold': (
|
|
311
|
+
'size': 'size-24',
|
|
312
|
+
'weight': 'bold',
|
|
313
|
+
'letter-spacing': 'tight',
|
|
314
|
+
'line-height': 'lh-36',
|
|
315
|
+
),
|
|
316
|
+
'pkt-txt-22-bold': (
|
|
317
|
+
'size': 'size-22',
|
|
318
|
+
'weight': 'bold',
|
|
319
|
+
'letter-spacing': 'tight',
|
|
320
|
+
'line-height': 'lh-34',
|
|
321
|
+
),
|
|
322
|
+
'pkt-txt-20-bold': (
|
|
323
|
+
'size': 'size-20',
|
|
324
|
+
'weight': 'bold',
|
|
325
|
+
'letter-spacing': 'tight',
|
|
326
|
+
'line-height': 'lh-32',
|
|
327
|
+
),
|
|
328
|
+
'pkt-txt-18-bold': (
|
|
329
|
+
'size': 'size-18',
|
|
330
|
+
'weight': 'bold',
|
|
331
|
+
'letter-spacing': 'tight',
|
|
332
|
+
'line-height': 'lh-28',
|
|
333
|
+
),
|
|
334
|
+
'pkt-txt-16-bold': (
|
|
335
|
+
'size': 'size-16',
|
|
336
|
+
'weight': 'bold',
|
|
337
|
+
'letter-spacing': 'tight',
|
|
338
|
+
'line-height': 'lh-24',
|
|
339
|
+
),
|
|
340
|
+
'pkt-txt-14-bold': (
|
|
341
|
+
'size': 'size-14',
|
|
342
|
+
'weight': 'bold',
|
|
343
|
+
'letter-spacing': 'tight',
|
|
344
|
+
'line-height': 'lh-22',
|
|
345
|
+
),
|
|
346
|
+
'pkt-txt-12-bold': (
|
|
347
|
+
'size': 'size-12',
|
|
348
|
+
'weight': 'bold',
|
|
349
|
+
'letter-spacing': 'tight',
|
|
350
|
+
'line-height': 'lh-20',
|
|
351
|
+
),
|
|
352
|
+
'pkt-txt-54-light': (
|
|
353
|
+
'size': 'size-54',
|
|
354
|
+
'weight': 'light',
|
|
355
|
+
'letter-spacing': 'tighter',
|
|
356
|
+
'line-height': 'lh-82',
|
|
357
|
+
),
|
|
358
|
+
'pkt-txt-40-light': (
|
|
359
|
+
'size': 'size-40',
|
|
360
|
+
'weight': 'light',
|
|
361
|
+
'letter-spacing': 'tight',
|
|
362
|
+
'line-height': 'lh-60',
|
|
363
|
+
),
|
|
364
|
+
'pkt-txt-36-light': (
|
|
365
|
+
'size': 'size-36',
|
|
366
|
+
'weight': 'light',
|
|
367
|
+
'letter-spacing': 'tight',
|
|
368
|
+
'line-height': 'lh-54',
|
|
369
|
+
),
|
|
370
|
+
'pkt-txt-30-light': (
|
|
371
|
+
'size': 'size-30',
|
|
372
|
+
'weight': 'light',
|
|
373
|
+
'letter-spacing': 'tight',
|
|
374
|
+
'line-height': 'lh-44',
|
|
375
|
+
),
|
|
376
|
+
'pkt-txt-28-light': (
|
|
377
|
+
'size': 'size-28',
|
|
378
|
+
'weight': 'light',
|
|
379
|
+
'letter-spacing': 'tight',
|
|
380
|
+
'line-height': 'lh-42',
|
|
381
|
+
),
|
|
382
|
+
'pkt-txt-26-light': (
|
|
383
|
+
'size': 'size-26',
|
|
384
|
+
'weight': 'light',
|
|
385
|
+
'letter-spacing': 'tight',
|
|
386
|
+
'line-height': 'lh-40',
|
|
387
|
+
),
|
|
388
|
+
'pkt-txt-24-light': (
|
|
389
|
+
'size': 'size-24',
|
|
390
|
+
'weight': 'light',
|
|
391
|
+
'letter-spacing': 'tight',
|
|
392
|
+
'line-height': 'lh-36',
|
|
393
|
+
),
|
|
394
|
+
'pkt-txt-22-light': (
|
|
395
|
+
'size': 'size-22',
|
|
396
|
+
'weight': 'light',
|
|
397
|
+
'letter-spacing': 'tight',
|
|
398
|
+
'line-height': 'lh-34',
|
|
399
|
+
),
|
|
400
|
+
'pkt-txt-20-light': (
|
|
401
|
+
'size': 'size-20',
|
|
402
|
+
'weight': 'light',
|
|
403
|
+
'letter-spacing': 'tight',
|
|
404
|
+
'line-height': 'lh-32',
|
|
405
|
+
),
|
|
406
|
+
'pkt-txt-18-light': (
|
|
407
|
+
'size': 'size-18',
|
|
408
|
+
'weight': 'light',
|
|
409
|
+
'letter-spacing': 'tight',
|
|
410
|
+
'line-height': 'lh-28',
|
|
411
|
+
),
|
|
412
|
+
'pkt-txt-16-light': (
|
|
413
|
+
'size': 'size-16',
|
|
414
|
+
'weight': 'light',
|
|
415
|
+
'letter-spacing': 'tight',
|
|
416
|
+
'line-height': 'lh-24',
|
|
417
|
+
),
|
|
418
|
+
'pkt-txt-14-light': (
|
|
419
|
+
'size': 'size-14',
|
|
420
|
+
'weight': 'light',
|
|
421
|
+
'letter-spacing': 'tight',
|
|
422
|
+
'line-height': 'lh-22',
|
|
423
|
+
),
|
|
424
|
+
'pkt-txt-12-light': (
|
|
425
|
+
'size': 'size-12',
|
|
426
|
+
'weight': 'light',
|
|
427
|
+
'letter-spacing': 'tight',
|
|
428
|
+
'line-height': 'lh-20',
|
|
429
|
+
),
|
|
430
|
+
);
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Colors
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
@use "../abstracts/variables";
|
|
6
|
+
|
|
7
|
+
:root {
|
|
8
|
+
/**
|
|
9
|
+
* @tokens Colors
|
|
10
|
+
* @presenter Color
|
|
11
|
+
*/
|
|
12
|
+
@each $name, $color in variables.$colors {
|
|
13
|
+
--#{$name}: #{$color};
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@each $name, $color in variables.$colors {
|
|
18
|
+
.bg-#{$name} {
|
|
19
|
+
background-color: $color !important;
|
|
20
|
+
}
|
|
21
|
+
.txt-#{$name} {
|
|
22
|
+
color: $color !important;
|
|
23
|
+
}
|
|
24
|
+
}
|