Back to Plugins
SDS App Tokens Export

SDS App Tokens Export

Export variables for mobile

Plugin Preview

SDS App Tokens Export preview

About this plugin

The plugin exports colour variables as tokens for iOs and Android using a predefined format.


The plugin assumes that there are Core and Semantic collections of variables, and also checks if a variable refers to a variable from another library.


For example, the core collection contains variables like Blue/0, Pink/100, which are given a hex colour.


Semantic collection contains aliased variables of the form Brand/Primary: Pink/100. If a variable does not contain an alias reference, it is converted as a core token.


Using

The plugin gives you a choice of collection, Mode and colour scheme, which is contained in the first level of naming in Semantic collections.


Outputs

  1. for Core iOS: public static let Blue0 = Color(hex: "FFFFFFFFFFFFF")
  2. for Core Android: val Blue0: Color = Color(colour: 0xFFFFFFFFFF)
  3. for Semantic iOS: BrandTextPrimary: Color.DSColorPalette.Pink900
  4. for Semantic Android: BrandTextPrimary = DSCorePalette.Pink900

Plugin Details

Version5
CreatedJune 12, 2025
Last UpdatedJune 18, 2025
CategoryImport & export plugins
CreatorEgor Gorokhov
Stats0 installs, 1 likes
PricingFree

Technical Details

  • API:1.0.0
  • UI:ui.html
  • main:dist/code.js
  • Document Access:dynamic-page
  • Editor Types:
    dev
  • Allowed Domains:
    • none