@epam/assets 5.0.0-alpha.2 → 5.0.0-alpha.4
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/package.json +3 -5
- package/scss/index.scss +0 -1
- package/scss/promo/typography.scss +3 -26
- package/scss/typography.scss +0 -31
- package/theme/theme_loveship.scss +222 -206
- package/theme/theme_promo.scss +191 -148
- 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/font-faces.less +0 -106
- 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/control-mods.scss +0 -42
- package/scss/globals.scss +0 -9
- package/scss/loveship-color-vars.scss +0 -183
- 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
|
@@ -1,172 +0,0 @@
|
|
|
1
|
-
@import (reference) 'loveship-colors.less';
|
|
2
|
-
|
|
3
|
-
&.color-sky {
|
|
4
|
-
--uui-color-500: #E1F4FA;
|
|
5
|
-
--uui-color-600: #C4EAF5;
|
|
6
|
-
--uui-color-700: #30B6DD;
|
|
7
|
-
--uui-color-800: #16A2D9;
|
|
8
|
-
--uui-color-900: #0088CC;
|
|
9
|
-
--uui-contrast-color-700: contrast(#30B6DD, @night700, white, 65%);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
&.color-grass {
|
|
13
|
-
--uui-color-500: #EBF3D8;
|
|
14
|
-
--uui-color-600: #D6E6B2;
|
|
15
|
-
--uui-color-700: #9BC837;
|
|
16
|
-
--uui-color-800: #6FAD2F;
|
|
17
|
-
--uui-color-900: #428024;
|
|
18
|
-
--uui-contrast-color-700: contrast(#9BC837, @night700, white, 65%);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&.color-sun {
|
|
22
|
-
--uui-color-500: #FFEDC9;
|
|
23
|
-
--uui-color-600: #FFDD96;
|
|
24
|
-
--uui-color-700: #FCAA00;
|
|
25
|
-
--uui-color-800: #F67E00;
|
|
26
|
-
--uui-color-900: #E64C00;
|
|
27
|
-
--uui-contrast-color-700: contrast(#FCAA00, @night700, white, 65%);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
&.color-fire {
|
|
31
|
-
--uui-color-500: #FDE1E1;
|
|
32
|
-
--uui-color-600: #FCC8C8;
|
|
33
|
-
--uui-color-700: #FA4B4B;
|
|
34
|
-
--uui-color-800: #CC2929;
|
|
35
|
-
--uui-color-900: #B32424;
|
|
36
|
-
--uui-contrast-color-700: contrast(#FA4B4B, @night700, white, 65%);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
&.color-carbon {
|
|
40
|
-
--uui-color-500: #6C6E7A;
|
|
41
|
-
--uui-color-600: #4F515C;
|
|
42
|
-
--uui-color-700: #3D404D;
|
|
43
|
-
--uui-color-800: #272933;
|
|
44
|
-
--uui-color-900: #17181F;
|
|
45
|
-
--uui-contrast-color-700: contrast(#3D404D, @night700, white, 65%);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
&.color-night {
|
|
49
|
-
--uui-color-500: #ACAFBF;
|
|
50
|
-
--uui-color-600: #6C6F80;
|
|
51
|
-
--uui-color-700: #474A59;
|
|
52
|
-
--uui-color-800: #303240;
|
|
53
|
-
--uui-color-900: #1D1E26;
|
|
54
|
-
--uui-contrast-color-700: contrast(#474A59, @night700, white, 65%);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
&.color-cobalt {
|
|
58
|
-
--uui-color-500: #32B2FB;
|
|
59
|
-
--uui-color-600: #2196F3;
|
|
60
|
-
--uui-color-700: #0E74E2;
|
|
61
|
-
--uui-color-800: #0453C7;
|
|
62
|
-
--uui-color-900: #003399;
|
|
63
|
-
--uui-contrast-color-700: contrast(#0E74E2, @night700, white, 65%);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
&.color-lavanda {
|
|
67
|
-
--uui-color-500: #6362C9;
|
|
68
|
-
--uui-color-600: #3F51B5;
|
|
69
|
-
--uui-color-700: #2E3A9D;
|
|
70
|
-
--uui-color-800: #21288D;
|
|
71
|
-
--uui-color-900: #191980;
|
|
72
|
-
--uui-contrast-color-700: contrast(#2E3A9D, @night700, white, 65%);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
&.color-fuchsia {
|
|
76
|
-
--uui-color-500: #F5527B;
|
|
77
|
-
--uui-color-600: #E91E63;
|
|
78
|
-
--uui-color-700: #CD0053;
|
|
79
|
-
--uui-color-800: #B00052;
|
|
80
|
-
--uui-color-900: #94004C;
|
|
81
|
-
--uui-contrast-color-700: contrast(#CD0053, @night700, white, 65%);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
&.color-white {
|
|
85
|
-
--uui-color-500: lighten(@white, 20%);
|
|
86
|
-
--uui-color-600: lighten(@white, 10%);
|
|
87
|
-
--uui-color-700: @white;
|
|
88
|
-
--uui-color-800: darken(@white, 10%);
|
|
89
|
-
--uui-color-900: darken(@white, 20%);
|
|
90
|
-
--uui-contrast-color-700: contrast(@white, @night700, white, 65%);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
&.color-night50 {
|
|
94
|
-
--uui-color-500: lighten(@night50, 20%);
|
|
95
|
-
--uui-color-600: lighten(@night50, 10%);
|
|
96
|
-
--uui-color-700: @night50;
|
|
97
|
-
--uui-color-800: darken(@night50, 10%);
|
|
98
|
-
--uui-color-900: darken(@night50, 20%);
|
|
99
|
-
--uui-contrast-color-700: contrast(@night50, @night700, white, 65%);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
&.color-night100 {
|
|
103
|
-
--uui-color-500: lighten(@night100, 20%);
|
|
104
|
-
--uui-color-600: lighten(@night100, 10%);
|
|
105
|
-
--uui-color-700: @night100;
|
|
106
|
-
--uui-color-800: darken(@night100, 10%);
|
|
107
|
-
--uui-color-900: darken(@night100, 20%);
|
|
108
|
-
--uui-contrast-color-700: contrast(@night100, @night700, white, 65%);
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
&.color-night200 {
|
|
112
|
-
--uui-color-500: lighten(@night200, 20%);
|
|
113
|
-
--uui-color-600: lighten(@night200, 10%);
|
|
114
|
-
--uui-color-700: @night200;
|
|
115
|
-
--uui-color-800: darken(@night200, 10%);
|
|
116
|
-
--uui-color-900: darken(@night200, 20%);
|
|
117
|
-
--uui-contrast-color-700: contrast(@night200, @night700, white, 65%);
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
&.color-night300 {
|
|
121
|
-
--uui-color-500: lighten(@night300, 20%);
|
|
122
|
-
--uui-color-600: lighten(@night300, 10%);
|
|
123
|
-
--uui-color-700: @night300;
|
|
124
|
-
--uui-color-800: darken(@night300, 10%);
|
|
125
|
-
--uui-color-900: darken(@night300, 20%);
|
|
126
|
-
--uui-contrast-color-700: contrast(@night300, @night700, white, 65%);
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
&.color-night400 {
|
|
130
|
-
--uui-color-500: lighten(@night400, 20%);
|
|
131
|
-
--uui-color-600: lighten(@night400, 10%);
|
|
132
|
-
--uui-color-700: @night400;
|
|
133
|
-
--uui-color-800: darken(@night400, 10%);
|
|
134
|
-
--uui-color-900: darken(@night400, 20%);
|
|
135
|
-
--uui-contrast-color-700: contrast(@night400, @night700, white, 65%);
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
&.color-night500 {
|
|
139
|
-
--uui-color-500: lighten(@night500, 20%);
|
|
140
|
-
--uui-color-600: lighten(@night500, 10%);
|
|
141
|
-
--uui-color-700: @night500;
|
|
142
|
-
--uui-color-800: darken(@night500, 10%);
|
|
143
|
-
--uui-color-900: darken(@night500, 20%);
|
|
144
|
-
--uui-contrast-color-700: contrast(@night500, @night700, white, 65%);
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
&.color-night600 {
|
|
148
|
-
--uui-color-500: lighten(@night600, 20%);
|
|
149
|
-
--uui-color-600: lighten(@night600, 10%);
|
|
150
|
-
--uui-color-700: @night600;
|
|
151
|
-
--uui-color-800: darken(@night600, 10%);
|
|
152
|
-
--uui-color-900: darken(@night600, 20%);
|
|
153
|
-
--uui-contrast-color-700: contrast(@night600, @night700, white, 65%);
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
&.color-night700 {
|
|
157
|
-
--uui-color-500: lighten(@night700, 20%);
|
|
158
|
-
--uui-color-600: lighten(@night700, 10%);
|
|
159
|
-
--uui-color-700: @night700;
|
|
160
|
-
--uui-color-800: darken(@night700, 10%);
|
|
161
|
-
--uui-color-900: darken(@night700, 20%);
|
|
162
|
-
--uui-contrast-color-700: contrast(@night700, @night700, white, 65%);
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
&.color-night900 {
|
|
166
|
-
--uui-color-500: lighten(@night900, 20%);
|
|
167
|
-
--uui-color-600: lighten(@night900, 10%);
|
|
168
|
-
--uui-color-700: @night900;
|
|
169
|
-
--uui-color-800: darken(@night900, 10%);
|
|
170
|
-
--uui-color-900: darken(@night900, 20%);
|
|
171
|
-
--uui-contrast-color-700: contrast(@night900, @night700, white, 65%);
|
|
172
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
// Main Colors
|
|
2
|
-
@sky: #30B6DD;
|
|
3
|
-
@grass: #9BC837;
|
|
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: sky, grass, sun, fire, carbon, night, cobalt, lavanda, fuchsia, white, night50, night100, night200, night300, night400, night500, night600, night700, night900;
|
package/less/text-size.less
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
.text-size(@size, @border-width: 0px) {
|
|
2
|
-
& when (@size = 18) {
|
|
3
|
-
@vpadding: 3px - @border-width;
|
|
4
|
-
padding-top: @vpadding;
|
|
5
|
-
padding-bottom: @vpadding;
|
|
6
|
-
line-height: 12px;
|
|
7
|
-
font-size: 10px;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
& when (@size = 24) {
|
|
11
|
-
@vpadding: 3px - @border-width;
|
|
12
|
-
padding-top: @vpadding;
|
|
13
|
-
padding-bottom: @vpadding;
|
|
14
|
-
line-height: 18px;
|
|
15
|
-
font-size: 12px;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
& when (@size = 30) {
|
|
19
|
-
@vpadding: 6px - @border-width;
|
|
20
|
-
padding-top: @vpadding;
|
|
21
|
-
padding-bottom: @vpadding;
|
|
22
|
-
line-height: 18px;
|
|
23
|
-
font-size: 14px;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
& when (@size = 36) {
|
|
27
|
-
@vpadding: 9px - @border-width;
|
|
28
|
-
padding-top: @vpadding;
|
|
29
|
-
padding-bottom: @vpadding;
|
|
30
|
-
line-height: 18px;
|
|
31
|
-
font-size: 14px;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
& when (@size = 42) {
|
|
35
|
-
@vpadding: 9px - @border-width;
|
|
36
|
-
padding-top: @vpadding;
|
|
37
|
-
padding-bottom: @vpadding;
|
|
38
|
-
line-height: 24px;
|
|
39
|
-
font-size: 16px;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
& when (@size = 48) {
|
|
43
|
-
@vpadding: 12px - @border-width;
|
|
44
|
-
padding-top: @vpadding;
|
|
45
|
-
padding-bottom: @vpadding;
|
|
46
|
-
line-height: 24px;
|
|
47
|
-
font-size: 16px;
|
|
48
|
-
}
|
|
49
|
-
}
|
package/less/typography.less
DELETED
|
@@ -1,196 +0,0 @@
|
|
|
1
|
-
@import './loveship-colors.less';
|
|
2
|
-
@import './fonts.less';
|
|
3
|
-
|
|
4
|
-
.overflow-ellipsis() {
|
|
5
|
-
overflow: hidden;
|
|
6
|
-
text-overflow: ellipsis;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.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
|
-
h3, h4, h5, h6 {
|
|
19
|
-
font-family: @font-sans-semibold;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
h4, h5, h6 {
|
|
23
|
-
margin: 12px 0;
|
|
24
|
-
line-height: 24px;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
:global(.hero-header) {
|
|
28
|
-
margin: 30px 0;
|
|
29
|
-
font-size: 72px;
|
|
30
|
-
line-height: 72px;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
h1 {
|
|
34
|
-
margin: 24px 0;
|
|
35
|
-
font-size: 42px;
|
|
36
|
-
line-height: 48px;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
h2 {
|
|
40
|
-
margin: 18px 0;
|
|
41
|
-
font-size: 30px;
|
|
42
|
-
line-height: 36px;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
h3 {
|
|
46
|
-
margin: 12px 0;
|
|
47
|
-
font-size: 24px;
|
|
48
|
-
line-height: 30px;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
h4 {
|
|
52
|
-
font-size: 18px;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
h5 {
|
|
56
|
-
font-size: 16px;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
h6 {
|
|
60
|
-
font-size: 14px;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.typography-inline() {
|
|
65
|
-
b, strong {
|
|
66
|
-
font-family: @font-sans-semibold;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
i, em {
|
|
70
|
-
font-family: @font-sans-italic;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
a {
|
|
74
|
-
display: inline-flex;
|
|
75
|
-
align-items: center;
|
|
76
|
-
color: @sky;
|
|
77
|
-
|
|
78
|
-
&:hover {
|
|
79
|
-
text-decoration: none;
|
|
80
|
-
color: darken(@sky, 10%);
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
code {
|
|
85
|
-
margin: 0 4px;
|
|
86
|
-
padding: 2px 4px;
|
|
87
|
-
color: @night50;
|
|
88
|
-
background-color: @night700;
|
|
89
|
-
border-radius: 3px;
|
|
90
|
-
font-family: @font-roboto-mono;
|
|
91
|
-
white-space: pre-wrap;
|
|
92
|
-
word-wrap: normal;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.typography-block() {
|
|
97
|
-
p {
|
|
98
|
-
margin: 12px 0;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
ol, ul {
|
|
102
|
-
padding: 0;
|
|
103
|
-
margin-block-start: 0;
|
|
104
|
-
margin-block-end: 0;
|
|
105
|
-
|
|
106
|
-
ol, ul {
|
|
107
|
-
margin-left: 18px;
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
li {
|
|
112
|
-
// padding-top: 3px;
|
|
113
|
-
// padding-bottom: 3px;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
ul li {
|
|
117
|
-
margin-left: 18px;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
ol li {
|
|
121
|
-
margin-left: 14px;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
pre {
|
|
125
|
-
margin: 12px 0;
|
|
126
|
-
padding: 12px 18px;
|
|
127
|
-
color: @night50;
|
|
128
|
-
background-color: @night700;
|
|
129
|
-
border-radius: 3px;
|
|
130
|
-
font-family: monospace;
|
|
131
|
-
white-space: pre-wrap;
|
|
132
|
-
word-wrap: normal;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
figure {
|
|
136
|
-
margin: 12px 0;
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.typography-12() {
|
|
141
|
-
font-size: 12px;
|
|
142
|
-
line-height: 18px;
|
|
143
|
-
|
|
144
|
-
b, strong {
|
|
145
|
-
color: @night900;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
p {
|
|
149
|
-
margin: 6px 0;
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
.typography-14() {
|
|
154
|
-
font-size: 14px;
|
|
155
|
-
line-height: 24px;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
.typography-16() {
|
|
159
|
-
font-size: 16px;
|
|
160
|
-
line-height: 24px;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
:local(.typography-header) {
|
|
164
|
-
.typography-header();
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
:local(.typography-block) {
|
|
168
|
-
.typography-block();
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
:local(.typography-inline) {
|
|
172
|
-
.typography-inline();
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
:local(.typography-16) {
|
|
176
|
-
.typography-16();
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
:local(.typography-14) {
|
|
180
|
-
.typography-14();
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
:local(.typography-12) {
|
|
184
|
-
.typography-12();
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
:local(.typography-loveship) {
|
|
188
|
-
font-family: @font-sans;
|
|
189
|
-
color: @night700;
|
|
190
|
-
composes: typography-header;
|
|
191
|
-
composes: typography-block;
|
|
192
|
-
composes: typography-inline;
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
package/scss/control-mods.scss
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
@use './effects' as *;
|
|
2
|
-
@use './loveship-color-vars' as *;
|
|
3
|
-
@use './control-layout' as *;
|
|
4
|
-
|
|
5
|
-
@mixin control-form-mode() {
|
|
6
|
-
background-color: $white;
|
|
7
|
-
border-color: $night200;
|
|
8
|
-
border-style: solid;
|
|
9
|
-
border-radius: $control-border-radius;
|
|
10
|
-
|
|
11
|
-
&:hover {
|
|
12
|
-
border-color: $night200;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
&:global(.uui-focus) {
|
|
16
|
-
@include control-focus-effect($sky);
|
|
17
|
-
border-color: darken($sky, 10%);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
@mixin control-inline-mode() {
|
|
22
|
-
background-color: transparent;
|
|
23
|
-
border-color: transparent;
|
|
24
|
-
border-style: solid;
|
|
25
|
-
border-radius: $control-border-radius;
|
|
26
|
-
|
|
27
|
-
&:hover {
|
|
28
|
-
border-color: $night200;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
&:global(.uui-focus) {
|
|
32
|
-
@include control-focus-effect($sky);
|
|
33
|
-
border-color: darken($sky, 10%);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
@mixin control-cell-mode() {
|
|
38
|
-
background-color: transparent;
|
|
39
|
-
border-color: transparent;
|
|
40
|
-
border-style: solid;
|
|
41
|
-
border-radius: 0;
|
|
42
|
-
}
|
package/scss/globals.scss
DELETED
|
@@ -1,183 +0,0 @@
|
|
|
1
|
-
@use './loveship-colors' as colors;
|
|
2
|
-
@use './contrast' as *;
|
|
3
|
-
|
|
4
|
-
// Colors
|
|
5
|
-
.color-sky {
|
|
6
|
-
--uui-color-500: #E1F4FA;
|
|
7
|
-
--uui-color-600: #C4EAF5;
|
|
8
|
-
--uui-color-700: #009ECC;
|
|
9
|
-
--uui-color-800: #008ABD;
|
|
10
|
-
--uui-color-900: #0079AD;
|
|
11
|
-
--uui-contrast-color-700: #{contrast(#009ECC, colors.$night700, white)};
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.color-grass {
|
|
15
|
-
--uui-color-500: #EBF3D8;
|
|
16
|
-
--uui-color-600: #D6E6B2;
|
|
17
|
-
--uui-color-700: #67A300;
|
|
18
|
-
--uui-color-800: #558A00;
|
|
19
|
-
--uui-color-900: #428024;
|
|
20
|
-
--uui-contrast-color-700: #{contrast(#67A300, colors.$night700, white)};
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.color-sun {
|
|
24
|
-
--uui-color-500: #FFEDC9;
|
|
25
|
-
--uui-color-600: #FFDD96;
|
|
26
|
-
--uui-color-700: #FCAA00;
|
|
27
|
-
--uui-color-800: #F67E00;
|
|
28
|
-
--uui-color-900: #E64C00;
|
|
29
|
-
--uui-contrast-color-700: #{contrast(#FCAA00, colors.$night700, white)};
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.color-fire {
|
|
33
|
-
--uui-color-500: #FDE1E1;
|
|
34
|
-
--uui-color-600: #FCC8C8;
|
|
35
|
-
--uui-color-700: #FA4B4B;
|
|
36
|
-
--uui-color-800: #CC2929;
|
|
37
|
-
--uui-color-900: #B32424;
|
|
38
|
-
--uui-contrast-color-700: #{contrast(#FA4B4B, colors.$night700, white)};
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.color-carbon {
|
|
42
|
-
--uui-color-500: #6C6E7A;
|
|
43
|
-
--uui-color-600: #4F515C;
|
|
44
|
-
--uui-color-700: #3D404D;
|
|
45
|
-
--uui-color-800: #272933;
|
|
46
|
-
--uui-color-900: #17181F;
|
|
47
|
-
--uui-contrast-color-700: #{contrast(#3D404D, colors.$night700, white)};
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.color-night {
|
|
51
|
-
--uui-color-500: #ACAFBF;
|
|
52
|
-
--uui-color-600: #6C6F80;
|
|
53
|
-
--uui-color-700: #474A59;
|
|
54
|
-
--uui-color-800: #303240;
|
|
55
|
-
--uui-color-900: #1D1E26;
|
|
56
|
-
--uui-contrast-color-700: #{contrast(#474A59, colors.$night700, white)};
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.color-cobalt {
|
|
60
|
-
--uui-color-500: #32B2FB;
|
|
61
|
-
--uui-color-600: #2196F3;
|
|
62
|
-
--uui-color-700: #0E74E2;
|
|
63
|
-
--uui-color-800: #0453C7;
|
|
64
|
-
--uui-color-900: #003399;
|
|
65
|
-
--uui-contrast-color-700: #{contrast(#0E74E2, colors.$night700, white)};
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.color-lavanda {
|
|
69
|
-
--uui-color-500: #6362C9;
|
|
70
|
-
--uui-color-600: #3F51B5;
|
|
71
|
-
--uui-color-700: #2E3A9D;
|
|
72
|
-
--uui-color-800: #21288D;
|
|
73
|
-
--uui-color-900: #191980;
|
|
74
|
-
--uui-contrast-color-700: #{contrast(#2E3A9D, colors.$night700, white)};
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.color-fuchsia {
|
|
78
|
-
--uui-color-500: #F5527B;
|
|
79
|
-
--uui-color-600: #E91E63;
|
|
80
|
-
--uui-color-700: #CD0053;
|
|
81
|
-
--uui-color-800: #B00052;
|
|
82
|
-
--uui-color-900: #94004C;
|
|
83
|
-
--uui-contrast-color-700: #{contrast(#CD0053, colors.$night700, white)};
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.color-white {
|
|
87
|
-
--uui-color-500: #{lighten(colors.$white, 20%)};
|
|
88
|
-
--uui-color-600: #{lighten(colors.$white, 10%)};
|
|
89
|
-
--uui-color-700: #{colors.$white};
|
|
90
|
-
--uui-color-800: #{darken(colors.$white, 10%)};
|
|
91
|
-
--uui-color-900: #{darken(colors.$white, 20%)};
|
|
92
|
-
--uui-contrast-color-700: #{contrast(colors.$white, colors.$night700, white)};
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.color-night50 {
|
|
96
|
-
--uui-color-500: #{lighten(colors.$night50, 20%)};
|
|
97
|
-
--uui-color-600: #{lighten(colors.$night50, 10%)};
|
|
98
|
-
--uui-color-700: #{colors.$night50};
|
|
99
|
-
--uui-color-800: #{darken(colors.$night50, 10%)};
|
|
100
|
-
--uui-color-900: #{darken(colors.$night50, 20%)};
|
|
101
|
-
--uui-contrast-color-700: #{contrast(colors.$night50, colors.$night700, white)};
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.color-night100 {
|
|
105
|
-
--uui-color-500: #{lighten(colors.$night100, 20%)};
|
|
106
|
-
--uui-color-600: #{lighten(colors.$night100, 10%)};
|
|
107
|
-
--uui-color-700: #{colors.$night100};
|
|
108
|
-
--uui-color-800: #{darken(colors.$night100, 10%)};
|
|
109
|
-
--uui-color-900: #{darken(colors.$night100, 20%)};
|
|
110
|
-
--uui-contrast-color-700: #{contrast(colors.$night100, colors.$night700, white)};
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.color-night200 {
|
|
114
|
-
--uui-color-500: #{lighten(colors.$night200, 20%)};
|
|
115
|
-
--uui-color-600: #{lighten(colors.$night200, 10%)};
|
|
116
|
-
--uui-color-700: #{colors.$night200};
|
|
117
|
-
--uui-color-800: #{darken(colors.$night200, 10%)};
|
|
118
|
-
--uui-color-900: #{darken(colors.$night200, 20%)};
|
|
119
|
-
--uui-contrast-color-700: #{contrast(colors.$night200, colors.$night700, white)};
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
.color-night300 {
|
|
123
|
-
--uui-color-500: #{lighten(colors.$night300, 20%)};
|
|
124
|
-
--uui-color-600: #{lighten(colors.$night300, 10%)};
|
|
125
|
-
--uui-color-700: #{colors.$night300};
|
|
126
|
-
--uui-color-800: #{darken(colors.$night300, 10%)};
|
|
127
|
-
--uui-color-900: #{darken(colors.$night300, 20%)};
|
|
128
|
-
--uui-contrast-color-700: #{contrast(colors.$night300, colors.$night700, white)};
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
.color-night400 {
|
|
132
|
-
--uui-color-500: #{lighten(colors.$night400, 20%)};
|
|
133
|
-
--uui-color-600: #{lighten(colors.$night400, 10%)};
|
|
134
|
-
--uui-color-700: #{colors.$night400};
|
|
135
|
-
--uui-color-800: #{darken(colors.$night400, 10%)};
|
|
136
|
-
--uui-color-900: #{darken(colors.$night400, 20%)};
|
|
137
|
-
--uui-contrast-color-700: #{contrast(colors.$night400, colors.$night700, white)};
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.color-night500 {
|
|
141
|
-
--uui-color-500: #{lighten(colors.$night500, 20%)};
|
|
142
|
-
--uui-color-600: #{lighten(colors.$night500, 10%)};
|
|
143
|
-
--uui-color-700: #{colors.$night500};
|
|
144
|
-
--uui-color-800: #{darken(colors.$night500, 10%)};
|
|
145
|
-
--uui-color-900: #{darken(colors.$night500, 20%)};
|
|
146
|
-
--uui-contrast-color-700: #{contrast(colors.$night500, colors.$night700, white)};
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
.color-night600 {
|
|
150
|
-
--uui-color-500: #{lighten(colors.$night600, 20%)};
|
|
151
|
-
--uui-color-600: #{lighten(colors.$night600, 10%)};
|
|
152
|
-
--uui-color-700: #{colors.$night600};
|
|
153
|
-
--uui-color-800: #{darken(colors.$night600, 10%)};
|
|
154
|
-
--uui-color-900: #{darken(colors.$night600, 20%)};
|
|
155
|
-
--uui-contrast-color-700: #{contrast(colors.$night600, colors.$night700, white)};
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
.color-night700 {
|
|
159
|
-
--uui-color-500: #{lighten(colors.$night700, 20%)};
|
|
160
|
-
--uui-color-600: #{lighten(colors.$night700, 10%)};
|
|
161
|
-
--uui-color-700: #{colors.$night700};
|
|
162
|
-
--uui-color-800: #{darken(colors.$night700, 10%)};
|
|
163
|
-
--uui-color-900: #{darken(colors.$night700, 20%)};
|
|
164
|
-
--uui-contrast-color-700: #{contrast(colors.$night700, colors.$night700, white)};
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
.color-night800 {
|
|
168
|
-
--uui-color-500: #{lighten(colors.$night800, 20%)};
|
|
169
|
-
--uui-color-600: #{lighten(colors.$night800, 10%)};
|
|
170
|
-
--uui-color-700: #{colors.$night800};
|
|
171
|
-
--uui-color-800: #{darken(colors.$night800, 10%)};
|
|
172
|
-
--uui-color-900: #{darken(colors.$night800, 20%)};
|
|
173
|
-
--uui-contrast-color-700: #{contrast(colors.$night700, colors.$night800, white)};
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
.color-night900 {
|
|
177
|
-
--uui-color-500: #{lighten(colors.$night900, 20%)};
|
|
178
|
-
--uui-color-600: #{lighten(colors.$night900, 10%)};
|
|
179
|
-
--uui-color-700: #{colors.$night900};
|
|
180
|
-
--uui-color-800: #{darken(colors.$night900, 10%)};
|
|
181
|
-
--uui-color-900: #{darken(colors.$night900, 20%)};
|
|
182
|
-
--uui-contrast-color-700: #{contrast(colors.$night900, colors.$night700, white)};
|
|
183
|
-
}
|