@agorapulse/ui-theme 17.0.0-beta.2 → 17.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/agorapulse-ui-theme-17.0.0.tgz +0 -0
- package/assets/desktop_variables.css +15 -0
- package/assets/mobile_variables.css +15 -0
- package/assets/style/_colors.scss +1 -1
- package/assets/style/_input.scss +4 -0
- package/assets/style/_select.scss +4 -1
- package/assets/style/components-custom-style/_mat-button.scss +9 -3
- package/package.json +1 -1
- package/src/README.md +4 -0
- package/src/desktop_config.js +1 -6
- package/src/mobile_config.js +1 -6
- package/src/tokens/components/snackbar.json +71 -0
- package/agorapulse-ui-theme-17.0.0-beta.2.tgz +0 -0
|
Binary file
|
|
@@ -482,6 +482,21 @@
|
|
|
482
482
|
--comp-select-search-bar-bottom-link-padding-top: 12px;
|
|
483
483
|
--comp-select-search-bar-bottom-link-padding-bottom: 4px;
|
|
484
484
|
--comp-select-search-bar-bottom-link-border-top-color: #EAECEF;
|
|
485
|
+
--comp-snackbar-text-style-font-family: Averta;
|
|
486
|
+
--comp-snackbar-text-style-size: 14px;
|
|
487
|
+
--comp-snackbar-text-style-font-weight: 400;
|
|
488
|
+
--comp-snackbar-text-style-line-height: 18px;
|
|
489
|
+
--comp-snackbar-text-color: #344563;
|
|
490
|
+
--comp-snackbar-width: 420px;
|
|
491
|
+
--comp-snackbar-border-radius: 8px;
|
|
492
|
+
--comp-snackbar-padding-horizontal: 16px;
|
|
493
|
+
--comp-snackbar-padding-vertical: 12px;
|
|
494
|
+
--comp-snackbar-spacing: 12px;
|
|
495
|
+
--comp-snackbar-success-background-color: #DAF1DD;
|
|
496
|
+
--comp-snackbar-success-icon-color: #0F821D;
|
|
497
|
+
--comp-snackbar-error-background-color: #FAD0D0;
|
|
498
|
+
--comp-snackbar-error-icon-color: #D80505;
|
|
499
|
+
--comp-snackbar-shadow: 0px 7px 50px 0px rgba(0, 0, 0, 0.08);
|
|
485
500
|
--comp-split-button-text-size: 14px;
|
|
486
501
|
--comp-split-button-text-font-family: Averta;
|
|
487
502
|
--comp-split-button-text-weight: 700;
|
|
@@ -482,6 +482,21 @@
|
|
|
482
482
|
--comp-select-search-bar-bottom-link-padding-top: 12px;
|
|
483
483
|
--comp-select-search-bar-bottom-link-padding-bottom: 4px;
|
|
484
484
|
--comp-select-search-bar-bottom-link-border-top-color: #EAECEF;
|
|
485
|
+
--comp-snackbar-text-style-font-family: Averta;
|
|
486
|
+
--comp-snackbar-text-style-size: 14px;
|
|
487
|
+
--comp-snackbar-text-style-font-weight: 400;
|
|
488
|
+
--comp-snackbar-text-style-line-height: 18px;
|
|
489
|
+
--comp-snackbar-text-color: #344563;
|
|
490
|
+
--comp-snackbar-width: 420px;
|
|
491
|
+
--comp-snackbar-border-radius: 8px;
|
|
492
|
+
--comp-snackbar-padding-horizontal: 16px;
|
|
493
|
+
--comp-snackbar-padding-vertical: 12px;
|
|
494
|
+
--comp-snackbar-spacing: 12px;
|
|
495
|
+
--comp-snackbar-success-background-color: #DAF1DD;
|
|
496
|
+
--comp-snackbar-success-icon-color: #0F821D;
|
|
497
|
+
--comp-snackbar-error-background-color: #FAD0D0;
|
|
498
|
+
--comp-snackbar-error-icon-color: #D80505;
|
|
499
|
+
--comp-snackbar-shadow: 0px 7px 50px 0px rgba(0, 0, 0, 0.08);
|
|
485
500
|
--comp-split-button-text-size: 14px;
|
|
486
501
|
--comp-split-button-text-font-family: Averta;
|
|
487
502
|
--comp-split-button-text-weight: 700;
|
package/assets/style/_input.scss
CHANGED
|
@@ -303,7 +303,7 @@
|
|
|
303
303
|
&:not(.multiple) {
|
|
304
304
|
background-color: var(--ref-color-electric-blue-10);
|
|
305
305
|
color: var(--ref-color-electric-blue-150);
|
|
306
|
-
ap-symbol {
|
|
306
|
+
ap-symbol:not(.option-selected) {
|
|
307
307
|
.svg {
|
|
308
308
|
color: var(--ref-color-electric-blue-150);
|
|
309
309
|
}
|
|
@@ -584,6 +584,9 @@
|
|
|
584
584
|
&:active {
|
|
585
585
|
color: var(--ref-color-electric-blue-150);
|
|
586
586
|
}
|
|
587
|
+
span {
|
|
588
|
+
text-align: left;
|
|
589
|
+
}
|
|
587
590
|
}
|
|
588
591
|
}
|
|
589
592
|
|
|
@@ -170,7 +170,9 @@
|
|
|
170
170
|
border-radius: 50%;
|
|
171
171
|
border-top: 2px solid map_get($colors-electric-blue, 100);
|
|
172
172
|
border-right: 2px solid map_get($colors-electric-blue, 100);
|
|
173
|
-
animation:
|
|
173
|
+
animation:
|
|
174
|
+
spin 1s linear infinite,
|
|
175
|
+
fadein 0.4s linear 1 forwards;
|
|
174
176
|
}
|
|
175
177
|
|
|
176
178
|
&.animation-fade-out {
|
|
@@ -179,7 +181,9 @@
|
|
|
179
181
|
}
|
|
180
182
|
|
|
181
183
|
.animation {
|
|
182
|
-
animation:
|
|
184
|
+
animation:
|
|
185
|
+
spin 1s linear infinite,
|
|
186
|
+
fadeout 0.4s linear 1 forwards;
|
|
183
187
|
}
|
|
184
188
|
}
|
|
185
189
|
}
|
|
@@ -429,7 +433,9 @@ button.mat-stroked-button {
|
|
|
429
433
|
&:focus-visible {
|
|
430
434
|
background-color: map_get($colors-purple, 20);
|
|
431
435
|
border: 1px solid map_get($colors-purple, 20);
|
|
432
|
-
box-shadow:
|
|
436
|
+
box-shadow:
|
|
437
|
+
0 0 0 1px $color-white,
|
|
438
|
+
0 0 0 3px map_get($colors-electric-blue, 100);
|
|
433
439
|
}
|
|
434
440
|
&:active {
|
|
435
441
|
background: map_get($colors-purple, 40);
|
package/package.json
CHANGED
package/src/README.md
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
# Agorapulse Style Dictionary
|
|
2
2
|
|
|
3
3
|
To generate the style dictionary based on the config file, you'll have to run the following command:
|
|
4
|
+
|
|
4
5
|
```bash
|
|
5
6
|
style-dictionary build
|
|
6
7
|
```
|
|
7
8
|
|
|
8
9
|
You should see something like this output:
|
|
10
|
+
|
|
9
11
|
```
|
|
10
12
|
Copying starter files...
|
|
11
13
|
|
|
@@ -16,7 +18,9 @@ Running `style-dictionary build` for the first time to generate build artifacts.
|
|
|
16
18
|
css
|
|
17
19
|
✔︎ assets/variables.css
|
|
18
20
|
```
|
|
21
|
+
|
|
19
22
|
If everything goes well, you'll should have the following architecture.
|
|
23
|
+
|
|
20
24
|
```
|
|
21
25
|
├── README.md
|
|
22
26
|
├── config.json
|
package/src/desktop_config.js
CHANGED
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
module.exports = {
|
|
2
|
-
source: [
|
|
3
|
-
'tokens/reference/*.json',
|
|
4
|
-
'tokens/system/*.json',
|
|
5
|
-
'tokens/system/desktop/*.json',
|
|
6
|
-
'tokens/components/*.json',
|
|
7
|
-
],
|
|
2
|
+
source: ['tokens/reference/*.json', 'tokens/system/*.json', 'tokens/system/desktop/*.json', 'tokens/components/*.json'],
|
|
8
3
|
platforms: {
|
|
9
4
|
desktop: {
|
|
10
5
|
transformGroup: 'css',
|
package/src/mobile_config.js
CHANGED
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
module.exports = {
|
|
2
|
-
source: [
|
|
3
|
-
'tokens/reference/*.json',
|
|
4
|
-
'tokens/system/*.json',
|
|
5
|
-
'tokens/system/mobile/*.json',
|
|
6
|
-
'tokens/components/*.json',
|
|
7
|
-
],
|
|
2
|
+
source: ['tokens/reference/*.json', 'tokens/system/*.json', 'tokens/system/mobile/*.json', 'tokens/components/*.json'],
|
|
8
3
|
platforms: {
|
|
9
4
|
mobile: {
|
|
10
5
|
transformGroup: 'css',
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
{
|
|
2
|
+
"comp": {
|
|
3
|
+
"snackbar": {
|
|
4
|
+
"text": {
|
|
5
|
+
"style": {
|
|
6
|
+
"font-family": {
|
|
7
|
+
"value": "{sys.text.style.body.font-family}"
|
|
8
|
+
},
|
|
9
|
+
"size": {
|
|
10
|
+
"value": "{sys.text.style.body.size}"
|
|
11
|
+
},
|
|
12
|
+
"font-weight": {
|
|
13
|
+
"value": "{sys.text.style.body.weight}"
|
|
14
|
+
},
|
|
15
|
+
"line-height": {
|
|
16
|
+
"value": "{sys.text.style.body.line-height}"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"color": {
|
|
20
|
+
"value": "{ref.color.grey.100}"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"width": {
|
|
24
|
+
"value": "420px"
|
|
25
|
+
},
|
|
26
|
+
"border": {
|
|
27
|
+
"radius": {
|
|
28
|
+
"value": "{sys.border.radius.lg}"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"padding": {
|
|
32
|
+
"horizontal": {
|
|
33
|
+
"value": "{ref.spacing.sm}"
|
|
34
|
+
},
|
|
35
|
+
"vertical": {
|
|
36
|
+
"value": "{ref.spacing.xs}"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"spacing": {
|
|
40
|
+
"value": "{ref.spacing.xs}"
|
|
41
|
+
},
|
|
42
|
+
"success": {
|
|
43
|
+
"background": {
|
|
44
|
+
"color": {
|
|
45
|
+
"value": "{ref.color.green.20}"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"icon": {
|
|
49
|
+
"color": {
|
|
50
|
+
"value": "{ref.color.green.150}"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"error": {
|
|
55
|
+
"background": {
|
|
56
|
+
"color": {
|
|
57
|
+
"value": "{ref.color.red.20}"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"icon": {
|
|
61
|
+
"color": {
|
|
62
|
+
"value": "{ref.color.red.150}"
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"shadow": {
|
|
67
|
+
"value": "0px 7px 50px 0px rgba(0, 0, 0, 0.08)"
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
Binary file
|