The following steps should be completed in your index.html file, or equivalent - wherever your <html ... /> and <head ... /> tags are located.
Add the PS Font
In order to use the PS TT Commons font, you will need to preload it in your <head ... /> tag:
Add the inky blue theme and color mode
Your application will require the inky blue theme to render the styles within the design system. Make sure that your <html ... /> tag contains the following attributes:
Theme Switcher
If you want to use a theme switcher, then you can utilize the
useTheme
hook.
See how we use useTheme in our sandbox
Next.js
If you are using Next.js, you can add the Pando font and themes to your root layout.tsx file.
You will modify the RootLayout() function to include the theme, module, and font: