Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Theme Studio

Static HTML, CSS, and browser JavaScript theme playground. There is no React, Next.js, Tailwind build, package install, or Node server at runtime. The existing Tailwind utility styles are included in styles.css.

Run locally

On Windows, double-click start.cmd or run it from a terminal:

.\start.cmd

Keep that window open, then visit http://127.0.0.1:8000. To choose another port, run .\start.cmd --port 9000.

You can also start the server directly with Python:

python serve.py

If port 8000 is already in use, run python serve.py --port 9000 and open http://127.0.0.1:9000.

You can also place these files on any static host. Keep index.html, styles.css, app.js, brand-checks.js, media/, brand-assets/, and the three root icon files together. The Brand tab's format checks require an HTTP server because browsers do not allow its asset fetches from file://.

Edit the theme

  • Edit the CSS variables in the Live CSS editor to preview changes immediately, then use Copy CSS to save them.
  • To change the starting theme for everyone, edit the :root and .dark rules in the #live-theme style and #theme-css textarea in index.html together. The textarea contains the editor's reset value.
  • styles.css contains the compiled utility styles and component rules from the previous Tailwind setup. It is committed, so running the site needs no build step. Edit this file directly when changing component styles or adding utility classes.
  • app.js handles tabs, the light/dark toggle, editor, form, icons, dashboard navigation, and order book. brand-checks.js validates the included brand assets.

Brand asset guidance is in brand-assets/usage.md.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages