@dative-gpi/foundation-shared-components 0.0.2
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/components/FSBreadcrumbs.vue +64 -0
- package/components/FSButton.vue +82 -0
- package/components/FSCheckbox.vue +111 -0
- package/components/FSCol.vue +69 -0
- package/components/FSFadeOut.vue +67 -0
- package/components/FSIcon.vue +30 -0
- package/components/FSRadio.vue +118 -0
- package/components/FSRadioGroup.vue +75 -0
- package/components/FSRow.vue +75 -0
- package/components/FSSlideGroup.vue +57 -0
- package/components/FSSpan.vue +24 -0
- package/components/FSSwitch.vue +112 -0
- package/components/FSTab.vue +65 -0
- package/components/FSTabs.vue +60 -0
- package/components/FSTag.vue +85 -0
- package/components/FSTextField.vue +60 -0
- package/components/FSWindow.vue +26 -0
- package/components/FSWrapGroup.vue +56 -0
- package/composables/index.ts +2 -0
- package/composables/useColors.ts +64 -0
- package/composables/useTouch.ts +9 -0
- package/defaults/FSButtons.ts +63 -0
- package/importMap.json +59 -0
- package/importsGenerator.py +39 -0
- package/package.json +23 -0
- package/plugins/colorPlugin.ts +13 -0
- package/plugins/index.ts +1 -0
- package/shims-plugin.d.ts +9 -0
- package/styles/components/fs_breadcrumbs.scss +28 -0
- package/styles/components/fs_button.scss +28 -0
- package/styles/components/fs_checkbox.scss +15 -0
- package/styles/components/fs_col.scss +6 -0
- package/styles/components/fs_fade_out.scss +27 -0
- package/styles/components/fs_icon.scss +17 -0
- package/styles/components/fs_radio.scss +15 -0
- package/styles/components/fs_row.scss +6 -0
- package/styles/components/fs_span.scss +8 -0
- package/styles/components/fs_switch.scss +51 -0
- package/styles/components/fs_tabs.scss +63 -0
- package/styles/components/fs_tag.scss +45 -0
- package/styles/components/fs_text_field.scss +24 -0
- package/styles/components/fs_wrap_group.scss +12 -0
- package/styles/components/index.scss +14 -0
- package/styles/globals/breakpoints.scss +13 -0
- package/styles/globals/index.scss +6 -0
- package/styles/globals/overrides.scss +41 -0
- package/styles/globals/scrollbars.scss +45 -0
- package/styles/globals/text_fonts.scss +110 -0
- package/styles/globals/touchscreen.scss +11 -0
- package/styles/main.scss +3 -0
- package/themes/default.ts +24 -0
- package/themes/index.ts +1 -0
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
.text-h1 {
|
|
2
|
+
font-family: 'Montserrat', sans-serif !important;
|
|
3
|
+
font-style: normal;
|
|
4
|
+
font-weight: 700;
|
|
5
|
+
|
|
6
|
+
@include web {
|
|
7
|
+
font-size: 36px;
|
|
8
|
+
line-height: 40px;
|
|
9
|
+
letter-spacing: -0.72px;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
@include mobile {
|
|
13
|
+
font-size: 29px;
|
|
14
|
+
line-height: 32px;
|
|
15
|
+
letter-spacing: -1.45px;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.text-h2 {
|
|
20
|
+
font-family: 'Montserrat', sans-serif !important;
|
|
21
|
+
font-style: normal;
|
|
22
|
+
font-weight: 600;
|
|
23
|
+
|
|
24
|
+
@include web {
|
|
25
|
+
font-size: 27px;
|
|
26
|
+
line-height: 32px;
|
|
27
|
+
letter-spacing: -0.81px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@include mobile {
|
|
31
|
+
font-size: 22px;
|
|
32
|
+
line-height: 24px;
|
|
33
|
+
letter-spacing: -0.88px;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.text-h3 {
|
|
38
|
+
font-family: 'Montserrat', sans-serif !important;
|
|
39
|
+
font-style: normal;
|
|
40
|
+
font-weight: 600;
|
|
41
|
+
|
|
42
|
+
@include web {
|
|
43
|
+
font-size: 21px;
|
|
44
|
+
line-height: 24px;
|
|
45
|
+
letter-spacing: -0.63px;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
@include mobile {
|
|
49
|
+
font-size: 17px;
|
|
50
|
+
line-height: 20px;
|
|
51
|
+
letter-spacing: -0.51px;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.text-body {
|
|
56
|
+
font-family: 'Montserrat', sans-serif !important;
|
|
57
|
+
font-style: normal !important;
|
|
58
|
+
font-weight: 500 !important;
|
|
59
|
+
text-transform: none !important;
|
|
60
|
+
|
|
61
|
+
@include web {
|
|
62
|
+
font-size: 16px !important;
|
|
63
|
+
line-height: 20px !important;
|
|
64
|
+
letter-spacing: -0.48px !important;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
@include mobile {
|
|
68
|
+
font-size: 13px !important;
|
|
69
|
+
line-height: 16px !important;
|
|
70
|
+
letter-spacing: -0.39px !important;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.text-button {
|
|
75
|
+
font-family: 'Montserrat', sans-serif !important;
|
|
76
|
+
font-style: normal !important;
|
|
77
|
+
font-weight: 700 !important;
|
|
78
|
+
text-transform: none !important;
|
|
79
|
+
|
|
80
|
+
@include web {
|
|
81
|
+
font-size: 16px !important;
|
|
82
|
+
line-height: 20px !important;
|
|
83
|
+
letter-spacing: -0.48px !important;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
@include mobile {
|
|
87
|
+
font-size: 13px !important;
|
|
88
|
+
line-height: 16px !important;
|
|
89
|
+
letter-spacing: -0.39px !important;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.text-overline {
|
|
94
|
+
font-family: 'Montserrat', sans-serif !important;
|
|
95
|
+
font-style: normal !important;
|
|
96
|
+
font-weight: 500 !important;
|
|
97
|
+
text-transform: none !important;
|
|
98
|
+
|
|
99
|
+
@include web {
|
|
100
|
+
font-size: 12px !important;
|
|
101
|
+
line-height: 16px !important;
|
|
102
|
+
letter-spacing: 0.08px !important;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
@include mobile {
|
|
106
|
+
font-size: 10px !important;
|
|
107
|
+
line-height: 16px !important;
|
|
108
|
+
letter-spacing: 0.19px !important;
|
|
109
|
+
}
|
|
110
|
+
}
|
package/styles/main.scss
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ThemeDefinition } from "vuetify";
|
|
2
|
+
|
|
3
|
+
export enum ColorBase {
|
|
4
|
+
Background = "background",
|
|
5
|
+
Light = "light",
|
|
6
|
+
Dark = "dark",
|
|
7
|
+
Primary = "primary",
|
|
8
|
+
Error = "error",
|
|
9
|
+
Warning = "warning",
|
|
10
|
+
Success = "success"
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export const DefaultTheme: ThemeDefinition = {
|
|
14
|
+
dark: false,
|
|
15
|
+
colors: {
|
|
16
|
+
"background": "#F9F9F9",
|
|
17
|
+
"light" : "#DEE0E3",
|
|
18
|
+
"dark" : "#4D4D4D",
|
|
19
|
+
"primary" : "#0059E5",
|
|
20
|
+
"success" : "#56CC1F",
|
|
21
|
+
"warning" : "#FFB833",
|
|
22
|
+
"error" : "#EB1313"
|
|
23
|
+
}
|
|
24
|
+
}
|
package/themes/index.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./default";
|