Skip to content

LIMS Design Language ​

What makes Labmin LIMS feel cohesive — so every new Angular Fusion module looks right at home beside the rest of the application.

Essence & core principles ​

The LIMS is a work surface, not a showcase: a calm dark frame (navy header, slate bar, white sidebar) around a cool grey desk (#D8DCE3), where work sits in white sheets packed with small, quiet text, and actionable or attention-worthy items appear as solid blocks of strong colour with square corners (quiet information, loud actions and states).

  1. Density over air: 12px body text (18px line height), compact table cells, whitespace between sections rather than inside them.
  2. Muted text; colour means action or state: Default text is slate #495057 (never pure black). Never use strong colour for decoration.
  3. Flat and square: Buttons, inputs, tabs, breadcrumbs, panels, and dialogs use square corners (--radius-field: 0, --radius-box: 0) and flat surfaces. Only badges and checkboxes keep 2px corners.
  4. Fixed colour vocabulary: Users recognize actions by colour before reading labels.
  5. Stacked horizontal bands: Breadcrumb + actions → dark link tab bar → filter bar + toolbar → dense ledger table.
  6. Bookmarkable dark tabs: Navigation within a module or record uses dark #343A40 link tab bars (?tab=...) with a solid teal #128294 active tab.
  7. Labels lead, values follow: Full-page record forms place labels in a grey left column with a blue accent edge beside the value/input column.

Colour palette (labmin daisyUI theme in admin/app.css) ​

Shell & surfaces ​

Header Navy#232E40
Frame header60px shell bar with logo & notifications.
Sub-bar Slate#2D3A50
Quick-access bar60px bar under header.
Brand Lime#8FBE00
Frame accent onlyLogo, active sidebar icon & shell search — never inside modules.
Desk Grey#D8DCE3
Page deskCool blue-grey canvas behind white sheets.
base-200#F5F5F5
Inset / stripe / headingPanel wells, table stripes, form label cells.
neutral#343A40
Dark tab barsPrimary tab surface & Archived badges.

Semantic action & status tokens ​

primary#0069D9
Look up / In ProgressSearch actions, In Progress state.
info#128294
Active / View / OpenActive tab, View/Summary buttons, Open badges.
success#218838
Create / Confirm / DoneAdd, Save, Approve, Publish, Closed badges.
warning#FFC107
Caution / WaitingClear, Start review, Awaiting Approval badges.
error#DC3545
Destructive / OverdueDelete, Reject, Overdue counts & badges.
secondary#6C757D
Utility / DraftClose, Export, Download, Draft badges.
accent#337AB7
Section identity & linksPanel headers, table header blue rule, links.

Typography & sizing ​

admin/app.ts converts rem → px at 16px inside the shadow root so Tailwind utilities match the LIMS scale exactly:

UtilitySizeLine heightUsed for
text-2xs11px16pxBadges, uppercase table headers, captions
text-xs12px18pxDefault body: table cells, tabs, labels, footers, hints
text-sm14px20pxButtons (font-normal), inputs, values, breadcrumbs, panel headings
text-base16px24pxRegister section headings
text-lg18px26pxDialog titles
text-xl20px28pxPage & record titles (<h1>)
text-2xl24px32pxDashboard KPI figures
  • Font: "Roboto", "Helvetica Neue", Arial, sans-serif.
  • Button weight: Add font-normal (400) to fusionButton buttons (daisyUI defaults to 600).
  • Secondary text: Use text-base-content/80 to keep WCAG AA contrast on both white and #F5F5F5.
  • Icons: Use @lucide/angular (<svg lucidePlus class="size-4"></svg>) everywhere in Fusion UI; use Bootstrap glyphicon classes (defined in admin/app.css) only for legacy quality_features feature/breadcrumb icons.

Standard UI components ​

Build new module pages with @labmin/fusion-angular-ui:

  • Navigation: <fusion-breadcrumb>, <fusion-tabs surface="grey|white|none">
  • Registers: <fusion-filterbar [for]="dt" [fields]="fields" /> + <fusion-table #dt stripedRows size="small">
  • Dialogs & alerts: <fusion-dialog>, <fusion-confirmdialog /> + ConfirmationService, <fusion-message>, toastStore
  • Forms: fusionInputText, fusionTextarea, <fusion-select>, <fusion-datepicker>, <fusion-checkbox>, <fusion-toggleswitch>, <fusion-fileupload>
  • Menus & hints: <fusion-menu>, <fusion-contextmenu>, fusionTooltip

Labmin LIMS Module Developer Documentation