Home Insighty

Who it's for

Latest posts

Internal v2

Design System

Tokens, atoms, molecules, and organisms — the building blocks of insighty.io. Internal reference only.

Tokens

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


Tokens

Typography

Font: Inter Tight. All sizes from tokens.css.

heading-1

4.25rem

line-height: 110%

The quick brown fox jumps over the lazy dog

heading-2

3.25rem

line-height: 120%

The quick brown fox jumps over the lazy dog

heading-3

2.5rem

line-height: 120%

The quick brown fox jumps over the lazy dog

heading-4

2rem

line-height: 130%

The quick brown fox jumps over the lazy dog

heading-5

1.5rem

line-height: 140%

The quick brown fox jumps over the lazy dog

heading-6

1.25rem

line-height: 140%

The quick brown fox jumps over the lazy dog

tagline-1

1.0625rem

line-height: 150%

The quick brown fox jumps over the lazy dog

tagline-2

0.9375rem

line-height: 150%

The quick brown fox jumps over the lazy dog

tagline-3

0.8125rem

line-height: 150%

The quick brown fox jumps over the lazy dog

Tokens

Shadows

shadow-1

shadow-2

shadow-3

shadow-6

shadow-7

shadow-8

shadow-9

shadow-13


Atoms — Vue

Buttons

Component: atoms/Button.vue — three kinds, three sizes, disabled state.

Light background

Default
Disabled
primary
Default
Disabled
outline

Dark background

Default
Disabled
primary
Default
Disabled
outline-white
Default
Disabled
ghost
arrow

Sizes — primary

btn-sm
btn-md
btn-lg

ButtonGroup — atoms/ButtonGroup.astro

Light bg — primary + outline

Dark bg — primary + outline-white + ghost

direction="col" + full

Usage

import Button from '../components/atoms/Button.astro'
import ButtonGroup from '../components/atoms/ButtonGroup.astro'

// kind options:
// "primary"       filled navy        — any background
// "outline"       dark border        — light / white backgrounds
// "outline-white" white border       — dark / navy backgrounds
// "ghost"         no border or bg    — dark backgrounds
// "arrow"         text link + arrow  — dark backgrounds

// Link button (renders <a>)
<Button kind="primary" href="/request-a-demo">Request a Demo</Button>

// Submit button (renders <button>)
<Button kind="primary" size="lg" type="submit" full>Send message</Button>

// Arrow text-link (renders inline, no box)
<Button kind="arrow" href="/#platform">See the platform</Button>

// Button group
<ButtonGroup align="center">
  <Button kind="primary" href="/request-a-demo">Get started</Button>
  <Button kind="arrow" href="#platform">See the platform</Button>
</ButtonGroup>

Atoms — Vue

Badges

Component: atoms/Badge.vue — maps variant prop to badge-* CSS class.

All variants — light background

green badge-green
yellow badge-yellow
cyan badge-cyan
gray badge-gray
gray-light badge-gray-light
gray-dark badge-gray-dark
primary badge-primary
primary-light badge-primary-light
secondary badge-secondary
white badge-white
metal badge-metal
blur badge-blur
blur-light badge-blur-light
ivory badge-ivory

All variants — dark background

green badge-green
yellow badge-yellow
cyan badge-cyan
gray badge-gray
gray-light badge-gray-light
primary badge-primary
secondary badge-secondary
white badge-white
metal badge-metal
blur badge-blur
blur-light badge-blur-light
secondary-light badge-secondary-light

Vue component — Badge.vue

greenyellowcyangrayprimarysecondarywhiteivory

Atoms — Vue

Toggle

Component: atoms/Toggle.vue — boolean switch with v-model.

Active (on)
Inactive (off)
Disabled (on)
Disabled (off)

Molecules — Vue

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.


Molecules — Vue

Alert

Component: molecules/Alert.vue — dismissible notifications using Insighty semantic colors.

Types

Dismissible


Molecules — Vue

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.


Atoms

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

Insighty
ThemeToggle (functional)

Molecules

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

optional
<FormTextareaField
  id="message"
  name="message"
  label="Message"
  placeholder="..."
  required
  rows={4}
/>

Error States

Add data-error to data-field-wrapper div to trigger:


Pattern

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)

optional

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>

Reference

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