This in-depth documentation aims to provide the technical background to how the forms work and what are the basic requirements for creating and using forms used in Dynamics 365.
The template uses a single brand color variable that controls the entire form’s color scheme. This makes it easy to match your brand with minimal effort.
How to Change the Theme:
<head> (around line 47-63)brand: {
DEFAULT: /* @brand-color */ '#0078d4' /* @brand-color */
}
#0078d4 with your desired hex color codePre-defined Theme Colors:
#0078d4 - Professional and trustworthy#1e293b - Sleek slate gray#9333ea - Bold purple#000000 - Classic black and whiteTechnical Details:
The template uses Tailwind CSS’s custom color configuration with the brand class. Throughout the HTML, elements use:
bg-brand - Background colortext-brand - Text colorfocus:ring-brand - Focus ring colorborder-brand - Border color (when applicable)This ensures consistent theming across all form elements with a single color definition.
Using Tailwind CSS enables faster forms due to the CSS being hosted externally.
font-roboto for consistent font familyfont-medium (500 weight)font-normal (400 weight)text-brand or bg-brandbg-gray-50 for form backgroundtext-gray-900 for primary texttext-gray-500p-8mb-4mb-8max-w-3xlmx-autopx-4 sm:px-6 lg:px-8