@porsche-design-system/components-angular 4.5.0-rc.1 → 4.6.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/bin/pds-skill.js +259 -0
- package/fesm2022/porsche-design-system-components-angular.mjs.map +1 -1
- package/package.json +5 -2
- package/skill/SKILL.md +124 -0
- package/skill/references/components/p-accordion/examples/Default.ts +26 -0
- package/skill/references/components/p-accordion/examples/InteractiveElementsInSummary.ts +30 -0
- package/skill/references/components/p-accordion/examples/StickySummary.ts +26 -0
- package/skill/references/components/p-accordion/p-accordion.md +95 -0
- package/skill/references/components/p-ai-tag/examples/Default.ts +13 -0
- package/skill/references/components/p-ai-tag/examples/WithinCheckbox.ts +33 -0
- package/skill/references/components/p-ai-tag/examples/WithinFormLabel.ts +40 -0
- package/skill/references/components/p-ai-tag/examples/WithinImage.ts +16 -0
- package/skill/references/components/p-ai-tag/examples/WithinInputSearch.ts +15 -0
- package/skill/references/components/p-ai-tag/examples/WithinRadioGroup.ts +32 -0
- package/skill/references/components/p-ai-tag/examples/WithinTable.ts +94 -0
- package/skill/references/components/p-ai-tag/examples/WithinText.ts +17 -0
- package/skill/references/components/p-ai-tag/p-ai-tag.md +47 -0
- package/skill/references/components/p-banner/examples/Customization.ts +37 -0
- package/skill/references/components/p-banner/examples/Default.ts +26 -0
- package/skill/references/components/p-banner/p-banner.md +92 -0
- package/skill/references/components/p-button/examples/Default.ts +15 -0
- package/skill/references/components/p-button/examples/Form.ts +26 -0
- package/skill/references/components/p-button/examples/FormAttribute.ts +30 -0
- package/skill/references/components/p-button/p-button.md +118 -0
- package/skill/references/components/p-button-pure/examples/CustomClickableArea.ts +15 -0
- package/skill/references/components/p-button-pure/examples/Default.ts +15 -0
- package/skill/references/components/p-button-pure/examples/Form.ts +26 -0
- package/skill/references/components/p-button-pure/examples/FormAttribute.ts +30 -0
- package/skill/references/components/p-button-pure/p-button-pure.md +118 -0
- package/skill/references/components/p-button-tile/examples/ColorScheme.ts +18 -0
- package/skill/references/components/p-button-tile/examples/Default.ts +21 -0
- package/skill/references/components/p-button-tile/examples/FooterSlot.ts +32 -0
- package/skill/references/components/p-button-tile/examples/Hyphens.ts +38 -0
- package/skill/references/components/p-button-tile/examples/UiBehaviour.ts +44 -0
- package/skill/references/components/p-button-tile/p-button-tile.md +115 -0
- package/skill/references/components/p-canvas/examples/Default.ts +13 -0
- package/skill/references/components/p-canvas/p-canvas.md +91 -0
- package/skill/references/components/p-carousel/examples/Default.ts +26 -0
- package/skill/references/components/p-carousel/examples/DynamicSlides.ts +37 -0
- package/skill/references/components/p-carousel/examples/FlexibleWidths.ts +32 -0
- package/skill/references/components/p-carousel/examples/FocusOnCenterSlide.ts +65 -0
- package/skill/references/components/p-carousel/examples/Intl.ts +23 -0
- package/skill/references/components/p-carousel/examples/JumpToSlide.ts +50 -0
- package/skill/references/components/p-carousel/p-carousel.md +142 -0
- package/skill/references/components/p-checkbox/examples/Default.ts +13 -0
- package/skill/references/components/p-checkbox/examples/Form.ts +31 -0
- package/skill/references/components/p-checkbox/examples/Indeterminate.ts +16 -0
- package/skill/references/components/p-checkbox/examples/Slots.ts +57 -0
- package/skill/references/components/p-checkbox/examples/WrappedLabel.ts +27 -0
- package/skill/references/components/p-checkbox/p-checkbox.md +122 -0
- package/skill/references/components/p-crest/examples/CustomClickableArea.ts +13 -0
- package/skill/references/components/p-crest/examples/Default.ts +13 -0
- package/skill/references/components/p-crest/examples/Link.ts +13 -0
- package/skill/references/components/p-crest/p-crest.md +65 -0
- package/skill/references/components/p-display/examples/Color.ts +15 -0
- package/skill/references/components/p-display/examples/Default.ts +15 -0
- package/skill/references/components/p-display/examples/Semantics.ts +21 -0
- package/skill/references/components/p-display/examples/Size.ts +15 -0
- package/skill/references/components/p-display/examples/SizeResponsive.ts +15 -0
- package/skill/references/components/p-display/p-display.md +78 -0
- package/skill/references/components/p-divider/examples/Default.ts +13 -0
- package/skill/references/components/p-divider/examples/Responsive.ts +15 -0
- package/skill/references/components/p-divider/examples/Vertical.ts +15 -0
- package/skill/references/components/p-divider/p-divider.md +49 -0
- package/skill/references/components/p-drilldown/examples/CustomContent.ts +166 -0
- package/skill/references/components/p-drilldown/examples/Default.ts +119 -0
- package/skill/references/components/p-drilldown/p-drilldown.md +168 -0
- package/skill/references/components/p-fieldset/examples/Default.ts +15 -0
- package/skill/references/components/p-fieldset/examples/Required.ts +16 -0
- package/skill/references/components/p-fieldset/examples/SlottedLabel.ts +18 -0
- package/skill/references/components/p-fieldset/examples/SlottedMessage.ts +18 -0
- package/skill/references/components/p-fieldset/p-fieldset.md +88 -0
- package/skill/references/components/p-flag/examples/Default.ts +13 -0
- package/skill/references/components/p-flag/examples/ResponsiveSize.ts +13 -0
- package/skill/references/components/p-flag/examples/Size.ts +16 -0
- package/skill/references/components/p-flag/examples/SizeCssVar.ts +13 -0
- package/skill/references/components/p-flag/p-flag.md +68 -0
- package/skill/references/components/p-flyout/examples/CustomStyling.ts +47 -0
- package/skill/references/components/p-flyout/examples/Default.ts +44 -0
- package/skill/references/components/p-flyout/examples/Form.ts +47 -0
- package/skill/references/components/p-flyout/examples/StickyTop.ts +44 -0
- package/skill/references/components/p-flyout/p-flyout.md +128 -0
- package/skill/references/components/p-heading/examples/Color.ts +15 -0
- package/skill/references/components/p-heading/examples/Default.ts +15 -0
- package/skill/references/components/p-heading/examples/Semantics.ts +21 -0
- package/skill/references/components/p-heading/p-heading.md +78 -0
- package/skill/references/components/p-icon/examples/Color.ts +16 -0
- package/skill/references/components/p-icon/examples/ColorCssVar.ts +13 -0
- package/skill/references/components/p-icon/examples/Custom.ts +13 -0
- package/skill/references/components/p-icon/examples/Default.ts +13 -0
- package/skill/references/components/p-icon/examples/Overview.ts +591 -0
- package/skill/references/components/p-icon/examples/ResponsiveSize.ts +13 -0
- package/skill/references/components/p-icon/examples/Size.ts +16 -0
- package/skill/references/components/p-icon/examples/SizeCssVar.ts +13 -0
- package/skill/references/components/p-icon/p-icon.md +88 -0
- package/skill/references/components/p-inline-notification/examples/ActionButton.ts +29 -0
- package/skill/references/components/p-inline-notification/examples/Default.ts +13 -0
- package/skill/references/components/p-inline-notification/examples/EventHandling.ts +31 -0
- package/skill/references/components/p-inline-notification/p-inline-notification.md +74 -0
- package/skill/references/components/p-input-date/examples/Default.ts +13 -0
- package/skill/references/components/p-input-date/examples/Form.ts +31 -0
- package/skill/references/components/p-input-date/examples/Slots.ts +44 -0
- package/skill/references/components/p-input-date/p-input-date.md +138 -0
- package/skill/references/components/p-input-email/examples/Default.ts +13 -0
- package/skill/references/components/p-input-email/examples/Form.ts +31 -0
- package/skill/references/components/p-input-email/examples/Slots.ts +44 -0
- package/skill/references/components/p-input-email/p-input-email.md +142 -0
- package/skill/references/components/p-input-month/examples/Default.ts +13 -0
- package/skill/references/components/p-input-month/examples/Form.ts +31 -0
- package/skill/references/components/p-input-month/examples/Slots.ts +44 -0
- package/skill/references/components/p-input-month/p-input-month.md +138 -0
- package/skill/references/components/p-input-number/examples/Default.ts +13 -0
- package/skill/references/components/p-input-number/examples/Form.ts +31 -0
- package/skill/references/components/p-input-number/examples/Slots.ts +44 -0
- package/skill/references/components/p-input-number/p-input-number.md +146 -0
- package/skill/references/components/p-input-password/examples/Default.ts +13 -0
- package/skill/references/components/p-input-password/examples/Form.ts +31 -0
- package/skill/references/components/p-input-password/examples/Slots.ts +42 -0
- package/skill/references/components/p-input-password/examples/Toggle.ts +13 -0
- package/skill/references/components/p-input-password/p-input-password.md +141 -0
- package/skill/references/components/p-input-search/examples/AriaCombobox.ts +38 -0
- package/skill/references/components/p-input-search/examples/Default.ts +13 -0
- package/skill/references/components/p-input-search/examples/Form.ts +31 -0
- package/skill/references/components/p-input-search/examples/Slots.ts +44 -0
- package/skill/references/components/p-input-search/p-input-search.md +178 -0
- package/skill/references/components/p-input-tel/examples/Default.ts +13 -0
- package/skill/references/components/p-input-tel/examples/Form.ts +31 -0
- package/skill/references/components/p-input-tel/examples/Slots.ts +44 -0
- package/skill/references/components/p-input-tel/p-input-tel.md +141 -0
- package/skill/references/components/p-input-text/examples/Controlled.ts +36 -0
- package/skill/references/components/p-input-text/examples/Default.ts +13 -0
- package/skill/references/components/p-input-text/examples/Form.ts +31 -0
- package/skill/references/components/p-input-text/examples/Slots.ts +44 -0
- package/skill/references/components/p-input-text/p-input-text.md +146 -0
- package/skill/references/components/p-input-time/examples/Default.ts +13 -0
- package/skill/references/components/p-input-time/examples/Form.ts +31 -0
- package/skill/references/components/p-input-time/examples/Slots.ts +44 -0
- package/skill/references/components/p-input-time/p-input-time.md +140 -0
- package/skill/references/components/p-input-url/examples/Default.ts +13 -0
- package/skill/references/components/p-input-url/examples/Form.ts +31 -0
- package/skill/references/components/p-input-url/examples/Slots.ts +44 -0
- package/skill/references/components/p-input-url/p-input-url.md +141 -0
- package/skill/references/components/p-input-week/examples/Default.ts +13 -0
- package/skill/references/components/p-input-week/examples/Form.ts +31 -0
- package/skill/references/components/p-input-week/examples/Slots.ts +44 -0
- package/skill/references/components/p-input-week/p-input-week.md +138 -0
- package/skill/references/components/p-link/examples/Default.ts +15 -0
- package/skill/references/components/p-link/examples/FrameworkRouting.ts +17 -0
- package/skill/references/components/p-link/examples/Icon.ts +20 -0
- package/skill/references/components/p-link/p-link.md +101 -0
- package/skill/references/components/p-link-pure/examples/CustomClickableArea.ts +15 -0
- package/skill/references/components/p-link-pure/examples/Default.ts +15 -0
- package/skill/references/components/p-link-pure/examples/FrameworkRouting.ts +17 -0
- package/skill/references/components/p-link-pure/examples/Icon.ts +20 -0
- package/skill/references/components/p-link-pure/p-link-pure.md +110 -0
- package/skill/references/components/p-link-tile/examples/ColorScheme.ts +18 -0
- package/skill/references/components/p-link-tile/examples/Default.ts +21 -0
- package/skill/references/components/p-link-tile/examples/FooterSlot.ts +32 -0
- package/skill/references/components/p-link-tile/examples/Hyphens.ts +39 -0
- package/skill/references/components/p-link-tile/examples/UiBehaviour.ts +44 -0
- package/skill/references/components/p-link-tile/examples/WithVideo.ts +18 -0
- package/skill/references/components/p-link-tile/p-link-tile.md +105 -0
- package/skill/references/components/p-link-tile-product/examples/Default.ts +24 -0
- package/skill/references/components/p-link-tile-product/examples/FrameworkRouting.ts +27 -0
- package/skill/references/components/p-link-tile-product/p-link-tile-product.md +93 -0
- package/skill/references/components/p-modal/examples/AlertDialog.ts +41 -0
- package/skill/references/components/p-modal/examples/CustomStyling.ts +28 -0
- package/skill/references/components/p-modal/examples/Default.ts +41 -0
- package/skill/references/components/p-modal/examples/Scrollable.ts +45 -0
- package/skill/references/components/p-modal/p-modal.md +135 -0
- package/skill/references/components/p-model-signature/examples/CustomStyling.ts +17 -0
- package/skill/references/components/p-model-signature/examples/Default.ts +13 -0
- package/skill/references/components/p-model-signature/examples/MaskBlendMode.ts +35 -0
- package/skill/references/components/p-model-signature/examples/MaskImage.ts +15 -0
- package/skill/references/components/p-model-signature/examples/MaskVideo.ts +15 -0
- package/skill/references/components/p-model-signature/examples/SafeZone.ts +63 -0
- package/skill/references/components/p-model-signature/p-model-signature.md +62 -0
- package/skill/references/components/p-multi-select/examples/AsyncFilter.ts +149 -0
- package/skill/references/components/p-multi-select/examples/Default.ts +32 -0
- package/skill/references/components/p-multi-select/examples/Form.ts +38 -0
- package/skill/references/components/p-multi-select/examples/Optgroups.ts +45 -0
- package/skill/references/components/p-multi-select/examples/SelectedSlot.ts +103 -0
- package/skill/references/components/p-multi-select/examples/SetValue.ts +76 -0
- package/skill/references/components/p-multi-select/examples/Slots.ts +51 -0
- package/skill/references/components/p-multi-select/p-multi-select.md +197 -0
- package/skill/references/components/p-pagination/examples/Default.ts +13 -0
- package/skill/references/components/p-pagination/p-pagination.md +83 -0
- package/skill/references/components/p-pin-code/examples/CopyPaste.ts +13 -0
- package/skill/references/components/p-pin-code/examples/Default.ts +13 -0
- package/skill/references/components/p-pin-code/examples/Form.ts +31 -0
- package/skill/references/components/p-pin-code/examples/Slots.ts +42 -0
- package/skill/references/components/p-pin-code/p-pin-code.md +109 -0
- package/skill/references/components/p-popover/examples/Default.ts +17 -0
- package/skill/references/components/p-popover/examples/SlottedButton.ts +18 -0
- package/skill/references/components/p-popover/p-popover.md +116 -0
- package/skill/references/components/p-radio-group/examples/Default.ts +20 -0
- package/skill/references/components/p-radio-group/examples/Form.ts +38 -0
- package/skill/references/components/p-radio-group/examples/Slots.ts +72 -0
- package/skill/references/components/p-radio-group/p-radio-group.md +157 -0
- package/skill/references/components/p-scroller/examples/Default.ts +54 -0
- package/skill/references/components/p-scroller/examples/Height.ts +29 -0
- package/skill/references/components/p-scroller/examples/ScrollToPosition.ts +43 -0
- package/skill/references/components/p-scroller/p-scroller.md +93 -0
- package/skill/references/components/p-segmented-control/examples/Default.ts +29 -0
- package/skill/references/components/p-segmented-control/examples/Form.ts +37 -0
- package/skill/references/components/p-segmented-control/examples/Slots.ts +57 -0
- package/skill/references/components/p-segmented-control/examples/WithLabels.ts +29 -0
- package/skill/references/components/p-segmented-control/p-segmented-control.md +162 -0
- package/skill/references/components/p-select/examples/AsyncFilter.ts +149 -0
- package/skill/references/components/p-select/examples/Default.ts +32 -0
- package/skill/references/components/p-select/examples/Form.ts +38 -0
- package/skill/references/components/p-select/examples/Optgroups.ts +45 -0
- package/skill/references/components/p-select/examples/Required.ts +48 -0
- package/skill/references/components/p-select/examples/SelectedSlot.ts +130 -0
- package/skill/references/components/p-select/examples/SetValue.ts +71 -0
- package/skill/references/components/p-select/examples/Slots.ts +51 -0
- package/skill/references/components/p-select/examples/SlottedImages.ts +38 -0
- package/skill/references/components/p-select/p-select.md +194 -0
- package/skill/references/components/p-sheet/examples/Default.ts +33 -0
- package/skill/references/components/p-sheet/p-sheet.md +121 -0
- package/skill/references/components/p-spinner/examples/Color.ts +16 -0
- package/skill/references/components/p-spinner/examples/ColorCssVar.ts +13 -0
- package/skill/references/components/p-spinner/examples/Default.ts +13 -0
- package/skill/references/components/p-spinner/examples/ResponsiveSize.ts +13 -0
- package/skill/references/components/p-spinner/examples/Size.ts +16 -0
- package/skill/references/components/p-spinner/examples/SizeCssVar.ts +13 -0
- package/skill/references/components/p-spinner/p-spinner.md +96 -0
- package/skill/references/components/p-stepper-horizontal/examples/Default.ts +26 -0
- package/skill/references/components/p-stepper-horizontal/examples/FrameworkImplementation.ts +107 -0
- package/skill/references/components/p-stepper-horizontal/p-stepper-horizontal.md +109 -0
- package/skill/references/components/p-switch/examples/Default.ts +21 -0
- package/skill/references/components/p-switch/p-switch.md +103 -0
- package/skill/references/components/p-table/examples/Advanced.ts +162 -0
- package/skill/references/components/p-table/examples/CaptionProperty.ts +40 -0
- package/skill/references/components/p-table/examples/CaptionSlot.ts +43 -0
- package/skill/references/components/p-table/examples/Default.ts +120 -0
- package/skill/references/components/p-table/examples/HideLabel.ts +40 -0
- package/skill/references/components/p-table/examples/LayoutFixed.ts +53 -0
- package/skill/references/components/p-table/examples/Sorting.ts +79 -0
- package/skill/references/components/p-table/p-table.md +189 -0
- package/skill/references/components/p-tabs/examples/ActiveTab.ts +29 -0
- package/skill/references/components/p-tabs/examples/Default.ts +29 -0
- package/skill/references/components/p-tabs/examples/Gradient.ts +114 -0
- package/skill/references/components/p-tabs/examples/Labelling.ts +29 -0
- package/skill/references/components/p-tabs/p-tabs.md +136 -0
- package/skill/references/components/p-tabs-bar/examples/Default.ts +29 -0
- package/skill/references/components/p-tabs-bar/examples/Gradient.ts +80 -0
- package/skill/references/components/p-tabs-bar/examples/Labelling.ts +29 -0
- package/skill/references/components/p-tabs-bar/examples/Links.ts +23 -0
- package/skill/references/components/p-tabs-bar/p-tabs-bar.md +181 -0
- package/skill/references/components/p-tag/examples/Default.ts +15 -0
- package/skill/references/components/p-tag/examples/Multiline.ts +17 -0
- package/skill/references/components/p-tag/examples/SlottedButton.ts +44 -0
- package/skill/references/components/p-tag/examples/SlottedLink.ts +44 -0
- package/skill/references/components/p-tag/p-tag.md +66 -0
- package/skill/references/components/p-tag-dismissible/examples/Default.ts +15 -0
- package/skill/references/components/p-tag-dismissible/p-tag-dismissible.md +75 -0
- package/skill/references/components/p-text/examples/Default.ts +15 -0
- package/skill/references/components/p-text/examples/Semantics.ts +21 -0
- package/skill/references/components/p-text/examples/Size.ts +15 -0
- package/skill/references/components/p-text/examples/SizeResponsive.ts +15 -0
- package/skill/references/components/p-text/p-text.md +68 -0
- package/skill/references/components/p-text-list/examples/Default.ts +31 -0
- package/skill/references/components/p-text-list/p-text-list.md +68 -0
- package/skill/references/components/p-textarea/examples/Default.ts +13 -0
- package/skill/references/components/p-textarea/examples/Form.ts +31 -0
- package/skill/references/components/p-textarea/examples/Slots.ts +42 -0
- package/skill/references/components/p-textarea/p-textarea.md +122 -0
- package/skill/references/components/p-toast/examples/Default.ts +23 -0
- package/skill/references/components/p-toast/p-toast.md +61 -0
- package/skill/references/components/p-wordmark/examples/CustomClickableArea.ts +13 -0
- package/skill/references/components/p-wordmark/examples/Default.ts +13 -0
- package/skill/references/components/p-wordmark/examples/Size.ts +13 -0
- package/skill/references/components/p-wordmark/p-wordmark.md +66 -0
- package/skill/references/icons.md +5 -0
- package/skill/references/styles/emotion.md +439 -0
- package/skill/references/styles/scss.md +402 -0
- package/skill/references/styles/tailwindcss.md +356 -0
- package/skill/references/styles/vanilla-extract.md +444 -0
- package/skill/references/stylesheets.md +331 -0
- package/skill/references/tokens.md +323 -0
- package/types/porsche-design-system-components-angular.d.ts +2 -2
|
@@ -0,0 +1,323 @@
|
|
|
1
|
+
# Design tokens
|
|
2
|
+
|
|
3
|
+
The Porsche Design System design tokens — the source values for breakpoints, color, spacing,
|
|
4
|
+
typography, motion and more. Each table lists the token `name`, its `value` and a description.
|
|
5
|
+
|
|
6
|
+
The entire system is built on these tokens: the global stylesheets, the components and the custom
|
|
7
|
+
styling themes all depend on them. They can also be used standalone to support other styling
|
|
8
|
+
solutions or to build custom UI directly.
|
|
9
|
+
|
|
10
|
+
Import the resolved values from the package's `tokens` subpath, e.g.:
|
|
11
|
+
|
|
12
|
+
```ts
|
|
13
|
+
import { spacingStaticMd } from '@porsche-design-system/components-angular/tokens';
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
For the same values as ready-to-use CSS custom properties, see `stylesheets.md` (`variables.css`).
|
|
17
|
+
|
|
18
|
+
## Contents
|
|
19
|
+
|
|
20
|
+
- [Blur](#blur)
|
|
21
|
+
- [Border](#border)
|
|
22
|
+
- [Breakpoint](#breakpoint)
|
|
23
|
+
- [Color](#color)
|
|
24
|
+
- [Font](#font)
|
|
25
|
+
- [Gradient](#gradient)
|
|
26
|
+
- [Motion](#motion)
|
|
27
|
+
- [Shadow](#shadow)
|
|
28
|
+
- [Spacing](#spacing)
|
|
29
|
+
|
|
30
|
+
## Blur
|
|
31
|
+
|
|
32
|
+
| Token | Value | Description |
|
|
33
|
+
| --- | --- | --- |
|
|
34
|
+
| `blurFrosted` | `blur(32px)` | Holds a **frosted** blur effect value. |
|
|
35
|
+
|
|
36
|
+
## Border
|
|
37
|
+
|
|
38
|
+
### Radius
|
|
39
|
+
|
|
40
|
+
| Token | Value | Description |
|
|
41
|
+
| --- | --- | --- |
|
|
42
|
+
| `radiusXs` | `2px` | Holds a **xs** `border-radius`. |
|
|
43
|
+
| `radiusSm` | `4px` | Holds a **sm** `border-radius`. |
|
|
44
|
+
| `radiusMd` | `6px` | Holds a **md** `border-radius`. Used for `p-checkbox` in **compact mode**. |
|
|
45
|
+
| `radiusLg` | `8px` | Holds a **lg** `border-radius`. Used for interactive controls in **compact mode** (e.g. `p-tabs-bar`, `p-input-*`, `p-textarea`, `p-select`, `p-button`, `p-link`,…). |
|
|
46
|
+
| `radiusXl` | `12px` | Holds a **xl** `border-radius`. Used for interactive controls (e.g. `p-tabs-bar`, `p-input-*`, `p-textarea`, `p-select`, `p-button`, `p-link`,…). Defines the primary visual appearance alongside **radius3Xl**. |
|
|
47
|
+
| `radius2Xl` | `16px` | Holds a **2xl** `border-radius`. Used for notification components (e.g. `p-banner`, `p-inline-notification`, `p-toast`,…). |
|
|
48
|
+
| `radius3Xl` | `24px` | Holds a **3xl** `border-radius`. Used for card-like containers or dialogs (e.g. `p-link-tile`, `p-modal`, `p-flyout`, `p-sheet`,…). Defines the primary visual appearance alongside **radiusXl**. |
|
|
49
|
+
| `radius4Xl` | `32px` | Holds a **4xl** `border-radius`. |
|
|
50
|
+
| `radiusFull` | `calc(infinity * 1px)` | Holds a **full** `border-radius`. Used for pill shapes (e.g. `p-tag`, `p-switch`,…). Recommended only for standalone indicators. |
|
|
51
|
+
|
|
52
|
+
## Breakpoint
|
|
53
|
+
|
|
54
|
+
| Token | Value | Description |
|
|
55
|
+
| --- | --- | --- |
|
|
56
|
+
| `breakpointXs` | `480` | Holds the `xs` breakpoint value, usable with `px`. |
|
|
57
|
+
| `breakpointSm` | `760` | Holds the `sm` breakpoint value, usable with `px`. |
|
|
58
|
+
| `breakpointMd` | `1000` | Holds the `md` breakpoint value, usable with `px`. |
|
|
59
|
+
| `breakpointLg` | `1300` | Holds the `lg` breakpoint value, usable with `px`. |
|
|
60
|
+
| `breakpointXl` | `1760` | Holds the `xl` breakpoint value, usable with `px`. |
|
|
61
|
+
| `breakpoint2Xl` | `1920` | Holds the `2xl` breakpoint value, usable with `px`. |
|
|
62
|
+
|
|
63
|
+
## Color
|
|
64
|
+
|
|
65
|
+
### Dark
|
|
66
|
+
|
|
67
|
+
#### A11y
|
|
68
|
+
|
|
69
|
+
| Token | Value | Description |
|
|
70
|
+
| --- | --- | --- |
|
|
71
|
+
| `colorFocusDark` | `#1A44EA` | Holds the **focus** color (dark), typically used as the outline for `:focus-visible` states. |
|
|
72
|
+
|
|
73
|
+
#### Background
|
|
74
|
+
|
|
75
|
+
| Token | Value | Description |
|
|
76
|
+
| --- | --- | --- |
|
|
77
|
+
| `colorBackdropDark` | `hsl(240 5.3% 14.9% / 0.5)` | Holds the **backdrop** color, typically used for backdrops. |
|
|
78
|
+
| `colorCanvasDark` | `hsl(225 66.7% 1.2%)` | Holds the **canvas** color (dark), typically used for surfaces. |
|
|
79
|
+
| `colorFrostedDark` | `hsl(240 2% 43% / 0.228)` | Holds the **frosted** color (dark), typically used as a background in combination with a blur effect. |
|
|
80
|
+
| `colorFrostedSoftDark` | `hsl(240 3.7% 26.5% / 0.154)` | Holds the **frosted-soft** color (dark), typically used as a background `:hover`. |
|
|
81
|
+
| `colorFrostedStrongDark` | `hsl(240 1.5% 61.8% / 0.302)` | Holds the **frosted-strong** color (dark), typically used as a stronger frosted background. |
|
|
82
|
+
| `colorSurfaceDark` | `hsl(240 2% 10%)` | Holds the **surface** color (dark), typically used for surfaces. |
|
|
83
|
+
|
|
84
|
+
#### Foreground
|
|
85
|
+
|
|
86
|
+
| Token | Value | Description |
|
|
87
|
+
| --- | --- | --- |
|
|
88
|
+
| `colorPrimaryDark` | `hsl(225 100% 99%)` | Holds the **primary** color (dark), typically used for text. |
|
|
89
|
+
| `colorContrastHighDark` | `hsl(240 12.5% 96.9% / 0.67)` | Holds the **contrast-high** color (dark), typically used for text. |
|
|
90
|
+
| `colorContrastHigherDark` | `hsl(240 12.5% 96.9% / 0.78)` | Holds the **contrast-higher** color (dark), typically used for text. |
|
|
91
|
+
| `colorContrastLowDark` | `hsl(240 12.5% 96.9% / 0.45)` | Holds the **contrast-low** color (dark), intended only for decorative elements, as it is not accessibility-compliant. |
|
|
92
|
+
| `colorContrastLowerDark` | `hsl(240 1.5% 61.8% / 0.302)` | Holds the **contrast-lower** color (dark), intended only for decorative elements, as it is not accessibility-compliant. |
|
|
93
|
+
| `colorContrastMediumDark` | `hsl(240 12.5% 96.9% / 0.56)` | Holds the **contrast-medium** color (dark), typically used for text. |
|
|
94
|
+
|
|
95
|
+
#### Semantic
|
|
96
|
+
|
|
97
|
+
| Token | Value | Description |
|
|
98
|
+
| --- | --- | --- |
|
|
99
|
+
| `colorInfoDark` | `hsl(210 100% 54.5%)` | Holds the **info** color (dark), typically used for text. |
|
|
100
|
+
| `colorInfoFrostedDark` | `hsl(210 79% 20% / 0.66)` | Holds the **info-frosted** color (dark), typically used as background in combination with a blur effect. |
|
|
101
|
+
| `colorInfoFrostedSoftDark` | `hsl(210 59% 15% / 0.66)` | Holds the **info-frosted-soft** color (dark), typically used as background `:hover`. |
|
|
102
|
+
| `colorInfoLowDark` | `hsl(210 100% 54.5% / 0.18)` | Holds the **info-low** color (dark), typically used for text or border. |
|
|
103
|
+
| `colorInfoMediumDark` | `hsl(210 100% 54.5% / 0.6)` | Holds the **info-medium** color (dark), typically used for text or border. |
|
|
104
|
+
| `colorSuccessDark` | `hsl(157 84.9% 41.6%)` | Holds the **success** color (dark), typically used for text. |
|
|
105
|
+
| `colorSuccessFrostedDark` | `hsl(157 79% 20% / 0.66)` | Holds the **success-frosted** color (dark), typically used as background in combination with a blur effect. |
|
|
106
|
+
| `colorSuccessFrostedSoftDark` | `hsl(157 59% 15% / 0.66)` | Holds the **success-frosted-soft** color (dark), typically used as background `:hover`. |
|
|
107
|
+
| `colorSuccessLowDark` | `hsl(157 84.9% 41.6% / 0.18)` | Holds the **success-low** color (dark), typically used for text or border. |
|
|
108
|
+
| `colorSuccessMediumDark` | `hsl(157 84.9% 41.6% / 0.6)` | Holds the **success-medium** color (dark), typically used for text or border. |
|
|
109
|
+
| `colorWarningDark` | `hsl(28 90.2% 56.1%)` | Holds the **warning** color (dark), typically used for text. |
|
|
110
|
+
| `colorWarningFrostedDark` | `hsl(52 79% 20% / 0.66)` | Holds the **warning-frosted** color (dark), typically used as background in combination with a blur effect. |
|
|
111
|
+
| `colorWarningFrostedSoftDark` | `hsl(52 59% 15% / 0.66)` | Holds the **warning-frosted-soft** color (dark), typically used as background `:hover`. |
|
|
112
|
+
| `colorWarningLowDark` | `hsl(28 90.2% 56.1% / 0.18)` | Holds the **warning-low** color (dark), typically used for text or border. |
|
|
113
|
+
| `colorWarningMediumDark` | `hsl(28 90.2% 56.1% / 0.6)` | Holds the **warning-medium** color (dark), typically used for text or border. |
|
|
114
|
+
| `colorErrorDark` | `hsl(0 96.9% 62%)` | Holds the **error** color (dark), typically used for text. |
|
|
115
|
+
| `colorErrorFrostedDark` | `hsl(0 79% 20% / 0.66)` | Holds the **error-frosted** color (dark), typically used as background in combination with a blur effect. |
|
|
116
|
+
| `colorErrorFrostedSoftDark` | `hsl(0 59% 15% / 0.66)` | Holds the **error-frosted-soft** color (dark), typically used as background `:hover`. |
|
|
117
|
+
| `colorErrorLowDark` | `hsl(0 96.9% 62% / 0.18)` | Holds the **error-low** color (dark), typically used for text or border. |
|
|
118
|
+
| `colorErrorMediumDark` | `hsl(0 96.9% 62% / 0.6)` | Holds the **error-medium** color (dark), typically used for text or border. |
|
|
119
|
+
|
|
120
|
+
### Light dark
|
|
121
|
+
|
|
122
|
+
#### A11y
|
|
123
|
+
|
|
124
|
+
| Token | Value | Description |
|
|
125
|
+
| --- | --- | --- |
|
|
126
|
+
| `colorFocus` | `light-dark(#1A44EA,#1A44EA)` | Holds the **focus** color, typically used as the outline for `:focus-visible` states. |
|
|
127
|
+
|
|
128
|
+
#### Background
|
|
129
|
+
|
|
130
|
+
| Token | Value | Description |
|
|
131
|
+
| --- | --- | --- |
|
|
132
|
+
| `colorBackdrop` | `light-dark(hsl(240 5.3% 14.9% / 0.5),hsl(240 5.3% 14.9% / 0.5))` | Holds the **backdrop** color, typically used for backdrops. |
|
|
133
|
+
| `colorCanvas` | `light-dark(#fff,hsl(225 66.7% 1.2%))` | Holds the **canvas** color, typically used for surfaces. |
|
|
134
|
+
| `colorFrosted` | `light-dark(hsl(240 5% 70% / 0.148),hsl(240 2% 43% / 0.228))` | Holds the **frosted** color, typically used as a background in combination with a blur effect. |
|
|
135
|
+
| `colorFrostedSoft` | `light-dark(hsl(234 9.8% 60% / 0.06),hsl(240 3.7% 26.5% / 0.154))` | Holds the **frosted-soft** color, typically used as a background `:hover`. |
|
|
136
|
+
| `colorFrostedStrong` | `light-dark(hsl(236 6.5% 42% / 0.236),hsl(240 1.5% 61.8% / 0.302))` | Holds the **frosted-strong** color, typically used as a stronger frosted background. |
|
|
137
|
+
| `colorSurface` | `light-dark(hsl(240 10% 95%),hsl(240 2% 10%))` | Holds the **surface** color, typically used for surfaces. |
|
|
138
|
+
|
|
139
|
+
#### Foreground
|
|
140
|
+
|
|
141
|
+
| Token | Value | Description |
|
|
142
|
+
| --- | --- | --- |
|
|
143
|
+
| `colorPrimary` | `light-dark(hsl(225 66.7% 1.2%),hsl(225 100% 99%))` | Holds the **primary** color, typically used for text. |
|
|
144
|
+
| `colorContrastHigher` | `light-dark(hsl(240 8.7% 9% / 0.8),hsl(240 12.5% 96.9% / 0.78))` | Holds the **contrast-higher** color, typically used for text. |
|
|
145
|
+
| `colorContrastHigh` | `light-dark(hsl(240 7.1% 11% / 0.7),hsl(240 12.5% 96.9% / 0.67))` | Holds the **contrast-high** color, typically used for text. |
|
|
146
|
+
| `colorContrastMedium` | `light-dark(hsl(240 6.1% 7% / 0.6),hsl(240 12.5% 96.9% / 0.56))` | Holds the **contrast-medium** color, typically used for text. |
|
|
147
|
+
| `colorContrastLow` | `light-dark(hsl(240 5.3% 14.9% / 0.5),hsl(240 12.5% 96.9% / 0.45))` | Holds the **contrast-low** color, intended only for decorative elements, as it is not accessibility-compliant. |
|
|
148
|
+
| `colorContrastLower` | `light-dark(hsl(234 6% 32.9% / 0.324),hsl(240 1.5% 61.8% / 0.302))` | Holds the **contrast-lower** color, intended only for decorative elements, as it is not accessibility-compliant. |
|
|
149
|
+
|
|
150
|
+
#### Semantic
|
|
151
|
+
|
|
152
|
+
| Token | Value | Description |
|
|
153
|
+
| --- | --- | --- |
|
|
154
|
+
| `colorInfo` | `light-dark(hsl(228 83.2% 51%),hsl(210 100% 54.5%))` | Holds the **info** color, typically used for text. |
|
|
155
|
+
| `colorInfoMedium` | `light-dark(hsl(228 83.2% 51% / 0.6),hsl(210 100% 54.5% / 0.6))` | Holds the **info-medium** color, typically used for text or border. |
|
|
156
|
+
| `colorInfoLow` | `light-dark(hsl(228 83.2% 51% / 0.18),hsl(210 100% 54.5% / 0.18))` | Holds the **info-low** color, typically used for text or border. |
|
|
157
|
+
| `colorInfoFrosted` | `light-dark(hsl(211 100% 90% / 0.55),hsl(210 79% 20% / 0.66))` | Holds the **info-frosted** color, typically used as background in combination with a blur effect. |
|
|
158
|
+
| `colorInfoFrostedSoft` | `light-dark(hsl(211 80% 95% / 0.55),hsl(210 59% 15% / 0.66))` | Holds the **info-frosted-soft** color, typically used as background `:hover`. |
|
|
159
|
+
| `colorSuccess` | `light-dark(hsl(115 77.5% 27.8%),hsl(157 84.9% 41.6%))` | Holds the **success** color, typically used for text. |
|
|
160
|
+
| `colorSuccessMedium` | `light-dark(hsl(115 77.5% 27.8% / 0.6),hsl(157 84.9% 41.6% / 0.6))` | Holds the **success-medium** color, typically used for text or border. |
|
|
161
|
+
| `colorSuccessLow` | `light-dark(hsl(115 77.5% 27.8% / 0.18),hsl(157 84.9% 41.6% / 0.18))` | Holds the **success-low** color, typically used for text or border. |
|
|
162
|
+
| `colorSuccessFrosted` | `light-dark(hsl(109 100% 90% / 0.55),hsl(157 79% 20% / 0.66))` | Holds the **success-frosted** color, typically used as background in combination with a blur effect. |
|
|
163
|
+
| `colorSuccessFrostedSoft` | `light-dark(hsl(109 80% 95% / 0.55),hsl(157 59% 15% / 0.66))` | Holds the **success-frosted-soft** color, typically used as background `:hover`. |
|
|
164
|
+
| `colorWarning` | `light-dark(hsl(28 97.7% 34.1%),hsl(28 90.2% 56.1%))` | Holds the **warning** color, typically used for text. |
|
|
165
|
+
| `colorWarningMedium` | `light-dark(hsl(28 97.7% 34.1% / 0.6),hsl(28 90.2% 56.1% / 0.6))` | Holds the **warning-medium** color, typically used for text or border. |
|
|
166
|
+
| `colorWarningLow` | `light-dark(hsl(28 97.7% 34.1% / 0.18),hsl(28 90.2% 56.1% / 0.18))` | Holds the **warning-low** color, typically used for text or border. |
|
|
167
|
+
| `colorWarningFrosted` | `light-dark(hsl(40 100% 90% / 0.55),hsl(52 79% 20% / 0.66))` | Holds the **warning-frosted** color, typically used as background in combination with a blur effect. |
|
|
168
|
+
| `colorWarningFrostedSoft` | `light-dark(hsl(40 80% 95% / 0.55),hsl(52 59% 15% / 0.66))` | Holds the **warning-frosted-soft** color, typically used as background `:hover`. |
|
|
169
|
+
| `colorError` | `light-dark(hsl(357 78% 41%),hsl(0 96.9% 62%))` | Holds the **error** color, typically used for text. |
|
|
170
|
+
| `colorErrorMedium` | `light-dark(hsl(357 78% 41% / 0.6),hsl(0 96.9% 62% / 0.6))` | Holds the **error-medium** color, typically used for text or border. |
|
|
171
|
+
| `colorErrorLow` | `light-dark(hsl(357 78% 41% / 0.18),hsl(0 96.9% 62% / 0.18))` | Holds the **error-low** color, typically used for text or border. |
|
|
172
|
+
| `colorErrorFrosted` | `light-dark(hsl(0 100% 90% / 0.55),hsl(0 79% 20% / 0.66))` | Holds the **error-frosted** color, typically used as background in combination with a blur effect. |
|
|
173
|
+
| `colorErrorFrostedSoft` | `light-dark(hsl(0 80% 95% / 0.55),hsl(0 59% 15% / 0.66))` | Holds the **error-frosted-soft** color, typically used as background `:hover`. |
|
|
174
|
+
|
|
175
|
+
### Light
|
|
176
|
+
|
|
177
|
+
#### A11y
|
|
178
|
+
|
|
179
|
+
| Token | Value | Description |
|
|
180
|
+
| --- | --- | --- |
|
|
181
|
+
| `colorFocusLight` | `#1A44EA` | Holds the **focus** color (light), typically used as the outline for `:focus-visible` states. |
|
|
182
|
+
|
|
183
|
+
#### Background
|
|
184
|
+
|
|
185
|
+
| Token | Value | Description |
|
|
186
|
+
| --- | --- | --- |
|
|
187
|
+
| `colorBackdropLight` | `hsl(240 5.3% 14.9% / 0.5)` | Holds the **backdrop** color, typically used for backdrops. |
|
|
188
|
+
| `colorCanvasLight` | `#fff` | Holds the **canvas** color (light), typically used for surfaces. |
|
|
189
|
+
| `colorFrostedLight` | `hsl(240 5% 70% / 0.148)` | Holds the **frosted** color (light), typically used as a background in combination with a blur effect. |
|
|
190
|
+
| `colorFrostedSoftLight` | `hsl(234 9.8% 60% / 0.06)` | Holds the **frosted-soft** color (light), typically used as a background `:hover`. |
|
|
191
|
+
| `colorFrostedStrongLight` | `hsl(236 6.5% 42% / 0.236)` | Holds the **frosted-strong** color (light), typically used as a stronger frosted background. |
|
|
192
|
+
| `colorSurfaceLight` | `hsl(240 10% 95%)` | Holds the **surface** color (light), typically used for surfaces. |
|
|
193
|
+
|
|
194
|
+
#### Foreground
|
|
195
|
+
|
|
196
|
+
| Token | Value | Description |
|
|
197
|
+
| --- | --- | --- |
|
|
198
|
+
| `colorPrimaryLight` | `hsl(225 66.7% 1.2%)` | Holds the **primary** color (light), typically used for text. |
|
|
199
|
+
| `colorContrastHighLight` | `hsl(240 7.1% 11% / 0.7)` | Holds the **contrast-high** color (light), typically used for text. |
|
|
200
|
+
| `colorContrastHigherLight` | `hsl(240 8.7% 9% / 0.8)` | Holds the **contrast-higher** color (light), typically used for text. |
|
|
201
|
+
| `colorContrastLowLight` | `hsl(240 5.3% 14.9% / 0.5)` | Holds the **contrast-low** color (light), intended only for decorative elements, as it is not accessibility-compliant. |
|
|
202
|
+
| `colorContrastLowerLight` | `hsl(234 6% 32.9% / 0.324)` | Holds the **contrast-lower** color (light), intended only for decorative elements, as it is not accessibility-compliant. |
|
|
203
|
+
| `colorContrastMediumLight` | `hsl(240 6.1% 7% / 0.6)` | Holds the **contrast-medium** color (light), typically used for text. |
|
|
204
|
+
|
|
205
|
+
#### Semantic
|
|
206
|
+
|
|
207
|
+
| Token | Value | Description |
|
|
208
|
+
| --- | --- | --- |
|
|
209
|
+
| `colorInfoFrostedLight` | `hsl(211 100% 90% / 0.55)` | Holds the **info-frosted** color (light), typically used as background in combination with a blur effect. |
|
|
210
|
+
| `colorInfoFrostedSoftLight` | `hsl(211 80% 95% / 0.55)` | Holds the **info-frosted-soft** color (light), typically used as background `:hover`. |
|
|
211
|
+
| `colorInfoLight` | `hsl(228 83.2% 51%)` | Holds the **info** color (light), typically used for text. |
|
|
212
|
+
| `colorInfoLowLight` | `hsl(228 83.2% 51% / 0.18)` | Holds the **info-low** color (light), typically used for text or border. |
|
|
213
|
+
| `colorInfoMediumLight` | `hsl(228 83.2% 51% / 0.6)` | Holds the **info-medium** color (light), typically used for text or border. |
|
|
214
|
+
| `colorSuccessFrostedLight` | `hsl(109 100% 90% / 0.55)` | Holds the **success-frosted** color (light), typically used as background in combination with a blur effect. |
|
|
215
|
+
| `colorSuccessFrostedSoftLight` | `hsl(109 80% 95% / 0.55)` | Holds the **success-frosted-soft** color (light), typically used as background `:hover`. |
|
|
216
|
+
| `colorSuccessLight` | `hsl(115 77.5% 27.8%)` | Holds the **success** color (light), typically used for text. |
|
|
217
|
+
| `colorSuccessLowLight` | `hsl(115 77.5% 27.8% / 0.18)` | Holds the **success-low** color (light), typically used for text or border. |
|
|
218
|
+
| `colorSuccessMediumLight` | `hsl(115 77.5% 27.8% / 0.6)` | Holds the **success-medium** color (light), typically used for text or border. |
|
|
219
|
+
| `colorWarningFrostedLight` | `hsl(40 100% 90% / 0.55)` | Holds the **warning-frosted** color (light), typically used as background in combination with a blur effect. |
|
|
220
|
+
| `colorWarningFrostedSoftLight` | `hsl(40 80% 95% / 0.55)` | Holds the **warning-frosted-soft** color (light), typically used as background `:hover`. |
|
|
221
|
+
| `colorWarningLight` | `hsl(28 97.7% 34.1%)` | Holds the **warning** color (light), typically used for text. |
|
|
222
|
+
| `colorWarningLowLight` | `hsl(28 97.7% 34.1% / 0.18)` | Holds the **warning-low** color (light), typically used for text or border. |
|
|
223
|
+
| `colorWarningMediumLight` | `hsl(28 97.7% 34.1% / 0.6)` | Holds the **warning-medium** color (light), typically used for text or border. |
|
|
224
|
+
| `colorErrorFrostedLight` | `hsl(0 100% 90% / 0.55)` | Holds the **error-frosted** color (light), typically used as background in combination with a blur effect. |
|
|
225
|
+
| `colorErrorFrostedSoftLight` | `hsl(0 80% 95% / 0.55)` | Holds the **error-frosted-soft** color (light), typically used as background `:hover`. |
|
|
226
|
+
| `colorErrorLight` | `hsl(357 78% 41%)` | Holds the **error** color (light), typically used for text. |
|
|
227
|
+
| `colorErrorLowLight` | `hsl(357 78% 41% / 0.18)` | Holds the **error-low** color (light), typically used for text or border. |
|
|
228
|
+
| `colorErrorMediumLight` | `hsl(357 78% 41% / 0.6)` | Holds the **error-medium** color (light), typically used for text or border. |
|
|
229
|
+
|
|
230
|
+
## Font
|
|
231
|
+
|
|
232
|
+
### Family
|
|
233
|
+
|
|
234
|
+
| Token | Value | Description |
|
|
235
|
+
| --- | --- | --- |
|
|
236
|
+
| `fontPorscheNext` | `'Porsche Next','Arial Narrow',Arial,'Heiti SC',SimHei,sans-serif` | Holds the **Porsche Next** font family along with fallback fonts. |
|
|
237
|
+
|
|
238
|
+
### Line height
|
|
239
|
+
|
|
240
|
+
| Token | Value | Description |
|
|
241
|
+
| --- | --- | --- |
|
|
242
|
+
| `leadingNormal` | `calc(6px + 2.125ex)` | Holds a dynamic default line height specifically optimized for the Porsche Next typeface. |
|
|
243
|
+
|
|
244
|
+
### Size
|
|
245
|
+
|
|
246
|
+
| Token | Value | Description |
|
|
247
|
+
| --- | --- | --- |
|
|
248
|
+
| `typescale2Xs` | `.75rem` | Holds the **2x-small** font size optimized for the Porsche Next typeface. |
|
|
249
|
+
| `typescaleXs` | `.875rem` | Holds the **x-small** font size optimized for the Porsche Next typeface. |
|
|
250
|
+
| `typescaleSm` | `1rem` | Holds the **small** font size optimized for the Porsche Next typeface. |
|
|
251
|
+
| `typescaleMd` | `clamp(1.13rem, 0.21vw + 1.08rem, 1.33rem)` | Holds the **medium** font size optimized for the Porsche Next typeface. |
|
|
252
|
+
| `typescaleLg` | `clamp(1.27rem, 0.51vw + 1.16rem, 1.78rem)` | Holds the **large** font size optimized for the Porsche Next typeface. |
|
|
253
|
+
| `typescaleXl` | `clamp(1.42rem, 0.94vw + 1.23rem, 2.37rem)` | Holds the **x-large** font size optimized for the Porsche Next typeface. |
|
|
254
|
+
| `typescale2Xl` | `clamp(1.6rem, 1.56vw + 1.29rem, 3.16rem)` | Holds the **2x-large** font size optimized for the Porsche Next typeface. |
|
|
255
|
+
| `typescale3Xl` | `clamp(1.8rem, 2.41vw + 1.32rem, 4.21rem)` | Holds the **3x-large** font size optimized for the Porsche Next typeface. |
|
|
256
|
+
| `typescale4Xl` | `clamp(2.03rem, 3.58vw + 1.31rem, 5.61rem)` | Holds the **4x-large** font size optimized for the Porsche Next typeface. |
|
|
257
|
+
| `typescale5Xl` | `clamp(2.28rem, 5.2vw + 1.24rem, 7.48rem)` | Holds the **5x-large** font size optimized for the Porsche Next typeface. |
|
|
258
|
+
|
|
259
|
+
### Weight
|
|
260
|
+
|
|
261
|
+
| Token | Value | Description |
|
|
262
|
+
| --- | --- | --- |
|
|
263
|
+
| `fontWeightNormal` | `400` | Holds the **normal** font weight optimized for the Porsche Next typeface. |
|
|
264
|
+
| `fontWeightSemibold` | `600` | Holds the **semibold** font weight optimized for the Porsche Next typeface. |
|
|
265
|
+
| `fontWeightBold` | `700` | Holds the **bold** font weight optimized for the Porsche Next typeface. |
|
|
266
|
+
|
|
267
|
+
## Gradient
|
|
268
|
+
|
|
269
|
+
| Token | Value | Description |
|
|
270
|
+
| --- | --- | --- |
|
|
271
|
+
| `gradientStopsFadeDark` | `hsla(0,0%,0%,.8) 0%,hsla(0,0%,0%,.8) 8.1%,hsla(0,0%,0%,.8) 15.5%,hsla(0,0%,0%,.8) 22.5%,hsla(0,0%,0%,.78) 29%,hsla(0,0%,0%,.73) 35.3%,hsla(0,0%,0%,.67) 41.2%,hsla(0,0%,0%,.6) 47.1%,hsla(0,0%,0%,.52) 52.9%,hsla(0,0%,0%,.44) 58.8%,hsla(0,0%,0%,.33) 64.7%,hsla(0,0%,0%,.22) 71%,hsla(0,0%,0%,.12) 77.5%,hsla(0,0%,0%,.05) 84.5%,hsla(0,0%,0%,.011) 91.9%,hsla(0,0%,0%,0) 100%` | Holds a gradient fade. |
|
|
272
|
+
|
|
273
|
+
## Motion
|
|
274
|
+
|
|
275
|
+
### Duration
|
|
276
|
+
|
|
277
|
+
| Token | Value | Description |
|
|
278
|
+
| --- | --- | --- |
|
|
279
|
+
| `durationSm` | `.25s` | Holds a **short** motion/transition duration value. |
|
|
280
|
+
| `durationMd` | `.4s` | Holds a **moderate** motion/transition duration value. |
|
|
281
|
+
| `durationLg` | `.6s` | Holds a **long** motion/transition duration value. |
|
|
282
|
+
| `durationXl` | `1.2s` | Holds a **very long** motion/transition duration value. |
|
|
283
|
+
|
|
284
|
+
### Ease
|
|
285
|
+
|
|
286
|
+
| Token | Value | Description |
|
|
287
|
+
| --- | --- | --- |
|
|
288
|
+
| `easeIn` | `cubic-bezier(0,0,.2,1)` | Holds an **in** `transition-timing-function`. |
|
|
289
|
+
| `easeInOut` | `cubic-bezier(.25,.1,.25,1)` | Holds an **in-out** `transition-timing-function`. |
|
|
290
|
+
| `easeOut` | `cubic-bezier(.4,0,.5,1)` | Holds an **out** `transition-timing-function`. |
|
|
291
|
+
|
|
292
|
+
## Shadow
|
|
293
|
+
|
|
294
|
+
| Token | Value | Description |
|
|
295
|
+
| --- | --- | --- |
|
|
296
|
+
| `shadowSm` | `0px 3px 8px rgba(0,0,0,.16)` | Holds a **low** `box-shadow`. |
|
|
297
|
+
| `shadowMd` | `0px 4px 16px rgba(0,0,0,.16)` | Holds a **medium** `box-shadow`. |
|
|
298
|
+
| `shadowLg` | `0px 8px 40px rgba(0,0,0,.16)` | Holds a **high** `box-shadow`. |
|
|
299
|
+
|
|
300
|
+
## Spacing
|
|
301
|
+
|
|
302
|
+
### Fluid
|
|
303
|
+
|
|
304
|
+
| Token | Value | Description |
|
|
305
|
+
| --- | --- | --- |
|
|
306
|
+
| `spacingFluidXs` | `clamp(4px, 0.25vw + 3px, 8px)` | Holds the **x-small fluid** spacing. |
|
|
307
|
+
| `spacingFluidSm` | `clamp(8px, 0.5vw + 6px, 16px)` | Holds the **small fluid** spacing. |
|
|
308
|
+
| `spacingFluidMd` | `clamp(16px, 1.25vw + 12px, 36px)` | Holds the **medium fluid** spacing. |
|
|
309
|
+
| `spacingFluidLg` | `clamp(32px, 2.75vw + 23px, 76px)` | Holds the **large fluid** spacing. |
|
|
310
|
+
| `spacingFluidXl` | `clamp(48px, 3vw + 38px, 96px)` | Holds the **x-large fluid** spacing. |
|
|
311
|
+
| `spacingFluid2Xl` | `clamp(80px, 7.5vw + 56px, 200px)` | Holds the **2x-large fluid** spacing. |
|
|
312
|
+
|
|
313
|
+
### Static
|
|
314
|
+
|
|
315
|
+
| Token | Value | Description |
|
|
316
|
+
| --- | --- | --- |
|
|
317
|
+
| `spacingStatic2Xs` | `1px` | Holds the **2x-small static** spacing. |
|
|
318
|
+
| `spacingStaticXs` | `4px` | Holds the **x-small static** spacing. |
|
|
319
|
+
| `spacingStaticSm` | `8px` | Holds the **small static** spacing. |
|
|
320
|
+
| `spacingStaticMd` | `16px` | Holds the **medium static** spacing. |
|
|
321
|
+
| `spacingStaticLg` | `32px` | Holds the **large static** spacing. |
|
|
322
|
+
| `spacingStaticXl` | `48px` | Holds the **x-large static** spacing. |
|
|
323
|
+
| `spacingStatic2Xl` | `80px` | Holds the **2x-large static** spacing. |
|
|
@@ -4141,7 +4141,7 @@ type PButtonProps = {
|
|
|
4141
4141
|
*/
|
|
4142
4142
|
value?: string;
|
|
4143
4143
|
/**
|
|
4144
|
-
* Sets the visual style variant of the button (
|
|
4144
|
+
* Sets the visual style variant of the button (`primary` or `secondary`).
|
|
4145
4145
|
* @default 'primary'
|
|
4146
4146
|
*/
|
|
4147
4147
|
variant?: ButtonVariant;
|
|
@@ -4956,7 +4956,7 @@ type PLinkProps = {
|
|
|
4956
4956
|
*/
|
|
4957
4957
|
target?: LinkTarget;
|
|
4958
4958
|
/**
|
|
4959
|
-
* Sets the visual style variant of the link (
|
|
4959
|
+
* Sets the visual style variant of the link (`primary` or `secondary`).
|
|
4960
4960
|
* @default 'primary'
|
|
4961
4961
|
*/
|
|
4962
4962
|
variant?: LinkVariant;
|