form color reset (#577)
* form color reset * fix link color --------- Co-authored-by: Julien Nahum <julien@nahum.net>
This commit is contained in:
3
client/composables/forms/initForm.js
vendored
3
client/composables/forms/initForm.js
vendored
@@ -1,4 +1,5 @@
|
||||
import { generateUUID } from "~/lib/utils.js"
|
||||
export const DEFAULT_COLOR = '#3B82F6'
|
||||
|
||||
export const initForm = (defaultValue = {}, withDefaultProperties = false) => {
|
||||
return useForm({
|
||||
@@ -13,7 +14,7 @@ export const initForm = (defaultValue = {}, withDefaultProperties = false) => {
|
||||
theme: "default",
|
||||
width: "centered",
|
||||
dark_mode: "auto",
|
||||
color: "#3B82F6",
|
||||
color: DEFAULT_COLOR,
|
||||
hide_title: false,
|
||||
no_branding: false,
|
||||
uppercase_labels: false,
|
||||
|
||||
Reference in New Issue
Block a user