diff --git a/layouts/AppConfigurator.vue b/layouts/AppConfigurator.vue
index 0225807dd..da039fb2c 100755
--- a/layouts/AppConfigurator.vue
+++ b/layouts/AppConfigurator.vue
@@ -11,14 +11,19 @@
+
+
- Dark Mode
-
+ Input Style
+
@@ -354,6 +359,10 @@ export default {
visible: false,
scale: 14,
scales: [12, 13, 14, 15, 16],
+ inputStyles: [
+ { label: 'Outlined', value: 'outlined' },
+ { label: 'Filled', value: 'filled' }
+ ],
primaryFocusRing: true,
compactMaterial: false
};
@@ -414,6 +423,9 @@ export default {
onRippleChange(value) {
this.$appState.ripple = value;
},
+ onInputStyleChange(value) {
+ this.$primevue.config.inputStyle = value;
+ },
onDarkModeChange() {
this.$emit('darkswitch-click');
},
@@ -458,6 +470,9 @@ export default {
rippleActive() {
return this.$appState.ripple;
},
+ inputStyle() {
+ return this.$primevue.config.inputStyle;
+ },
containerClass() {
return [
'layout-config w-full sm:w-26rem',
diff --git a/layouts/default.vue b/layouts/default.vue
index 2d4f483c3..6cdf03dc7 100644
--- a/layouts/default.vue
+++ b/layouts/default.vue
@@ -121,6 +121,7 @@ export default {
{
'layout-news-active': this.$appState.newsActive,
'p-ripple-disabled': this.$appState.ripple === false,
+ 'p-input-filled': this.$primevue.config.inputStyle === 'filled',
'layout-dark': this.$appState.darkTheme,
'layout-light': !this.$appState.darkTheme
}