@webitel/styleguide 24.12.60 → 24.12.62
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 +1 -1
- package/src/lib/primevue/components/avatar/colors/dark/index.ts +15 -14
- package/src/lib/primevue/components/avatar/colors/light/index.ts +15 -14
- package/src/lib/primevue/components/avatar/sizes/index.ts +22 -17
- package/src/lib/primevue/components/index.ts +2 -0
- package/src/lib/primevue/components/menubar/colors/dark/index.ts +2 -2
- package/src/lib/primevue/components/menubar/colors/light/index.ts +2 -2
- package/src/lib/primevue/components/menubar/sizes/index.ts +3 -3
- package/src/lib/primevue/components/switcher/colors/dark/index.ts +32 -0
- package/src/lib/primevue/components/switcher/colors/index.ts +9 -0
- package/src/lib/primevue/components/switcher/colors/light/index.ts +32 -0
- package/src/lib/primevue/components/switcher/index.ts +9 -0
- package/src/lib/primevue/components/switcher/sizes/index.ts +17 -0
- package/src/lib/primevue/semantic/color-scheme/form-field/dark/index.ts +1 -1
- package/src/lib/primevue/semantic/color-scheme/form-field/light/index.ts +1 -1
- package/src/lib/primevue/semantic/color-scheme/text/dark/index.ts +2 -1
- package/src/lib/primevue/semantic/color-scheme/text/light/index.ts +2 -1
package/package.json
CHANGED
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
root: {
|
|
3
3
|
background: '{content.border.color}',
|
|
4
|
-
color: '{
|
|
4
|
+
color: '{text.avatar.color}',
|
|
5
5
|
},
|
|
6
6
|
letters: {
|
|
7
|
-
'p1-color': '{
|
|
8
|
-
'p2-color': '{
|
|
9
|
-
'p3-color': '{
|
|
10
|
-
'p4-color': '{
|
|
11
|
-
'p5-color': '{
|
|
12
|
-
'p6-color': '{
|
|
13
|
-
'p7-color': '{
|
|
14
|
-
'p8-color': '{red.
|
|
15
|
-
'p9-color': '{
|
|
16
|
-
'p10-color': '{
|
|
17
|
-
'p11-color': '{
|
|
18
|
-
'p12-color': '{
|
|
19
|
-
'p13-color': '{
|
|
7
|
+
'p1-color': 'linear-gradient(45deg, {deep-purple.700}, {deep-purple.350})',
|
|
8
|
+
'p2-color': 'linear-gradient(45deg, {indigo.550}, {indigo.300})',
|
|
9
|
+
'p3-color': 'linear-gradient(45deg, {deep-purple.350}, {cyan.250})',
|
|
10
|
+
'p4-color': 'linear-gradient(45deg, {deep-purple.500}, {green.500})',
|
|
11
|
+
'p5-color': 'linear-gradient(45deg, {green.300}, {pink.350})',
|
|
12
|
+
'p6-color': 'linear-gradient(45deg, {purple.550}, {pink.450})',
|
|
13
|
+
'p7-color': 'linear-gradient(45deg, {pink.450}, {pink.200})',
|
|
14
|
+
'p8-color': 'linear-gradient(45deg, {red.500}, {amber.500})',
|
|
15
|
+
'p9-color': 'linear-gradient(45deg, {blue.450}, {light-green.450})',
|
|
16
|
+
'p10-color': 'linear-gradient(45deg, {green.550}, {teal.200})',
|
|
17
|
+
'p11-color': 'linear-gradient(45deg, {amber.500}, {green.500})',
|
|
18
|
+
'p12-color': 'linear-gradient(45deg, {green.500}, {indigo.500})',
|
|
19
|
+
'p13-color': 'linear-gradient(45deg, {orange.400}, {amber.200})',
|
|
20
|
+
'p14-color': 'linear-gradient(45deg, {amber.400}, {lime.350})',
|
|
20
21
|
}
|
|
21
22
|
}
|
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
root: {
|
|
3
3
|
background: '{content.border.color}',
|
|
4
|
-
color: '{
|
|
4
|
+
color: '{text.avatar.color}',
|
|
5
5
|
},
|
|
6
6
|
letters: {
|
|
7
|
-
'p1-color': '{
|
|
8
|
-
'p2-color': '{
|
|
9
|
-
'p3-color': '{
|
|
10
|
-
'p4-color': '{
|
|
11
|
-
'p5-color': '{
|
|
12
|
-
'p6-color': '{
|
|
13
|
-
'p7-color': '{
|
|
14
|
-
'p8-color': '{
|
|
15
|
-
'p9-color': '{blue.
|
|
16
|
-
'p10-color': '{
|
|
17
|
-
'p11-color': '{
|
|
18
|
-
'p12-color': '{
|
|
19
|
-
'p13-color': '{
|
|
7
|
+
'p1-color': 'linear-gradient(45deg, {deep-purple.700}, {deep-purple.350})',
|
|
8
|
+
'p2-color': 'linear-gradient(45deg, {indigo.550}, {indigo.300})',
|
|
9
|
+
'p3-color': 'linear-gradient(45deg, {deep-purple.350}, {cyan.250})',
|
|
10
|
+
'p4-color': 'linear-gradient(45deg, {deep-purple.500}, {green.500})',
|
|
11
|
+
'p5-color': 'linear-gradient(45deg, {green.300}, {pink.350})',
|
|
12
|
+
'p6-color': 'linear-gradient(45deg, {purple.550}, {pink.450})',
|
|
13
|
+
'p7-color': 'linear-gradient(45deg, {pink.450}, {pink.200})',
|
|
14
|
+
'p8-color': 'linear-gradient(45deg, {red.500}, {amber.500})',
|
|
15
|
+
'p9-color': 'linear-gradient(45deg, {blue.450}, {light-green.450})',
|
|
16
|
+
'p10-color': 'linear-gradient(45deg, {green.550}, {teal.200})',
|
|
17
|
+
'p11-color': 'linear-gradient(45deg, {amber.500}, {green.500})',
|
|
18
|
+
'p12-color': 'linear-gradient(45deg, {green.500}, {indigo.500})',
|
|
19
|
+
'p13-color': 'linear-gradient(45deg, {orange.400}, {amber.200})',
|
|
20
|
+
'p14-color': 'linear-gradient(45deg, {amber.400}, {lime.350})',
|
|
20
21
|
}
|
|
21
22
|
}
|
|
@@ -4,39 +4,44 @@ const sizes = {
|
|
|
4
4
|
fontSize: '1rem',
|
|
5
5
|
borderRadius: '{content.border.radius}',
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
'2xs': {
|
|
8
8
|
width: '1rem',
|
|
9
9
|
height: '1rem',
|
|
10
|
-
fontSize: '0.
|
|
10
|
+
fontSize: '0.4rem',
|
|
11
11
|
},
|
|
12
|
-
|
|
12
|
+
xs: {
|
|
13
13
|
width: '1.5rem',
|
|
14
14
|
height: '1.5rem',
|
|
15
|
-
fontSize: '0.
|
|
15
|
+
fontSize: '0.6rem',
|
|
16
16
|
},
|
|
17
|
-
|
|
17
|
+
sm: {
|
|
18
18
|
width: '2rem',
|
|
19
19
|
height: '2rem',
|
|
20
|
-
fontSize: '
|
|
20
|
+
fontSize: '0.75rem',
|
|
21
|
+
},
|
|
22
|
+
md: {
|
|
23
|
+
width: '2.5rem',
|
|
24
|
+
height: '2.5rem',
|
|
25
|
+
fontSize: '0.875rem',
|
|
21
26
|
},
|
|
22
27
|
lg: {
|
|
23
|
-
width: '
|
|
24
|
-
height: '
|
|
25
|
-
fontSize: '1.
|
|
28
|
+
width: '3.5rem',
|
|
29
|
+
height: '3.5rem',
|
|
30
|
+
fontSize: '1.25rem',
|
|
26
31
|
},
|
|
27
32
|
xl: {
|
|
28
|
-
width: '
|
|
29
|
-
height: '
|
|
30
|
-
fontSize: '
|
|
33
|
+
width: '4.5rem',
|
|
34
|
+
height: '4.5rem',
|
|
35
|
+
fontSize: '1.5rem',
|
|
31
36
|
},
|
|
32
37
|
'2xl': {
|
|
33
|
-
width: '5rem',
|
|
34
|
-
height: '5rem',
|
|
35
|
-
fontSize: '2.5rem',
|
|
36
|
-
},
|
|
37
|
-
'3xl': {
|
|
38
38
|
width: '6rem',
|
|
39
39
|
height: '6rem',
|
|
40
|
+
fontSize: '2.25rem',
|
|
41
|
+
},
|
|
42
|
+
'3xl': {
|
|
43
|
+
width: '8rem',
|
|
44
|
+
height: '8rem',
|
|
40
45
|
fontSize: '3rem',
|
|
41
46
|
},
|
|
42
47
|
};
|
|
@@ -7,6 +7,7 @@ import ToolbarScheme from './toolbar';
|
|
|
7
7
|
import ChipScheme from "./chip";
|
|
8
8
|
import CheckboxScheme from "./checkbox";
|
|
9
9
|
import TableScheme from "./table";
|
|
10
|
+
import SwitcherScheme from "./switcher";
|
|
10
11
|
import DividerScheme from "./divider";
|
|
11
12
|
import SliderScheme from "./slider";
|
|
12
13
|
import BreadcrumbScheme from "./breadcrumb";
|
|
@@ -22,6 +23,7 @@ export {
|
|
|
22
23
|
ChipScheme,
|
|
23
24
|
CheckboxScheme,
|
|
24
25
|
TableScheme,
|
|
26
|
+
SwitcherScheme,
|
|
25
27
|
DividerScheme,
|
|
26
28
|
SliderScheme,
|
|
27
29
|
BreadcrumbScheme,
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
const darkColors = {
|
|
2
|
+
root: {
|
|
3
|
+
shadow: '{form.field.shadow}',
|
|
4
|
+
focusRing: {
|
|
5
|
+
color: '{focus.ring.color}',
|
|
6
|
+
shadow: '{focus.ring.shadow}'
|
|
7
|
+
},
|
|
8
|
+
borderColor: 'transparent',
|
|
9
|
+
hoverBorderColor: 'transparent',
|
|
10
|
+
checkedBorderColor: 'transparent',
|
|
11
|
+
checkedHoverBorderColor: 'transparent',
|
|
12
|
+
invalidBorderColor: '{form.field.invalid.border.color}',
|
|
13
|
+
background: '{surface.450}',
|
|
14
|
+
disabledBackground: '{surface.650}',
|
|
15
|
+
hoverBackground: '{surface.350}',
|
|
16
|
+
checkedBackground: '{primary.color}',
|
|
17
|
+
checkedHoverBackground: '{primary.hover.color}'
|
|
18
|
+
},
|
|
19
|
+
handle: {
|
|
20
|
+
background: '{surface.850}',
|
|
21
|
+
disabledBackground: '{surface.750}',
|
|
22
|
+
hoverBackground: '{surface.750}',
|
|
23
|
+
checkedBackground: '{surface.800}',
|
|
24
|
+
checkedHoverBackground: '{surface.700}',
|
|
25
|
+
color: '{text.muted.color}',
|
|
26
|
+
hoverColor: '{text.color}',
|
|
27
|
+
checkedColor: '{primary.color}',
|
|
28
|
+
checkedHoverColor: '{primary.hover.color}'
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export default darkColors
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
const lightColors = {
|
|
2
|
+
root: {
|
|
3
|
+
shadow: '{form.field.shadow}',
|
|
4
|
+
focusRing: {
|
|
5
|
+
color: '{focus.ring.color}',
|
|
6
|
+
shadow: '{focus.ring.shadow}'
|
|
7
|
+
},
|
|
8
|
+
borderColor: 'transparent',
|
|
9
|
+
hoverBorderColor: 'transparent',
|
|
10
|
+
checkedBorderColor: 'transparent',
|
|
11
|
+
checkedHoverBorderColor: 'transparent',
|
|
12
|
+
invalidBorderColor: '{form.field.invalid.border.color}',
|
|
13
|
+
background: '{surface.650}',
|
|
14
|
+
disabledBackground: '{surface.150}',
|
|
15
|
+
hoverBackground: '{surface.550}',
|
|
16
|
+
checkedBackground: '{primary.color}',
|
|
17
|
+
checkedHoverBackground: '{primary.hover.color}'
|
|
18
|
+
},
|
|
19
|
+
handle: {
|
|
20
|
+
background: '{surface.150}',
|
|
21
|
+
disabledBackground: '{surface.300}',
|
|
22
|
+
hoverBackground: '{surface.50}',
|
|
23
|
+
checkedBackground: '{surface.750}',
|
|
24
|
+
checkedHoverBackground: '{surface.650}',
|
|
25
|
+
color: '{text.muted.color}',
|
|
26
|
+
hoverColor: '{text.color}',
|
|
27
|
+
checkedColor: '{primary.color}',
|
|
28
|
+
checkedHoverColor: '{primary.hover.color}'
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export default lightColors
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
const sizes = {
|
|
2
|
+
root: {
|
|
3
|
+
width: '2.5rem',
|
|
4
|
+
height: '1.5rem',
|
|
5
|
+
borderRadius: '30px',
|
|
6
|
+
gap: '0.25rem',
|
|
7
|
+
borderWidth: '1px',
|
|
8
|
+
transitionDuration: '{form.field.transition.duration}',
|
|
9
|
+
slideDuration: '0.2s'
|
|
10
|
+
},
|
|
11
|
+
handle: {
|
|
12
|
+
borderRadius: '50%',
|
|
13
|
+
size: '1rem'
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export default sizes
|
|
@@ -8,7 +8,7 @@ export default {
|
|
|
8
8
|
borderColor: '{surface.600}',
|
|
9
9
|
hoverBorderColor: '{surface.500}',
|
|
10
10
|
focusBorderColor: '{primary.color}',
|
|
11
|
-
invalidBorderColor: '{
|
|
11
|
+
invalidBorderColor: '{error.color}',
|
|
12
12
|
color: '{surface.0}',
|
|
13
13
|
disabledColor: '{surface.400}',
|
|
14
14
|
placeholderColor: '{surface.400}',
|
|
@@ -8,7 +8,7 @@ export default {
|
|
|
8
8
|
borderColor: '{surface.300}',
|
|
9
9
|
hoverBorderColor: '{surface.400}',
|
|
10
10
|
focusBorderColor: '{primary.color}',
|
|
11
|
-
invalidBorderColor: '{
|
|
11
|
+
invalidBorderColor: '{error.color}',
|
|
12
12
|
color: '{surface.700}',
|
|
13
13
|
disabledColor: '{surface.500}',
|
|
14
14
|
placeholderColor: '{surface.500}',
|