@1024pix/pix-ui 14.3.1 → 14.6.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/CHANGELOG.md +25 -0
- package/addon/components/pix-collapsible.hbs +3 -1
- package/addon/components/pix-collapsible.js +6 -0
- package/addon/components/pix-stars.hbs +7 -1
- package/addon/styles/_colors.scss +486 -66
- package/addon/styles/_form.scss +15 -16
- package/addon/styles/_pix-background-header.scss +4 -3
- package/addon/styles/_pix-banner.scss +11 -11
- package/addon/styles/_pix-block.scss +5 -5
- package/addon/styles/_pix-button-base.scss +33 -26
- package/addon/styles/_pix-button-link.scss +0 -1
- package/addon/styles/_pix-button.scss +10 -7
- package/addon/styles/_pix-collapsible.scss +11 -10
- package/addon/styles/_pix-dropdown.scss +18 -18
- package/addon/styles/_pix-filter-banner.scss +8 -8
- package/addon/styles/_pix-icon-button.scss +12 -9
- package/addon/styles/_pix-input-code.scss +10 -10
- package/addon/styles/_pix-input-password.scss +6 -6
- package/addon/styles/_pix-input.scss +7 -7
- package/addon/styles/_pix-message.scss +10 -10
- package/addon/styles/_pix-modal.scss +9 -9
- package/addon/styles/_pix-multi-select.scss +27 -28
- package/addon/styles/_pix-pagination.scss +3 -2
- package/addon/styles/_pix-progress-gauge.scss +15 -14
- package/addon/styles/_pix-radio-button.scss +12 -12
- package/addon/styles/_pix-return-to.scss +33 -15
- package/addon/styles/_pix-select.scss +3 -3
- package/addon/styles/_pix-selectable-tag.scss +26 -27
- package/addon/styles/_pix-stars.scss +7 -7
- package/addon/styles/_pix-tag.scss +12 -12
- package/addon/styles/_pix-textarea.scss +4 -4
- package/addon/styles/_pix-tooltip.scss +24 -24
- package/addon/styles/_typography.scss +2 -2
- package/app/stories/pix-input.stories.mdx +27 -0
- package/docs/colors-palette.stories.mdx +239 -0
- package/docs/design-tokens.stories.mdx +60 -0
- package/docs/pix-design-tokens-dev.stories.mdx +1 -1
- package/package.json +1 -1
- package/docs/pix-design-tokens.stories.mdx +0 -23
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
$checkmark-width: 0.625rem;
|
|
2
2
|
$checkmark-width-with-space: $checkmark-width + 0.438rem;
|
|
3
3
|
@mixin checkmarkColor($borderColor) {
|
|
4
|
-
|
|
5
|
-
input[type="checkbox"]:checked + label::before {
|
|
4
|
+
input[type='checkbox']:checked + label::before {
|
|
6
5
|
position: absolute;
|
|
7
6
|
top: 6px;
|
|
8
7
|
left: 8px;
|
|
@@ -13,7 +12,7 @@ $checkmark-width-with-space: $checkmark-width + 0.438rem;
|
|
|
13
12
|
border-top: none;
|
|
14
13
|
border-right: none;
|
|
15
14
|
transform: rotate(-45deg);
|
|
16
|
-
content:
|
|
15
|
+
content: '';
|
|
17
16
|
}
|
|
18
17
|
}
|
|
19
18
|
|
|
@@ -25,9 +24,9 @@ $checkmark-width-with-space: $checkmark-width + 0.438rem;
|
|
|
25
24
|
padding: 3px calc(8px + #{$checkmark-width-with-space} / 2);
|
|
26
25
|
letter-spacing: 0.009rem;
|
|
27
26
|
border-radius: 0.75rem;
|
|
28
|
-
border: $
|
|
29
|
-
color: $
|
|
30
|
-
background-color: $
|
|
27
|
+
border: $pix-neutral-30 solid 1px;
|
|
28
|
+
color: $pix-neutral-60;
|
|
29
|
+
background-color: $pix-neutral-0;
|
|
31
30
|
font-family: $font-roboto;
|
|
32
31
|
font-size: 0.8125rem;
|
|
33
32
|
font-weight: $font-normal;
|
|
@@ -48,23 +47,23 @@ $checkmark-width-with-space: $checkmark-width + 0.438rem;
|
|
|
48
47
|
}
|
|
49
48
|
|
|
50
49
|
&:hover {
|
|
51
|
-
background-color: $
|
|
52
|
-
border: $
|
|
53
|
-
color: $
|
|
50
|
+
background-color: $pix-neutral-22;
|
|
51
|
+
border: $pix-neutral-25 solid 1px;
|
|
52
|
+
color: $pix-neutral-70;
|
|
54
53
|
}
|
|
55
|
-
|
|
54
|
+
|
|
56
55
|
&--checked {
|
|
57
|
-
@include checkmarkColor($
|
|
58
|
-
border: $
|
|
59
|
-
background-color: $
|
|
60
|
-
color: $
|
|
56
|
+
@include checkmarkColor($pix-neutral-70);
|
|
57
|
+
border: $pix-neutral-22 solid 1px;
|
|
58
|
+
background-color: $pix-neutral-20;
|
|
59
|
+
color: $pix-neutral-70;
|
|
61
60
|
padding: 3px 8px;
|
|
62
61
|
|
|
63
62
|
&:hover {
|
|
64
|
-
@include checkmarkColor($
|
|
65
|
-
background-color: $
|
|
66
|
-
border: $
|
|
67
|
-
color: $
|
|
63
|
+
@include checkmarkColor($pix-neutral-70);
|
|
64
|
+
background-color: $pix-neutral-22;
|
|
65
|
+
border: $pix-neutral-25 solid 1px;
|
|
66
|
+
color: $pix-neutral-70;
|
|
68
67
|
}
|
|
69
68
|
|
|
70
69
|
& label {
|
|
@@ -73,18 +72,18 @@ $checkmark-width-with-space: $checkmark-width + 0.438rem;
|
|
|
73
72
|
}
|
|
74
73
|
|
|
75
74
|
&:focus-within {
|
|
76
|
-
@include checkmarkColor($
|
|
77
|
-
background-color: $
|
|
78
|
-
color: $
|
|
79
|
-
box-shadow: 0 0 0 1px $
|
|
80
|
-
border-color: $
|
|
75
|
+
@include checkmarkColor($pix-neutral-0);
|
|
76
|
+
background-color: $pix-neutral-60;
|
|
77
|
+
color: $pix-neutral-0;
|
|
78
|
+
box-shadow: 0 0 0 1px $pix-neutral-60;
|
|
79
|
+
border-color: $pix-neutral-0;
|
|
81
80
|
outline: none;
|
|
82
81
|
|
|
83
82
|
&:hover {
|
|
84
|
-
@include checkmarkColor($
|
|
85
|
-
color: $
|
|
86
|
-
background-color: $
|
|
87
|
-
border: $
|
|
83
|
+
@include checkmarkColor($pix-neutral-70);
|
|
84
|
+
color: $pix-neutral-70;
|
|
85
|
+
background-color: $pix-neutral-22;
|
|
86
|
+
border: $pix-neutral-25 solid 1px;
|
|
88
87
|
}
|
|
89
88
|
}
|
|
90
89
|
}
|
|
@@ -7,19 +7,19 @@
|
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
&--blue > &__acquired {
|
|
10
|
-
fill: $
|
|
10
|
+
fill: $pix-primary;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
&--blue > &__unacquired {
|
|
14
|
-
fill:
|
|
14
|
+
fill: $pix-neutral-15;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
&--grey > &__acquired {
|
|
18
|
-
fill: $
|
|
18
|
+
fill: $pix-neutral-40;
|
|
19
19
|
}
|
|
20
20
|
&--grey > &__unacquired {
|
|
21
|
-
fill:
|
|
22
|
-
stroke: $
|
|
21
|
+
fill: $pix-neutral-0;
|
|
22
|
+
stroke: $pix-neutral-40;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
&__acquired {
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
&__unacquired {
|
|
30
|
-
fill:
|
|
30
|
+
fill: $pix-neutral-15;
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
|
|
@@ -38,6 +38,6 @@
|
|
|
38
38
|
padding: 0;
|
|
39
39
|
margin: -1px;
|
|
40
40
|
overflow: hidden;
|
|
41
|
-
clip: rect(0,0,0,0);
|
|
41
|
+
clip: rect(0, 0, 0, 0);
|
|
42
42
|
border: 0;
|
|
43
43
|
}
|
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
border: 1px solid transparent;
|
|
15
15
|
border-radius: 0.75rem;
|
|
16
16
|
|
|
17
|
-
color: $
|
|
18
|
-
background-color: $
|
|
17
|
+
color: $pix-neutral-0;
|
|
18
|
+
background-color: $pix-primary;
|
|
19
19
|
|
|
20
20
|
&--blue-light {
|
|
21
|
-
color: darken($
|
|
22
|
-
background-color: lighten($
|
|
21
|
+
color: darken($pix-primary, 10%);
|
|
22
|
+
background-color: lighten($pix-primary, 30%);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
&--green {
|
|
@@ -41,13 +41,13 @@
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
&--yellow {
|
|
44
|
-
color: $
|
|
45
|
-
background-color: $
|
|
44
|
+
color: $pix-neutral-90;
|
|
45
|
+
background-color: $pix-warning-40;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
&--yellow-light {
|
|
49
|
-
color: darken($
|
|
50
|
-
background-color: lighten($
|
|
49
|
+
color: darken($pix-warning-40, 25%);
|
|
50
|
+
background-color: lighten($pix-warning-40, 35%);
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
&--orange {
|
|
@@ -60,13 +60,13 @@
|
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
&--grey {
|
|
63
|
-
color: $
|
|
64
|
-
background-color: $
|
|
63
|
+
color: $pix-neutral-15;
|
|
64
|
+
background-color: $pix-neutral-60;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
&--grey-light {
|
|
68
|
-
color: $
|
|
69
|
-
background-color: $
|
|
68
|
+
color: $pix-neutral-60;
|
|
69
|
+
background-color: $pix-neutral-15;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
&--compact {
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
|
|
4
4
|
textarea {
|
|
5
5
|
width: 100%;
|
|
6
|
-
border: 1px solid $
|
|
6
|
+
border: 1px solid $pix-neutral-40;
|
|
7
7
|
border-style: solid;
|
|
8
8
|
border-radius: 4px;
|
|
9
9
|
padding: 10px 16px;
|
|
10
10
|
font-family: $font-roboto;
|
|
11
|
-
color: $
|
|
11
|
+
color: $pix-neutral-90;
|
|
12
12
|
font-size: 0.875rem;
|
|
13
13
|
resize: vertical;
|
|
14
14
|
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
p {
|
|
24
|
-
color: $
|
|
24
|
+
color: $pix-neutral-45;
|
|
25
25
|
margin-top: 6px;
|
|
26
26
|
font-size: 12px;
|
|
27
27
|
display: flex;
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
margin-bottom: 0;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
&__label{
|
|
32
|
+
&__label {
|
|
33
33
|
@include label();
|
|
34
34
|
}
|
|
35
35
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
align-items: center;
|
|
8
8
|
|
|
9
9
|
& > *:first-child:hover + .pix-tooltip__content,
|
|
10
|
-
& > *:first-child:focus + .pix-tooltip__content{
|
|
10
|
+
& > *:first-child:focus + .pix-tooltip__content {
|
|
11
11
|
display: block;
|
|
12
12
|
opacity: 1;
|
|
13
13
|
}
|
|
@@ -17,12 +17,12 @@
|
|
|
17
17
|
display: none;
|
|
18
18
|
opacity: 0;
|
|
19
19
|
pointer-events: none;
|
|
20
|
-
background-color: $
|
|
20
|
+
background-color: $pix-neutral-100;
|
|
21
21
|
position: absolute;
|
|
22
22
|
z-index: 100;
|
|
23
23
|
padding: 8px 16px;
|
|
24
24
|
left: auto;
|
|
25
|
-
color: $
|
|
25
|
+
color: $pix-neutral-0;
|
|
26
26
|
font-family: $font-roboto;
|
|
27
27
|
font-size: 0.875rem;
|
|
28
28
|
border-radius: 6px;
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
&::before {
|
|
37
|
-
content:
|
|
37
|
+
content: '';
|
|
38
38
|
position: absolute;
|
|
39
39
|
border-width: 5px;
|
|
40
40
|
border-style: solid;
|
|
@@ -46,15 +46,15 @@
|
|
|
46
46
|
|
|
47
47
|
&--light {
|
|
48
48
|
font-weight: $font-medium;
|
|
49
|
-
background-color: $
|
|
50
|
-
color: $
|
|
51
|
-
box-shadow: 0px 6px 24px 0px rgba($
|
|
49
|
+
background-color: $pix-neutral-0;
|
|
50
|
+
color: $pix-neutral-60;
|
|
51
|
+
box-shadow: 0px 6px 24px 0px rgba($pix-neutral-70, 0.14);
|
|
52
52
|
|
|
53
53
|
&::before {
|
|
54
54
|
border-width: 0px;
|
|
55
55
|
height: 8px;
|
|
56
56
|
width: 8px;
|
|
57
|
-
background-color: $
|
|
57
|
+
background-color: $pix-neutral-0;
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
}
|
|
@@ -65,13 +65,13 @@
|
|
|
65
65
|
&::before {
|
|
66
66
|
top: calc(50% - 5px); // 50% is the height of the parent and 5px the height of the triangle
|
|
67
67
|
left: -10px; // 10px is width of the ::before elmt
|
|
68
|
-
border-color: transparent $
|
|
68
|
+
border-color: transparent $pix-neutral-100 transparent transparent;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
&.pix-tooltip__content--light::before {
|
|
72
72
|
left: -5px;
|
|
73
73
|
transform: rotate(315deg);
|
|
74
|
-
border-color: $
|
|
74
|
+
border-color: $pix-neutral-40 transparent transparent $pix-neutral-40;
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
|
|
@@ -83,13 +83,13 @@
|
|
|
83
83
|
&::before {
|
|
84
84
|
top: 100%;
|
|
85
85
|
left: calc(50% - 5px);
|
|
86
|
-
border-color: $
|
|
86
|
+
border-color: $pix-neutral-100 transparent transparent transparent;
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
&.pix-tooltip__content--light::before {
|
|
90
90
|
top: calc(100% - 5px);
|
|
91
91
|
transform: rotate(225deg);
|
|
92
|
-
border-color: $
|
|
92
|
+
border-color: $pix-neutral-40 transparent transparent $pix-neutral-40;
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
|
|
@@ -100,14 +100,14 @@
|
|
|
100
100
|
&::before {
|
|
101
101
|
top: 100%;
|
|
102
102
|
left: calc(100% - 27px);
|
|
103
|
-
border-color: $
|
|
103
|
+
border-color: $pix-neutral-100 transparent transparent transparent;
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
&.pix-tooltip__content--light::before {
|
|
107
107
|
top: calc(100% - 5px);
|
|
108
108
|
left: calc(100% - 26px);
|
|
109
109
|
transform: rotate(225deg);
|
|
110
|
-
border-color: $
|
|
110
|
+
border-color: $pix-neutral-40 transparent transparent $pix-neutral-40;
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
|
|
@@ -117,13 +117,13 @@
|
|
|
117
117
|
|
|
118
118
|
&::before {
|
|
119
119
|
top: 100%;
|
|
120
|
-
border-color: $
|
|
120
|
+
border-color: $pix-neutral-100 transparent transparent transparent;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
&.pix-tooltip__content--light::before {
|
|
124
124
|
top: calc(100% - 5px);
|
|
125
125
|
transform: rotate(225deg);
|
|
126
|
-
border-color: $
|
|
126
|
+
border-color: $pix-neutral-40 transparent transparent $pix-neutral-40;
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
129
|
|
|
@@ -135,13 +135,13 @@
|
|
|
135
135
|
&::before {
|
|
136
136
|
top: -10px;
|
|
137
137
|
left: calc(50% - 5px);
|
|
138
|
-
border-color: transparent transparent $
|
|
138
|
+
border-color: transparent transparent $pix-neutral-100 transparent;
|
|
139
139
|
}
|
|
140
140
|
|
|
141
141
|
&.pix-tooltip__content--light::before {
|
|
142
142
|
top: -5px;
|
|
143
143
|
transform: rotate(45deg);
|
|
144
|
-
border-color: $
|
|
144
|
+
border-color: $pix-neutral-40 transparent transparent $pix-neutral-40;
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
147
|
|
|
@@ -152,14 +152,14 @@
|
|
|
152
152
|
&::before {
|
|
153
153
|
top: -10px;
|
|
154
154
|
left: calc(100% - 27px);
|
|
155
|
-
border-color: transparent transparent $
|
|
155
|
+
border-color: transparent transparent $pix-neutral-100 transparent;
|
|
156
156
|
}
|
|
157
157
|
|
|
158
158
|
&.pix-tooltip__content--light::before {
|
|
159
159
|
top: -5px;
|
|
160
160
|
left: calc(100% - 26px);
|
|
161
161
|
transform: rotate(45deg);
|
|
162
|
-
border-color: $
|
|
162
|
+
border-color: $pix-neutral-40 transparent transparent $pix-neutral-40;
|
|
163
163
|
}
|
|
164
164
|
}
|
|
165
165
|
|
|
@@ -169,13 +169,13 @@
|
|
|
169
169
|
|
|
170
170
|
&::before {
|
|
171
171
|
top: -10px;
|
|
172
|
-
border-color: transparent transparent $
|
|
172
|
+
border-color: transparent transparent $pix-neutral-100 transparent;
|
|
173
173
|
}
|
|
174
174
|
|
|
175
175
|
&.pix-tooltip__content--light::before {
|
|
176
176
|
top: -5px;
|
|
177
177
|
transform: rotate(45deg);
|
|
178
|
-
border-color: $
|
|
178
|
+
border-color: $pix-neutral-40 transparent transparent $pix-neutral-40;
|
|
179
179
|
}
|
|
180
180
|
}
|
|
181
181
|
|
|
@@ -185,12 +185,12 @@
|
|
|
185
185
|
&::before {
|
|
186
186
|
top: calc(50% - 5px);
|
|
187
187
|
right: -10px;
|
|
188
|
-
border-color: transparent transparent transparent $
|
|
188
|
+
border-color: transparent transparent transparent $pix-neutral-100;
|
|
189
189
|
}
|
|
190
190
|
|
|
191
191
|
&.pix-tooltip__content--light::before {
|
|
192
192
|
right: -5px;
|
|
193
193
|
transform: rotate(135deg);
|
|
194
|
-
border-color: $
|
|
194
|
+
border-color: $pix-neutral-40 transparent transparent $pix-neutral-40;
|
|
195
195
|
}
|
|
196
196
|
}
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
|
|
105
105
|
a {
|
|
106
106
|
font-weight: $font-medium;
|
|
107
|
-
color: $
|
|
107
|
+
color: $pix-primary;
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
@mixin text-link() {
|
|
117
117
|
@include text;
|
|
118
118
|
font-weight: $font-medium;
|
|
119
|
-
color: $
|
|
119
|
+
color: $pix-primary;
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
@mixin text-small() {
|
|
@@ -20,6 +20,33 @@ Si vous utilisez le `PixInput` sans label alors il faut renseigner le paramètre
|
|
|
20
20
|
|
|
21
21
|
> Si vous renseignez les paramètres label et ariaLabel ensemble, ariaLabel sera nullifié.
|
|
22
22
|
|
|
23
|
+
Pour acceder à l'élément via son label/aria-label avec testing-library:
|
|
24
|
+
|
|
25
|
+
```html
|
|
26
|
+
<PixInput
|
|
27
|
+
@id='firstName'
|
|
28
|
+
@label='Prénom'
|
|
29
|
+
/>
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
```javascript
|
|
33
|
+
screen.getByLabelText('Prénom')
|
|
34
|
+
````
|
|
35
|
+
|
|
36
|
+
Si le paramètre @information est utilisé, il faudra concatener les valeurs de `@label`/`@ariaLabel` et `@information`
|
|
37
|
+
|
|
38
|
+
```html
|
|
39
|
+
<PixInput
|
|
40
|
+
@id='firstName'
|
|
41
|
+
@label='Prénom'
|
|
42
|
+
@information='exemple: Barry'
|
|
43
|
+
/>
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
```javascript
|
|
47
|
+
screen.getByLabelText('Prénom exemple: Barry')
|
|
48
|
+
````
|
|
49
|
+
|
|
23
50
|
|
|
24
51
|
## Default
|
|
25
52
|
|
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
<!-- Colors.stories.mdx -->
|
|
2
|
+
|
|
3
|
+
import { Meta, ColorPalette, ColorItem } from '@storybook/addon-docs';
|
|
4
|
+
|
|
5
|
+
<Meta title="Utiliser Pix UI/Design Tokens/Palette de couleurs" />
|
|
6
|
+
|
|
7
|
+
# Palette de couleurs
|
|
8
|
+
|
|
9
|
+
> Pour infos :
|
|
10
|
+
>
|
|
11
|
+
> Cette page permet de connaitre les couleurs qui sont disponibles dans `Pix-UI`. [Figma](https://www.figma.com/file/8RJ3aCSfdeQ8AZZVBBYKS8/Design-System-Pix?node-id=16%3A2) reste la source de vérité des couleurs du design system de `Pix`.
|
|
12
|
+
>
|
|
13
|
+
> Les variables SCSS présentes dans le fichier `_colors.scss` reprennent les noms des symboles utilisés sur les maquettes dans Figma,
|
|
14
|
+
> on préconise d'utiliser ses noms de variables plutôt que le code hexa.
|
|
15
|
+
|
|
16
|
+
#### SOLID
|
|
17
|
+
|
|
18
|
+
<ColorPalette>
|
|
19
|
+
<ColorItem
|
|
20
|
+
title="Pix Primary"
|
|
21
|
+
subtitle="$pix-primary-"
|
|
22
|
+
colors={{ 5: '#f2f9ff',
|
|
23
|
+
10: '#dcf1ff',
|
|
24
|
+
20: '#c4e6ff',
|
|
25
|
+
30: '#88beff',
|
|
26
|
+
40: '#5b94ff',
|
|
27
|
+
Primary: '#3d68ff',
|
|
28
|
+
60: '#2044dc',
|
|
29
|
+
70: '#0d25b3',
|
|
30
|
+
80: '#000e87'}}
|
|
31
|
+
/>
|
|
32
|
+
<ColorItem
|
|
33
|
+
title="Pix Secondary"
|
|
34
|
+
subtitle="$pix-secondary-"
|
|
35
|
+
colors={{ 5: '#fff9e6',
|
|
36
|
+
10: '#ffeeb3',
|
|
37
|
+
20: '#ffe381',
|
|
38
|
+
Secondary: '#ffd235',
|
|
39
|
+
40: '#ffbe00',
|
|
40
|
+
50: '#eaa600',
|
|
41
|
+
60: '#ce8900',
|
|
42
|
+
70: '#a95800',
|
|
43
|
+
80: '#874d00'}}
|
|
44
|
+
/>
|
|
45
|
+
<ColorItem
|
|
46
|
+
title="Pix Secondary Certif"
|
|
47
|
+
subtitle="$pix-secondary-certif-"
|
|
48
|
+
colors={{ 5: '#ccf6f5',
|
|
49
|
+
10: '#9aedeb',
|
|
50
|
+
20: '#67e4e0',
|
|
51
|
+
30: '#34dbd6',
|
|
52
|
+
SecondaryCertif: '#20b4af',
|
|
53
|
+
50: '#17817e',
|
|
54
|
+
60:' #126765',
|
|
55
|
+
70: '#0e4d4c',
|
|
56
|
+
80: '#093432'}}
|
|
57
|
+
/>
|
|
58
|
+
<ColorItem
|
|
59
|
+
title="Pix Secondary Orga"
|
|
60
|
+
subtitle="$pix-secondary-orga-"
|
|
61
|
+
colors={{ 5: '#d5f9ff',
|
|
62
|
+
10: '#aaf4ff',
|
|
63
|
+
20: '#80eeff',
|
|
64
|
+
30: '#55e8ff',
|
|
65
|
+
SecondaryOrga: '#00ddff',
|
|
66
|
+
50: '#00c1df',
|
|
67
|
+
60: '#00a6bf',
|
|
68
|
+
70: '#008a9f',
|
|
69
|
+
80: '#006e80'}}
|
|
70
|
+
/>
|
|
71
|
+
<ColorItem
|
|
72
|
+
title="Pix Tertiary"
|
|
73
|
+
subtitle="$pix-tertiary-"
|
|
74
|
+
colors={{ 5: '#ebe1ff',
|
|
75
|
+
10: '#d8c2ff',
|
|
76
|
+
20: '#c4a4ff',
|
|
77
|
+
30: '#b186ff',
|
|
78
|
+
Tertiary: '#9d67ff',
|
|
79
|
+
50: '#8a49ff',
|
|
80
|
+
60: '#6712ff',
|
|
81
|
+
70: '#4e00db',
|
|
82
|
+
80: '#3b00a4'}}
|
|
83
|
+
/>
|
|
84
|
+
<ColorItem
|
|
85
|
+
title="Pix Success"
|
|
86
|
+
subtitle="$pix-success-"
|
|
87
|
+
colors={{5: '#ecfdf5',
|
|
88
|
+
10: '#d1fae5',
|
|
89
|
+
20: '#a7f3d0',
|
|
90
|
+
30: '#6ee7b7',
|
|
91
|
+
40: '#34d399',
|
|
92
|
+
50: '#27b481',
|
|
93
|
+
60: '#14865d',
|
|
94
|
+
70: '#176c4d',
|
|
95
|
+
80: '#104834'}}
|
|
96
|
+
/>
|
|
97
|
+
<ColorItem
|
|
98
|
+
title="Pix Warning"
|
|
99
|
+
subtitle="$pix-warning-"
|
|
100
|
+
colors={{5: '#fff9e6',
|
|
101
|
+
10: '#fff1c5',
|
|
102
|
+
20: '#ffe381',
|
|
103
|
+
30: '#ffd235',
|
|
104
|
+
40: '#ffbe00',
|
|
105
|
+
50: '#eaa600',
|
|
106
|
+
60: '#ce8900',
|
|
107
|
+
70: '#ac6a00',
|
|
108
|
+
80: '#874d00'}}
|
|
109
|
+
/>
|
|
110
|
+
<ColorItem
|
|
111
|
+
title="Pix Error"
|
|
112
|
+
subtitle="$pix-error-"
|
|
113
|
+
colors={{5: '#fef2f2',
|
|
114
|
+
10: '#fee2e2',
|
|
115
|
+
20: '#fecaca',
|
|
116
|
+
30: '#fca5a5',
|
|
117
|
+
40: '#f87171',
|
|
118
|
+
50: '#ef4444',
|
|
119
|
+
60: '#dc2626',
|
|
120
|
+
70: '#b91c1c',
|
|
121
|
+
80: '#991b1b'}}
|
|
122
|
+
/>
|
|
123
|
+
<ColorItem
|
|
124
|
+
title="Pix Neutral ( 0 - 40 )"
|
|
125
|
+
subtitle="$pix-neutral-"
|
|
126
|
+
colors={{0: '#ffffff',
|
|
127
|
+
5: '#fafbfc',
|
|
128
|
+
10: '#f4f5f7',
|
|
129
|
+
15: '#eaecf0',
|
|
130
|
+
20: '#dfe1e6',
|
|
131
|
+
22: '#c1c7d0',
|
|
132
|
+
25: '#a5adba',
|
|
133
|
+
30: '#97a0af',
|
|
134
|
+
35: '#8993a4',
|
|
135
|
+
40: '#7a869a'}}
|
|
136
|
+
/>
|
|
137
|
+
<ColorItem
|
|
138
|
+
title="Pix Neutral ( 45 - 110 )"
|
|
139
|
+
subtitle="$pix-neutral-"
|
|
140
|
+
colors={{45: '#6b778c',
|
|
141
|
+
50: '#5e6c84',
|
|
142
|
+
60: '#505f79',
|
|
143
|
+
70: '#344563',
|
|
144
|
+
80: '#253858',
|
|
145
|
+
90: '#172b4d',
|
|
146
|
+
100: '#091e42',
|
|
147
|
+
110: '#07142e'}}
|
|
148
|
+
/>
|
|
149
|
+
<ColorItem
|
|
150
|
+
title="Pix Shades"
|
|
151
|
+
subtitle="$pix-shades-"
|
|
152
|
+
colors={{100: '#000000'}}
|
|
153
|
+
/>
|
|
154
|
+
<ColorItem
|
|
155
|
+
title="Pix Domain Information"
|
|
156
|
+
subtitle="$pix-information-"
|
|
157
|
+
colors={{Dark: '#f24645',
|
|
158
|
+
Light: '#f1a141'}}
|
|
159
|
+
/>
|
|
160
|
+
<ColorItem
|
|
161
|
+
title="Pix Domain Content"
|
|
162
|
+
subtitle="$pix-content-"
|
|
163
|
+
colors={{Dark: '#1a8c89',
|
|
164
|
+
Light: '#52d987'}}
|
|
165
|
+
/>
|
|
166
|
+
<ColorItem
|
|
167
|
+
title="Pix Domain Communication"
|
|
168
|
+
subtitle="$pix-communication-"
|
|
169
|
+
colors={{Dark: '#3d68ff',
|
|
170
|
+
Light: '#12a3ff'}}
|
|
171
|
+
/>
|
|
172
|
+
<ColorItem
|
|
173
|
+
title="Pix Domain Security"
|
|
174
|
+
subtitle="$pix-security-"
|
|
175
|
+
colors={{Dark: '#ac008d',
|
|
176
|
+
Light: '#ff3f94'}}
|
|
177
|
+
/>
|
|
178
|
+
<ColorItem
|
|
179
|
+
title="Pix Domain Environment"
|
|
180
|
+
subtitle="$pix-environment-"
|
|
181
|
+
colors={{Dark: '#5e2563',
|
|
182
|
+
Light: '#564da6'}}
|
|
183
|
+
/>
|
|
184
|
+
</ColorPalette>
|
|
185
|
+
|
|
186
|
+
#### GRADIENT
|
|
187
|
+
|
|
188
|
+
<ColorPalette>
|
|
189
|
+
<ColorItem
|
|
190
|
+
title="Primary Pix App"
|
|
191
|
+
subtitle="$pix-primary-app-gradient"
|
|
192
|
+
colors={{ PrimaryPixApp: 'linear-gradient(91.59deg, #3d68ff 0%, #8845ff 100%)'}}
|
|
193
|
+
/>
|
|
194
|
+
<ColorItem
|
|
195
|
+
title="Secondary Pix App"
|
|
196
|
+
subtitle="$pix-secondary-app-gradient"
|
|
197
|
+
colors={{ SecondaryPixAppGradient: 'linear-gradient(91.59deg, #fedc41 0%, #ff9f00 100%)'}}
|
|
198
|
+
/>
|
|
199
|
+
<ColorItem
|
|
200
|
+
title="Primary Certif"
|
|
201
|
+
subtitle="$pix-primary-certif-gradient"
|
|
202
|
+
colors={{ PrimaryCertif: 'linear-gradient(91.59deg, #52d987 0%, #1a8c89 100%)'}}
|
|
203
|
+
/>
|
|
204
|
+
<ColorItem
|
|
205
|
+
title="Primary Orga"
|
|
206
|
+
subtitle="$pix-primary-orga-gradient"
|
|
207
|
+
colors={{ PrimaryOrga: 'linear-gradient(91.59deg, #00ddff 0%, #0095c0 100%)'}}
|
|
208
|
+
/>
|
|
209
|
+
<ColorItem
|
|
210
|
+
title="Secondary Orga"
|
|
211
|
+
subtitle="$pix-primary-secondary-gradient"
|
|
212
|
+
colors={{SecondaryOrga: 'linear-gradient(91.59deg, #0d7dc4 0%, #213371 100%)'}}
|
|
213
|
+
/>
|
|
214
|
+
<ColorItem
|
|
215
|
+
title="Domain Information"
|
|
216
|
+
subtitle="$pix-information-gradient"
|
|
217
|
+
colors={{DomainInformation: 'linear-gradient(180deg, #f24645 0%, #f1a141 100%)'}}
|
|
218
|
+
/>
|
|
219
|
+
<ColorItem
|
|
220
|
+
title="Domain Content"
|
|
221
|
+
subtitle="$pix-content-gradient"
|
|
222
|
+
colors={{DomainContent: 'linear-gradient(180deg, #1a8c89 0%, #52d987 100%)'}}
|
|
223
|
+
/>
|
|
224
|
+
<ColorItem
|
|
225
|
+
title="Domain Communication"
|
|
226
|
+
subtitle="$pix-communication-gradient"
|
|
227
|
+
colors={{DomainCommunication: 'linear-gradient(180deg, #3d68ff 0%, #12a3ff 100%)'}}
|
|
228
|
+
/>
|
|
229
|
+
<ColorItem
|
|
230
|
+
title="Domain Security"
|
|
231
|
+
subtitle="$pix-security-gradient"
|
|
232
|
+
colors={{DomainSecurity: 'linear-gradient(180deg, #ac008d 0%, #ff3f94 100%)'}}
|
|
233
|
+
/>
|
|
234
|
+
<ColorItem
|
|
235
|
+
title="Domain Environment"
|
|
236
|
+
subtitle="$pix-environment-gradient"
|
|
237
|
+
colors={{DomainEnvironment: 'linear-gradient(180deg, #5e2563 0%, #564da6 100%)'}}
|
|
238
|
+
/>
|
|
239
|
+
</ColorPalette>
|