devtools-x icon indicating copy to clipboard operation
devtools-x copied to clipboard

[Feature request] Theme/Token Exporter

Open ThijsZijdel opened this issue 1 year ago • 0 comments

A theme/token exporter that seamlessly Integrates with the visual and UI modules of devtools-x

Screenshot 2024-09-03 at 23 31 22

Context

As a developer (/designer), I need a tool to efficiently manage and export design themes and tokens in various formats. Additionally, having a typography scale creator and previewer will streamline the design process.

Scope

  • Export Options: Export themes and tokens in multiple formats (e.g., JSON, SCSS, CSS, PHP).
  • Typography Scale: Create and preview typography scales for consistent design.

Current progress

Color conversions are mostly ready, currently working on the ui & typography exports.

import {
  cssConverter,
  javascriptConverter,
  jsonConverter,
  phpConverter,
  rawConverter,
  sassConverter,
  scssConverter,
  swiftConverter,
  tailwindConverter,
  tokenConverter,
  typeScriptConverter,
  xmlConverter,
  yamlConverter,
} from "@/utils/tokens/converter";

Preview

Screenshot 2024-09-03 at 22 53 54 Screenshot 2024-09-03 at 22 54 53

ThijsZijdel avatar Sep 03 '24 21:09 ThijsZijdel