Internal Reference

FlecBase Style Guide

Single source of truth for colours, typography, and components. Anything displayed here is safe to use in production.

Design Tokens

Every colour, space, and radius defined once. Consume via var(--name).

Brand & surface

bg
#fafaf9
surface
#ffffff
surface-alt
#f5f0eb
text
#1c1917
text-muted
#78716c
text-subtle
#a8a29e
border
#e7e5e4
border-strong
#d6d3d1

Accent

accent
#0d9488
accent-dark
#0f766e
accent-light
#ccfbf1
accent-subtle
#f0fdfa

Semantic

success
#16a34a
success-bg
#dcfce7
warning
#d97706
warning-bg
#fef3c7
danger
#dc2626
danger-bg
#fee2e2
info
#2563eb
info-bg
#dbeafe

Spacing scale

--space-1
4px
--space-2
8px
--space-3
12px
--space-4
16px
--space-5
20px
--space-6
24px
--space-8
32px
--space-10
40px
--space-12
48px
--space-16
64px
--space-20
80px

Radii

sm / 6px
md / 10px
lg / 16px
xl / 20px
full

Shadows

shadow-sm
shadow-md
shadow-lg

Typography

Font family: Outfit, system fallback. Monospace: JetBrains Mono.

Heading 1 — 40px / 700

Heading 2 — 28px / 700

Heading 3 — 20px / 700

Heading 4 — 17px / 700

Heading 5 — 15px / 600
Heading 6 — 14px / 600 uppercase

Body paragraph — 16px regular. Inline link inside prose. Bold text and italic text and inline code and Ctrl+K keyboard shortcut and highlighted text.

Small text — 14px muted for less important information.

SVG icons

Inline SVGs without explicit width/height inherit 1em sizing, matching the surrounding text. Override per-context where an icon needs to be larger or smaller.

Scales with surrounding text

Generic HTML elements

Lists

Unordered
  • First item
  • Second item
    • Nested one
    • Nested two
  • Third item
Ordered
  1. Step one
  2. Step two
  3. Step three

Blockquote

"FlecBase turned our paper prestart checklists into a digital system overnight. The team just… uses it." — Happy customer, probably.

Horizontal rule


Code block

php artisan migrate --force
git pull && fb-deploy
curl -X POST https://api.flecbase.com/v1/sync

Table

Channel Status Count
auth.register Success 42
auth.login Success 1,284
tenant.user.invite Pending 3

Form elements

Components

Buttons

Pills / badges

Neutral Primary Success Warning Danger Info

Alerts

Heads upThis is an informational alert. Use for non-critical context.
SavedYour changes have been applied.
CarefulThis action will send an email to all tenant admins.
Something brokeThe sync failed. Check the ingest log for details.

Cards

Simple card

A bordered container for grouped content. Hover for the accent border.

Card with header

Separating title area with a background strip.

Download card

FlecBase for Android

Pre-release build · Updated April 2026

Download APK

Numbered steps (docs)

1
CRM · 2 minutes

Create your account

Head to app.flecbase.com and click Sign Up. Fill in your details and choose a workspace name.

Enter your details. Use your primary business email.
Name your workspace. Company or team name — visible to members.
Submit. You're logged straight in.
2
Android · 2 minutes

Install the mobile app

Download the APK and install. Android will ask you to allow installation from this source — that's normal.

Workflow chain

Horizontal pill chain with arrows — for showing data flow or sequence. Use .workflow-chain-step--accent to emphasise a key step.

CRM: Create record Auto sync APP: Pull to refresh Field worker sees record

Scenario card

Named end-to-end workflow with distinct stages (office → field → office outcome).

🚛 Scenario: Fleet Prestart & Service

🏢 Office sets up

Admin creates Organisation, links People (drivers), creates Assets (vehicles), attaches prestart templates.

📱 Field worker's morning

Driver opens the app, navigates to their assigned vehicle, completes the prestart checklist.

🖥️ Office reviews

Admin sees the prestart completion in the CRM. Failed items flagged. Photos attached.

Chapter divider (for long documents)

Chapter 1

Building Your Team

Invite your team, set roles, and get devices connected.

Entity grid (7-up responsive card grid)

👤 People

Employees, contractors, customers, contacts.

🏢 Organisations

Companies, clients, suppliers, branches.

🔧 Assets

Vehicles, equipment, buildings, tools.

Tree diagram (entity hierarchy)

🏢 Organisation (ABC Plumbing)
├─ 👤 Person (John Smith — Employee)
├─ 🔧 Asset (2024 Toyota Hilux)
└─ 📋 Order (Bumper repair — $1,200)

Capability table

Role/feature matrix with ✓ and ✗ cells. Stays readable on narrow screens via a scroll wrapper.

Capability Owner Admin Staff Field User
Access CRM
Access mobile app
Manage team

FAQ

Stacked Q&A. Wrap each item in <details> for click-to-expand behaviour (no JS needed).

Collapsible question

This one opens on click using just the browser's native <details> element. No JS, no library. The + turns into − when open.

Always-visible question

Plain FAQ item with no collapse. Use this style when you want all answers visible at once.

Docs pagination

Prev/next navigation between docs pages. Drop at the bottom of each doc. Omit one side to show a single centred card.

After-callout

Teal-tinted section for post-step follow-ups. Softer than .alert-success — use for "now that you've done this, here's what's next" content.

What to do first

  1. Go to Settings → Refresh Configuration
  2. Check your Inbox for assigned work items
  3. Try creating a record — tap + and add a Person, Asset, or Event

Landing page components

Marketing primitives used at flecbase.com. Each demo below uses the real class names — nothing bespoke to the style guide.

Fixed top nav

Applied globally on marketing pages via .site-nav-fixed on the outer wrapper. Adds a blurred, sticky top bar. When the page starts with a hero, pair with .hero--with-nav-offset so the hero content isn't hidden behind the bar.

Section scaffolding

.section wraps a horizontal band — vertical padding, centered content, constrained to --container-wide. Use .section--narrow to drop to --container-narrow. .section--bleed is the full-width variant (edge-to-edge background, content still centered via a nested container). Always pair with .section-header for centered title + subtitle.

Section header

Short lede explaining the section's purpose.

Feature grid

Offline-first

Capture data in the field without signal. Sync when you're back in range.

Real-time CRM

Web dashboard updates the moment a field user hits sync.

Custom fields

Define your own attributes per entity. No schema migrations.

Step row (horizontal 4-up)

Landing "how it works". For the vertical, docs-style version see .step in Components.

1

Sign up

Create a workspace in under a minute.

2

Install APK

Get the mobile app onto your Android devices.

3

Capture data

Field users work offline, sync when ready.

4

Review in CRM

Web dashboard surfaces everything captured.

Pricing grid

Starter

$0/mo
Up to 3 users
Free forever

Enterprise

Custom
SSO, SLA, dedicated support
Contact sales

CTA gradient card

Ready to get started?

Sign up in under a minute — no credit card required.

  • Free for up to 3 users, forever
  • Offline-first mobile capture
  • Cancel any time
Create your workspace

Dashed card

Lightweight callout for pre-release notes, interest forms, secondary CTAs.

iPhone app · coming soon

We're building iOS next. Leave your email to be notified when it lands.

Layouts in use

Three active layout patterns. Each is a combination of the components above.