Skip to content

Beautiful Open-Source Form Builder

fix: improve font customization by removing !important and adding fallbacks

Cursor Agent4281c017d2c9
diff --git a/client/components/open/forms/OpenCompleteForm.vue b/client/components/open/forms/OpenCompleteForm.vue
index aed7e7652..4845c7e79 100644
--- a/client/components/open/forms/OpenCompleteForm.vue
+++ b/client/components/open/forms/OpenCompleteForm.vue
@@ -421,7 +421,7 @@ defineExpose({
<style lang="scss">
.open-complete-form {
* {
- font-family: var(--font-family) !important;
+ font-family: var(--font-family, Inter, sans-serif) !important;
}
}
diff --git a/client/css/app.css b/client/css/app.css
index f3d250eef..6d9bdc14c 100644
--- a/client/css/app.css
+++ b/client/css/app.css
@@ -173,7 +173,7 @@
}
#app {
- font-family: Inter, sans-serif !important;
+ font-family: var(--opnform-font-family, Inter, sans-serif);
min-height: 100vh;
color: var(--color-neutral-800);
}