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.
- package/CHANGELOG.md +42 -0
- package/README.md +201 -0
- package/dist/components.esm.js +20 -0
- package/dist/components.esm.js.map +1 -0
- package/dist/components.js +28 -0
- package/dist/components.js.map +1 -0
- package/dist/index.esm.js +267 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/index.js +279 -0
- package/dist/index.js.map +1 -0
- package/dist/layout.esm.js +23 -0
- package/dist/layout.esm.js.map +1 -0
- package/dist/layout.js +32 -0
- package/dist/layout.js.map +1 -0
- package/dist/src/_apply-theme.scss +28 -0
- package/dist/src/_border-color.scss +33 -0
- package/dist/src/_border-radius.scss +17 -0
- package/dist/src/_border-size.scss +10 -0
- package/dist/src/_border.scss +8 -0
- package/dist/src/_buttons.scss +38 -0
- package/dist/src/_cards.scss +0 -0
- package/dist/src/_color.scss +35 -0
- package/dist/src/_drawer.scss +16 -0
- package/dist/src/_font.scss +63 -0
- package/dist/src/_font_size-mx.scss +4 -0
- package/dist/src/_footer.scss +0 -0
- package/dist/src/_gap.scss +20 -0
- package/dist/src/_header.scss +0 -0
- package/dist/src/_input.scss +32 -0
- package/dist/src/_margin.scss +69 -0
- package/dist/src/_media-query-mx.scss +35 -0
- package/dist/src/_padding.scss +69 -0
- package/dist/src/_reset.scss +68 -0
- package/dist/src/_sidebar.scss +0 -0
- package/dist/src/_size.scss +4 -0
- package/dist/src/_space.scss +4 -0
- package/dist/src/index.scss +24 -0
- package/dist/types/baseExports.d.ts +23 -0
- package/dist/types/components.d.ts +11 -0
- package/dist/types/index.d.ts +27 -0
- package/dist/types/layout.d.ts +13 -0
- package/dist/types/utilities.d.ts +41 -0
- package/dist/types/variables.d.ts +23 -0
- package/dist/utilities.esm.js +61 -0
- package/dist/utilities.esm.js.map +1 -0
- package/dist/utilities.js +81 -0
- package/dist/utilities.js.map +1 -0
- package/dist/variables.esm.js +39 -0
- package/dist/variables.esm.js.map +1 -0
- package/dist/variables.js +52 -0
- package/dist/variables.js.map +1 -0
- package/package.json +87 -0
- package/src/base/_border.scss +8 -0
- package/src/base/_color.scss +39 -0
- package/src/base/_font.scss +26 -0
- package/src/base/_size.scss +4 -0
- package/src/base/_space.scss +4 -0
- package/src/base/mixins/_apply-theme.scss +28 -0
- package/src/base/mixins/_font_size-mx.scss +4 -0
- package/src/base/mixins/_media-query-mx.scss +35 -0
- package/src/baseExports.ts +39 -0
- package/src/components/_buttons.scss +38 -0
- package/src/components/_cards.scss +0 -0
- package/src/components/_input.scss +32 -0
- package/src/components.ts +20 -0
- package/src/index.scss +24 -0
- package/src/index.ts +52 -0
- package/src/layout/_drawer.scss +16 -0
- package/src/layout/_footer.scss +0 -0
- package/src/layout/_header.scss +0 -0
- package/src/layout/_sidebar.scss +0 -0
- package/src/layout.ts +23 -0
- package/src/utilities/_reset.scss +68 -0
- package/src/utilities/background-color/index.scss +37 -0
- package/src/utilities/border/_border-color.scss +33 -0
- package/src/utilities/border/_border-radius.scss +17 -0
- package/src/utilities/border/_border-size.scss +10 -0
- package/src/utilities/box-shadow/index.scss +8 -0
- package/src/utilities/size/index.scss +9 -0
- package/src/utilities/spaces/_gap.scss +20 -0
- package/src/utilities/spaces/_margin.scss +69 -0
- package/src/utilities/spaces/_padding.scss +69 -0
- package/src/utilities/typography/_color.scss +35 -0
- package/src/utilities/typography/_font.scss +63 -0
- package/src/utilities.ts +67 -0
- package/src/variables.ts +40 -0
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
@use "../../base/space" as sp;
|
|
2
|
+
|
|
3
|
+
//small
|
|
4
|
+
.qo-margin-sm {
|
|
5
|
+
margin: sp.$space-sm;
|
|
6
|
+
}
|
|
7
|
+
.qo-margin-top-sm {
|
|
8
|
+
margin-top: sp.$space-sm;
|
|
9
|
+
}
|
|
10
|
+
.qo-margin-right-sm {
|
|
11
|
+
margin-right: sp.$space-sm;
|
|
12
|
+
}
|
|
13
|
+
.qo-margin-botttom-sm {
|
|
14
|
+
margin-bottom: sp.$space-sm;
|
|
15
|
+
}
|
|
16
|
+
.qo-margin-left-sm {
|
|
17
|
+
margin-left: sp.$space-sm;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
//medium
|
|
21
|
+
.qo-margin-md {
|
|
22
|
+
margin: sp.$space-md;
|
|
23
|
+
}
|
|
24
|
+
.qo-margin-top-md {
|
|
25
|
+
margin-top: sp.$space-md;
|
|
26
|
+
}
|
|
27
|
+
.qo-margin-right-md {
|
|
28
|
+
margin-right: sp.$space-md;
|
|
29
|
+
}
|
|
30
|
+
.qo-margin-botttom-md {
|
|
31
|
+
margin-bottom: sp.$space-md;
|
|
32
|
+
}
|
|
33
|
+
.qo-margin-left-md {
|
|
34
|
+
margin-left: sp.$space-md;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
//large
|
|
38
|
+
.qo-margin-lg {
|
|
39
|
+
margin: sp.$space-lg;
|
|
40
|
+
}
|
|
41
|
+
.qo-margin-top-lg {
|
|
42
|
+
margin-top: sp.$space-lg;
|
|
43
|
+
}
|
|
44
|
+
.qo-margin-right-lg {
|
|
45
|
+
margin-right: sp.$space-lg;
|
|
46
|
+
}
|
|
47
|
+
.qo-margin-botttom-lg {
|
|
48
|
+
margin-bottom: sp.$space-lg;
|
|
49
|
+
}
|
|
50
|
+
.qo-margin-left-lg {
|
|
51
|
+
margin-left: sp.$space-lg;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
//extra large
|
|
55
|
+
.qo-margin-xl {
|
|
56
|
+
margin: sp.$space-xl;
|
|
57
|
+
}
|
|
58
|
+
.qo-margin-top-xl {
|
|
59
|
+
margin-top: sp.$space-xl;
|
|
60
|
+
}
|
|
61
|
+
.qo-margin-right-xl {
|
|
62
|
+
margin-right: sp.$space-xl;
|
|
63
|
+
}
|
|
64
|
+
.qo-margin-botttom-xl {
|
|
65
|
+
margin-bottom: sp.$space-xl;
|
|
66
|
+
}
|
|
67
|
+
.qo-margin-left-xl {
|
|
68
|
+
margin-left: sp.$space-xl;
|
|
69
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
// abstracts/_media-queries.scss
|
|
2
|
+
|
|
3
|
+
$breakpoint-xs: 320px !default;
|
|
4
|
+
$breakpoint-sm: 576px !default;
|
|
5
|
+
$breakpoint-md: 768px !default;
|
|
6
|
+
$breakpoint-lg: 992px !default;
|
|
7
|
+
$breakpoint-xl: 1200px !default;
|
|
8
|
+
$breakpoint-xxl: 1366px !default;
|
|
9
|
+
|
|
10
|
+
$breakpoint-xs-mx-width: 100% !default;
|
|
11
|
+
$breakpoint-sm-mx-width: 100% !default;
|
|
12
|
+
$breakpoint-md-mx-width: 768px !default;
|
|
13
|
+
$breakpoint-lg-mx-width: 992px !default;
|
|
14
|
+
$breakpoint-xl-mx-width: 1180px !default;
|
|
15
|
+
$breakpoint-xxl-mx-width: 1346px !default;
|
|
16
|
+
|
|
17
|
+
@mixin responsive-body {
|
|
18
|
+
max-width: $breakpoint-xs-mx-width;
|
|
19
|
+
margin: auto;
|
|
20
|
+
@media (min-width: $breakpoint-sm) {
|
|
21
|
+
max-width: $breakpoint-sm-mx-width;
|
|
22
|
+
}
|
|
23
|
+
@media (min-width: $breakpoint-md) {
|
|
24
|
+
max-width: $breakpoint-md-mx-width;
|
|
25
|
+
}
|
|
26
|
+
@media (min-width: $breakpoint-lg) {
|
|
27
|
+
max-width: $breakpoint-lg-mx-width;
|
|
28
|
+
}
|
|
29
|
+
@media (min-width: $breakpoint-xl) {
|
|
30
|
+
max-width: $breakpoint-xl-mx-width;
|
|
31
|
+
}
|
|
32
|
+
@media (min-width: $breakpoint-xxl) {
|
|
33
|
+
max-width: $breakpoint-xxl-mx-width;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
@use "../../base/space" as sp;
|
|
2
|
+
|
|
3
|
+
//small
|
|
4
|
+
.qo-padding-sm {
|
|
5
|
+
padding: sp.$space-sm;
|
|
6
|
+
}
|
|
7
|
+
.qo-padding-top-sm {
|
|
8
|
+
padding-top: sp.$space-sm;
|
|
9
|
+
}
|
|
10
|
+
.qo-padding-right-sm {
|
|
11
|
+
padding-right: sp.$space-sm;
|
|
12
|
+
}
|
|
13
|
+
.qo-padding-botttom-sm {
|
|
14
|
+
padding-bottom: sp.$space-sm;
|
|
15
|
+
}
|
|
16
|
+
.qo-padding-left-sm {
|
|
17
|
+
padding-left: sp.$space-sm;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
//medium
|
|
21
|
+
.qo-padding-md {
|
|
22
|
+
padding: sp.$space-md;
|
|
23
|
+
}
|
|
24
|
+
.qo-padding-top-md {
|
|
25
|
+
padding-top: sp.$space-md;
|
|
26
|
+
}
|
|
27
|
+
.qo-padding-right-md {
|
|
28
|
+
padding-right: sp.$space-md;
|
|
29
|
+
}
|
|
30
|
+
.qo-padding-botttom-md {
|
|
31
|
+
padding-bottom: sp.$space-md;
|
|
32
|
+
}
|
|
33
|
+
.qo-padding-left-md {
|
|
34
|
+
padding-left: sp.$space-md;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
//large
|
|
38
|
+
.qo-padding-lg {
|
|
39
|
+
padding: sp.$space-lg;
|
|
40
|
+
}
|
|
41
|
+
.qo-padding-top-lg {
|
|
42
|
+
padding-top: sp.$space-lg;
|
|
43
|
+
}
|
|
44
|
+
.qo-padding-right-lg {
|
|
45
|
+
padding-right: sp.$space-lg;
|
|
46
|
+
}
|
|
47
|
+
.qo-padding-botttom-lg {
|
|
48
|
+
padding-bottom: sp.$space-lg;
|
|
49
|
+
}
|
|
50
|
+
.qo-padding-left-lg {
|
|
51
|
+
padding-left: sp.$space-lg;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
//extra large
|
|
55
|
+
.qo-padding-xl {
|
|
56
|
+
padding: sp.$space-xl;
|
|
57
|
+
}
|
|
58
|
+
.qo-padding-top-xl {
|
|
59
|
+
padding-top: sp.$space-xl;
|
|
60
|
+
}
|
|
61
|
+
.qo-padding-right-xl {
|
|
62
|
+
padding-right: sp.$space-xl;
|
|
63
|
+
}
|
|
64
|
+
.qo-padding-botttom-xl {
|
|
65
|
+
padding-bottom: sp.$space-xl;
|
|
66
|
+
}
|
|
67
|
+
.qo-padding-left-xl {
|
|
68
|
+
padding-left: sp.$space-xl;
|
|
69
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
@use "../base/mixins/media-query-mx" as mx;
|
|
2
|
+
/* Box sizing reset */
|
|
3
|
+
*,
|
|
4
|
+
*::before,
|
|
5
|
+
*::after {
|
|
6
|
+
box-sizing: border-box;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
/* Remove default margin and padding */
|
|
10
|
+
body,
|
|
11
|
+
h1,
|
|
12
|
+
h2,
|
|
13
|
+
h3,
|
|
14
|
+
h4,
|
|
15
|
+
h5,
|
|
16
|
+
h6,
|
|
17
|
+
p,
|
|
18
|
+
blockquote,
|
|
19
|
+
pre,
|
|
20
|
+
dl,
|
|
21
|
+
dd,
|
|
22
|
+
ol,
|
|
23
|
+
ul,
|
|
24
|
+
figure,
|
|
25
|
+
hr,
|
|
26
|
+
fieldset,
|
|
27
|
+
legend {
|
|
28
|
+
margin: 0;
|
|
29
|
+
padding: 0;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
body {
|
|
33
|
+
height: 100vh;
|
|
34
|
+
@include mx.responsive-body;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/* Remove list styles */
|
|
38
|
+
ul,
|
|
39
|
+
ol {
|
|
40
|
+
list-style: none;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/* Remove default border */
|
|
44
|
+
img,
|
|
45
|
+
fieldset {
|
|
46
|
+
border: 0;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/* Remove link underlines */
|
|
50
|
+
a {
|
|
51
|
+
text-decoration: none;
|
|
52
|
+
color: inherit;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/* Inherit fonts for form elements */
|
|
56
|
+
input,
|
|
57
|
+
button,
|
|
58
|
+
textarea,
|
|
59
|
+
select {
|
|
60
|
+
font: inherit;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/* Remove outline on buttons (optional, but be careful for accessibility) */
|
|
64
|
+
button {
|
|
65
|
+
background: none;
|
|
66
|
+
border: none;
|
|
67
|
+
cursor: pointer;
|
|
68
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
@forward "./utilities/reset";
|
|
2
|
+
@forward "./utilities/typography/font";
|
|
3
|
+
@forward "./utilities/typography/color";
|
|
4
|
+
@forward "./utilities/background-color/index.scss";
|
|
5
|
+
@forward "./utilities/border/border-color";
|
|
6
|
+
@forward "./utilities/border/border-radius";
|
|
7
|
+
@forward "./utilities/border/border-size";
|
|
8
|
+
@forward "./utilities/spaces/gap";
|
|
9
|
+
@forward "./utilities/spaces/margin";
|
|
10
|
+
@forward "./utilities/spaces/padding";
|
|
11
|
+
@forward "./utilities/box-shadow/index.scss";
|
|
12
|
+
@forward "./utilities/size/index.scss";
|
|
13
|
+
|
|
14
|
+
@forward "./base/mixins/media-query-mx";
|
|
15
|
+
@forward "./base/border";
|
|
16
|
+
@forward "./base/color";
|
|
17
|
+
@forward "./base/font";
|
|
18
|
+
@forward "./base/space";
|
|
19
|
+
@forward "./base/size";
|
|
20
|
+
|
|
21
|
+
@forward "./components/buttons";
|
|
22
|
+
@forward "./components/input";
|
|
23
|
+
|
|
24
|
+
@forward "./layout/drawer";
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare const colors = "./base/_color.scss";
|
|
2
|
+
export declare const fonts = "./base/_font.scss";
|
|
3
|
+
export declare const spacing = "./base/_space.scss";
|
|
4
|
+
export declare const borders = "./base/_border.scss";
|
|
5
|
+
export declare const sizes = "./base/_size.scss";
|
|
6
|
+
export declare const mediaQueryMixins = "./base/mixins/_media-query-mx.scss";
|
|
7
|
+
export declare const fontSizeMixins = "./base/mixins/_font_size-mx.scss";
|
|
8
|
+
export declare const applyThemeMixins = "./base/mixins/_apply-theme.scss";
|
|
9
|
+
export declare const allBase: string[];
|
|
10
|
+
declare const _default: {
|
|
11
|
+
colors: string;
|
|
12
|
+
fonts: string;
|
|
13
|
+
spacing: string;
|
|
14
|
+
borders: string;
|
|
15
|
+
sizes: string;
|
|
16
|
+
mixins: {
|
|
17
|
+
mediaQuery: string;
|
|
18
|
+
fontSize: string;
|
|
19
|
+
applyTheme: string;
|
|
20
|
+
};
|
|
21
|
+
all: string[];
|
|
22
|
+
};
|
|
23
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const buttons = "./components/_buttons.scss";
|
|
2
|
+
export declare const input = "./components/_input.scss";
|
|
3
|
+
export declare const cards = "./components/_cards.scss";
|
|
4
|
+
export declare const allComponents: string[];
|
|
5
|
+
declare const _default: {
|
|
6
|
+
buttons: string;
|
|
7
|
+
input: string;
|
|
8
|
+
cards: string;
|
|
9
|
+
all: string[];
|
|
10
|
+
};
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export declare const themeStylesheet = "./index.scss";
|
|
2
|
+
export * as variables from './variables';
|
|
3
|
+
export * as base from './baseExports';
|
|
4
|
+
export * as components from './components';
|
|
5
|
+
export * as layout from './layout';
|
|
6
|
+
export * as utilities from './utilities';
|
|
7
|
+
declare const _default: {
|
|
8
|
+
name: string;
|
|
9
|
+
version: string;
|
|
10
|
+
stylesheet: string;
|
|
11
|
+
variables: string;
|
|
12
|
+
components: string;
|
|
13
|
+
layout: string;
|
|
14
|
+
utilities: string;
|
|
15
|
+
};
|
|
16
|
+
export default _default;
|
|
17
|
+
export interface ThemeConfig {
|
|
18
|
+
name: string;
|
|
19
|
+
version: string;
|
|
20
|
+
stylesheet: string;
|
|
21
|
+
variables: string;
|
|
22
|
+
components: string;
|
|
23
|
+
layout: string;
|
|
24
|
+
utilities: string;
|
|
25
|
+
}
|
|
26
|
+
export declare const getThemeStylesheet: () => string;
|
|
27
|
+
export declare const getThemeConfig: () => ThemeConfig;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const drawer = "./layout/_drawer.scss";
|
|
2
|
+
export declare const header = "./layout/_header.scss";
|
|
3
|
+
export declare const footer = "./layout/_footer.scss";
|
|
4
|
+
export declare const sidebar = "./layout/_sidebar.scss";
|
|
5
|
+
export declare const allLayout: string[];
|
|
6
|
+
declare const _default: {
|
|
7
|
+
drawer: string;
|
|
8
|
+
header: string;
|
|
9
|
+
footer: string;
|
|
10
|
+
sidebar: string;
|
|
11
|
+
all: string[];
|
|
12
|
+
};
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export declare const reset = "./utilities/_reset.scss";
|
|
2
|
+
export declare const typographyFont = "./utilities/typography/_font.scss";
|
|
3
|
+
export declare const typographyColor = "./utilities/typography/_color.scss";
|
|
4
|
+
export declare const typography: string[];
|
|
5
|
+
export declare const backgroundColor = "./utilities/background-color/index.scss";
|
|
6
|
+
export declare const borderColor = "./utilities/border/_border-color.scss";
|
|
7
|
+
export declare const borderRadius = "./utilities/border/_border-radius.scss";
|
|
8
|
+
export declare const borderSize = "./utilities/border/_border-size.scss";
|
|
9
|
+
export declare const borders: string[];
|
|
10
|
+
export declare const gap = "./utilities/spaces/_gap.scss";
|
|
11
|
+
export declare const margin = "./utilities/spaces/_margin.scss";
|
|
12
|
+
export declare const padding = "./utilities/spaces/_padding.scss";
|
|
13
|
+
export declare const spacing: string[];
|
|
14
|
+
export declare const boxShadow = "./utilities/box-shadow/index.scss";
|
|
15
|
+
export declare const size = "./utilities/size/index.scss";
|
|
16
|
+
export declare const allUtilities: string[];
|
|
17
|
+
declare const _default: {
|
|
18
|
+
reset: string;
|
|
19
|
+
typography: {
|
|
20
|
+
font: string;
|
|
21
|
+
color: string;
|
|
22
|
+
all: string[];
|
|
23
|
+
};
|
|
24
|
+
backgroundColor: string;
|
|
25
|
+
borders: {
|
|
26
|
+
color: string;
|
|
27
|
+
radius: string;
|
|
28
|
+
size: string;
|
|
29
|
+
all: string[];
|
|
30
|
+
};
|
|
31
|
+
spacing: {
|
|
32
|
+
gap: string;
|
|
33
|
+
margin: string;
|
|
34
|
+
padding: string;
|
|
35
|
+
all: string[];
|
|
36
|
+
};
|
|
37
|
+
boxShadow: string;
|
|
38
|
+
size: string;
|
|
39
|
+
all: string[];
|
|
40
|
+
};
|
|
41
|
+
export default _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare const colors = "./base/_color.scss";
|
|
2
|
+
export declare const fonts = "./base/_font.scss";
|
|
3
|
+
export declare const spacing = "./base/_space.scss";
|
|
4
|
+
export declare const borders = "./base/_border.scss";
|
|
5
|
+
export declare const sizes = "./base/_size.scss";
|
|
6
|
+
export declare const mediaQueryMixins = "./base/mixins/_media-query-mx.scss";
|
|
7
|
+
export declare const fontSizeMixins = "./base/mixins/_font_size-mx.scss";
|
|
8
|
+
export declare const applyThemeMixins = "./base/mixins/_apply-theme.scss";
|
|
9
|
+
export declare const allVariables: string[];
|
|
10
|
+
declare const _default: {
|
|
11
|
+
colors: string;
|
|
12
|
+
fonts: string;
|
|
13
|
+
spacing: string;
|
|
14
|
+
borders: string;
|
|
15
|
+
sizes: string;
|
|
16
|
+
mixins: {
|
|
17
|
+
mediaQuery: string;
|
|
18
|
+
fontSize: string;
|
|
19
|
+
applyTheme: string;
|
|
20
|
+
};
|
|
21
|
+
all: string[];
|
|
22
|
+
};
|
|
23
|
+
export default _default;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
// VS Theme Utilities Export
|
|
2
|
+
// Provides access to all utility styles
|
|
3
|
+
// Reset and base utilities
|
|
4
|
+
const reset = './utilities/_reset.scss';
|
|
5
|
+
// Typography utilities
|
|
6
|
+
const typographyFont = './utilities/typography/_font.scss';
|
|
7
|
+
const typographyColor = './utilities/typography/_color.scss';
|
|
8
|
+
const typography = [typographyFont, typographyColor];
|
|
9
|
+
// Background utilities
|
|
10
|
+
const backgroundColor = './utilities/background-color/index.scss';
|
|
11
|
+
// Border utilities
|
|
12
|
+
const borderColor = './utilities/border/_border-color.scss';
|
|
13
|
+
const borderRadius = './utilities/border/_border-radius.scss';
|
|
14
|
+
const borderSize = './utilities/border/_border-size.scss';
|
|
15
|
+
const borders = [borderColor, borderRadius, borderSize];
|
|
16
|
+
// Spacing utilities
|
|
17
|
+
const gap = './utilities/spaces/_gap.scss';
|
|
18
|
+
const margin = './utilities/spaces/_margin.scss';
|
|
19
|
+
const padding = './utilities/spaces/_padding.scss';
|
|
20
|
+
const spacing = [gap, margin, padding];
|
|
21
|
+
// Box shadow utilities
|
|
22
|
+
const boxShadow = './utilities/box-shadow/index.scss';
|
|
23
|
+
// Size utilities
|
|
24
|
+
const size = './utilities/size/index.scss';
|
|
25
|
+
// All utilities combined
|
|
26
|
+
const allUtilities = [
|
|
27
|
+
reset,
|
|
28
|
+
...typography,
|
|
29
|
+
backgroundColor,
|
|
30
|
+
...borders,
|
|
31
|
+
...spacing,
|
|
32
|
+
boxShadow,
|
|
33
|
+
size
|
|
34
|
+
];
|
|
35
|
+
var utilities = {
|
|
36
|
+
reset,
|
|
37
|
+
typography: {
|
|
38
|
+
font: typographyFont,
|
|
39
|
+
color: typographyColor,
|
|
40
|
+
all: typography
|
|
41
|
+
},
|
|
42
|
+
backgroundColor,
|
|
43
|
+
borders: {
|
|
44
|
+
color: borderColor,
|
|
45
|
+
radius: borderRadius,
|
|
46
|
+
size: borderSize,
|
|
47
|
+
all: borders
|
|
48
|
+
},
|
|
49
|
+
spacing: {
|
|
50
|
+
gap,
|
|
51
|
+
margin,
|
|
52
|
+
padding,
|
|
53
|
+
all: spacing
|
|
54
|
+
},
|
|
55
|
+
boxShadow,
|
|
56
|
+
size,
|
|
57
|
+
all: allUtilities
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
export { allUtilities, backgroundColor, borderColor, borderRadius, borderSize, borders, boxShadow, utilities as default, gap, margin, padding, reset, size, spacing, typography, typographyColor, typographyFont };
|
|
61
|
+
//# sourceMappingURL=utilities.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utilities.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
// VS Theme Utilities Export
|
|
6
|
+
// Provides access to all utility styles
|
|
7
|
+
// Reset and base utilities
|
|
8
|
+
const reset = './utilities/_reset.scss';
|
|
9
|
+
// Typography utilities
|
|
10
|
+
const typographyFont = './utilities/typography/_font.scss';
|
|
11
|
+
const typographyColor = './utilities/typography/_color.scss';
|
|
12
|
+
const typography = [typographyFont, typographyColor];
|
|
13
|
+
// Background utilities
|
|
14
|
+
const backgroundColor = './utilities/background-color/index.scss';
|
|
15
|
+
// Border utilities
|
|
16
|
+
const borderColor = './utilities/border/_border-color.scss';
|
|
17
|
+
const borderRadius = './utilities/border/_border-radius.scss';
|
|
18
|
+
const borderSize = './utilities/border/_border-size.scss';
|
|
19
|
+
const borders = [borderColor, borderRadius, borderSize];
|
|
20
|
+
// Spacing utilities
|
|
21
|
+
const gap = './utilities/spaces/_gap.scss';
|
|
22
|
+
const margin = './utilities/spaces/_margin.scss';
|
|
23
|
+
const padding = './utilities/spaces/_padding.scss';
|
|
24
|
+
const spacing = [gap, margin, padding];
|
|
25
|
+
// Box shadow utilities
|
|
26
|
+
const boxShadow = './utilities/box-shadow/index.scss';
|
|
27
|
+
// Size utilities
|
|
28
|
+
const size = './utilities/size/index.scss';
|
|
29
|
+
// All utilities combined
|
|
30
|
+
const allUtilities = [
|
|
31
|
+
reset,
|
|
32
|
+
...typography,
|
|
33
|
+
backgroundColor,
|
|
34
|
+
...borders,
|
|
35
|
+
...spacing,
|
|
36
|
+
boxShadow,
|
|
37
|
+
size
|
|
38
|
+
];
|
|
39
|
+
var utilities = {
|
|
40
|
+
reset,
|
|
41
|
+
typography: {
|
|
42
|
+
font: typographyFont,
|
|
43
|
+
color: typographyColor,
|
|
44
|
+
all: typography
|
|
45
|
+
},
|
|
46
|
+
backgroundColor,
|
|
47
|
+
borders: {
|
|
48
|
+
color: borderColor,
|
|
49
|
+
radius: borderRadius,
|
|
50
|
+
size: borderSize,
|
|
51
|
+
all: borders
|
|
52
|
+
},
|
|
53
|
+
spacing: {
|
|
54
|
+
gap,
|
|
55
|
+
margin,
|
|
56
|
+
padding,
|
|
57
|
+
all: spacing
|
|
58
|
+
},
|
|
59
|
+
boxShadow,
|
|
60
|
+
size,
|
|
61
|
+
all: allUtilities
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
exports.allUtilities = allUtilities;
|
|
65
|
+
exports.backgroundColor = backgroundColor;
|
|
66
|
+
exports.borderColor = borderColor;
|
|
67
|
+
exports.borderRadius = borderRadius;
|
|
68
|
+
exports.borderSize = borderSize;
|
|
69
|
+
exports.borders = borders;
|
|
70
|
+
exports.boxShadow = boxShadow;
|
|
71
|
+
exports.default = utilities;
|
|
72
|
+
exports.gap = gap;
|
|
73
|
+
exports.margin = margin;
|
|
74
|
+
exports.padding = padding;
|
|
75
|
+
exports.reset = reset;
|
|
76
|
+
exports.size = size;
|
|
77
|
+
exports.spacing = spacing;
|
|
78
|
+
exports.typography = typography;
|
|
79
|
+
exports.typographyColor = typographyColor;
|
|
80
|
+
exports.typographyFont = typographyFont;
|
|
81
|
+
//# sourceMappingURL=utilities.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utilities.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
// VS Theme Variables Export
|
|
2
|
+
// Provides access to all theme variables and base styles
|
|
3
|
+
// Base variables and mixins
|
|
4
|
+
const colors = './base/_color.scss';
|
|
5
|
+
const fonts = './base/_font.scss';
|
|
6
|
+
const spacing = './base/_space.scss';
|
|
7
|
+
const borders = './base/_border.scss';
|
|
8
|
+
const sizes = './base/_size.scss';
|
|
9
|
+
// Mixins
|
|
10
|
+
const mediaQueryMixins = './base/mixins/_media-query-mx.scss';
|
|
11
|
+
const fontSizeMixins = './base/mixins/_font_size-mx.scss';
|
|
12
|
+
const applyThemeMixins = './base/mixins/_apply-theme.scss';
|
|
13
|
+
// All base variables combined
|
|
14
|
+
const allVariables = [
|
|
15
|
+
colors,
|
|
16
|
+
fonts,
|
|
17
|
+
spacing,
|
|
18
|
+
borders,
|
|
19
|
+
sizes,
|
|
20
|
+
mediaQueryMixins,
|
|
21
|
+
fontSizeMixins,
|
|
22
|
+
applyThemeMixins
|
|
23
|
+
];
|
|
24
|
+
var variables = {
|
|
25
|
+
colors,
|
|
26
|
+
fonts,
|
|
27
|
+
spacing,
|
|
28
|
+
borders,
|
|
29
|
+
sizes,
|
|
30
|
+
mixins: {
|
|
31
|
+
mediaQuery: mediaQueryMixins,
|
|
32
|
+
fontSize: fontSizeMixins,
|
|
33
|
+
applyTheme: applyThemeMixins
|
|
34
|
+
},
|
|
35
|
+
all: allVariables
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
export { allVariables, applyThemeMixins, borders, colors, variables as default, fontSizeMixins, fonts, mediaQueryMixins, sizes, spacing };
|
|
39
|
+
//# sourceMappingURL=variables.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"variables.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,52 @@
|
|
|
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 = './base/_color.scss';
|
|
9
|
+
const fonts = './base/_font.scss';
|
|
10
|
+
const spacing = './base/_space.scss';
|
|
11
|
+
const borders = './base/_border.scss';
|
|
12
|
+
const sizes = './base/_size.scss';
|
|
13
|
+
// Mixins
|
|
14
|
+
const mediaQueryMixins = './base/mixins/_media-query-mx.scss';
|
|
15
|
+
const fontSizeMixins = './base/mixins/_font_size-mx.scss';
|
|
16
|
+
const applyThemeMixins = './base/mixins/_apply-theme.scss';
|
|
17
|
+
// All base variables combined
|
|
18
|
+
const allVariables = [
|
|
19
|
+
colors,
|
|
20
|
+
fonts,
|
|
21
|
+
spacing,
|
|
22
|
+
borders,
|
|
23
|
+
sizes,
|
|
24
|
+
mediaQueryMixins,
|
|
25
|
+
fontSizeMixins,
|
|
26
|
+
applyThemeMixins
|
|
27
|
+
];
|
|
28
|
+
var variables = {
|
|
29
|
+
colors,
|
|
30
|
+
fonts,
|
|
31
|
+
spacing,
|
|
32
|
+
borders,
|
|
33
|
+
sizes,
|
|
34
|
+
mixins: {
|
|
35
|
+
mediaQuery: mediaQueryMixins,
|
|
36
|
+
fontSize: fontSizeMixins,
|
|
37
|
+
applyTheme: applyThemeMixins
|
|
38
|
+
},
|
|
39
|
+
all: allVariables
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
exports.allVariables = allVariables;
|
|
43
|
+
exports.applyThemeMixins = applyThemeMixins;
|
|
44
|
+
exports.borders = borders;
|
|
45
|
+
exports.colors = colors;
|
|
46
|
+
exports.default = variables;
|
|
47
|
+
exports.fontSizeMixins = fontSizeMixins;
|
|
48
|
+
exports.fonts = fonts;
|
|
49
|
+
exports.mediaQueryMixins = mediaQueryMixins;
|
|
50
|
+
exports.sizes = sizes;
|
|
51
|
+
exports.spacing = spacing;
|
|
52
|
+
//# sourceMappingURL=variables.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"variables.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|