Nnigmat / themebox

themekit as lambda function

Home Page:https://themebox.now.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

themebox

☄️ Usage

javascript

const config = {
  output: {
    css: {
      transforms: ['name/cti/kebab'],
      buildPath: './themes',
      files: [
        {
          destination: 'tokens.css',
          format: 'css/variables',
        },
      ],
    },
  },
}

const tokens = {
  color: {
    black500: {
      value: '#000',
    },
  },
}

fetch('https://themebox.now.sh', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    config,
    tokens: {
      language: 'json',
      content: tokens,
    },
  }),
})

License

MPL-2.0

About

themekit as lambda function

https://themebox.now.sh


Languages

Language:TypeScript 90.7%Language:JavaScript 9.3%