yukit 0.0.1
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/README.md +24 -0
- package/esm2022/lib/components/avatar/avatar.component.mjs +17 -0
- package/esm2022/lib/components/badge/badge.component.mjs +24 -0
- package/esm2022/lib/components/button/button.component.mjs +27 -0
- package/esm2022/lib/components/checkbox/checkbox.component.mjs +42 -0
- package/esm2022/lib/components/chip/chip.component.mjs +24 -0
- package/esm2022/lib/components/helper/helper.component.mjs +20 -0
- package/esm2022/lib/components/icon/icon.component.mjs +20 -0
- package/esm2022/lib/components/input/input.component.mjs +46 -0
- package/esm2022/lib/components/list-action/list-action.component.mjs +18 -0
- package/esm2022/lib/components/notice/notice.component.mjs +26 -0
- package/esm2022/lib/components/searchbar/searchbar.component.mjs +36 -0
- package/esm2022/lib/components/tag/tag.component.mjs +27 -0
- package/esm2022/lib/components/textarea/textarea.component.mjs +50 -0
- package/esm2022/lib/components/toggle/toggle.component.mjs +39 -0
- package/esm2022/lib/interface/color.interface.mjs +2 -0
- package/esm2022/lib/interface/input-mode.interface.mjs +2 -0
- package/esm2022/lib/interface/input-type.interface.mjs +2 -0
- package/esm2022/lib/interface/size.interface.mjs +2 -0
- package/esm2022/lib/yukit.module.mjs +83 -0
- package/esm2022/public-api.mjs +23 -0
- package/esm2022/yukit.mjs +5 -0
- package/fesm2022/yukit.mjs +439 -0
- package/fesm2022/yukit.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/components/avatar/avatar.component.d.ts +6 -0
- package/lib/components/badge/badge.component.d.ts +9 -0
- package/lib/components/button/button.component.d.ts +12 -0
- package/lib/components/checkbox/checkbox.component.d.ts +15 -0
- package/lib/components/chip/chip.component.d.ts +9 -0
- package/lib/components/helper/helper.component.d.ts +8 -0
- package/lib/components/icon/icon.component.d.ts +8 -0
- package/lib/components/input/input.component.d.ts +19 -0
- package/lib/components/list-action/list-action.component.d.ts +7 -0
- package/lib/components/notice/notice.component.d.ts +10 -0
- package/lib/components/searchbar/searchbar.component.d.ts +13 -0
- package/lib/components/tag/tag.component.d.ts +10 -0
- package/lib/components/textarea/textarea.component.d.ts +21 -0
- package/lib/components/toggle/toggle.component.d.ts +14 -0
- package/lib/interface/color.interface.d.ts +1 -0
- package/lib/interface/input-mode.interface.d.ts +1 -0
- package/lib/interface/input-type.interface.d.ts +1 -0
- package/lib/interface/size.interface.d.ts +1 -0
- package/lib/yukit.module.d.ts +23 -0
- package/package.json +30 -0
- package/public-api.d.ts +19 -0
- package/src/lib/components/avatar/avatar.component.html +4 -0
- package/src/lib/components/avatar/avatar.component.scss +0 -0
- package/src/lib/components/avatar/avatar.component.ts +9 -0
- package/src/lib/components/badge/badge.component.html +7 -0
- package/src/lib/components/badge/badge.component.scss +27 -0
- package/src/lib/components/badge/badge.component.ts +15 -0
- package/src/lib/components/button/button.component.html +9 -0
- package/src/lib/components/button/button.component.scss +99 -0
- package/src/lib/components/button/button.component.ts +16 -0
- package/src/lib/components/checkbox/checkbox.component.html +13 -0
- package/src/lib/components/checkbox/checkbox.component.scss +23 -0
- package/src/lib/components/checkbox/checkbox.component.ts +20 -0
- package/src/lib/components/chip/chip.component.html +11 -0
- package/src/lib/components/chip/chip.component.scss +34 -0
- package/src/lib/components/chip/chip.component.ts +12 -0
- package/src/lib/components/helper/helper.component.html +7 -0
- package/src/lib/components/helper/helper.component.scss +19 -0
- package/src/lib/components/helper/helper.component.ts +11 -0
- package/src/lib/components/icon/Phosphor.svg +3056 -0
- package/src/lib/components/icon/Phosphor.ttf +0 -0
- package/src/lib/components/icon/Phosphor.woff +0 -0
- package/src/lib/components/icon/Phosphor.woff2 +0 -0
- package/src/lib/components/icon/icon.component.html +6 -0
- package/src/lib/components/icon/icon.component.scss +4637 -0
- package/src/lib/components/icon/icon.component.ts +12 -0
- package/src/lib/components/input/input.component.html +26 -0
- package/src/lib/components/input/input.component.scss +39 -0
- package/src/lib/components/input/input.component.ts +26 -0
- package/src/lib/components/list-action/list-action.component.html +3 -0
- package/src/lib/components/list-action/list-action.component.scss +21 -0
- package/src/lib/components/list-action/list-action.component.ts +10 -0
- package/src/lib/components/notice/notice.component.html +8 -0
- package/src/lib/components/notice/notice.component.scss +56 -0
- package/src/lib/components/notice/notice.component.ts +13 -0
- package/src/lib/components/searchbar/searchbar.component.html +7 -0
- package/src/lib/components/searchbar/searchbar.component.scss +38 -0
- package/src/lib/components/searchbar/searchbar.component.ts +25 -0
- package/src/lib/components/tag/tag.component.html +10 -0
- package/src/lib/components/tag/tag.component.scss +38 -0
- package/src/lib/components/tag/tag.component.ts +13 -0
- package/src/lib/components/textarea/textarea.component.html +16 -0
- package/src/lib/components/textarea/textarea.component.scss +39 -0
- package/src/lib/components/textarea/textarea.component.ts +29 -0
- package/src/lib/components/toggle/toggle.component.html +12 -0
- package/src/lib/components/toggle/toggle.component.scss +26 -0
- package/src/lib/components/toggle/toggle.component.ts +19 -0
- package/src/lib/interface/color.interface.ts +1 -0
- package/src/lib/interface/input-mode.interface.ts +11 -0
- package/src/lib/interface/input-type.interface.ts +13 -0
- package/src/lib/interface/size.interface.ts +1 -0
- package/src/lib/theme/components/action-sheet.scss +113 -0
- package/src/lib/theme/components/alert.scss +83 -0
- package/src/lib/theme/components/back-button.scss +23 -0
- package/src/lib/theme/components/modal.scss +38 -0
- package/src/lib/theme/components/segment.scss +21 -0
- package/src/lib/theme/components/tabs.scss +48 -0
- package/src/lib/theme/components/toast.scss +41 -0
- package/src/lib/theme/structure/content.scss +58 -0
- package/src/lib/theme/structure/footer.scss +28 -0
- package/src/lib/theme/structure/form.scss +31 -0
- package/src/lib/theme/structure/header.scss +63 -0
- package/src/lib/theme/tokens/colors.scss +106 -0
- package/src/lib/theme/tokens/font/Geist-Variable.woff2 +0 -0
- package/src/lib/theme/tokens/icons.scss +4 -0
- package/src/lib/theme/tokens/radius.scss +14 -0
- package/src/lib/theme/tokens/shadow.scss +32 -0
- package/src/lib/theme/tokens/spacing.scss +40 -0
- package/src/lib/theme/tokens/typography.scss +175 -0
- package/src/lib/yukit.module.ts +48 -0
- package/src/lib/yukit.scss +33 -0
- package/yukit-0.0.1.tgz +0 -0
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
ion-alert {
|
|
2
|
+
--width: 100% !important;
|
|
3
|
+
--max-width: 550px !important;
|
|
4
|
+
|
|
5
|
+
align-items: flex-end !important;
|
|
6
|
+
|
|
7
|
+
.alert-wrapper {
|
|
8
|
+
border-radius: var(--layout-radius-container-large) var(--layout-radius-container-large) 0 0 !important;
|
|
9
|
+
|
|
10
|
+
.alert-head {
|
|
11
|
+
padding: 30px var(--layout-mobile-spacing-screen-lateral-medium) 12px;
|
|
12
|
+
|
|
13
|
+
border-bottom: 1px solid var(--element-outline);
|
|
14
|
+
text-align: center;
|
|
15
|
+
|
|
16
|
+
h2 {
|
|
17
|
+
font-size: var(--subhead-small-size);
|
|
18
|
+
line-height: var(--subhead-small-height);
|
|
19
|
+
font-weight: var(--subhead-small-weight);
|
|
20
|
+
color: var(--element-high);
|
|
21
|
+
|
|
22
|
+
margin: 0;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.alert-message {
|
|
27
|
+
font-size: var(--title-medium-size);
|
|
28
|
+
line-height: var(--title-medium-height);
|
|
29
|
+
|
|
30
|
+
color: var(--element-high);
|
|
31
|
+
text-align: left;
|
|
32
|
+
|
|
33
|
+
padding: 24px;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.alert-input-group {
|
|
37
|
+
padding: 12px 24px;
|
|
38
|
+
|
|
39
|
+
input {
|
|
40
|
+
margin: 0;
|
|
41
|
+
padding: 16px 12px;
|
|
42
|
+
|
|
43
|
+
border-radius: var(--layout-radius-component-medium);
|
|
44
|
+
border: 1px solid var(--element-outline);
|
|
45
|
+
background: var(--surface);
|
|
46
|
+
|
|
47
|
+
box-shadow: var(--shadow-lowest-box-shadow);
|
|
48
|
+
|
|
49
|
+
&:focus {
|
|
50
|
+
border-color: var(--info);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.alert-button-group {
|
|
56
|
+
gap: 16px;
|
|
57
|
+
padding: 24px;
|
|
58
|
+
|
|
59
|
+
button {
|
|
60
|
+
min-width: 42.5%;
|
|
61
|
+
|
|
62
|
+
border: 1px solid var(--gradient-light);
|
|
63
|
+
border-radius: var(--layout-radius-container-small);
|
|
64
|
+
box-shadow: var(--shadow-lowest-box-shadow);
|
|
65
|
+
|
|
66
|
+
font-size: var(--title-medium-size);
|
|
67
|
+
font-weight: var(--title-medium-weight);
|
|
68
|
+
|
|
69
|
+
padding: 27px;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.alert-button-role-cancel {
|
|
73
|
+
background: transparent;
|
|
74
|
+
color: var(--gradient);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.alert-button-role-destructive {
|
|
78
|
+
color: var(--surface);
|
|
79
|
+
background: var(--gradient);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
ion-back-button {
|
|
2
|
+
--color: var(--medium);
|
|
3
|
+
--border-radius: var(--layout-radius-component-medium);
|
|
4
|
+
|
|
5
|
+
--padding-start: 4px;
|
|
6
|
+
--padding-end: 4px;
|
|
7
|
+
--padding-top: 3px;
|
|
8
|
+
--padding-bottom: 3px;
|
|
9
|
+
|
|
10
|
+
--icon-font-size: 22px;
|
|
11
|
+
--icon-margin-start: 0;
|
|
12
|
+
|
|
13
|
+
&.ion-activated {
|
|
14
|
+
--color: var(--medium-dark);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&::part(native) {
|
|
18
|
+
border: 1px solid var(--medium);
|
|
19
|
+
box-shadow: var(--shadow-lowest-box-shadow);
|
|
20
|
+
opacity: .8;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
ion-modal {
|
|
2
|
+
|
|
3
|
+
&.yu-modal {
|
|
4
|
+
--height: 90%;
|
|
5
|
+
--border-radius: var(--layout-radius-container-large) var(--layout-radius-container-large) 0 0;
|
|
6
|
+
|
|
7
|
+
&::part(content) {
|
|
8
|
+
position: absolute;
|
|
9
|
+
bottom: 0;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
ion-header {
|
|
13
|
+
|
|
14
|
+
ion-toolbar:first-of-type {
|
|
15
|
+
padding: 24px var(--layout-mobile-spacing-screen-lateral-medium) 0;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&.options-modal {
|
|
21
|
+
--height: 40%;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
@media screen and (min-width: 768px) {
|
|
29
|
+
|
|
30
|
+
ion-modal {
|
|
31
|
+
--width: calc(100% - 120px);
|
|
32
|
+
--height: calc(100% - (120px + var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));
|
|
33
|
+
|
|
34
|
+
--max-width: 720px;
|
|
35
|
+
--max-height: 1000px;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
ion-segment {
|
|
2
|
+
--background: var(--background-accent);
|
|
3
|
+
|
|
4
|
+
width: 100%;
|
|
5
|
+
padding: 4px;
|
|
6
|
+
|
|
7
|
+
ion-segment-button {
|
|
8
|
+
font-size: var(--body-weight-small-size);
|
|
9
|
+
line-height: var(--body-weight-small-height);
|
|
10
|
+
font-weight: var(--body-weight-small-weight);
|
|
11
|
+
|
|
12
|
+
--indicator-box-shadow: var(--shadow-lowest-box-shadow);
|
|
13
|
+
--border-radius: 6px;
|
|
14
|
+
|
|
15
|
+
--color: var(--element-low);
|
|
16
|
+
--color-checked: var(--element-high);
|
|
17
|
+
|
|
18
|
+
margin: 0;
|
|
19
|
+
padding: 4px;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
ion-tabs {
|
|
2
|
+
|
|
3
|
+
ion-tab-bar {
|
|
4
|
+
height: 75px;
|
|
5
|
+
|
|
6
|
+
--background: var(--surface);
|
|
7
|
+
--border: 1px solid var(--element-outline);
|
|
8
|
+
|
|
9
|
+
ion-tab-button {
|
|
10
|
+
--color: var(--element-disabled);
|
|
11
|
+
--color-selected: var(--primary);
|
|
12
|
+
|
|
13
|
+
yu-icon {
|
|
14
|
+
--yu-icon-size: 28px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
ion-label {
|
|
18
|
+
font-size: var(--label-medium-size);
|
|
19
|
+
font-weight: var(--label-medium-weight);
|
|
20
|
+
line-height: var(--label-medium-height);
|
|
21
|
+
color: var(--element-low);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
yu-badge {
|
|
25
|
+
position: absolute;
|
|
26
|
+
left: 65%;
|
|
27
|
+
top: 10px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&.tab-selected {
|
|
31
|
+
ion-label {
|
|
32
|
+
color: var(--element-high);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.menu-button > ion-button {
|
|
38
|
+
height: 55px;
|
|
39
|
+
width: 55px;
|
|
40
|
+
|
|
41
|
+
margin: 0 10px;
|
|
42
|
+
|
|
43
|
+
--border-radius: var(--layout-radius-component-rounded) !important;
|
|
44
|
+
--yu-icon-size: 32px;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
ion-toast {
|
|
2
|
+
--box-shadow: var(--shadow-toast-box-shadow);
|
|
3
|
+
|
|
4
|
+
&::part(container) {
|
|
5
|
+
align-items: flex-start;
|
|
6
|
+
|
|
7
|
+
background: var(--surface);
|
|
8
|
+
color: var(--element-high);
|
|
9
|
+
|
|
10
|
+
border-radius: var(--layout-radius-component-medium);
|
|
11
|
+
border: 2px solid var(--element-outline);
|
|
12
|
+
|
|
13
|
+
&::before {
|
|
14
|
+
content: '';
|
|
15
|
+
|
|
16
|
+
position: absolute;
|
|
17
|
+
left: 0;
|
|
18
|
+
top: calc(50% - 20px);
|
|
19
|
+
|
|
20
|
+
height: 40px;
|
|
21
|
+
width: 4px;
|
|
22
|
+
|
|
23
|
+
border-radius: 0 2px 2px 0;
|
|
24
|
+
background: var(--yu-color);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&::part(icon) {
|
|
29
|
+
color: var(--yu-color);
|
|
30
|
+
font-size: 20px;
|
|
31
|
+
padding-top: 15px;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&::part(header) {
|
|
35
|
+
font-weight: var(--title-small-weight);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&::part(message), &::part(button) {
|
|
39
|
+
color: var(--element-low);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
ion-content {
|
|
2
|
+
--background: var(--background-content);
|
|
3
|
+
|
|
4
|
+
ion-list {
|
|
5
|
+
background: var(--background-content) !important;
|
|
6
|
+
margin: 8px var(--layout-mobile-spacing-screen-lateral-small);
|
|
7
|
+
|
|
8
|
+
ion-item {
|
|
9
|
+
--background-activated: transparent;
|
|
10
|
+
--background: var(--background-content);
|
|
11
|
+
|
|
12
|
+
--padding-start: 0;
|
|
13
|
+
--inner-padding-end: 0;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&.detail-block {
|
|
17
|
+
background: var(--surface) !important;
|
|
18
|
+
|
|
19
|
+
border-radius: var(--layout-radius-container-small);
|
|
20
|
+
border: 1px solid var(--element-outline);
|
|
21
|
+
|
|
22
|
+
box-shadow: var(--shadow-lowest-box-shadow);
|
|
23
|
+
|
|
24
|
+
padding-bottom: 6px;
|
|
25
|
+
margin: 16px var(--layout-mobile-spacing-screen-lateral-small);
|
|
26
|
+
|
|
27
|
+
ion-list-header {
|
|
28
|
+
padding: 0 16px 16px;
|
|
29
|
+
border-bottom: 1px solid var(--element-outline);
|
|
30
|
+
|
|
31
|
+
ion-label {
|
|
32
|
+
font-size: var(--title-medium-size);
|
|
33
|
+
font-weight: var(--title-medium-weight);
|
|
34
|
+
line-height: var(--title-medium-height);
|
|
35
|
+
|
|
36
|
+
margin: 0;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
ion-item {
|
|
41
|
+
margin: 0 16px;
|
|
42
|
+
--background: var(--surface) !important;
|
|
43
|
+
|
|
44
|
+
&::part(native) {
|
|
45
|
+
padding: 8px 0;
|
|
46
|
+
border-bottom: 1px solid var(--element-outline);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&.no-lines::part(native) {
|
|
50
|
+
border: none;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
ion-footer {
|
|
2
|
+
|
|
3
|
+
ion-toolbar {
|
|
4
|
+
--background: var(--background-content);
|
|
5
|
+
|
|
6
|
+
--border-width: 0 0 1px;
|
|
7
|
+
--border-color: var(--element-outline);
|
|
8
|
+
|
|
9
|
+
--padding-top: 12px;
|
|
10
|
+
--padding-bottom: 12px;
|
|
11
|
+
--padding-start: var(--layout-mobile-spacing-screen-lateral-small);
|
|
12
|
+
--padding-end: var(--layout-mobile-spacing-screen-lateral-small);
|
|
13
|
+
|
|
14
|
+
ion-grid {
|
|
15
|
+
--ion-grid-padding: 0;
|
|
16
|
+
|
|
17
|
+
ion-row {
|
|
18
|
+
gap: 16px;
|
|
19
|
+
|
|
20
|
+
ion-col {
|
|
21
|
+
--ion-grid-column-padding: 0;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
ion-content.form-page {
|
|
2
|
+
|
|
3
|
+
ion-list {
|
|
4
|
+
margin-top: 35px;
|
|
5
|
+
|
|
6
|
+
ion-list-header {
|
|
7
|
+
font-size: var(--title-medium-size);
|
|
8
|
+
line-height: var(--title-medium-height);
|
|
9
|
+
font-weight: var(--title-medium-weight);
|
|
10
|
+
|
|
11
|
+
border-top: 1px solid var(--element-accent);
|
|
12
|
+
color: var(--element-mid);
|
|
13
|
+
|
|
14
|
+
padding: 0;
|
|
15
|
+
|
|
16
|
+
ion-label {
|
|
17
|
+
margin: 0;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&:first-child {
|
|
22
|
+
margin-top: 16px;
|
|
23
|
+
|
|
24
|
+
ion-list-header {
|
|
25
|
+
border: none
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
ion-header {
|
|
2
|
+
|
|
3
|
+
ion-toolbar {
|
|
4
|
+
--background: var(--background-content);
|
|
5
|
+
--border-color: var(--element-outline);
|
|
6
|
+
|
|
7
|
+
--padding-top: 12px;
|
|
8
|
+
--padding-bottom: 12px;
|
|
9
|
+
--padding-start: var(--layout-mobile-spacing-screen-lateral-small);
|
|
10
|
+
--padding-end: var(--layout-mobile-spacing-screen-lateral-small);
|
|
11
|
+
|
|
12
|
+
padding-right: 0 !important;
|
|
13
|
+
padding-left: 0 !important;
|
|
14
|
+
|
|
15
|
+
ion-title {
|
|
16
|
+
font-size: var(--mobile-headline-medium-size);
|
|
17
|
+
font-weight: 600;
|
|
18
|
+
|
|
19
|
+
min-width: 100%;
|
|
20
|
+
|
|
21
|
+
padding: 0;
|
|
22
|
+
|
|
23
|
+
position: static;
|
|
24
|
+
transform-origin: left center;
|
|
25
|
+
|
|
26
|
+
align-items: flex-end;
|
|
27
|
+
text-align: start;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
ion-buttons {
|
|
31
|
+
gap: 8px;
|
|
32
|
+
|
|
33
|
+
&[slot="start"] {
|
|
34
|
+
margin-right: 16px;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&[slot="end"] {
|
|
38
|
+
margin-left: 16px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
ion-button {
|
|
42
|
+
|
|
43
|
+
yu-icon {
|
|
44
|
+
--yu-icon-weight: 600;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&.ion-activated {
|
|
48
|
+
|
|
49
|
+
&::part(native) {
|
|
50
|
+
background: transparent;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&:last-of-type {
|
|
59
|
+
--border-width: 0 0 1px !important;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
/* Accent Colors */
|
|
3
|
+
--primary-lighter-ext: #FFF5F5;
|
|
4
|
+
--primary-lighter-2: #FFECEC;
|
|
5
|
+
--primary-lighter: #FDA8A9;
|
|
6
|
+
--primary-light: #FF7173;
|
|
7
|
+
--primary: #F95A5C;
|
|
8
|
+
--primary-dark: #F04346;
|
|
9
|
+
--primary-darker: #CA3739;
|
|
10
|
+
--primary-dark-ext: #710d0f;
|
|
11
|
+
--primary-contrast: #ffffff;
|
|
12
|
+
|
|
13
|
+
/* Graph Colors */
|
|
14
|
+
--graph-cyan: linear-gradient(180deg, #BEF0EF 0%, #B0E4E3 100%);
|
|
15
|
+
--graph-cyan-bg: #EEF0F0;
|
|
16
|
+
|
|
17
|
+
--graph-violet: linear-gradient(180deg, #9990E8 0%, #B5AEFC 100%);
|
|
18
|
+
--graph-violet-bg: #EBEAFB;
|
|
19
|
+
|
|
20
|
+
--graph-orange: linear-gradient(180deg, #FF9574 0%, #FF825B 100%);
|
|
21
|
+
--graph-orange-bg: #EFEBE9;
|
|
22
|
+
|
|
23
|
+
--graph-red: linear-gradient(180deg, #FF7C7C 0%, #FF6666 100%);
|
|
24
|
+
--graph-red-bg: #F8F0F0;
|
|
25
|
+
|
|
26
|
+
/* Communication Colors */
|
|
27
|
+
--comunication-chat: #8E7DF3;
|
|
28
|
+
--comunication-fault: #F88532;
|
|
29
|
+
--comunication-notice: #4A87FE;
|
|
30
|
+
--comunication-list: #FEC14A;
|
|
31
|
+
|
|
32
|
+
/* Neutral Colors */
|
|
33
|
+
--element-high: #1F1F1F;
|
|
34
|
+
--element-mid: #666666;
|
|
35
|
+
--element-low: #8F8F8F;
|
|
36
|
+
--element-disabled: #B8B8B8;
|
|
37
|
+
--element-accent: #DBDBDB;
|
|
38
|
+
--element-outline: #EBEBEB;
|
|
39
|
+
|
|
40
|
+
--overlay-accent: #F0F0F0;
|
|
41
|
+
--overlay: #F5F5F5;
|
|
42
|
+
|
|
43
|
+
--surface-accent: #FAFAFA;
|
|
44
|
+
--surface: #FFFFFF;
|
|
45
|
+
|
|
46
|
+
--background-accent: #F2F2F2;
|
|
47
|
+
--background-content: #FAFAFA;
|
|
48
|
+
|
|
49
|
+
/* Feedback Colors */
|
|
50
|
+
--success-lighter-ext: #ECFDF0;
|
|
51
|
+
--success-light: #34D399;
|
|
52
|
+
--success: #10B981;
|
|
53
|
+
--success-dark: #028E5C;
|
|
54
|
+
--success-dark-ext: #022C22;
|
|
55
|
+
--success-contrast: #ffffff;
|
|
56
|
+
|
|
57
|
+
--info-lighter-ext: #EFF6FF;
|
|
58
|
+
--info-light: #60A5FA;
|
|
59
|
+
--info: #3B82F6;
|
|
60
|
+
--info-dark: #2563EB;
|
|
61
|
+
--info-dark-ext: #172554;
|
|
62
|
+
--info-contrast: #ffffff;
|
|
63
|
+
|
|
64
|
+
--warning-lighter-ext: #FFFBEB;
|
|
65
|
+
--warning-light: #FBBF24;
|
|
66
|
+
--warning: #F59E0B;
|
|
67
|
+
--warning-dark: #D97706;
|
|
68
|
+
--warning-dark-ext: #451A03;
|
|
69
|
+
--warning-contrast: #ffffff;
|
|
70
|
+
|
|
71
|
+
--error-lighter-ext: #FEF3F2;
|
|
72
|
+
--error-light: #F68373;
|
|
73
|
+
--error: #ED5A46;
|
|
74
|
+
--error-dark: #DA3D28;
|
|
75
|
+
--error-dark-ext: #44120B;
|
|
76
|
+
--error-contrast: #ffffff;
|
|
77
|
+
|
|
78
|
+
--medium-lighter-ext: #F0F0F0;
|
|
79
|
+
--medium-light: #DBDBDB;
|
|
80
|
+
--medium: #8F8F8F;
|
|
81
|
+
--medium-dark: #666666;
|
|
82
|
+
--medium-dark-ext: #1F1F1F;
|
|
83
|
+
--medium-contrast: #000000;
|
|
84
|
+
|
|
85
|
+
--gradient-lighter-ext: #5b5b5b;
|
|
86
|
+
--gradient-light: #474747;
|
|
87
|
+
--gradient: linear-gradient(180deg, #333 42%, #1F1F1F 84%);
|
|
88
|
+
--gradient-dark: #212121;
|
|
89
|
+
--gradient-dark-ext: #0d0d0d;
|
|
90
|
+
--gradient-contrast: #FFFFFF;
|
|
91
|
+
|
|
92
|
+
--light: #FFFFFF;
|
|
93
|
+
--dark: #000000;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
$colors: ('primary', 'success', 'error', 'warning', 'info', 'medium', 'gradient', 'light', 'dark');
|
|
97
|
+
@each $color in $colors {
|
|
98
|
+
.yu-color-#{$color} {
|
|
99
|
+
--yu-color-lighter-ext: var(--#{$color}-lighter-ext) !important;
|
|
100
|
+
--yu-color-light: var(--#{$color}-light) !important;
|
|
101
|
+
--yu-color: var(--#{$color}) !important;
|
|
102
|
+
--yu-color-dark: var(--#{$color}-dark) !important;
|
|
103
|
+
--yu-color-dark-ext: var(--#{$color}-dark-ext) !important;
|
|
104
|
+
--yu-color-contrast: var(--#{$color}-contrast) !important;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
Binary file
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
/* Component Radius */
|
|
3
|
+
--layout-radius-component-small: 4px;
|
|
4
|
+
--layout-radius-component-regular: 6px;
|
|
5
|
+
--layout-radius-component-medium: 8px;
|
|
6
|
+
--layout-radius-component-large: 16px;
|
|
7
|
+
--layout-radius-component-rounded: 999px;
|
|
8
|
+
|
|
9
|
+
/* Container Radius */
|
|
10
|
+
--layout-radius-container-small: 12px;
|
|
11
|
+
--layout-radius-container-medium: 18px;
|
|
12
|
+
--layout-radius-container-large: 32px;
|
|
13
|
+
}
|
|
14
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
/* Neutral Shadow */
|
|
3
|
+
--shadow-light-box-shadow: 0px 0px 0px 1px #0000001a;
|
|
4
|
+
|
|
5
|
+
--shadow-lowest-text-shadow: 0px 1px 2px #1f1f1f0a;
|
|
6
|
+
--shadow-lowest-box-shadow: 0px 1px 2px 0px #1f1f1f0a;
|
|
7
|
+
|
|
8
|
+
--shadow-low-text-shadow: 0px 2px 4px #1f1f1f0f;
|
|
9
|
+
--shadow-low-box-shadow: 0px 2px 4px 0px #1f1f1f0f;
|
|
10
|
+
|
|
11
|
+
--shadow-mid-text-shadow: 0px 16px 32px #0000000f;
|
|
12
|
+
--shadow-mid-box-shadow: 0px 16px 32px -12px #0000000f;
|
|
13
|
+
|
|
14
|
+
--shadow-high-text-shadow: 0px 20px 40px #00000014;
|
|
15
|
+
--shadow-high-box-shadow: 0px 20px 40px -8px #00000014;
|
|
16
|
+
|
|
17
|
+
/* Toast Shadow */
|
|
18
|
+
--shadow-toast-text-shadow: 0px 16px 40px #0000001e;
|
|
19
|
+
--shadow-toast-box-shadow: 0px 16px 40px -8px #0000001e;
|
|
20
|
+
|
|
21
|
+
/* Topbar Shadow */
|
|
22
|
+
--shadow-topbar-text-shadow: 0px 2px 8px #00000014;
|
|
23
|
+
--shadow-topbar-box-shadow: 0px 2px 8px -2px #00000014;
|
|
24
|
+
|
|
25
|
+
/* Navbar Shadow */
|
|
26
|
+
--shadow-navbar-text-shadow: 0px -2px 8px #0000000a;
|
|
27
|
+
--shadow-navbar-box-shadow: 0px -2px 8px -2px #0000000a;
|
|
28
|
+
|
|
29
|
+
/* Modal Shadow */
|
|
30
|
+
--shadow-modal-text-shadow: 0px 40px 96px #00000014;
|
|
31
|
+
--shadow-modal-box-shadow: 0px 40px 96px -8px #00000014;
|
|
32
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
/* Actions Spacing */
|
|
3
|
+
--layout-spacing-between-actions-small: 8px;
|
|
4
|
+
--layout-spacing-between-actions-medium: 16px;
|
|
5
|
+
--layout-spacing-between-actions-large: 24px;
|
|
6
|
+
|
|
7
|
+
/* Cards Spacing */
|
|
8
|
+
--layout-spacing-between-cards-small: 24px;
|
|
9
|
+
|
|
10
|
+
--layout-desktop-spacing-between-cards-medium: 40px;
|
|
11
|
+
--layout-mobile-spacing-between-cards-medium: 0px;
|
|
12
|
+
|
|
13
|
+
--layout-desktop-spacing-between-cards-large: 56px;
|
|
14
|
+
--layout-mobile-spacing-between-cards-large: 0px;
|
|
15
|
+
|
|
16
|
+
/* Sections Spacing */
|
|
17
|
+
--layout-spacing-between-sections-small: 40px;
|
|
18
|
+
--layout-spacing-between-sections-medium: 64px;
|
|
19
|
+
--layout-spacing-between-sections-large: 80px;
|
|
20
|
+
|
|
21
|
+
/* Lateral Spacing */
|
|
22
|
+
--layout-desktop-spacing-screen-lateral-small: 48px;
|
|
23
|
+
--layout-mobile-spacing-screen-lateral-small: 20px;
|
|
24
|
+
|
|
25
|
+
--layout-desktop-spacing-screen-lateral-medium: 64px;
|
|
26
|
+
--layout-mobile-spacing-screen-lateral-medium: 24px;
|
|
27
|
+
|
|
28
|
+
--layout-desktop-spacing-screen-lateral-large: 80px;
|
|
29
|
+
--layout-mobile-spacing-screen-lateral-large: 32px;
|
|
30
|
+
|
|
31
|
+
/* Title Spacing */
|
|
32
|
+
--layout-spacing-title-to-content-small: 40px;
|
|
33
|
+
--layout-spacing-title-to-content-medium: 56px;
|
|
34
|
+
--layout-spacing-title-to-content-large: 64px;
|
|
35
|
+
|
|
36
|
+
/* Input Spacing */
|
|
37
|
+
--layout-spacing-input-small: 16px;
|
|
38
|
+
--layout-spacing-input-medium: 20px;
|
|
39
|
+
--layout-spacing-input-large: 24px;
|
|
40
|
+
}
|