Design System
Tokens, atoms, molecules, and organisms — the building blocks of insighty.io. Internal reference only.
Colors
Primary — Brand Blue
primary-50
#eef2fb
primary-100
#c9d5f3
primary-200
#a3b8ea
primary-300
#6e8fd9
primary-400
#4a6ec7
primary-500
#1b3a6b
primary-600
#162f58
primary-700
#112445
primary-800
#0c1932
Semantic
ns-yellow
Warm / Accent
#d4a574
ns-green
Success / Teal
#2d9b9b
ns-red
Error / Alert
#ffb9a2
secondary
Body text (light)
#181818cf
accent
Body text (dark)
#fcfcfc
Backgrounds
background-1
Page bg (light)
background-2
Card bg (light)
background-3
Subtle bg
background-5
Dark surface
background-6
Dark card
background-7
Dark bg
background-8
Page bg (dark)
Stroke / Border
stroke-2
Border (light)
stroke-5
Border (dark)
stroke-6
Border (dark alt)
Gradients
gradient-1
gradient-3
gradient-4
gradient-9
Typography
Font: Inter Tight. All sizes from tokens.css.
heading-1
4.25rem
line-height: 110%
heading-2
3.25rem
line-height: 120%
heading-3
2.5rem
line-height: 120%
heading-4
2rem
line-height: 130%
heading-5
1.5rem
line-height: 140%
heading-6
1.25rem
line-height: 140%
tagline-1
1.0625rem
line-height: 150%
tagline-2
0.9375rem
line-height: 150%
tagline-3
0.8125rem
line-height: 150%
Shadows
shadow-1
shadow-2
shadow-3
shadow-6
shadow-7
shadow-8
shadow-9
shadow-13
Badges
Component: atoms/Badge.vue — maps variant prop to badge-* CSS class.
All variants — light background
All variants — dark background
Vue component — Badge.vue
Toggle
Component: atoms/Toggle.vue — boolean switch with v-model.
Accordion
Component: molecules/Accordion.vue — reactive, smooth open/close via CSS grid rows.
Single open (default)
Insighty is a client reporting and project intelligence platform built for agencies, freelancers, and professional service teams. It helps you track time, manage budgets, and create beautiful client reports without the manual work.
You get 14 days of full access with no credit card required. All features are unlocked during the trial so you can evaluate everything before deciding.
Yes — Insighty integrates with popular project management tools and offers a CSV import for historical data. Our onboarding team can help you migrate without losing anything.
You'll receive proactive alerts when a project reaches 80% of its budget. Clients can also be given read-only access to see real-time progress, reducing surprise conversations.
openFirst + allowMultiple
Insighty is a client reporting and project intelligence platform built for agencies, freelancers, and professional service teams. It helps you track time, manage budgets, and create beautiful client reports without the manual work.
You get 14 days of full access with no credit card required. All features are unlocked during the trial so you can evaluate everything before deciding.
Yes — Insighty integrates with popular project management tools and offers a CSV import for historical data. Our onboarding team can help you migrate without losing anything.
You'll receive proactive alerts when a project reaches 80% of its budget. Clients can also be given read-only access to see real-time progress, reducing surprise conversations.
Alert
Component: molecules/Alert.vue — dismissible notifications using Insighty semantic colors.
Types
Information
Your data has been synced successfully with all connected integrations.
Success
Project report has been generated and sent to your client.
Budget alert
Project Alpha has reached 80% of its allocated budget.
Error
Failed to connect to your time tracking integration. Please reconnect.
Dismissible
Dismissible info
Click the × to dismiss this alert.
Dismissible success
This will disappear when dismissed.
Tabs
Component: molecules/Tabs.vue — accessible tab interface with active indicator.
Select a tab above to see it highlighted. Tab content is rendered in the default slot below the tab bar.
Form Atoms
Base components. Not used directly — compose via molecules.
FormLabel
Props: for, required?
FormInput
Props: id, name, type?, placeholder?, required?, autocomplete?
FormTextarea
Props: id, name, placeholder?, required?, rows?
FormSelect
Props: id, name, required?, options[], placeholder?
FormError
Error shown via [data-field-wrapper][data-error] on parent
Logo + ThemeToggle
Form Molecules
Composed field components. Each wraps label + input + error message. Use these in pages.
FormField
<FormField id="email" name="email" label="Work email" type="email" placeholder="sam@agency.com" required autocomplete="email" />
FormSelectField
<FormSelectField
id="team-size"
name="team_size"
label="Team size"
required
options={teamSizeOptions}
placeholder="Select"
/> FormTextareaField
<FormTextareaField
id="message"
name="message"
label="Message"
placeholder="..."
required
rows={4}
/> Error States
Add data-error to data-field-wrapper div to trigger:
Interactive Form Demo
Fully wired form with blur validation, submit handling, success and error states. Uses validateForm, setupBlurValidation, submitToNetlify from src/js/utils/form-submit.js.
Live Demo (submit wired to Netlify)
Form submitted!
Captured in Netlify Forms dashboard.
Page Script Pattern
import { validateForm, setupBlurValidation, submitToNetlify }
from '../js/utils/form-submit.js'
const form = document.getElementById('my-form')
const btn = document.getElementById('submit-btn')
if (form && btn) {
setupBlurValidation(form)
form.addEventListener('submit', async (e) => {
e.preventDefault()
if (!validateForm(form)) return
const span = btn.querySelector('span')
if (span) span.textContent = 'Sending...'
btn.disabled = true
try {
const ok = await submitToNetlify(form)
if (ok) {
// show success
} else {
// show error, re-enable btn
}
} catch {
// network failure
}
})
} Form HTML Requirements
<form
id="my-form"
name="form-name"
data-netlify="true"
netlify-honeypot="bot-field"
novalidate
>
<input type="hidden" name="form-name" value="form-name" />
<input type="text" name="bot-field"
class="sr-only" tabindex="-1" autocomplete="off" />
<!-- fields -->
<FormField id="email" name="email"
label="Work email" type="email" required />
<button type="submit" id="submit-btn">
<span>Submit</span>
</button>
<p id="form-error" class="hidden">...</p>
</form>
<!-- success state (outside form) -->
<div id="success-state" class="hidden">...</div> File Structure
Atoms
-
src/components/atoms/FormLabel.astro -
src/components/atoms/FormInput.astro -
src/components/atoms/FormTextarea.astro -
src/components/atoms/FormSelect.astro -
src/components/atoms/FormError.astro -
src/components/atoms/Logo.astro -
src/components/atoms/ThemeToggle.astro -
src/components/atoms/Star.astro -
src/components/atoms/HoverBg.astro -
src/components/atoms/Button.astro — use this -
src/components/atoms/ButtonGroup.astro — use this -
src/components/atoms/Button.vue — interactive only -
src/components/atoms/Badge.vue -
src/components/atoms/Icon.vue -
src/components/atoms/Toggle.vue
Molecules
-
src/components/molecules/FormField.astro -
src/components/molecules/FormTextareaField.astro -
src/components/molecules/FormSelectField.astro -
src/components/molecules/Accordion.astro -
src/components/molecules/Accordion.vue — NEW -
src/components/molecules/Alert.vue — NEW -
src/components/molecules/Tabs.vue — NEW -
src/components/molecules/BlogCard.astro -
src/components/molecules/BlogNewsletter.astro -
src/components/molecules/NavItem.astro -
src/components/molecules/TestimonialCard.astro
Organisms
-
src/components/organisms/Header.astro -
src/components/organisms/Footer.astro -
src/components/organisms/Hero.astro -
src/components/organisms/CTA.astro -
src/components/organisms/FAQ.astro -
src/components/organisms/Feature.astro -
src/components/organisms/FeatureV2.astro -
src/components/organisms/FeatureV3.astro -
src/components/organisms/FoundingMember.astro -
src/components/organisms/Modules.astro -
src/components/organisms/Pricing.astro -
src/components/organisms/Services.astro
Styles
-
src/styles/tokens.css — all CSS vars -
src/styles/forms.css — form utilities -
src/styles/global.css — imports chain -
src/styles/common.css — utilities -
src/styles/button.css — btn classes -
src/styles/badge.css — badge classes -
src/styles/design-system.css — ds- classes
