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
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [1.0.0] - 2025-10-08
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
- Initial release of VarStreet VS Theme Package
|
|
12
|
+
- Comprehensive SCSS theme system with modular architecture
|
|
13
|
+
- Multiple export endpoints following Theme Export Pattern:
|
|
14
|
+
- Main theme export for complete theme access
|
|
15
|
+
- `/variables` for design tokens and theme variables
|
|
16
|
+
- `/components` for component-specific styling
|
|
17
|
+
- `/layout` for layout and grid system
|
|
18
|
+
- `/utilities` for utility classes and helpers
|
|
19
|
+
- `/scss` and `/styles` for direct SCSS file access
|
|
20
|
+
- Theme configuration interface and utility functions
|
|
21
|
+
- Full TypeScript support with comprehensive type definitions
|
|
22
|
+
- Base styling system with typography, colors, and foundational styles
|
|
23
|
+
- Component-specific styling for buttons, forms, and UI elements
|
|
24
|
+
- Flexible layout system with grid, flexbox, and positioning utilities
|
|
25
|
+
- Comprehensive utility classes for spacing, colors, and responsive design
|
|
26
|
+
- MIT license for open source usage
|
|
27
|
+
|
|
28
|
+
### Features
|
|
29
|
+
- **Modular Architecture**: Import only the parts you need for optimal bundle size
|
|
30
|
+
- **TypeScript Support**: Full type definitions for theme configuration and exports
|
|
31
|
+
- **SCSS Compilation**: Compatible with modern build systems and SCSS processors
|
|
32
|
+
- **Design System**: Structured approach to styling with variables, components, layout, and utilities
|
|
33
|
+
- **Flexible Usage**: Multiple import patterns for different use cases
|
|
34
|
+
- **Theme Configuration**: Programmatic access to theme metadata and file paths
|
|
35
|
+
|
|
36
|
+
### Technical Implementation
|
|
37
|
+
- Rollup build system with multiple bundle outputs (ESM/CJS)
|
|
38
|
+
- SCSS file copying for external consumption
|
|
39
|
+
- TypeScript declaration files generation
|
|
40
|
+
- Comprehensive export structure for granular access
|
|
41
|
+
- Theme utility functions for dynamic usage
|
|
42
|
+
- Cross-platform compatibility with build tools
|
package/README.md
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
# VarStreet VS Theme
|
|
2
|
+
|
|
3
|
+
A comprehensive SCSS theme package for the VarStreet ProCode framework, providing modern styling and design system components with modular architecture for flexible usage.
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
- **Modular Architecture**: Import only what you need for optimal bundle size
|
|
8
|
+
- **Comprehensive Variables**: Colors, fonts, spacing, design tokens, and more
|
|
9
|
+
- **Component Styles**: Pre-styled UI components following design system principles
|
|
10
|
+
- **Layout System**: Flexible layout components and grid systems
|
|
11
|
+
- **Utility Classes**: Spacing, typography, borders, shadows and other utilities
|
|
12
|
+
- **TypeScript Support**: Full type definitions and theme configuration included
|
|
13
|
+
- **Multiple Export Endpoints**: Granular access to variables, components, layout, and utilities
|
|
14
|
+
- **Theme Configuration**: Programmatic access to theme metadata and paths
|
|
15
|
+
|
|
16
|
+
## Installation
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
npm install procode-vs-theme
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
### Peer Dependencies
|
|
23
|
+
|
|
24
|
+
This package requires SCSS support in your build system:
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
# Install SCSS processor
|
|
28
|
+
npm install sass --save-dev
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## Usage
|
|
32
|
+
|
|
33
|
+
### Import Complete Theme
|
|
34
|
+
|
|
35
|
+
```scss
|
|
36
|
+
// Import all theme styles
|
|
37
|
+
@import 'procode-vs-theme/scss';
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
```typescript
|
|
41
|
+
// Import theme configuration
|
|
42
|
+
import theme from 'procode-vs-theme';
|
|
43
|
+
console.log(theme.name); // 'vs-theme'
|
|
44
|
+
console.log(theme.stylesheet); // './index.scss'
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
### Modular Imports
|
|
48
|
+
|
|
49
|
+
```scss
|
|
50
|
+
// Import specific SCSS files
|
|
51
|
+
@import 'procode-vs-theme/src/base/color';
|
|
52
|
+
@import 'procode-vs-theme/src/components/buttons';
|
|
53
|
+
@import 'procode-vs-theme/src/utilities/spacing';
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
```typescript
|
|
57
|
+
// Import specific TypeScript modules
|
|
58
|
+
import { components } from 'procode-vs-theme/components';
|
|
59
|
+
import { variables } from 'procode-vs-theme/variables';
|
|
60
|
+
import { layout } from 'procode-vs-theme/layout';
|
|
61
|
+
import { utilities } from 'procode-vs-theme/utilities';
|
|
62
|
+
|
|
63
|
+
// Get theme configuration and utilities
|
|
64
|
+
import { getThemeConfig, getThemeStylesheet } from 'procode-vs-theme';
|
|
65
|
+
|
|
66
|
+
const config = getThemeConfig();
|
|
67
|
+
const stylesheetPath = getThemeStylesheet();
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
### Available Export Endpoints
|
|
71
|
+
|
|
72
|
+
- **Main**: `procode-vs-theme` - Complete theme with all modules
|
|
73
|
+
- **Variables**: `procode-vs-theme/variables` - Colors, fonts, spacing, borders, sizes
|
|
74
|
+
- **Components**: `procode-vs-theme/components` - Buttons, inputs, cards, forms
|
|
75
|
+
- **Layout**: `procode-vs-theme/layout` - Drawer, header, footer, sidebar, grid
|
|
76
|
+
- **Utilities**: `procode-vs-theme/utilities` - Reset, typography, spacing, borders, shadows
|
|
77
|
+
- **SCSS**: `procode-vs-theme/scss` - Direct access to main SCSS file
|
|
78
|
+
- **Styles**: `procode-vs-theme/styles` - Compiled SCSS from dist
|
|
79
|
+
|
|
80
|
+
## Examples
|
|
81
|
+
|
|
82
|
+
### Complete Theme Integration
|
|
83
|
+
|
|
84
|
+
```scss
|
|
85
|
+
// styles.scss - Import complete theme
|
|
86
|
+
@import 'procode-vs-theme/scss';
|
|
87
|
+
|
|
88
|
+
// Your custom styles can override theme variables
|
|
89
|
+
:root {
|
|
90
|
+
--vs-primary-color: #007bff;
|
|
91
|
+
--vs-secondary-color: #6c757d;
|
|
92
|
+
}
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
### Selective Module Usage
|
|
96
|
+
|
|
97
|
+
```scss
|
|
98
|
+
// Import only what you need
|
|
99
|
+
@import 'procode-vs-theme/src/base/color';
|
|
100
|
+
@import 'procode-vs-theme/src/base/spacing';
|
|
101
|
+
@import 'procode-vs-theme/src/components/buttons';
|
|
102
|
+
@import 'procode-vs-theme/src/utilities/typography';
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
### TypeScript Configuration Usage
|
|
106
|
+
|
|
107
|
+
```typescript
|
|
108
|
+
import { getThemeConfig, ThemeConfig } from 'procode-vs-theme';
|
|
109
|
+
|
|
110
|
+
const themeConfig: ThemeConfig = getThemeConfig();
|
|
111
|
+
|
|
112
|
+
// Use in your build configuration
|
|
113
|
+
const scssImportPaths = [
|
|
114
|
+
`node_modules/procode-vs-theme/${themeConfig.stylesheet}`,
|
|
115
|
+
`node_modules/procode-vs-theme/${themeConfig.variables}`,
|
|
116
|
+
`node_modules/procode-vs-theme/${themeConfig.components}`
|
|
117
|
+
];
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
### Webpack/Vite Configuration
|
|
121
|
+
|
|
122
|
+
```javascript
|
|
123
|
+
// webpack.config.js
|
|
124
|
+
module.exports = {
|
|
125
|
+
// ...
|
|
126
|
+
module: {
|
|
127
|
+
rules: [
|
|
128
|
+
{
|
|
129
|
+
test: /\.scss$/,
|
|
130
|
+
use: [
|
|
131
|
+
'style-loader',
|
|
132
|
+
'css-loader',
|
|
133
|
+
{
|
|
134
|
+
loader: 'sass-loader',
|
|
135
|
+
options: {
|
|
136
|
+
additionalData: `@import "procode-vs-theme/scss";`
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
]
|
|
140
|
+
}
|
|
141
|
+
]
|
|
142
|
+
}
|
|
143
|
+
};
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
## Theme Structure
|
|
147
|
+
|
|
148
|
+
```
|
|
149
|
+
src/
|
|
150
|
+
├── index.scss # Main theme entry point
|
|
151
|
+
├── base/ # Variables and mixins
|
|
152
|
+
│ ├── _color.scss # Color variables
|
|
153
|
+
│ ├── _font.scss # Font variables
|
|
154
|
+
│ ├── _space.scss # Spacing variables
|
|
155
|
+
│ └── mixins/ # Sass mixins
|
|
156
|
+
├── components/ # Component styles
|
|
157
|
+
│ ├── _buttons.scss # Button styles
|
|
158
|
+
│ ├── _input.scss # Input styles
|
|
159
|
+
│ └── _cards.scss # Card styles
|
|
160
|
+
├── layout/ # Layout components
|
|
161
|
+
│ ├── _drawer.scss # Drawer styles
|
|
162
|
+
│ ├── _header.scss # Header styles
|
|
163
|
+
│ └── _sidebar.scss # Sidebar styles
|
|
164
|
+
└── utilities/ # Utility classes
|
|
165
|
+
├── _reset.scss # CSS reset
|
|
166
|
+
├── typography/ # Typography utilities
|
|
167
|
+
├── spacing/ # Spacing utilities
|
|
168
|
+
└── border/ # Border utilities
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
## Requirements
|
|
172
|
+
|
|
173
|
+
- Node.js 16+
|
|
174
|
+
- SCSS processor (sass/node-sass)
|
|
175
|
+
- Modern build system (Webpack, Vite, Rollup, etc.)
|
|
176
|
+
- TypeScript 4.0+ (optional, for type support)
|
|
177
|
+
|
|
178
|
+
## Development
|
|
179
|
+
|
|
180
|
+
```bash
|
|
181
|
+
# Build the package
|
|
182
|
+
npm run build
|
|
183
|
+
|
|
184
|
+
# Watch for changes during development
|
|
185
|
+
npm run dev
|
|
186
|
+
|
|
187
|
+
# Clean dist folder
|
|
188
|
+
npm run clean
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
## License
|
|
192
|
+
|
|
193
|
+
MIT
|
|
194
|
+
|
|
195
|
+
## Contributing
|
|
196
|
+
|
|
197
|
+
We welcome contributions! Please see our contributing guidelines for more details.
|
|
198
|
+
|
|
199
|
+
## Support
|
|
200
|
+
|
|
201
|
+
For support and questions, please visit our documentation or create an issue in the repository.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// VS Theme Components Export
|
|
2
|
+
// Provides access to all component styles
|
|
3
|
+
const buttons = './components/_buttons.scss';
|
|
4
|
+
const input = './components/_input.scss';
|
|
5
|
+
const cards = './components/_cards.scss';
|
|
6
|
+
// All components combined
|
|
7
|
+
const allComponents = [
|
|
8
|
+
buttons,
|
|
9
|
+
input,
|
|
10
|
+
cards
|
|
11
|
+
];
|
|
12
|
+
var components = {
|
|
13
|
+
buttons,
|
|
14
|
+
input,
|
|
15
|
+
cards,
|
|
16
|
+
all: allComponents
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
export { allComponents, buttons, cards, components as default, input };
|
|
20
|
+
//# sourceMappingURL=components.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
// VS Theme Components Export
|
|
6
|
+
// Provides access to all component styles
|
|
7
|
+
const buttons = './components/_buttons.scss';
|
|
8
|
+
const input = './components/_input.scss';
|
|
9
|
+
const cards = './components/_cards.scss';
|
|
10
|
+
// All components combined
|
|
11
|
+
const allComponents = [
|
|
12
|
+
buttons,
|
|
13
|
+
input,
|
|
14
|
+
cards
|
|
15
|
+
];
|
|
16
|
+
var components = {
|
|
17
|
+
buttons,
|
|
18
|
+
input,
|
|
19
|
+
cards,
|
|
20
|
+
all: allComponents
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
exports.allComponents = allComponents;
|
|
24
|
+
exports.buttons = buttons;
|
|
25
|
+
exports.cards = cards;
|
|
26
|
+
exports.default = components;
|
|
27
|
+
exports.input = input;
|
|
28
|
+
//# sourceMappingURL=components.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
// VS Theme Variables Export
|
|
2
|
+
// Provides access to all theme variables and base styles
|
|
3
|
+
// Base variables and mixins
|
|
4
|
+
const colors$1 = './base/_color.scss';
|
|
5
|
+
const fonts$1 = './base/_font.scss';
|
|
6
|
+
const spacing$2 = './base/_space.scss';
|
|
7
|
+
const borders$2 = './base/_border.scss';
|
|
8
|
+
const sizes$1 = './base/_size.scss';
|
|
9
|
+
// Mixins
|
|
10
|
+
const mediaQueryMixins$1 = './base/mixins/_media-query-mx.scss';
|
|
11
|
+
const fontSizeMixins$1 = './base/mixins/_font_size-mx.scss';
|
|
12
|
+
const applyThemeMixins$1 = './base/mixins/_apply-theme.scss';
|
|
13
|
+
// All base variables combined
|
|
14
|
+
const allVariables = [
|
|
15
|
+
colors$1,
|
|
16
|
+
fonts$1,
|
|
17
|
+
spacing$2,
|
|
18
|
+
borders$2,
|
|
19
|
+
sizes$1,
|
|
20
|
+
mediaQueryMixins$1,
|
|
21
|
+
fontSizeMixins$1,
|
|
22
|
+
applyThemeMixins$1
|
|
23
|
+
];
|
|
24
|
+
var variables = {
|
|
25
|
+
colors: colors$1,
|
|
26
|
+
fonts: fonts$1,
|
|
27
|
+
spacing: spacing$2,
|
|
28
|
+
borders: borders$2,
|
|
29
|
+
sizes: sizes$1,
|
|
30
|
+
mixins: {
|
|
31
|
+
mediaQuery: mediaQueryMixins$1,
|
|
32
|
+
fontSize: fontSizeMixins$1,
|
|
33
|
+
applyTheme: applyThemeMixins$1
|
|
34
|
+
},
|
|
35
|
+
all: allVariables
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
var variables$1 = /*#__PURE__*/Object.freeze({
|
|
39
|
+
__proto__: null,
|
|
40
|
+
allVariables: allVariables,
|
|
41
|
+
applyThemeMixins: applyThemeMixins$1,
|
|
42
|
+
borders: borders$2,
|
|
43
|
+
colors: colors$1,
|
|
44
|
+
default: variables,
|
|
45
|
+
fontSizeMixins: fontSizeMixins$1,
|
|
46
|
+
fonts: fonts$1,
|
|
47
|
+
mediaQueryMixins: mediaQueryMixins$1,
|
|
48
|
+
sizes: sizes$1,
|
|
49
|
+
spacing: spacing$2
|
|
50
|
+
});
|
|
51
|
+
|
|
52
|
+
// VS Theme Base Export
|
|
53
|
+
// Provides access to all base variables and mixins
|
|
54
|
+
const colors = './base/_color.scss';
|
|
55
|
+
const fonts = './base/_font.scss';
|
|
56
|
+
const spacing$1 = './base/_space.scss';
|
|
57
|
+
const borders$1 = './base/_border.scss';
|
|
58
|
+
const sizes = './base/_size.scss';
|
|
59
|
+
// Mixins
|
|
60
|
+
const mediaQueryMixins = './base/mixins/_media-query-mx.scss';
|
|
61
|
+
const fontSizeMixins = './base/mixins/_font_size-mx.scss';
|
|
62
|
+
const applyThemeMixins = './base/mixins/_apply-theme.scss';
|
|
63
|
+
// All base styles combined
|
|
64
|
+
const allBase = [
|
|
65
|
+
colors,
|
|
66
|
+
fonts,
|
|
67
|
+
spacing$1,
|
|
68
|
+
borders$1,
|
|
69
|
+
sizes,
|
|
70
|
+
mediaQueryMixins,
|
|
71
|
+
fontSizeMixins,
|
|
72
|
+
applyThemeMixins
|
|
73
|
+
];
|
|
74
|
+
var baseExports = {
|
|
75
|
+
colors,
|
|
76
|
+
fonts,
|
|
77
|
+
spacing: spacing$1,
|
|
78
|
+
borders: borders$1,
|
|
79
|
+
sizes,
|
|
80
|
+
mixins: {
|
|
81
|
+
mediaQuery: mediaQueryMixins,
|
|
82
|
+
fontSize: fontSizeMixins,
|
|
83
|
+
applyTheme: applyThemeMixins
|
|
84
|
+
},
|
|
85
|
+
all: allBase
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
var baseExports$1 = /*#__PURE__*/Object.freeze({
|
|
89
|
+
__proto__: null,
|
|
90
|
+
allBase: allBase,
|
|
91
|
+
applyThemeMixins: applyThemeMixins,
|
|
92
|
+
borders: borders$1,
|
|
93
|
+
colors: colors,
|
|
94
|
+
default: baseExports,
|
|
95
|
+
fontSizeMixins: fontSizeMixins,
|
|
96
|
+
fonts: fonts,
|
|
97
|
+
mediaQueryMixins: mediaQueryMixins,
|
|
98
|
+
sizes: sizes,
|
|
99
|
+
spacing: spacing$1
|
|
100
|
+
});
|
|
101
|
+
|
|
102
|
+
// VS Theme Components Export
|
|
103
|
+
// Provides access to all component styles
|
|
104
|
+
const buttons = './components/_buttons.scss';
|
|
105
|
+
const input = './components/_input.scss';
|
|
106
|
+
const cards = './components/_cards.scss';
|
|
107
|
+
// All components combined
|
|
108
|
+
const allComponents = [
|
|
109
|
+
buttons,
|
|
110
|
+
input,
|
|
111
|
+
cards
|
|
112
|
+
];
|
|
113
|
+
var components = {
|
|
114
|
+
buttons,
|
|
115
|
+
input,
|
|
116
|
+
cards,
|
|
117
|
+
all: allComponents
|
|
118
|
+
};
|
|
119
|
+
|
|
120
|
+
var components$1 = /*#__PURE__*/Object.freeze({
|
|
121
|
+
__proto__: null,
|
|
122
|
+
allComponents: allComponents,
|
|
123
|
+
buttons: buttons,
|
|
124
|
+
cards: cards,
|
|
125
|
+
default: components,
|
|
126
|
+
input: input
|
|
127
|
+
});
|
|
128
|
+
|
|
129
|
+
// VS Theme Layout Export
|
|
130
|
+
// Provides access to all layout styles
|
|
131
|
+
const drawer = './layout/_drawer.scss';
|
|
132
|
+
const header = './layout/_header.scss';
|
|
133
|
+
const footer = './layout/_footer.scss';
|
|
134
|
+
const sidebar = './layout/_sidebar.scss';
|
|
135
|
+
// All layout components combined
|
|
136
|
+
const allLayout = [
|
|
137
|
+
drawer,
|
|
138
|
+
header,
|
|
139
|
+
footer,
|
|
140
|
+
sidebar
|
|
141
|
+
];
|
|
142
|
+
var layout = {
|
|
143
|
+
drawer,
|
|
144
|
+
header,
|
|
145
|
+
footer,
|
|
146
|
+
sidebar,
|
|
147
|
+
all: allLayout
|
|
148
|
+
};
|
|
149
|
+
|
|
150
|
+
var layout$1 = /*#__PURE__*/Object.freeze({
|
|
151
|
+
__proto__: null,
|
|
152
|
+
allLayout: allLayout,
|
|
153
|
+
default: layout,
|
|
154
|
+
drawer: drawer,
|
|
155
|
+
footer: footer,
|
|
156
|
+
header: header,
|
|
157
|
+
sidebar: sidebar
|
|
158
|
+
});
|
|
159
|
+
|
|
160
|
+
// VS Theme Utilities Export
|
|
161
|
+
// Provides access to all utility styles
|
|
162
|
+
// Reset and base utilities
|
|
163
|
+
const reset = './utilities/_reset.scss';
|
|
164
|
+
// Typography utilities
|
|
165
|
+
const typographyFont = './utilities/typography/_font.scss';
|
|
166
|
+
const typographyColor = './utilities/typography/_color.scss';
|
|
167
|
+
const typography = [typographyFont, typographyColor];
|
|
168
|
+
// Background utilities
|
|
169
|
+
const backgroundColor = './utilities/background-color/index.scss';
|
|
170
|
+
// Border utilities
|
|
171
|
+
const borderColor = './utilities/border/_border-color.scss';
|
|
172
|
+
const borderRadius = './utilities/border/_border-radius.scss';
|
|
173
|
+
const borderSize = './utilities/border/_border-size.scss';
|
|
174
|
+
const borders = [borderColor, borderRadius, borderSize];
|
|
175
|
+
// Spacing utilities
|
|
176
|
+
const gap = './utilities/spaces/_gap.scss';
|
|
177
|
+
const margin = './utilities/spaces/_margin.scss';
|
|
178
|
+
const padding = './utilities/spaces/_padding.scss';
|
|
179
|
+
const spacing = [gap, margin, padding];
|
|
180
|
+
// Box shadow utilities
|
|
181
|
+
const boxShadow = './utilities/box-shadow/index.scss';
|
|
182
|
+
// Size utilities
|
|
183
|
+
const size = './utilities/size/index.scss';
|
|
184
|
+
// All utilities combined
|
|
185
|
+
const allUtilities = [
|
|
186
|
+
reset,
|
|
187
|
+
...typography,
|
|
188
|
+
backgroundColor,
|
|
189
|
+
...borders,
|
|
190
|
+
...spacing,
|
|
191
|
+
boxShadow,
|
|
192
|
+
size
|
|
193
|
+
];
|
|
194
|
+
var utilities = {
|
|
195
|
+
reset,
|
|
196
|
+
typography: {
|
|
197
|
+
font: typographyFont,
|
|
198
|
+
color: typographyColor,
|
|
199
|
+
all: typography
|
|
200
|
+
},
|
|
201
|
+
backgroundColor,
|
|
202
|
+
borders: {
|
|
203
|
+
color: borderColor,
|
|
204
|
+
radius: borderRadius,
|
|
205
|
+
size: borderSize,
|
|
206
|
+
all: borders
|
|
207
|
+
},
|
|
208
|
+
spacing: {
|
|
209
|
+
gap,
|
|
210
|
+
margin,
|
|
211
|
+
padding,
|
|
212
|
+
all: spacing
|
|
213
|
+
},
|
|
214
|
+
boxShadow,
|
|
215
|
+
size,
|
|
216
|
+
all: allUtilities
|
|
217
|
+
};
|
|
218
|
+
|
|
219
|
+
var utilities$1 = /*#__PURE__*/Object.freeze({
|
|
220
|
+
__proto__: null,
|
|
221
|
+
allUtilities: allUtilities,
|
|
222
|
+
backgroundColor: backgroundColor,
|
|
223
|
+
borderColor: borderColor,
|
|
224
|
+
borderRadius: borderRadius,
|
|
225
|
+
borderSize: borderSize,
|
|
226
|
+
borders: borders,
|
|
227
|
+
boxShadow: boxShadow,
|
|
228
|
+
default: utilities,
|
|
229
|
+
gap: gap,
|
|
230
|
+
margin: margin,
|
|
231
|
+
padding: padding,
|
|
232
|
+
reset: reset,
|
|
233
|
+
size: size,
|
|
234
|
+
spacing: spacing,
|
|
235
|
+
typography: typography,
|
|
236
|
+
typographyColor: typographyColor,
|
|
237
|
+
typographyFont: typographyFont
|
|
238
|
+
});
|
|
239
|
+
|
|
240
|
+
// VS Theme - Main Entry Point
|
|
241
|
+
// Provides comprehensive access to all theme components
|
|
242
|
+
// Main theme SCSS entry point
|
|
243
|
+
const themeStylesheet = './index.scss';
|
|
244
|
+
// Default export - Main theme configuration
|
|
245
|
+
var index = {
|
|
246
|
+
name: 'vs-theme',
|
|
247
|
+
version: '1.0.0',
|
|
248
|
+
stylesheet: './index.scss',
|
|
249
|
+
variables: './variables',
|
|
250
|
+
components: './components',
|
|
251
|
+
layout: './layout',
|
|
252
|
+
utilities: './utilities'
|
|
253
|
+
};
|
|
254
|
+
// Theme utility functions
|
|
255
|
+
const getThemeStylesheet = () => themeStylesheet;
|
|
256
|
+
const getThemeConfig = () => ({
|
|
257
|
+
name: 'vs-theme',
|
|
258
|
+
version: '1.0.0',
|
|
259
|
+
stylesheet: './index.scss',
|
|
260
|
+
variables: './variables',
|
|
261
|
+
components: './components',
|
|
262
|
+
layout: './layout',
|
|
263
|
+
utilities: './utilities'
|
|
264
|
+
});
|
|
265
|
+
|
|
266
|
+
export { baseExports$1 as base, components$1 as components, index as default, getThemeConfig, getThemeStylesheet, layout$1 as layout, themeStylesheet, utilities$1 as utilities, variables$1 as variables };
|
|
267
|
+
//# sourceMappingURL=index.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|