The Euroautos Inspection Form supports several layers of customisation so that each workshop can tailor the checklist content, visual branding, and language to their exact requirements — without forking the codebase or modifying core application logic. Most configuration happens through environment variables and dedicated config files rather than scattered inline edits.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/juanmatz/inspection-form-euroautos/llms.txt
Use this file to discover all available pages before exploring further.
Custom inspection sections
Inspection sections are defined in the section configuration module. Each section is a typedSectionConfig object that declares its checklist items, display label, icon, and whether it is mandatory for a completed inspection.
A section definition looks like this:
sections array exported from the section configuration module:
SectionConfig and ItemConfig interfaces are defined in the inspection types module:
The
mandatory flag on a section means the section must be fully completed before the inspection can be submitted. The mandatory flag on an item means that specific checklist item must be answered (pass, fail, or N/A) before the section is considered complete.Branding
Workshop branding is controlled entirely through environment variables — no source code changes are required. Set the following variables in your.env (or .env.production) file:
| Variable | Where it appears |
|---|---|
VITE_WORKSHOP_NAME | App header, PDF report footer, browser title |
VITE_PRIMARY_COLOR | Buttons, active nav items, report header stripe, progress bars |
Language / locale
The application ships with full Spanish (es) translations. All user-visible strings are managed through i18n key files in the locale configuration directory.
Current locale support:
| Locale | Status |
|---|---|
Spanish (es) | ✅ Fully supported |
English (en) | 🔧 Community — see below |
The active language is determined at runtime by the browser’s
navigator.language value, falling back to Spanish if no matching locale is found. You can override this default in the i18n configuration module by changing the fallbackLng option.Report template
The PDF inspection report layout is defined in the report template module. It is a React component rendered in the browser via@react-pdf/renderer and compiled into a PDF when the technician finalises an inspection.
The template supports the following customisation points:
- Header — workshop name and inspection date. Controlled by the branding env variables.
- Footer — page numbering, workshop contact details, and a legal disclaimer. Edit the
<ReportFooter />component in the report template module. - Section ordering — sections appear in the PDF in the same order they are defined in the section configuration module. Re-order the array to change the PDF layout.
- Custom fields — add workshop-specific metadata (e.g. assigned technician, service bay number) by extending the
InspectionMetatype in the inspection types module and adding the corresponding field to the<ReportHeader />component.
Theming
The application’s colour scheme is driven by CSS custom properties (variables) defined in the theme stylesheet. You can override any of these to adjust the visual appearance beyond whatVITE_PRIMARY_COLOR provides.
Dark mode support is planned for a future release. The current theme stylesheet contains a commented-out
@media (prefers-color-scheme: dark) block that you can uncomment and customise to enable an experimental dark theme for your deployment.