Skip to content

Instantly share code, notes, and snippets.

@just-boris
Created April 24, 2023 19:30
Show Gist options
  • Save just-boris/6835d6794341cd7080cd4044bb8240c5 to your computer and use it in GitHub Desktop.
Save just-boris/6835d6794341cd7080cd4044bb8240c5 to your computer and use it in GitHub Desktop.
Cloudscape theming demo
const { join } = require("path");
const {
buildThemedComponents,
} = require("@cloudscape-design/components-themeable/theming");
/** @type import('@cloudscape-design/components-themeable/theming').Theme */
const theme = {
tokens: {
fontFamilyBase: "'Helvetica Neue', Roboto, Arial, sans-serif",
},
};
buildThemedComponents({ theme, outputDir: join(__dirname, "./themed") });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment