@dracul/customize-frontend 1.14.6 → 1.14.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dracul/customize-frontend",
3
- "version": "1.14.6",
3
+ "version": "1.14.7",
4
4
  "description": "vue custom logo, custom theme, custom colors, i18n configuration}",
5
5
  "main": "./src/index.js",
6
6
  "scripts": {
@@ -18,7 +18,7 @@
18
18
  ],
19
19
  "author": "Cristian Incarnato",
20
20
  "license": "MIT",
21
- "gitHead": "cb631e7c204af66a26d5d2c3886bbcba6e73ea8c",
21
+ "gitHead": "202b02d09c3e09e52f35aa2325c07bc118a7f133",
22
22
  "dependencies": {
23
23
  "@dracul/common-frontend": "^1.14.2",
24
24
  "@dracul/user-frontend": "^1.14.6"
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <v-card class="pa-3" :style="{backgroundColor: background}">
3
- <v-card-title class="mb-3 justify-center" :style="{background: appBar, color: primary}">
3
+ <v-card-title class="mb-3 justify-center" :style="{background: appBar, color: onAppBar}">
4
4
  <div v-t="'customization.preview'"></div>
5
5
  </v-card-title>
6
6
  <v-card-text class="text-center px-3">
@@ -22,6 +22,7 @@ export default {
22
22
  props: {
23
23
  background: {type: String},
24
24
  appBar: {type: String},
25
+ onAppBar: {type: String},
25
26
  primary: {type: String},
26
27
  onPrimary: {type: String},
27
28
  secondary: {type: String},
@@ -80,6 +80,7 @@
80
80
  <colors-preview
81
81
  :background="formColors.lightTheme.background"
82
82
  :app-bar="formColors.lightTheme.appBar"
83
+ :on-app-bar="formColors.lightTheme.onAppBar"
83
84
  :primary="formColors.lightTheme.primary"
84
85
  :on-primary="formColors.lightTheme.onPrimary"
85
86
  :secondary="formColors.lightTheme.secondary"
@@ -174,6 +175,7 @@
174
175
  <colors-preview
175
176
  :background="formColors.darkTheme.background"
176
177
  :app-bar="formColors.darkTheme.appBar"
178
+ :on-app-bar="formColors.darkTheme.onAppBar"
177
179
  :primary="formColors.darkTheme.primary"
178
180
  :on-primary="formColors.darkTheme.onPrimary"
179
181
  :secondary="formColors.darkTheme.secondary"