Skip to content

Commit

Permalink
fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
luisthieme committed Oct 18, 2024
1 parent cb41086 commit 1a3e84c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ui/components/UIDynamicForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ export default {
innerClass: 'reset-background',
wrapperClass: '$remove:formkit-wrapper',
inputClass: `input-${this.theme}`,
innerClass: `${this.theme == 'dark' ? '$remove:formkit-inner' : ''}`,
// innerClass: `${this.theme == 'dark' ? '$remove:formkit-inner' : ''}`,
},
};
case 'checkbox':
Expand Down
7 changes: 4 additions & 3 deletions ui/stylesheets/ui-dynamic-form.css
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ code {

.input-dark {
background-color: rgba(85, 85, 85, 255);
color: white !important;
}

.ui-dynamic-form-dark {
Expand All @@ -65,6 +66,7 @@ code {
background-color: rgba(44, 44, 44, 255);
color: rgba(165, 165, 165, 255);
max-height: 90%;
color-scheme: dark;
}

.ui-dynamic-form-default {
Expand Down Expand Up @@ -117,12 +119,11 @@ code {
--fk-color-input: rgb(var(--v-theme-on-group-background));
--fk-color-help: rgb(var(--v-theme-on-group-background));
--fk-color-border-focus: rgb(var(--v-theme-primary));
height: full;

}

.reset-background {
--fk-bg-input: rgb(var(--does-not-exist, #000));
/* i dont know why this works but it works */
--fk-bg-input: none; /*maybe none or (revert)*/
}

.custom-fieldset {
Expand Down

0 comments on commit 1a3e84c

Please sign in to comment.