Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 884 Bytes

README.md

File metadata and controls

31 lines (25 loc) · 884 Bytes

README

This repository is used as an example for the article Od design tokenów do zmiennych, czyli Style Dictionary w akcji (in Polish) published on the PGS software blog.

The project uses @wryrych/design-tokens-example npm npm package as a dependency. Each scss file has an access to design tokens.

module.exports = {
  pluginOptions: {
    "style-resources-loader": {
      preProcessor: "scss",
      patterns: [
        path.resolve(
          __dirname,
          "node_modules/@wryrych/design-tokens-example/dist/scss/_variables.scss"
        ),
      ],
    },
  },

How to run

yarn
yarn serve