procode-vs-theme 1.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.
Files changed (86) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/README.md +201 -0
  3. package/dist/components.esm.js +20 -0
  4. package/dist/components.esm.js.map +1 -0
  5. package/dist/components.js +28 -0
  6. package/dist/components.js.map +1 -0
  7. package/dist/index.esm.js +267 -0
  8. package/dist/index.esm.js.map +1 -0
  9. package/dist/index.js +279 -0
  10. package/dist/index.js.map +1 -0
  11. package/dist/layout.esm.js +23 -0
  12. package/dist/layout.esm.js.map +1 -0
  13. package/dist/layout.js +32 -0
  14. package/dist/layout.js.map +1 -0
  15. package/dist/src/_apply-theme.scss +28 -0
  16. package/dist/src/_border-color.scss +33 -0
  17. package/dist/src/_border-radius.scss +17 -0
  18. package/dist/src/_border-size.scss +10 -0
  19. package/dist/src/_border.scss +8 -0
  20. package/dist/src/_buttons.scss +38 -0
  21. package/dist/src/_cards.scss +0 -0
  22. package/dist/src/_color.scss +35 -0
  23. package/dist/src/_drawer.scss +16 -0
  24. package/dist/src/_font.scss +63 -0
  25. package/dist/src/_font_size-mx.scss +4 -0
  26. package/dist/src/_footer.scss +0 -0
  27. package/dist/src/_gap.scss +20 -0
  28. package/dist/src/_header.scss +0 -0
  29. package/dist/src/_input.scss +32 -0
  30. package/dist/src/_margin.scss +69 -0
  31. package/dist/src/_media-query-mx.scss +35 -0
  32. package/dist/src/_padding.scss +69 -0
  33. package/dist/src/_reset.scss +68 -0
  34. package/dist/src/_sidebar.scss +0 -0
  35. package/dist/src/_size.scss +4 -0
  36. package/dist/src/_space.scss +4 -0
  37. package/dist/src/index.scss +24 -0
  38. package/dist/types/baseExports.d.ts +23 -0
  39. package/dist/types/components.d.ts +11 -0
  40. package/dist/types/index.d.ts +27 -0
  41. package/dist/types/layout.d.ts +13 -0
  42. package/dist/types/utilities.d.ts +41 -0
  43. package/dist/types/variables.d.ts +23 -0
  44. package/dist/utilities.esm.js +61 -0
  45. package/dist/utilities.esm.js.map +1 -0
  46. package/dist/utilities.js +81 -0
  47. package/dist/utilities.js.map +1 -0
  48. package/dist/variables.esm.js +39 -0
  49. package/dist/variables.esm.js.map +1 -0
  50. package/dist/variables.js +52 -0
  51. package/dist/variables.js.map +1 -0
  52. package/package.json +87 -0
  53. package/src/base/_border.scss +8 -0
  54. package/src/base/_color.scss +39 -0
  55. package/src/base/_font.scss +26 -0
  56. package/src/base/_size.scss +4 -0
  57. package/src/base/_space.scss +4 -0
  58. package/src/base/mixins/_apply-theme.scss +28 -0
  59. package/src/base/mixins/_font_size-mx.scss +4 -0
  60. package/src/base/mixins/_media-query-mx.scss +35 -0
  61. package/src/baseExports.ts +39 -0
  62. package/src/components/_buttons.scss +38 -0
  63. package/src/components/_cards.scss +0 -0
  64. package/src/components/_input.scss +32 -0
  65. package/src/components.ts +20 -0
  66. package/src/index.scss +24 -0
  67. package/src/index.ts +52 -0
  68. package/src/layout/_drawer.scss +16 -0
  69. package/src/layout/_footer.scss +0 -0
  70. package/src/layout/_header.scss +0 -0
  71. package/src/layout/_sidebar.scss +0 -0
  72. package/src/layout.ts +23 -0
  73. package/src/utilities/_reset.scss +68 -0
  74. package/src/utilities/background-color/index.scss +37 -0
  75. package/src/utilities/border/_border-color.scss +33 -0
  76. package/src/utilities/border/_border-radius.scss +17 -0
  77. package/src/utilities/border/_border-size.scss +10 -0
  78. package/src/utilities/box-shadow/index.scss +8 -0
  79. package/src/utilities/size/index.scss +9 -0
  80. package/src/utilities/spaces/_gap.scss +20 -0
  81. package/src/utilities/spaces/_margin.scss +69 -0
  82. package/src/utilities/spaces/_padding.scss +69 -0
  83. package/src/utilities/typography/_color.scss +35 -0
  84. package/src/utilities/typography/_font.scss +63 -0
  85. package/src/utilities.ts +67 -0
  86. package/src/variables.ts +40 -0
package/dist/index.js ADDED
@@ -0,0 +1,279 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ // VS Theme Variables Export
6
+ // Provides access to all theme variables and base styles
7
+ // Base variables and mixins
8
+ const colors$1 = './base/_color.scss';
9
+ const fonts$1 = './base/_font.scss';
10
+ const spacing$2 = './base/_space.scss';
11
+ const borders$2 = './base/_border.scss';
12
+ const sizes$1 = './base/_size.scss';
13
+ // Mixins
14
+ const mediaQueryMixins$1 = './base/mixins/_media-query-mx.scss';
15
+ const fontSizeMixins$1 = './base/mixins/_font_size-mx.scss';
16
+ const applyThemeMixins$1 = './base/mixins/_apply-theme.scss';
17
+ // All base variables combined
18
+ const allVariables = [
19
+ colors$1,
20
+ fonts$1,
21
+ spacing$2,
22
+ borders$2,
23
+ sizes$1,
24
+ mediaQueryMixins$1,
25
+ fontSizeMixins$1,
26
+ applyThemeMixins$1
27
+ ];
28
+ var variables = {
29
+ colors: colors$1,
30
+ fonts: fonts$1,
31
+ spacing: spacing$2,
32
+ borders: borders$2,
33
+ sizes: sizes$1,
34
+ mixins: {
35
+ mediaQuery: mediaQueryMixins$1,
36
+ fontSize: fontSizeMixins$1,
37
+ applyTheme: applyThemeMixins$1
38
+ },
39
+ all: allVariables
40
+ };
41
+
42
+ var variables$1 = /*#__PURE__*/Object.freeze({
43
+ __proto__: null,
44
+ allVariables: allVariables,
45
+ applyThemeMixins: applyThemeMixins$1,
46
+ borders: borders$2,
47
+ colors: colors$1,
48
+ default: variables,
49
+ fontSizeMixins: fontSizeMixins$1,
50
+ fonts: fonts$1,
51
+ mediaQueryMixins: mediaQueryMixins$1,
52
+ sizes: sizes$1,
53
+ spacing: spacing$2
54
+ });
55
+
56
+ // VS Theme Base Export
57
+ // Provides access to all base variables and mixins
58
+ const colors = './base/_color.scss';
59
+ const fonts = './base/_font.scss';
60
+ const spacing$1 = './base/_space.scss';
61
+ const borders$1 = './base/_border.scss';
62
+ const sizes = './base/_size.scss';
63
+ // Mixins
64
+ const mediaQueryMixins = './base/mixins/_media-query-mx.scss';
65
+ const fontSizeMixins = './base/mixins/_font_size-mx.scss';
66
+ const applyThemeMixins = './base/mixins/_apply-theme.scss';
67
+ // All base styles combined
68
+ const allBase = [
69
+ colors,
70
+ fonts,
71
+ spacing$1,
72
+ borders$1,
73
+ sizes,
74
+ mediaQueryMixins,
75
+ fontSizeMixins,
76
+ applyThemeMixins
77
+ ];
78
+ var baseExports = {
79
+ colors,
80
+ fonts,
81
+ spacing: spacing$1,
82
+ borders: borders$1,
83
+ sizes,
84
+ mixins: {
85
+ mediaQuery: mediaQueryMixins,
86
+ fontSize: fontSizeMixins,
87
+ applyTheme: applyThemeMixins
88
+ },
89
+ all: allBase
90
+ };
91
+
92
+ var baseExports$1 = /*#__PURE__*/Object.freeze({
93
+ __proto__: null,
94
+ allBase: allBase,
95
+ applyThemeMixins: applyThemeMixins,
96
+ borders: borders$1,
97
+ colors: colors,
98
+ default: baseExports,
99
+ fontSizeMixins: fontSizeMixins,
100
+ fonts: fonts,
101
+ mediaQueryMixins: mediaQueryMixins,
102
+ sizes: sizes,
103
+ spacing: spacing$1
104
+ });
105
+
106
+ // VS Theme Components Export
107
+ // Provides access to all component styles
108
+ const buttons = './components/_buttons.scss';
109
+ const input = './components/_input.scss';
110
+ const cards = './components/_cards.scss';
111
+ // All components combined
112
+ const allComponents = [
113
+ buttons,
114
+ input,
115
+ cards
116
+ ];
117
+ var components = {
118
+ buttons,
119
+ input,
120
+ cards,
121
+ all: allComponents
122
+ };
123
+
124
+ var components$1 = /*#__PURE__*/Object.freeze({
125
+ __proto__: null,
126
+ allComponents: allComponents,
127
+ buttons: buttons,
128
+ cards: cards,
129
+ default: components,
130
+ input: input
131
+ });
132
+
133
+ // VS Theme Layout Export
134
+ // Provides access to all layout styles
135
+ const drawer = './layout/_drawer.scss';
136
+ const header = './layout/_header.scss';
137
+ const footer = './layout/_footer.scss';
138
+ const sidebar = './layout/_sidebar.scss';
139
+ // All layout components combined
140
+ const allLayout = [
141
+ drawer,
142
+ header,
143
+ footer,
144
+ sidebar
145
+ ];
146
+ var layout = {
147
+ drawer,
148
+ header,
149
+ footer,
150
+ sidebar,
151
+ all: allLayout
152
+ };
153
+
154
+ var layout$1 = /*#__PURE__*/Object.freeze({
155
+ __proto__: null,
156
+ allLayout: allLayout,
157
+ default: layout,
158
+ drawer: drawer,
159
+ footer: footer,
160
+ header: header,
161
+ sidebar: sidebar
162
+ });
163
+
164
+ // VS Theme Utilities Export
165
+ // Provides access to all utility styles
166
+ // Reset and base utilities
167
+ const reset = './utilities/_reset.scss';
168
+ // Typography utilities
169
+ const typographyFont = './utilities/typography/_font.scss';
170
+ const typographyColor = './utilities/typography/_color.scss';
171
+ const typography = [typographyFont, typographyColor];
172
+ // Background utilities
173
+ const backgroundColor = './utilities/background-color/index.scss';
174
+ // Border utilities
175
+ const borderColor = './utilities/border/_border-color.scss';
176
+ const borderRadius = './utilities/border/_border-radius.scss';
177
+ const borderSize = './utilities/border/_border-size.scss';
178
+ const borders = [borderColor, borderRadius, borderSize];
179
+ // Spacing utilities
180
+ const gap = './utilities/spaces/_gap.scss';
181
+ const margin = './utilities/spaces/_margin.scss';
182
+ const padding = './utilities/spaces/_padding.scss';
183
+ const spacing = [gap, margin, padding];
184
+ // Box shadow utilities
185
+ const boxShadow = './utilities/box-shadow/index.scss';
186
+ // Size utilities
187
+ const size = './utilities/size/index.scss';
188
+ // All utilities combined
189
+ const allUtilities = [
190
+ reset,
191
+ ...typography,
192
+ backgroundColor,
193
+ ...borders,
194
+ ...spacing,
195
+ boxShadow,
196
+ size
197
+ ];
198
+ var utilities = {
199
+ reset,
200
+ typography: {
201
+ font: typographyFont,
202
+ color: typographyColor,
203
+ all: typography
204
+ },
205
+ backgroundColor,
206
+ borders: {
207
+ color: borderColor,
208
+ radius: borderRadius,
209
+ size: borderSize,
210
+ all: borders
211
+ },
212
+ spacing: {
213
+ gap,
214
+ margin,
215
+ padding,
216
+ all: spacing
217
+ },
218
+ boxShadow,
219
+ size,
220
+ all: allUtilities
221
+ };
222
+
223
+ var utilities$1 = /*#__PURE__*/Object.freeze({
224
+ __proto__: null,
225
+ allUtilities: allUtilities,
226
+ backgroundColor: backgroundColor,
227
+ borderColor: borderColor,
228
+ borderRadius: borderRadius,
229
+ borderSize: borderSize,
230
+ borders: borders,
231
+ boxShadow: boxShadow,
232
+ default: utilities,
233
+ gap: gap,
234
+ margin: margin,
235
+ padding: padding,
236
+ reset: reset,
237
+ size: size,
238
+ spacing: spacing,
239
+ typography: typography,
240
+ typographyColor: typographyColor,
241
+ typographyFont: typographyFont
242
+ });
243
+
244
+ // VS Theme - Main Entry Point
245
+ // Provides comprehensive access to all theme components
246
+ // Main theme SCSS entry point
247
+ const themeStylesheet = './index.scss';
248
+ // Default export - Main theme configuration
249
+ var index = {
250
+ name: 'vs-theme',
251
+ version: '1.0.0',
252
+ stylesheet: './index.scss',
253
+ variables: './variables',
254
+ components: './components',
255
+ layout: './layout',
256
+ utilities: './utilities'
257
+ };
258
+ // Theme utility functions
259
+ const getThemeStylesheet = () => themeStylesheet;
260
+ const getThemeConfig = () => ({
261
+ name: 'vs-theme',
262
+ version: '1.0.0',
263
+ stylesheet: './index.scss',
264
+ variables: './variables',
265
+ components: './components',
266
+ layout: './layout',
267
+ utilities: './utilities'
268
+ });
269
+
270
+ exports.base = baseExports$1;
271
+ exports.components = components$1;
272
+ exports.default = index;
273
+ exports.getThemeConfig = getThemeConfig;
274
+ exports.getThemeStylesheet = getThemeStylesheet;
275
+ exports.layout = layout$1;
276
+ exports.themeStylesheet = themeStylesheet;
277
+ exports.utilities = utilities$1;
278
+ exports.variables = variables$1;
279
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,23 @@
1
+ // VS Theme Layout Export
2
+ // Provides access to all layout styles
3
+ const drawer = './layout/_drawer.scss';
4
+ const header = './layout/_header.scss';
5
+ const footer = './layout/_footer.scss';
6
+ const sidebar = './layout/_sidebar.scss';
7
+ // All layout components combined
8
+ const allLayout = [
9
+ drawer,
10
+ header,
11
+ footer,
12
+ sidebar
13
+ ];
14
+ var layout = {
15
+ drawer,
16
+ header,
17
+ footer,
18
+ sidebar,
19
+ all: allLayout
20
+ };
21
+
22
+ export { allLayout, layout as default, drawer, footer, header, sidebar };
23
+ //# sourceMappingURL=layout.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"layout.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;"}
package/dist/layout.js ADDED
@@ -0,0 +1,32 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ // VS Theme Layout Export
6
+ // Provides access to all layout styles
7
+ const drawer = './layout/_drawer.scss';
8
+ const header = './layout/_header.scss';
9
+ const footer = './layout/_footer.scss';
10
+ const sidebar = './layout/_sidebar.scss';
11
+ // All layout components combined
12
+ const allLayout = [
13
+ drawer,
14
+ header,
15
+ footer,
16
+ sidebar
17
+ ];
18
+ var layout = {
19
+ drawer,
20
+ header,
21
+ footer,
22
+ sidebar,
23
+ all: allLayout
24
+ };
25
+
26
+ exports.allLayout = allLayout;
27
+ exports.default = layout;
28
+ exports.drawer = drawer;
29
+ exports.footer = footer;
30
+ exports.header = header;
31
+ exports.sidebar = sidebar;
32
+ //# sourceMappingURL=layout.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"layout.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,28 @@
1
+ // /abstracts/_mixins.scss
2
+
3
+ @mixin apply-theme($name) {
4
+ $theme: tf.get-theme($name);
5
+
6
+ background-color: mdg.map-deep-get($theme, "colors", "background", "main");
7
+ color: mdg.map-deep-get($theme, "colors", "text", "primary");
8
+
9
+ font-family: mdg.map-deep-get($theme, "typography", "font-family", "primary");
10
+ font-size: mdg.map-deep-get($theme, "typography", "font-size", "md");
11
+ line-height: mdg.map-deep-get($theme, "typography", "line-height", "normal");
12
+
13
+ .btn {
14
+ background-color: mdg.map-deep-get($theme, "colors", "primary");
15
+ color: mdg.map-deep-get($theme, "colors", "text", "primary");
16
+ padding: mdg.map-deep-get($theme, "spacing", "sm");
17
+ border-radius: mdg.map-deep-get($theme, "border-radius", "md");
18
+ transition: all mdg.map-deep-get($theme, "transitions", "speed", "normal")
19
+ mdg.map-deep-get($theme, "transitions", "easing", "ease-in-out");
20
+ }
21
+
22
+ .card {
23
+ background-color: mdg.map-deep-get($theme, "colors", "background", "paper");
24
+ box-shadow: 0 2px 8px mdg.map-deep-get($theme, "colors", "shadow");
25
+ padding: mdg.map-deep-get($theme, "spacing", "md");
26
+ border-radius: mdg.map-deep-get($theme, "border-radius", "lg");
27
+ }
28
+ }
@@ -0,0 +1,33 @@
1
+ @use "../../base/color" as cl;
2
+
3
+ .qo-border-primary {
4
+ border-color: cl.$border-primary;
5
+ }
6
+
7
+ .qo-border-secondary {
8
+ border-color: cl.$border-secondary;
9
+ }
10
+
11
+ .qo-border-success {
12
+ border-color: cl.$border-success;
13
+ }
14
+
15
+ .qo-border-warning {
16
+ border-color: cl.$border-warning;
17
+ }
18
+
19
+ .qo-border-danger {
20
+ border-color: cl.$border-danger;
21
+ }
22
+
23
+ .qo-border-info {
24
+ border-color: cl.$border-info;
25
+ }
26
+
27
+ .qo-border-light {
28
+ border-color: cl.$border-light;
29
+ }
30
+
31
+ .qo-border-dark {
32
+ border-color: cl.$border-dark;
33
+ }
@@ -0,0 +1,17 @@
1
+ @use "../../base/border" as bo;
2
+
3
+ .qo-border-radius-sm {
4
+ border-radius: bo.$border-radius-sm;
5
+ }
6
+
7
+ .qo-border-radius-md {
8
+ border-radius: bo.$border-radius-md;
9
+ }
10
+
11
+ .qo-border-radius-lg {
12
+ border-radius: bo.$border-radius-lg;
13
+ }
14
+
15
+ .qo-border-radius-full {
16
+ border-radius: bo.$border-radius-full;
17
+ }
@@ -0,0 +1,10 @@
1
+ @use "../../base/border" as bo;
2
+ .qo-border-sm {
3
+ border-width: bo.$border-width-sm;
4
+ }
5
+ .qo-border-md {
6
+ border-width: bo.$border-width-md;
7
+ }
8
+ .qo-border-lg {
9
+ border-width: bo.$border-width-lg;
10
+ }
@@ -0,0 +1,8 @@
1
+ $border-radius-sm: 2px !default;
2
+ $border-radius-md: 4px !default;
3
+ $border-radius-lg: 16px !default;
4
+ $border-radius-full: 50% !default;
5
+
6
+ $border-width-sm: 1px !default;
7
+ $border-width-md: 2px !default;
8
+ $border-width-lg: 4px !default;
@@ -0,0 +1,38 @@
1
+ @use "../base/mixins/font_size-mx" as mx;
2
+ @use "../base/font" as ft;
3
+ @use "../base/color" as cl;
4
+ @use "../base/border" as bo;
5
+
6
+ $btn-padding-xs: 5.5px !default;
7
+ $btn-padding-md: 8px !default;
8
+ $btn-padding-xl: 16px !default;
9
+
10
+ .qo-btn {
11
+ display: inline-block;
12
+ border-radius: bo.$border-radius-sm;
13
+ }
14
+ .qo-btn-full {
15
+ display: block;
16
+ border-radius: bo.$border-radius-sm;
17
+ width: 100%;
18
+ padding: $btn-padding-xl;
19
+ @include mx.font-size(ft.$font-size-md, ft.$line-height-md);
20
+ }
21
+ .qo-btn-xs {
22
+ padding: $btn-padding-xs;
23
+ @include mx.font-size(ft.$font-size-xs, ft.$line-height-xs);
24
+ }
25
+ .qo-btn-md {
26
+ padding: $btn-padding-md;
27
+ @include mx.font-size(ft.$font-size-md, ft.$line-height-md);
28
+ }
29
+ .qo-btn-primary {
30
+ background-color: cl.$background-primary !important;
31
+ border: bo.$border-width-sm solid cl.$border-primary;
32
+ color: cl.$text-light !important;
33
+ }
34
+ .qo-btn-default {
35
+ background-color: cl.$background-default;
36
+ border: bo.$border-width-sm solid cl.$border-default;
37
+ color: cl.$text-dark !important;
38
+ }
File without changes
@@ -0,0 +1,35 @@
1
+ @use "../../base/color" as cl;
2
+ .qo-text-primary {
3
+ color: cl.$text-primary;
4
+ }
5
+ .qo-text-secondary {
6
+ color: cl.$text-secondary;
7
+ }
8
+ .qo-text-success {
9
+ color: cl.$text-success;
10
+ }
11
+ .qo-text-warning {
12
+ color: cl.$text-warning;
13
+ }
14
+ .qo-text-danger {
15
+ color: cl.$text-danger;
16
+ }
17
+ .qo-text-info {
18
+ color: cl.$text-info;
19
+ }
20
+ .qo-text-default {
21
+ color: cl.$text-default;
22
+ }
23
+ .qo-text-dark {
24
+ color: cl.$text-dark;
25
+ }
26
+ .qo-text-light {
27
+ color: cl.$text-light !important;
28
+ }
29
+ .qo-text-tertiary {
30
+ color: cl.$text-tertiary;
31
+ }
32
+
33
+ .qo-validation{
34
+ color: cl.$text-danger;
35
+ }
@@ -0,0 +1,16 @@
1
+ @use "../base/color" as cl;
2
+
3
+ .qo-drawer-shield {
4
+ background-color: cl.$background-transparent;
5
+ width: 100%;
6
+ height: 100vh;
7
+ }
8
+
9
+ .qo-drawer {
10
+ background-color: cl.$background-default;
11
+ }
12
+
13
+ .qo-drawer-md {
14
+ width: 43.53%;
15
+ height: 100%;
16
+ }
@@ -0,0 +1,63 @@
1
+ @use "../../base/font" as ft;
2
+ @use "../../base/mixins/font_size-mx" as mx;
3
+ @import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&display=swap");
4
+
5
+ .qo-font-family-primary {
6
+ font-family: ft.$font-family-primary;
7
+ }
8
+
9
+ .qo-font-family-secondary {
10
+ font-family: ft.$font-family-secondary;
11
+ }
12
+
13
+ .qo-font-xxs {
14
+ @include mx.font-size(ft.$font-size-xxs, ft.$line-height-xxs);
15
+ }
16
+ .qo-font-xs {
17
+ @include mx.font-size(ft.$font-size-xs, ft.$line-height-xs);
18
+ }
19
+ .qo-font-sm {
20
+ @include mx.font-size(ft.$font-size-sm, ft.$line-height-sm);
21
+ }
22
+ .qo-font-md {
23
+ @include mx.font-size(ft.$font-size-md, ft.$line-height-md);
24
+ }
25
+ .qo-font-lg {
26
+ @include mx.font-size(ft.$font-size-lg, ft.$line-height-lg);
27
+ }
28
+ .qo-font-xl {
29
+ @include mx.font-size(ft.$font-size-xl, ft.$line-height-xl);
30
+ }
31
+ .qo-font-xxl {
32
+ @include mx.font-size(ft.$font-size-xxl, ft.$line-height-xxl);
33
+ }
34
+
35
+ .qo-font-weight-light {
36
+ font-weight: ft.$font-weight-light;
37
+ }
38
+ .qo-font-weight-regular {
39
+ font-weight: ft.$font-weight-regular;
40
+ }
41
+ .qo-font-weight-medium {
42
+ font-weight: ft.$font-weight-medium;
43
+ }
44
+ .qo-font-weight-semibold {
45
+ font-weight: ft.$font-weight-semibold;
46
+ }
47
+ .qo-font-weight-bold {
48
+ font-weight: ft.$font-weight-bold;
49
+ }
50
+ .qo-font-weight-extrabold {
51
+ font-weight: ft.$font-weight-extrabold;
52
+ }
53
+ .qo-validation {
54
+ @include mx.font-size(ft.$font-size-md, ft.$line-height-md);
55
+ font-weight: ft.$font-weight-light;
56
+ margin-top: 2px;
57
+ }
58
+
59
+ h4 {
60
+ @include mx.font-size(ft.$font-size-md, ft.$line-height-md);
61
+ font-family: ft.$font-family-primary;
62
+ font-weight: ft.$font-weight-medium;
63
+ }
@@ -0,0 +1,4 @@
1
+ @mixin font-size($size, $lineheight) {
2
+ font-size: $size;
3
+ line-height: $lineheight;
4
+ }
File without changes
@@ -0,0 +1,20 @@
1
+ @use "../../base/space" as sp;
2
+
3
+ .qo-gap-sm {
4
+ gap: sp.$space-sm;
5
+ }
6
+ .qo-gap-md {
7
+ gap: sp.$space-md;
8
+ }
9
+ .qo-gap-md-y {
10
+ gap: sp.$space-md 0;
11
+ }
12
+ .qo-gap-md-x {
13
+ gap: 0 sp.$space-md;
14
+ }
15
+ .qo-gap-lg {
16
+ gap: sp.$space-lg;
17
+ }
18
+ .qo-gap-xl {
19
+ gap: sp.$space-xl;
20
+ }
File without changes
@@ -0,0 +1,32 @@
1
+ @use "../base/mixins/font_size-mx" as mx;
2
+ @use "../base/font" as ft;
3
+ @use "../base/color" as cl;
4
+ @use "../base/border" as bo;
5
+
6
+ $input-padding-xs: 5.5px !default;
7
+ $input-padding-md: 8px !default;
8
+ $input-padding-xl: 16px !default;
9
+
10
+ .qo-input {
11
+ display: inline-block;
12
+ border-radius: bo.$border-radius-sm;
13
+ }
14
+ .qo-input-full {
15
+ display: block;
16
+ border-radius: bo.$border-radius-sm;
17
+ width: 100%;
18
+ padding: $input-padding-xl;
19
+ @include mx.font-size(ft.$font-size-md, ft.$line-height-md);
20
+ }
21
+ .qo-input-xs {
22
+ padding: $input-padding-xs;
23
+ @include mx.font-size(ft.$font-size-xs, ft.$line-height-xs);
24
+ }
25
+ .qo-input-md {
26
+ padding: $input-padding-md;
27
+ @include mx.font-size(ft.$font-size-md, ft.$line-height-md);
28
+ }
29
+ .qo-input-default {
30
+ background-color: cl.$background-default;
31
+ border: bo.$border-width-sm solid cl.$border-default;
32
+ }