Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

JoeMighty/Design-Inspector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

2 Commits

Repository files navigation

πŸ” Design Inspector

A Chrome extension for developers and designers to instantly inspect fonts, colours, spacing, and design tokens on any web page β€” just by hovering.

Version Manifest License Chrome Web Store


πŸš€ Install

Install from the Chrome Web Store


✨ Features

πŸ–±οΈ Live Hover Inspector

Enable Hover Mode from the popup and move your cursor over any element on the page. A floating tooltip appears next to your cursor showing:

  • Typography β€” font family, size, weight, line height, letter spacing
  • Colours β€” text, background and border colours with hex codes and RGB values
  • Spacing β€” padding, margin, and gap values
  • Box β€” border radius, border, and box shadow

πŸ”’ Click to Lock and Copy

Click any element to lock the tooltip in place. Once locked:

  • The tooltip becomes fully interactive
  • Click any row to copy the value to your clipboard
  • Highlight box turns pink to show the element is locked
  • Click the βœ• Unlock button or press Esc to resume hovering

⌨️ Keyboard Shortcuts

Key Action
Esc Unlock tooltip (if locked), or exit hover mode entirely

πŸ“Š Full Page Scan

Click Scan Page to extract a complete design report:

  • All fonts used per element type (h1, h2, p, a, button, etc.)
  • Complete colour palette sorted by usage frequency
  • All images (both <img> tags and CSS background images)
  • Design tokens (padding, margin, border radius, shadow, etc.)

🎨 Hover in Popup to Highlight on Page

After scanning, hover over any colour swatch or font name in the popup panel β€” matching elements are highlighted directly on the page with a dashed outline.

πŸ’Ύ Export

  • Copy JSON β€” full structured data to clipboard
  • Download Report β€” exports a Markdown .md file with everything organised

πŸ“Έ Screenshots

Screenshots available on the Chrome Web Store listing


πŸš€ Installation

From Chrome Web Store

Install Design Inspector β€” free, no account required.

Manual (Developer Mode)

  1. Download the latest release zip
  2. Unzip the file
  3. Open Chrome and go to chrome://extensions
  4. Enable Developer Mode (toggle in the top-right corner)
  5. Click Load Unpacked
  6. Select the extension folder from the unzipped download
  7. Pin the Design Inspector icon to your toolbar

πŸ—οΈ Project Structure

design-inspector/
β”œβ”€β”€ extension/ # Chrome extension source
β”‚ β”œβ”€β”€ manifest.json # Extension manifest (MV3)
β”‚ β”œβ”€β”€ background.js # Service worker β€” message relay
β”‚ β”œβ”€β”€ inspector.js # Content script β€” hover tooltip and highlights
β”‚ β”œβ”€β”€ scanner.js # Content script β€” full page scan
β”‚ β”œβ”€β”€ popup.html # Extension popup UI
β”‚ β”œβ”€β”€ popup.js # Popup logic
β”‚ └── icons/
β”‚ β”œβ”€β”€ icon16.png
β”‚ β”œβ”€β”€ icon48.png
β”‚ └── icon128.png
β”œβ”€β”€ docs/
β”‚ └── PRIVACY_POLICY.md # Privacy policy (hosted via GitHub Pages)
β”œβ”€β”€ assets/ # Screenshots, promo images for store listing
β”œβ”€β”€ .github/
β”‚ └── ISSUE_TEMPLATE/ # Bug report and feature request templates
β”œβ”€β”€ CHANGELOG.md # Version history
β”œβ”€β”€ CONTRIBUTING.md # How to contribute
β”œβ”€β”€ LICENSE # MIT License
└── README.md # This file

πŸ› οΈ Development

Prerequisites

  • Google Chrome (or any Chromium-based browser)
  • No build tools required β€” this is vanilla JS, HTML, and CSS

Running Locally

  1. Clone the repo:

    git clone https://github.com/JoeMighty/design-inspector.git
    cd design-inspector
  2. Load the extension/ folder in Chrome via Developer Mode (see Manual Installation above)

  3. Make changes to files in extension/

  4. Go to chrome://extensions and click the refresh icon on the extension card

🀝 Contributing

Contributions are welcome! Please read <CONTRIBUTING.md> before opening a pull request.


πŸ“„ Privacy

Design Inspector does not collect, store, or transmit any user data. All processing happens locally in your browser. See the full Privacy Policy.


πŸ“œ License

MIT Β© JoeMighty

About

A Chrome extension to inspect fonts, colours, spacing and design tokens on any web page

Resources

License

Contributing

Stars

Watchers

Forks

Packages

Contributors

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /