@dracul/customize-frontend 1.14.3 → 1.14.4
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.
|
|
3
|
+
"version": "1.14.4",
|
|
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": "
|
|
21
|
+
"gitHead": "ce180448282525309365e66db4c7d70a0cd48cd0",
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@dracul/common-frontend": "^1.14.2",
|
|
24
24
|
"@dracul/user-frontend": "^1.14.3"
|
package/src/pages/CustomConfigPage/CustomizationManagement/CustomizationColors/ColorsPreview.vue
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
<v-row no-gutters justify="center" align-content="center">
|
|
3
3
|
<v-col cols="12" md="4" lg="4">
|
|
4
4
|
<v-card class="pa-3" :style="{backgroundColor: background}">
|
|
5
|
-
<v-card-title class="mb-3 justify-center" :style="{color: primary}">
|
|
5
|
+
<v-card-title class="mb-3 justify-center" :style="{background: appBar, color: primary}">
|
|
6
6
|
<div v-t="'customization.preview'"></div>
|
|
7
7
|
</v-card-title>
|
|
8
|
-
<v-card-text class="text-center">
|
|
8
|
+
<v-card-text class="text-center px-3">
|
|
9
9
|
<v-row>
|
|
10
10
|
<v-col cols="6" :style="{backgroundColor: primary, color: onPrimary}">
|
|
11
11
|
{{ $t('customization.colors.primary') }}
|
|
@@ -25,6 +25,7 @@ export default {
|
|
|
25
25
|
name: 'colors-preview',
|
|
26
26
|
props: {
|
|
27
27
|
background: {type: String},
|
|
28
|
+
appBar: {type: String},
|
|
28
29
|
primary: {type: String},
|
|
29
30
|
onPrimary: {type: String},
|
|
30
31
|
secondary: {type: String},
|
|
@@ -68,6 +68,7 @@
|
|
|
68
68
|
|
|
69
69
|
<colors-preview
|
|
70
70
|
:background="formColors.lightTheme.background"
|
|
71
|
+
:app-bar="formColors.lightTheme.appBar"
|
|
71
72
|
:primary="formColors.lightTheme.primary"
|
|
72
73
|
:on-primary="formColors.lightTheme.onPrimary"
|
|
73
74
|
:secondary="formColors.lightTheme.secondary"
|
|
@@ -146,6 +147,7 @@
|
|
|
146
147
|
<v-card-text class="pt-0 ">
|
|
147
148
|
<colors-preview
|
|
148
149
|
:background="formColors.darkTheme.background"
|
|
150
|
+
:app-bar="formColors.darkTheme.appBar"
|
|
149
151
|
:primary="formColors.darkTheme.primary"
|
|
150
152
|
:on-primary="formColors.darkTheme.onPrimary"
|
|
151
153
|
:secondary="formColors.darkTheme.secondary"
|