NueForm

Themes & Styling

30+ theme properties, custom fonts, branding options, और per-element styling controls के साथ अपने forms का appearance customize करें।

Overview

NueForm व्यापक theming capabilities प्रदान करता है जो आपको अपने forms को अपने brand से match करने देता है। Form के हर visual aspect को customize किया जा सकता है, colors और fonts से लेकर logos और custom CSS तक।

Theme Editor
The theme editor with color, font, and branding options.

Theme Properties

Theme properties form level पर set होती हैं और form में हर question पर apply होती हैं। ये render time पर CSS custom properties (variables) में convert होती हैं, इसलिए सभी components स्वचालित रूप से adapt होते हैं।

Color Properties

PropertyCSS VariableविवरणDefault
Background Color--fc-bgपूरे form का background color।#0a0a0a
Text Color--fc-textQuestions और content के लिए primary text color।#e8e8e8
Theme Color (Accent)--fc-accentHighlights, active states, और question numbers के लिए उपयोग होने वाला accent color।#6366f1
Answer Text Color--fc-answer-textInput fields में respondent द्वारा type किए गए text का color।#e8e8e8
Placeholder Color--fc-placeholderInput fields में placeholder text का color।rgba(255,255,255,0.25)
Button Color--fc-btn-bgPrimary buttons (OK, Start, Submit) का background color। Set न होने पर theme color पर fall back करता है।#6366f1
Button Text Color--fc-btn-textPrimary buttons का text color।#ffffff
Title Color--fc-title-colorQuestion/activity titles का color। Text color पर fall back करता है।Text color inherit करता है
Description Color--fc-description-colorQuestion/activity descriptions का color।Text color 55% opacity पर
Option Text Color--fc-option-colorChoice option labels और activity content का color।Text color inherit करता है
Indicator Background Color--fc-indicator-bgFuse activities में activity indicators का background color।Accent 15% opacity पर
Indicator Text Color--fc-indicator-textActivity indicators का text color।Accent color

Derived Color Variables

Theme system स्वचालित रूप से आपके base colors से विभिन्न component states में उपयोग के लिए अतिरिक्त CSS variables generate करता है:

CSS Variableविवरण
--fc-accent-hoverHover states के लिए lightened accent color।
--fc-accent-8 से --fc-accent-60विभिन्न opacity levels पर accent color (8%, 10%, 15%, 20%, 30%, 40%, 60%)।
--fc-text-2 से --fc-text-85विभिन्न opacity levels पर text color (2%, 4%, 5%, 6%, 8%, 10%, 12%, 15%, 20%, 40%, 55%, 75%, 80%, 85%)।
--fc-input-bgInput background (text color 5% opacity पर)।
--fc-card-bgCard background (text color 4% opacity पर)।
--fc-borderBorder color (text color 12% opacity पर)।
--fc-mutedMuted/secondary text (text color 45% opacity पर)।
--fc-primaryPrimary color (accent का alias)।
--fc-btn-bg-hoverHover states के लिए lightened button background।

Font Properties

NueForm स्वचालित रूप से Google Fonts से fonts load करता है। कोई भी Google Font family उपयोग की जा सकती है।

PropertyCSS VariableविवरणDefault
Question Font--fc-font-questionQuestion titles के लिए font family।Inter
Answer Font--fc-font-answerRespondent input text के लिए font family।Inter
Button Font--fc-font-buttonButton labels के लिए font family।Inter
Description Font--fc-font-descriptionQuestion/activity descriptions के लिए font family।Question font inherit करता है
Option Font--fc-font-optionChoice option labels और activity content के लिए font family।Answer font inherit करता है
Indicator Font--fc-font-indicatorActivity indicator text के लिए font family।Question font inherit करता है
Question Font Size--fc-font-size-questionQuestion titles के लिए font size। कोई भी CSS size value (rem, px, आदि) accept करता है।1.875rem (30px)

Fonts demand पर Google Fonts से load होते हैं। System स्वचालित रूप से सही Google Fonts CSS import URL generate करता है, प्रत्येक font family के लिए weights 300 से 700 request करता है। Default font Inter pre-loaded है और Google Fonts request की आवश्यकता नहीं है।

Branding

आप दो positions में अपने forms में logo जोड़ सकते हैं:

Top Logo:

SettingविवरणDefault
Top Logo URLForm के top पर display होने वाली logo image का URL।None
Top Logo SizeTop logo का size: small, medium, या largemedium
Top Logo AlignmentHorizontal alignment: left, center, या rightcenter
Top Logo CSSTop logo container (.fc-top-logo) पर apply होने वाला custom CSS।None

Branding Logo:

SettingविवरणDefault
Branding Logo URLBranding logo का URL, आमतौर पर footer या watermark area में display होता है।None
SettingविवरणDefault
Branding Footer TextForm footer area में display होने वाला custom text।None

Watermark CSS

SettingविवरणDefault
Watermark CSSWatermark/bottom-left logo element (.fc-watermark) पर apply होने वाला custom CSS।None

Hide Branding (Pro+)

SettingविवरणDefault
Hide BrandingForm से NueForm branding हटाता है। Pro+ plan आवश्यक है।Disabled

NueForm branding छिपाना Pro+ feature है। Free और lower-tier plans पर, NueForm watermark हमेशा display होता है।

Branding Defaults

Account-level branding defaults आपको default theme values set करने देते हैं जो आपके बनाए सभी नए forms पर apply होते हैं। इन्हें form level पर override किया जा सकता है।

उपलब्ध branding defaults:

  • Logo URL
  • Footer Text
  • Theme Color
  • Background Color
  • Text Color
  • Answer Text Color
  • Placeholder Color
  • Button Color
  • Button Text Color
  • Font Family (Question)
  • Font Family (Answer)
  • Font Family (Button)
  • Question Font Size
  • Top Logo URL, Size, Alignment, और CSS
  • Watermark CSS

Question-Level Transitions

प्रत्येक question का अपना transition animation हो सकता है, या आप सभी questions पर समान transition apply कर सकते हैं। उपलब्ध transitions:

Transitionविवरण
Vertical Slide + FadeQuestions fade effect के साथ ऊपर/नीचे slide होते हैं। यह default है।
Horizontal SlideQuestions बाएं/दाएं slide होते हैं।
Diagonal SlideQuestions diagonally slide होते हैं।
Elastic BounceQuestions elastic overshoot के साथ bounce in होते हैं।
Zoom ThroughQuestions viewport के through zoom in/out होते हैं।
Rotate InQuestions enter होते समय थोड़ा rotate होते हैं।

आप question editor में individual questions के लिए transition set कर सकते हैं, या uniform transition set करने के लिए "Apply to all questions" option उपयोग कर सकते हैं।

Custom CSS

अपने form के appearance पर पूर्ण control के लिए, आप custom CSS लिख सकते हैं। उपलब्ध selectors और CSS variables की पूर्ण list के लिए Custom CSS guide देखें।

Per-Question Styling

Individual questions इन styling options को support करते हैं:

Propertyविवरण
Custom Class NameQuestion container में CSS class जोड़ें। Specific questions को अलग style देने के लिए Custom CSS के साथ इसका उपयोग करें।
Hide Question Numberइस specific question से question number prefix हटाएं।
Media Custom Class Nameइस question से attached media element में CSS class जोड़ें।

Light vs. Dark Backgrounds के लिए Theme

NueForm का default theme light text (#e8e8e8) के साथ dark background (#0a0a0a) उपयोग करता है। Derived CSS variables (borders, inputs, cards) सभी text color के relative compute होते हैं, इसलिए light theme पर switch करना straightforward है:

  1. Background Color को light color पर set करें (जैसे, #ffffff)।
  2. Text Color को dark color पर set करें (जैसे, #1a1a1a)।
  3. Derived variables (--fc-border, --fc-input-bg, --fc-card-bg, --fc-muted) स्वचालित रूप से adapt होंगे क्योंकि ये text color की opacity variations पर based हैं।

Light और dark themes के बीच switch करते समय, readability और contrast बनाए रखने के लिए Placeholder Color, Answer Text Color, और Button Color भी adjust करना सुनिश्चित करें।

अंतिम अपडेट: 6 अप्रैल 2026