@vcita/design-system 1.11.18 → 1.11.20
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 +28 -1
- package/dist/@vcita/design-system.esm.js +20076 -140
- package/dist/@vcita/design-system.min.js +1 -1
- package/dist/@vcita/design-system.ssr.js +20066 -128
- package/package.json +1 -1
- package/src/components/VcMenuItem/VcMenuItem.vue +11 -7
- package/src/components/VcPoweredBy/VcPoweredBy.vue +6 -7
- package/src/components/VcQuickActions/VcLargeQuickAction.vue +17 -2
- package/src/components/VcQuickActions/VcQuickActions.stories.js +2 -0
- package/src/components/VcQuickActions/VcQuickActions.vue +34 -9
- package/src/components/VcQuickActions/VcSmallQuickAction.vue +9 -2
- package/src/components/VcSkeleton/VcSkeleton.stories.js +22 -2
- package/src/directives/overrideVuetifyLtr.js +0 -11
- package/src/stories/Configure.mdx +0 -364
- package/src/stories/assets/accessibility.png +0 -0
- package/src/stories/assets/accessibility.svg +0 -5
- package/src/stories/assets/addon-library.png +0 -0
- package/src/stories/assets/assets.png +0 -0
- package/src/stories/assets/context.png +0 -0
- package/src/stories/assets/discord.svg +0 -15
- package/src/stories/assets/docs.png +0 -0
- package/src/stories/assets/figma-plugin.png +0 -0
- package/src/stories/assets/github.svg +0 -3
- package/src/stories/assets/share.png +0 -0
- package/src/stories/assets/styling.png +0 -0
- package/src/stories/assets/testing.png +0 -0
- package/src/stories/assets/theming.png +0 -0
- package/src/stories/assets/tutorials.svg +0 -12
- package/src/stories/assets/youtube.svg +0 -4
- package/src/stories/button.css +0 -30
- package/src/stories/header.css +0 -32
- package/src/stories/page.css +0 -69
package/README.md
CHANGED
|
@@ -60,7 +60,7 @@ export default DesignSystemInit(config);
|
|
|
60
60
|
All configuration options are specified [here](#available-configuration-options)
|
|
61
61
|
|
|
62
62
|
### Applying the styling to your project
|
|
63
|
-
|
|
63
|
+
Create the file src/styles/variables.scss and edit to fit your needs. you may only need the import statement.
|
|
64
64
|
```
|
|
65
65
|
@import "~@vcita/design-system/styles/variables.scss";
|
|
66
66
|
```
|
|
@@ -68,6 +68,33 @@ In order to load the variables.scss file, add this to src/main.js
|
|
|
68
68
|
```
|
|
69
69
|
import "@/../styles/variables.scss";
|
|
70
70
|
```
|
|
71
|
+
Create the file src/styles/vuetify-variables.scss
|
|
72
|
+
|
|
73
|
+
```
|
|
74
|
+
@forward "~@vcita/design-system/styles/vuetify-variables.scss";
|
|
75
|
+
|
|
76
|
+
// Vuetify variables can be modified here,
|
|
77
|
+
// BUT! please consider if they should be set here or in the design system project
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
In order to load the vuetify-variables.scss file, in vue.config.js add this value
|
|
81
|
+
|
|
82
|
+
```
|
|
83
|
+
css: {
|
|
84
|
+
loaderOptions: {
|
|
85
|
+
sass: {
|
|
86
|
+
// Here we can specify the older indent syntax formatted SASS
|
|
87
|
+
// Note that there is *not* a semicolon at the end of the below line
|
|
88
|
+
additionalData: `@import "@/../styles/vuetify-variables.scss"`
|
|
89
|
+
},
|
|
90
|
+
scss: {
|
|
91
|
+
// Here we can use the newer SCSS flavor of Sass.
|
|
92
|
+
// Note that there *is* a semicolon at the end of the below line
|
|
93
|
+
additionalData: `@import "@/../styles/vuetify-variables.scss";`
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
```
|
|
71
98
|
|
|
72
99
|
Please note: to receive the theme in your components, make sure to initialize your app using the v-app tag.
|
|
73
100
|
Your App.vue will look something like this:
|