0.3.7 • Published 10 months ago

@inkdropapp/theme-dev-helpers v0.3.7

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

Theme dev helpers

A helper module for creating themes for Inkdrop.

Requirements

Installation

You can install the @inkdropapp/theme-dev-helpers in your theme project:

bun i -D @inkdropapp/theme-dev-helpers

Generate Palette

It extracts computed values of theme-related CSS variables from CSS files, and outputs to the specified path.

generate-palette [options] <theme-name>

Parameters

You can specify the following options:

  • -a, --appearance <light/dark>: Force the UI appearance ("light" or "dark")
  • -o, --output: The file path where the extracted variables will be saved (default: ./palette.json).

Example

If your theme package name doesn't include 'dark' but it is a dark mode:

generate-palette -a dark

Run dev server

It provides a simple UI to preview your theme with hot-reloading.

dev-server
0.3.7

10 months ago

0.3.6

10 months ago

0.3.5

10 months ago

0.3.2

10 months ago

0.3.4

10 months ago

0.3.3

10 months ago

0.3.0

10 months ago

0.3.1

10 months ago

0.2.1

10 months ago

0.2.2

10 months ago

0.2.0

10 months ago

0.1.0

10 months ago