Porsche Design SystemSearchNavigate to GitHub repository of Porsche Design SystemOpen sidebar
ExamplesUsageAPI
Spacing Table of Contents Variables Tailwind CSS variableTailwind CSS classDescription--spacing-fluid-xsp-fluid-xs, m-fluid-xs, …Applies the x-small fluid spacing.--spacing-fluid-smp-fluid-sm, m-fluid-sm, …Applies the small fluid spacing.--spacing-fluid-mdp-fluid-md, m-fluid-md, …Applies the medium fluid spacing.--spacing-fluid-lgp-fluid-lg, m-fluid-lg, …Applies the large fluid spacing.--spacing-fluid-xlp-fluid-xl, m-fluid-xl, …Applies the x-large fluid spacing.--spacing-fluid-2xlp-fluid-2xl, m-fluid-2xl, …Applies the 2x-large fluid spacing.--spacing-static-xsp-static-xs, m-static-xs, …Applies the x-small static spacing.--spacing-static-smp-static-sm, m-static-sm, …Applies the small static spacing.--spacing-static-mdp-static-md, m-static-md, …Applies the medium static spacing.--spacing-static-lgp-static-lg, m-static-lg, …Applies the large static spacing.--spacing-static-xlp-static-xl, m-static-xl, …Applies the x-large static spacing.--spacing-static-2xlp-static-2xl, m-static-2xl, …Applies the 2x-large static spacing.
Global settingsThemeChanges the theme of the application and any Porsche Design System component. It's possible to choose between forced theme light and dark. It's also possible to use auto, which applies light or dark theme depending on the operating system settings automatically.LightDarkAuto (sync with operating system)DirectionChanges the direction of HTML elements, mostly used on<html> tag to support languages which are read from right to left like e.g. Arabic.LTR (left-to-right)RTL (right-to-left)AutoText ZoomChanges the text size and values with unit rem or em relatively. This setting can be defined in browser settings for any website or by an application itself on<html> tag. To achieve WCAG 2.2 AA compliance it's obligatory to support text zoom up to at least 200%.100%130%150%200%