npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@blocklet/theme-builder

v0.4.8

Published

A comprehensive tool to customize themes for Material-UI

Downloads

3,341

Readme

Material-UI Theme Creator provides an interface to help create a Material-UI ThemeOptions object, which styles components in the library.

Use the app here

Features

The app has a few developer-friendly features:

  • Site templates to preview the theme on
  • A code editor with code completion and suggestions based off ThemeOptions type data
  • Dynamic loading of Google Fonts
  • Detailed snippets that take advantage of the ThemeOptions.props and ThemeOptions.overrides options
  • Theme Editing: Create and customize Material-UI themes with visual editors
  • Color Management: Comprehensive color palette editing with lock/unlock functionality
  • Typography Settings: Font family and typography configuration
  • Multiple Themes: Support for multiple theme concepts
  • Preview: Real-time preview of theme changes
  • Undo/Redo: Full support for undo and redo operations during theme editing
  • Keyboard Shortcuts:
    • Ctrl+Z or Cmd+Z - Undo
    • Ctrl+Y or Cmd+Y or Ctrl+Shift+Z or Cmd+Shift+Z - Redo

Legacy

This tool can be used with MUI Version ^5.0.0. only, as v5 included changes to the ThemeOptions object.

To use this tool with MUI v4: MUI Theme Creator v4 Instructions for migrating from v4 to v5: MUI Migration to v5

Motivations

The purpose of this project is to help expose the power of the Material-UI Theme styling solution, specifically relating to setting default props for components and default styles through overrides.

By customizing default props and styles of components at the theme level, developers can easily tweak the look and feel of the app, and cut out the need for specifying common styling patterns within component code.

Future work on this project should be done with the goal of adding example previews that help accomplish this, useful snippets that take advantage of the Material-UI theme capabilities, and providing the user with better knowledge of the theme utilities in general.

Have feature ideas, useful snippets, or bugs? Fantastic! Any help is appreciated, open an issue or submit a pull request!

🚀 Quick start

pnpm install
pnpm start # or use pnpm develop

Acknowledgements

This project is forked from MUI Theme Creator v5.

Undo/Redo Functionality

The theme builder now includes comprehensive undo/redo functionality:

  • Automatic History: All theme editing operations are automatically saved to history
  • UI Controls: Undo/Redo buttons are available in the header toolbar
  • Keyboard Shortcuts: Standard keyboard shortcuts for undo/redo operations
  • History Management: Up to 50 history states are maintained per theme concept
  • Concept Isolation: Each theme concept maintains its own history stack

Operations that create history entries:

  • Color modifications
  • Typography changes
  • Theme style adjustments
  • Theme mode switching
  • Bulk operations (reset, shuffle, etc.)

Notes:

  • History is not persisted between page refreshes
  • Switching between theme concepts will reset the history for the new concept
  • History is automatically managed - no manual intervention required

Getting Started

  1. Install dependencies: npm install
  2. Start development server: npm run dev
  3. Open in browser: http://localhost:3000

Usage

  1. Edit Colors: Click on color blocks to modify palette colors
  2. Edit Typography: Select font families and adjust typography settings
  3. Edit Styles: Modify border radius and other style properties
  4. Undo/Redo: Use toolbar buttons or keyboard shortcuts to undo/redo changes
  5. Save: Save your theme configuration
  6. Preview: See real-time preview of your changes

Development

# Install dependencies
npm install

# Start development server
npm run dev

# Build for production
npm run build

License

MIT License