How to use the react-sketchapp.TextStyles.create function in react-sketchapp

To help you get started, we’ve selected a few react-sketchapp examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Automattic / color-studio / sketch / index.js View on Github external
export default context => {
  TextStyles.create({ context, clearExistingStyles: true }, textStyles)
  render(, context.document.currentPage())
}
github department-of-veterans-affairs / veteran-facing-services-tools / vets-sketchapp / src / main.js View on Github external
export default () => {
  TextStyles.create(
    {
      context,
      clearExistingStyles: true,
    },
    designSystem.fonts
  );

  render(, context.document.currentPage());
};
github imgly / ui-design-system-generator / src / main.js View on Github external
export default (context) => {
    TextStyles.create({
        context: context,
        clearExistingStyles: true,
    }, appTheme.typography)

    render();
}
github airbnb / react-sketchapp / examples / styleguide / src / main.js View on Github external
export default () => {
  TextStyles.create(
    {
      context,
      clearExistingStyles: true,
    },
    designSystem.fonts,
  );

  render(, context.document.currentPage());
};