Porsche Design System Search Navigate to GitHub repository of Porsche Design System Open sidebar prev nextExamples Usage API Media Query
Variables#
prev next
Tailwind CSS variable Tailwind CSS class Description--breakpoint-xs
.xs:*
, .max-xs:*
Applies a media query with the xs
(480px ) breakpoint.--breakpoint-sm
.sm:*
, .max-sm:*
, .xs:max-sm:*
Applies a media query with the sm
(760px ) breakpoint.--breakpoint-md
.md:*
, .max-md:*
, .md:max-lg:*
Applies a media query with the md
(1000px ) breakpoint.--breakpoint-lg
.lg:*
, .max-lg:*
, .lg:max-xl:*
Applies a media query with the lg
(1300px ) breakpoint.--breakpoint-xl
.xl:*
, .max-xl:*
, .xl:max-2xl:*
Applies a media query with the xl
(1760px ) breakpoint.--breakpoint-2xl
.2xl:*
, .max-2xl:*
Applies a media query with the 2xl
(1920px ) breakpoint. Global settingsTheme
ThemeMore information Changes 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. // TODO: get rid of ARIA sprouting and use `elementInternals` API when AXE-CORE supports it: https://github.com/dequelabs/axe-core/issues/4259
Light// TODO: get rid of ARIA sprouting and use `elementInternals` API when AXE-CORE supports it: https://github.com/dequelabs/axe-core/issues/4259
Dark// TODO: get rid of ARIA sprouting and use `elementInternals` API when AXE-CORE supports it: https://github.com/dequelabs/axe-core/issues/4259
Auto (sync with operating system)DirectionMore information Changes the direction of HTML elements, mostly used on<html>
tag to support languages which are read from right to left like e.g. Arabic. // TODO: get rid of ARIA sprouting and use `elementInternals` API when AXE-CORE supports it: https://github.com/dequelabs/axe-core/issues/4259
LTR (left-to-right)// TODO: get rid of ARIA sprouting and use `elementInternals` API when AXE-CORE supports it: https://github.com/dequelabs/axe-core/issues/4259
RTL (right-to-left)// TODO: get rid of ARIA sprouting and use `elementInternals` API when AXE-CORE supports it: https://github.com/dequelabs/axe-core/issues/4259
AutoText ZoomMore information Changes 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%. // TODO: get rid of ARIA sprouting and use `elementInternals` API when AXE-CORE supports it: https://github.com/dequelabs/axe-core/issues/4259
100%// TODO: get rid of ARIA sprouting and use `elementInternals` API when AXE-CORE supports it: https://github.com/dequelabs/axe-core/issues/4259
130%// TODO: get rid of ARIA sprouting and use `elementInternals` API when AXE-CORE supports it: https://github.com/dequelabs/axe-core/issues/4259
150%// TODO: get rid of ARIA sprouting and use `elementInternals` API when AXE-CORE supports it: https://github.com/dequelabs/axe-core/issues/4259
200%