@epam/assets 5.0.0-alpha.3 → 5.0.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.
- package/css/theme/theme_loveship.css +1209 -0
- package/css/theme/theme_loveship.css.map +1 -0
- package/css/theme/theme_promo.css +961 -0
- package/css/theme/theme_promo.css.map +1 -0
- package/css/theme/theme_vanilla_thunder.css +806 -0
- package/css/theme/theme_vanilla_thunder.css.map +1 -0
- package/package.json +4 -6
- package/scss/font-faces.scss +2 -105
- package/scss/fonts.scss +2 -13
- package/scss/index.scss +4 -10
- package/scss/loveship/colors.scss +121 -0
- package/{less/font-faces.less → scss/loveship/font-faces.scss} +3 -43
- package/scss/loveship/fonts.scss +7 -0
- package/scss/loveship/typography.scss +153 -0
- package/scss/loveship-colors.scss +2 -56
- package/scss/promo/colors.scss +94 -49
- package/scss/promo/font-faces.scss +8 -0
- package/scss/promo/fonts.scss +2 -4
- package/scss/promo/typography.scss +2 -26
- package/scss/typography.scss +2 -172
- package/theme/theme_loveship.scss +403 -275
- package/theme/theme_promo.scss +242 -152
- package/theme/theme_vanilla_thunder.scss +43 -43
- package/less/control-mods.less +0 -52
- package/less/control-size.less +0 -43
- package/less/effects.less +0 -25
- package/less/fonts.less +0 -13
- package/less/globals.less +0 -11
- package/less/index.less +0 -7
- package/less/loveship-color-vars.less +0 -172
- package/less/loveship-colors.less +0 -37
- package/less/text-size.less +0 -49
- package/less/typography.less +0 -196
- package/scss/contrast.scss +0 -39
- package/scss/control-layout.scss +0 -2
- package/scss/control-mods.scss +0 -42
- package/scss/control-size.scss +0 -7
- package/scss/dnd.scss +0 -9
- package/scss/effects.scss +0 -25
- package/scss/globals.scss +0 -9
- package/scss/loveship-color-vars.scss +0 -183
- package/scss/text-size.scss +0 -37
- package/styles/error-pages.less +0 -68
- package/styles/index.less +0 -2
- package/styles/menu.less +0 -359
- package/styles/scss/error-pages.scss +0 -67
- package/styles/scss/index.scss +0 -2
- package/styles/scss/menu.scss +0 -359
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
@use 'colors' as *;
|
|
2
|
+
@use 'fonts' as *;
|
|
3
|
+
|
|
4
|
+
@mixin overflow-ellipsis() {
|
|
5
|
+
overflow: hidden;
|
|
6
|
+
text-overflow: ellipsis;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@mixin typography-header() {
|
|
10
|
+
:global(.hero-header), h1, h2, h3, h4, h5, h6 {
|
|
11
|
+
margin: 0;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
:global(.hero-header), h2 {
|
|
15
|
+
font-family: $font-sans-bold;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
:global(.hero-header) {
|
|
19
|
+
margin: 30px 0;
|
|
20
|
+
font-size: 72px;
|
|
21
|
+
line-height: 72px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
h3, h4, h5, h6 {
|
|
25
|
+
font-family: $font-sans-semibold;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
h1, h2, h3, h4, h5, h6 {
|
|
29
|
+
margin-bottom: 0.5em;
|
|
30
|
+
margin-top: 1.2em;
|
|
31
|
+
line-height: 1.35em;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
h1 {
|
|
35
|
+
font-size: 42px;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
h2 {
|
|
39
|
+
font-size: 30px;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
h3 {
|
|
43
|
+
font-size: 24px;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
h4 {
|
|
47
|
+
font-size: 18px;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
h5 {
|
|
51
|
+
font-size: 16px;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
h6 {
|
|
55
|
+
font-size: 14px;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
@mixin typography-inline() {
|
|
60
|
+
b, strong {
|
|
61
|
+
font-family: $font-sans-semibold;
|
|
62
|
+
color: $night900;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
i, em {
|
|
66
|
+
font-family: $font-sans-italic;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
a {
|
|
70
|
+
display: inline-flex;
|
|
71
|
+
align-items: center;
|
|
72
|
+
color: $sky;
|
|
73
|
+
text-decoration: underline;
|
|
74
|
+
|
|
75
|
+
&:hover {
|
|
76
|
+
color: darken($sky, 10%);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
code {
|
|
81
|
+
padding: 0.125em 0.25em;
|
|
82
|
+
color: $night50;
|
|
83
|
+
background-color: $night700;
|
|
84
|
+
border-radius: 3px;
|
|
85
|
+
font-family: monospace;
|
|
86
|
+
white-space: pre-wrap;
|
|
87
|
+
word-wrap: normal;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
@mixin typography-block() {
|
|
92
|
+
b, strong {
|
|
93
|
+
color: $night900;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
ol, ul {
|
|
97
|
+
padding: 0;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
li {
|
|
101
|
+
margin-left: 1.25em;
|
|
102
|
+
line-height: 1.5;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
pre {
|
|
106
|
+
padding: 1.25em;
|
|
107
|
+
color: $night50;
|
|
108
|
+
background-color: $night700;
|
|
109
|
+
border-radius: 3px;
|
|
110
|
+
font-family: monospace;
|
|
111
|
+
white-space: pre-wrap;
|
|
112
|
+
word-wrap: normal;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
img {
|
|
116
|
+
max-width: 100%;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
figure {
|
|
120
|
+
margin: 0;
|
|
121
|
+
|
|
122
|
+
figcaption {
|
|
123
|
+
font-size: 0.9em;
|
|
124
|
+
opacity: 0.9;
|
|
125
|
+
text-align: center;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
p {
|
|
130
|
+
margin: 0.5em 0;
|
|
131
|
+
line-height: 1.5;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
@mixin typography-12() {
|
|
136
|
+
font-size: 12px;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
@mixin typography-14() {
|
|
140
|
+
font-size: 14px;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
@mixin typography-16() {
|
|
144
|
+
font-size: 16px;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
@mixin typography-loveship() {
|
|
148
|
+
@include typography-header();
|
|
149
|
+
@include typography-block();
|
|
150
|
+
@include typography-inline();
|
|
151
|
+
font-family: $font-sans;
|
|
152
|
+
color: $night700;
|
|
153
|
+
}
|
|
@@ -1,56 +1,2 @@
|
|
|
1
|
-
//
|
|
2
|
-
|
|
3
|
-
$grass: #67A300;
|
|
4
|
-
$sun: #FCAA00;
|
|
5
|
-
$fire: #FA4B4B;
|
|
6
|
-
|
|
7
|
-
// Secondary Colors
|
|
8
|
-
$cobalt: #0E74E2;
|
|
9
|
-
$lavanda: #2E3A9D;
|
|
10
|
-
$fuchsia: #CD0053;
|
|
11
|
-
$white: #FFFFFF;
|
|
12
|
-
|
|
13
|
-
/* Carbon scale */
|
|
14
|
-
$carbon50: #F5F6FA;
|
|
15
|
-
$carbon100: #D7D9E0;
|
|
16
|
-
$carbon200: #B6B8C2;
|
|
17
|
-
$carbon300: #9698A3;
|
|
18
|
-
$carbon400: #81838F;
|
|
19
|
-
$carbon500: #6C6E7A;
|
|
20
|
-
$carbon600: #4F515C;
|
|
21
|
-
$carbon700: #3D404D;
|
|
22
|
-
$carbon800: #272933;
|
|
23
|
-
$carbon900: #17181F;
|
|
24
|
-
|
|
25
|
-
/* Night scale */
|
|
26
|
-
$night50: #FAFAFC;
|
|
27
|
-
$night100: #F5F6FA;
|
|
28
|
-
$night200: #EBEDF5;
|
|
29
|
-
$night300: #E1E3EB;
|
|
30
|
-
$night400: #CED0DB;
|
|
31
|
-
$night500: #ACAFBF;
|
|
32
|
-
$night600: #6C6F80;
|
|
33
|
-
$night700: #474A59;
|
|
34
|
-
$night800: #303240;
|
|
35
|
-
$night900: #1D1E26;
|
|
36
|
-
|
|
37
|
-
$loveship-epam-colors: (
|
|
38
|
-
sky: $sky,
|
|
39
|
-
grass: $grass,
|
|
40
|
-
sun: $sun,
|
|
41
|
-
fire: $fire,
|
|
42
|
-
carbon: $carbon700,
|
|
43
|
-
cobalt: $cobalt,
|
|
44
|
-
lavanda: $lavanda,
|
|
45
|
-
fuchsia: $fuchsia,
|
|
46
|
-
white: $white,
|
|
47
|
-
night50: $night50,
|
|
48
|
-
night100: $night100,
|
|
49
|
-
night200: $night200,
|
|
50
|
-
night300: $night300,
|
|
51
|
-
night400: $night400,
|
|
52
|
-
night500: $night500,
|
|
53
|
-
night600: $night600,
|
|
54
|
-
night700: $night700,
|
|
55
|
-
night900: $night900
|
|
56
|
-
);
|
|
1
|
+
// this file is deprecated, please use 'epam-assets/scss/loveship/colors.scss' directly instead.
|
|
2
|
+
@forward './loveship/colors';
|
package/scss/promo/colors.scss
CHANGED
|
@@ -1,53 +1,90 @@
|
|
|
1
1
|
/* Main Colors */
|
|
2
2
|
$white: #FFFFFF;
|
|
3
3
|
|
|
4
|
-
$blue: #
|
|
5
|
-
$blue-
|
|
6
|
-
$blue-
|
|
7
|
-
$blue
|
|
8
|
-
$blue-
|
|
9
|
-
|
|
10
|
-
$green: #88CC00;
|
|
11
|
-
$green-dark: darken($green, 5%);
|
|
12
|
-
$green-darkest: darken($green, 10%);
|
|
13
|
-
$green-light: lighten($green, 45%);
|
|
14
|
-
$green-lightest: lighten($green, 50%);
|
|
4
|
+
$blue-soft: #F5FDFF;
|
|
5
|
+
$blue-lightest: #D6F2FF;
|
|
6
|
+
$blue-light: #99DDFF;
|
|
7
|
+
$blue: #007BBD;
|
|
8
|
+
$blue-dark: #006AA3;
|
|
9
|
+
$blue-darkest: #005685;
|
|
15
10
|
|
|
11
|
+
$green-soft: #FCFFF5;
|
|
12
|
+
$green-lightest: #EEFFCC;
|
|
13
|
+
$green-light: #CFF486;
|
|
14
|
+
$green: #65A300;
|
|
15
|
+
$green-dark: #528500;
|
|
16
|
+
$green-darkest: #446600;
|
|
17
|
+
|
|
18
|
+
$amber-soft: #FFFCF5;
|
|
19
|
+
$amber-lightest: #FFF2CC;
|
|
20
|
+
$amber-light: #FFE38F;
|
|
16
21
|
$amber: #FFC000;
|
|
17
|
-
$amber-dark:
|
|
18
|
-
$amber-darkest:
|
|
19
|
-
|
|
20
|
-
$
|
|
21
|
-
|
|
22
|
-
$red: #
|
|
23
|
-
$red
|
|
24
|
-
$red-
|
|
25
|
-
$red-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
$
|
|
29
|
-
$
|
|
30
|
-
$
|
|
31
|
-
$
|
|
32
|
-
$
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
$orange-
|
|
36
|
-
$orange-
|
|
37
|
-
$orange-
|
|
38
|
-
$orange-
|
|
39
|
-
|
|
40
|
-
$
|
|
41
|
-
|
|
42
|
-
$
|
|
43
|
-
$
|
|
44
|
-
$
|
|
45
|
-
|
|
46
|
-
$
|
|
47
|
-
$
|
|
48
|
-
|
|
49
|
-
$
|
|
50
|
-
$
|
|
22
|
+
$amber-dark: #DB9D00;
|
|
23
|
+
$amber-darkest: #9F6B04;
|
|
24
|
+
|
|
25
|
+
$red-soft: #FEF7F6;
|
|
26
|
+
$red-lightest: #FADED9;
|
|
27
|
+
$red-light: #F5B5A8;
|
|
28
|
+
$red: #DB3A1A;
|
|
29
|
+
$red-dark: #C03316;
|
|
30
|
+
$red-darkest: #A02B13;
|
|
31
|
+
|
|
32
|
+
//Additional Colors
|
|
33
|
+
$yellow-0: #FFFFF0;
|
|
34
|
+
$yellow-10: #FFFECC;
|
|
35
|
+
$yellow-20: #FFFCA4;
|
|
36
|
+
$yellow-30: #FDD63B;
|
|
37
|
+
$yellow-40: #F9B71D;
|
|
38
|
+
$yellow-50: #D3910C;
|
|
39
|
+
|
|
40
|
+
$orange-0: #FEF8F4;
|
|
41
|
+
$orange-10: #FFE8D7;
|
|
42
|
+
$orange-20: #FFCCA7;
|
|
43
|
+
$orange-30: #FF8B3E;
|
|
44
|
+
$orange-40: #F76B0D;
|
|
45
|
+
$orange-50: #BD4B00;
|
|
46
|
+
|
|
47
|
+
$fuchia-0: #FFF7FB;
|
|
48
|
+
$fuchia-10: #F9D8E7;
|
|
49
|
+
$fuchia-20: #EDADC8;
|
|
50
|
+
$fuchia-30: #EA4386;
|
|
51
|
+
$fuchia-40: #D61E68;
|
|
52
|
+
$fuchia-50: #AE1955;
|
|
53
|
+
|
|
54
|
+
$purple-0: #FDF6FE;
|
|
55
|
+
$purple-10: #F2CCFA;
|
|
56
|
+
$purple-20: #E79DF5;
|
|
57
|
+
$purple-30: #B114D1;
|
|
58
|
+
$purple-40: #860F9E;
|
|
59
|
+
$purple-50: #5E0B6F;
|
|
60
|
+
|
|
61
|
+
$violet-0: #F8F6FE;
|
|
62
|
+
$violet-10: #DBCCFA;
|
|
63
|
+
$violet-20: #BB9DF5;
|
|
64
|
+
$violet-30: #773CEC;
|
|
65
|
+
$violet-40: #5514D6;
|
|
66
|
+
$violet-50: #40109E;
|
|
67
|
+
|
|
68
|
+
$cobalt-0: #F8FAFF;
|
|
69
|
+
$cobalt-10: #D9E2FC;
|
|
70
|
+
$cobalt-20: #AEC0F5;
|
|
71
|
+
$cobalt-30: #0F98FF;
|
|
72
|
+
$cobalt-40: #006FE5;
|
|
73
|
+
$cobalt-50: #0954A5;
|
|
74
|
+
|
|
75
|
+
$cyan-0: #F5FBFF;
|
|
76
|
+
$cyan-10: #D1FAFA;
|
|
77
|
+
$cyan-20: #AAEEEE;
|
|
78
|
+
$cyan-30: #14CCCC;
|
|
79
|
+
$cyan-40: #0F9E9E;
|
|
80
|
+
$cyan-50: #0B6F6F;
|
|
81
|
+
|
|
82
|
+
$mint-0: #F2FCF5;
|
|
83
|
+
$mint-10: #DDF3E4;
|
|
84
|
+
$mint-20: #B4DFC4;
|
|
85
|
+
$mint-30: #4FC48C;
|
|
86
|
+
$mint-40: #2E9E68;
|
|
87
|
+
$mint-50: #236E4A;
|
|
51
88
|
|
|
52
89
|
/* Gray */
|
|
53
90
|
$gray5: #FAFAFC;
|
|
@@ -61,11 +98,19 @@ $gray70: #474A59;
|
|
|
61
98
|
$gray80: #303240;
|
|
62
99
|
$gray90: #1D1E26;
|
|
63
100
|
|
|
64
|
-
$epam-basic-color-names: ('blue' $blue, 'blue-dark' $blue-dark, 'blue-darkest' $blue-darkest, 'blue-light' $blue-light, 'blue-lightest' $blue-lightest,
|
|
65
|
-
'green' $green, 'green-dark' $green-dark, 'green-darkest' $green-darkest, 'green-light' $green-light, 'green-lightest' $green-lightest,
|
|
66
|
-
'amber' $amber, 'amber-dark' $amber-dark, 'amber-darkest' $amber-darkest, 'amber-light' $amber-light, 'amber-lightest' $amber-lightest,
|
|
67
|
-
'red' $red, 'red-dark' $red-dark, 'red-darkest' $red-darkest, 'red-light' $red-light, 'red-lightest' $red-lightest);
|
|
101
|
+
$epam-basic-color-names: ('white' $white ,'blue-soft' $blue-soft, 'blue' $blue, 'blue-dark' $blue-dark, 'blue-darkest' $blue-darkest, 'blue-light' $blue-light, 'blue-lightest' $blue-lightest,
|
|
102
|
+
'green-soft' $green-soft, 'green' $green, 'green-dark' $green-dark, 'green-darkest' $green-darkest, 'green-light' $green-light, 'green-lightest' $green-lightest,
|
|
103
|
+
'amber-soft' $amber-soft ,'amber' $amber, 'amber-dark' $amber-dark, 'amber-darkest' $amber-darkest, 'amber-light' $amber-light, 'amber-lightest' $amber-lightest,
|
|
104
|
+
'red-soft' $red-soft,'red' $red, 'red-dark' $red-dark, 'red-darkest' $red-darkest, 'red-light' $red-light, 'red-lightest' $red-lightest);
|
|
68
105
|
|
|
69
106
|
$epam-grayscale-color-names: ('gray5' $gray5, 'gray10' $gray10, 'gray20' $gray20, 'gray30' $gray30, 'gray40' $gray40,
|
|
70
107
|
'gray50' $gray50, 'gray60' $gray60, 'gray70' $gray70, 'gray80' $gray80, 'gray90' $gray90);
|
|
71
108
|
|
|
109
|
+
$epam-additional-color-names: ('yellow-0' $yellow-0, 'yellow-10' $yellow-10, 'yellow-20' $yellow-20, 'yellow-30' $yellow-30, 'yellow-40' $yellow-40, 'yellow-50' $yellow-50,
|
|
110
|
+
'orange-0' $orange-0, 'orange-10' $orange-10, 'orange-20' $orange-20, 'orange-30' $orange-30, 'orange-40' $orange-40, 'orange-50' $orange-50,
|
|
111
|
+
'fuchia-0' $fuchia-0, 'fuchia-10' $fuchia-10, 'fuchia-20' $fuchia-20, 'fuchia-30' $fuchia-30, 'fuchia-40' $fuchia-40, 'fuchia-50' $fuchia-50,
|
|
112
|
+
'purple-0' $purple-0, 'purple-10' $purple-10, 'purple-20' $purple-20, 'purple-30' $purple-30, 'purple-40' $purple-40, 'purple-50' $purple-50,
|
|
113
|
+
'violet-0' $violet-0, 'violet-10' $violet-10, 'violet-20' $violet-20, 'violet-30' $violet-30, 'violet-40' $violet-40, 'violet-50' $violet-50,
|
|
114
|
+
'cobalt-0' $cobalt-0, 'cobalt-10' $cobalt-10, 'cobalt-20' $cobalt-20, 'cobalt-30' $cobalt-30, 'cobalt-40' $cobalt-40, 'cobalt-50' $cobalt-50,
|
|
115
|
+
'cyan-0' $cyan-0, 'cyan-10' $cyan-10, 'cyan-20' $cyan-20, 'cyan-30' $cyan-30, 'cyan-40' $cyan-40, 'cyan-50' $cyan-50,
|
|
116
|
+
'mint-0' $mint-0, 'mint-10' $mint-10, 'mint-20' $mint-20, 'mint-30' $mint-30, 'mint-40' $mint-40, 'mint-50' $mint-50);
|
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
url('https://static.cdn.epam.com/uploads/690afa39a93c88c4dd13758fe1d869d5/EPM-UUI/fonts/redacted/redacted-regular.woff') format('woff'),
|
|
36
36
|
url('https://static.cdn.epam.com/uploads/690afa39a93c88c4dd13758fe1d869d5/EPM-UUI/fonts/redacted/redacted-regular.otf') format('opentype'),
|
|
37
37
|
url('https://static.cdn.epam.com/uploads/690afa39a93c88c4dd13758fe1d869d5/EPM-UUI/fonts/redacted/redacted-regular.svg#filename') format('svg');
|
|
38
|
+
font-display: block;
|
|
38
39
|
}
|
|
39
40
|
|
|
40
41
|
@font-face {
|
|
@@ -43,3 +44,10 @@
|
|
|
43
44
|
font-weight: normal;
|
|
44
45
|
src: url('https://static.cdn.epam.com/uploads/690afa39a93c88c4dd13758fe1d869d5/EPM-UUI/fonts/RobotoMono-Regular.ttf') format('truetype');
|
|
45
46
|
}
|
|
47
|
+
|
|
48
|
+
@font-face {
|
|
49
|
+
font-family: 'Roboto Slab';
|
|
50
|
+
font-style: normal;
|
|
51
|
+
font-weight: normal;
|
|
52
|
+
src: url('https://static.cdn.epam.com/uploads/690afa39a93c88c4dd13758fe1d869d5/EPM-UUI/fonts/RobotoSlab-Regular.ttf') format('truetype');
|
|
53
|
+
}
|
package/scss/promo/fonts.scss
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
@use 'font-faces';
|
|
2
|
-
|
|
3
1
|
$font-sans: 'Sans Regular', Arial, sans-serif;
|
|
4
2
|
$font-sans-semibold: 'Sans Semibold', Arial, sans-serif;
|
|
5
3
|
$font-sans-italic: 'Sans Italic', Arial, sans-serif;
|
|
6
4
|
$font-redacted: 'Redacted';
|
|
7
|
-
$font-museo-sans: 'Museo Sans', Arial, sans-serif;
|
|
8
|
-
$font-museo-slab: 'Museo Slab', Arial, sans-serif;
|
|
5
|
+
$font-museo-sans: 'Museo Sans', 'Sans Semibold', Arial, sans-serif;
|
|
6
|
+
$font-museo-slab: 'Museo Slab', 'Roboto Slab', Arial, sans-serif;
|
|
9
7
|
$font-roboto-mono: 'Roboto Mono', Arial, sans-serif;
|
|
@@ -161,34 +161,10 @@
|
|
|
161
161
|
font-size: 16px;
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
|
|
164
|
+
@mixin typography-promo() {
|
|
165
165
|
@include typography-header();
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
:local(.typography-block) {
|
|
169
166
|
@include typography-block();
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
:local(.typography-inline) {
|
|
173
167
|
@include typography-inline();
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
:local(.typography-16) {
|
|
177
|
-
@include typography-16();
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
:local(.typography-14) {
|
|
181
|
-
@include typography-14();
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
:local(.typography-12) {
|
|
185
|
-
@include typography-12();
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
:local(.typography-promo) {
|
|
189
|
-
font-family: $font-sans;
|
|
190
168
|
color: $gray80;
|
|
191
|
-
|
|
192
|
-
composes: typography-block;
|
|
193
|
-
composes: typography-inline;
|
|
169
|
+
font-family: $font-sans;
|
|
194
170
|
}
|
package/scss/typography.scss
CHANGED
|
@@ -1,172 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
@
|
|
3
|
-
|
|
4
|
-
@mixin overflow-ellipsis() {
|
|
5
|
-
overflow: hidden;
|
|
6
|
-
text-overflow: ellipsis;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
@mixin typography-header() {
|
|
10
|
-
:global(.hero-header), h1, h2, h3, h4, h5, h6 {
|
|
11
|
-
margin: 0;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
:global(.hero-header), h2 {
|
|
15
|
-
font-family: $font-sans-bold;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
:global(.hero-header) {
|
|
19
|
-
margin: 30px 0;
|
|
20
|
-
font-size: 72px;
|
|
21
|
-
line-height: 72px;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
h3, h4, h5, h6 {
|
|
25
|
-
font-family: $font-sans-semibold;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
h1, h2, h3, h4, h5, h6 {
|
|
29
|
-
margin-bottom: 0.5em;
|
|
30
|
-
margin-top: 1.2em;
|
|
31
|
-
line-height: 1.35em;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
h1 {
|
|
35
|
-
font-size: 42px;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
h2 {
|
|
39
|
-
font-size: 30px;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
h3 {
|
|
43
|
-
font-size: 24px;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
h4 {
|
|
47
|
-
font-size: 18px;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
h5 {
|
|
51
|
-
font-size: 16px;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
h6 {
|
|
55
|
-
font-size: 14px;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
@mixin typography-inline() {
|
|
60
|
-
b, strong {
|
|
61
|
-
font-family: $font-sans-semibold;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
i, em {
|
|
65
|
-
font-family: $font-sans-italic;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
a {
|
|
69
|
-
display: inline-flex;
|
|
70
|
-
align-items: center;
|
|
71
|
-
color: $sky;
|
|
72
|
-
text-decoration: underline;
|
|
73
|
-
|
|
74
|
-
&:hover {
|
|
75
|
-
color: darken($sky, 10%);
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
code {
|
|
80
|
-
padding: 0.125em 0.25em;
|
|
81
|
-
color: $night50;
|
|
82
|
-
background-color: $night700;
|
|
83
|
-
border-radius: 3px;
|
|
84
|
-
font-family: monospace;
|
|
85
|
-
white-space: pre-wrap;
|
|
86
|
-
word-wrap: normal;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
@mixin typography-block() {
|
|
91
|
-
ol, ul {
|
|
92
|
-
padding: 0;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
li {
|
|
96
|
-
margin-left: 1.25em;
|
|
97
|
-
line-height: 1.5;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
pre {
|
|
101
|
-
padding: 1.25em;
|
|
102
|
-
color: $night50;
|
|
103
|
-
background-color: $night700;
|
|
104
|
-
border-radius: 3px;
|
|
105
|
-
font-family: monospace;
|
|
106
|
-
white-space: pre-wrap;
|
|
107
|
-
word-wrap: normal;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
img {
|
|
111
|
-
max-width: 100%;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
figure {
|
|
115
|
-
margin: 0;
|
|
116
|
-
|
|
117
|
-
figcaption {
|
|
118
|
-
font-size: 0.9em;
|
|
119
|
-
opacity: 0.9;
|
|
120
|
-
text-align: center;
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
p {
|
|
125
|
-
margin: 0.5em 0;
|
|
126
|
-
line-height: 1.5;
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
@mixin typography-12() {
|
|
131
|
-
font-size: 12px;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
@mixin typography-14() {
|
|
135
|
-
font-size: 14px;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
@mixin typography-16() {
|
|
139
|
-
font-size: 16px;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
:local(.typography-header) {
|
|
143
|
-
@include typography-header();
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
:local(.typography-block) {
|
|
147
|
-
@include typography-block();
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
:local(.typography-inline) {
|
|
151
|
-
@include typography-inline();
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
:local(.typography-16) {
|
|
155
|
-
@include typography-16();
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
:local(.typography-14) {
|
|
159
|
-
@include typography-14();
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
:local(.typography-12) {
|
|
163
|
-
@include typography-12();
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
:local(.typography-loveship) {
|
|
167
|
-
font-family: $font-sans;
|
|
168
|
-
color: $night700;
|
|
169
|
-
composes: typography-header;
|
|
170
|
-
composes: typography-block;
|
|
171
|
-
composes: typography-inline;
|
|
172
|
-
}
|
|
1
|
+
// this file is deprecated, please use 'epam-assets/scss/loveship/typography' directly instead.
|
|
2
|
+
@forward './loveship/typography';
|