@porsche-design-system/components-angular 4.5.0 → 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 +8 -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,356 @@
|
|
|
1
|
+
# Porsche Design System — Tailwind CSS theme
|
|
2
|
+
|
|
3
|
+
The Porsche Design System ships a ready-made Tailwind CSS theme: a curated catalog of design
|
|
4
|
+
tokens exposed as Tailwind `@theme` variables (colors, typography, spacing, border radii,
|
|
5
|
+
blur, shadow, motion and breakpoints) plus a set of documented `@utility` classes
|
|
6
|
+
(gradients, the layout grid, skeletons and typography shorthands). Importing it resets
|
|
7
|
+
Tailwind's default namespaces so that **only** Porsche Design System tokens remain, and
|
|
8
|
+
generates the matching utility classes (e.g. `.bg-canvas`, `.p-fluid-md`, `.rounded-md`).
|
|
9
|
+
|
|
10
|
+
> Requires **Tailwind CSS v4 or higher** — the theme is built on the v4 `@theme` engine.
|
|
11
|
+
|
|
12
|
+
Reach for these foundational styles when you build a custom component or pattern that is not yet
|
|
13
|
+
available in the component library, or for foundational layout work such as typography, surfaces and
|
|
14
|
+
boxes.
|
|
15
|
+
|
|
16
|
+
## How to use
|
|
17
|
+
|
|
18
|
+
### Import
|
|
19
|
+
|
|
20
|
+
Install Tailwind CSS (see the [official guide](https://tailwindcss.com/docs/installation)),
|
|
21
|
+
then add the Porsche Design System theme import to your global CSS **immediately after** the
|
|
22
|
+
standard Tailwind import:
|
|
23
|
+
|
|
24
|
+
```css
|
|
25
|
+
@import 'tailwindcss';
|
|
26
|
+
@import '@porsche-design-system/components-angular/tailwindcss';
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
### Color scheme (light / dark)
|
|
30
|
+
|
|
31
|
+
Colors are driven by the native CSS [`light-dark()`](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/color_value/light-dark)
|
|
32
|
+
function via the CSS [`color-scheme`](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/color-scheme)
|
|
33
|
+
property — no proprietary switching logic. The Tailwind `.scheme-*` utilities are extended
|
|
34
|
+
with a polyfill for browsers without `light-dark()` support. Apply one of these classes to
|
|
35
|
+
the document or any container; the selected context cascades to all child elements:
|
|
36
|
+
|
|
37
|
+
- `.scheme-light` — forces light mode.
|
|
38
|
+
- `.scheme-dark` — forces dark mode.
|
|
39
|
+
- `.scheme-light-dark` — dynamically follows the system/OS setting.
|
|
40
|
+
|
|
41
|
+
The same class themes **both** the PDS components and the custom UI you build with these utilities —
|
|
42
|
+
one `light-dark()` palette drives both layers. There is no separate component theming API and no
|
|
43
|
+
`theme` prop on `PorscheDesignSystemProvider` or on components; the `.scheme-*` class is the whole
|
|
44
|
+
switch.
|
|
45
|
+
|
|
46
|
+
```html
|
|
47
|
+
<html class="scheme-dark">
|
|
48
|
+
<body>
|
|
49
|
+
<!-- rendered in dark mode -->
|
|
50
|
+
<div class="bg-frosted text-primary"></div>
|
|
51
|
+
</body>
|
|
52
|
+
</html>
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
### Grid
|
|
56
|
+
|
|
57
|
+
For pages whose sections share one alignment system, apply `.grid-template` once to the page root. Make each full-width
|
|
58
|
+
section a subgrid with `.col-full`, `.grid` and `.grid-cols-subgrid`, then place its content with the named Porsche Grid
|
|
59
|
+
column utilities. This avoids duplicate grid templates and keeps all sections aligned. Section-level templates remain
|
|
60
|
+
valid when sections need independent grids.
|
|
61
|
+
|
|
62
|
+
## Contents
|
|
63
|
+
|
|
64
|
+
- [Theme variables](#theme-variables) — Border, Blur, Breakpoint, Color, Font, Shadow, Spacing, Motion
|
|
65
|
+
- [Utilities](#utilities) — Gradient, Typography (Heading / Text / Display), Skeleton, Grid (Base / Narrow / Basic / Extended / Wide / Full / Span)
|
|
66
|
+
|
|
67
|
+
## Theme variables
|
|
68
|
+
|
|
69
|
+
### Border — Radius
|
|
70
|
+
|
|
71
|
+
| Theme variable | Tailwind class(es) | Description | Value |
|
|
72
|
+
| --- | --- | --- | --- |
|
|
73
|
+
| `--radius-xs` | `.rounded-xs` | Applies a **x-small** `border-radius`. | `2px` |
|
|
74
|
+
| `--radius-sm` | `.rounded-sm` | Applies a **small** `border-radius`. | `4px` |
|
|
75
|
+
| `--radius-md` | `.rounded-md` | Applies a **medium** `border-radius`. | `6px` |
|
|
76
|
+
| `--radius-lg` | `.rounded-lg` | Applies a **large** `border-radius`. | `8px` |
|
|
77
|
+
| `--radius-xl` | `.rounded-xl` | Applies a **x-large** `border-radius`. | `12px` |
|
|
78
|
+
| `--radius-2xl` | `.rounded-2xl` | Applies a **2x-large** `border-radius`. | `16px` |
|
|
79
|
+
| `--radius-3xl` | `.rounded-3xl` | Applies a **3x-large** `border-radius`. | `24px` |
|
|
80
|
+
| `--radius-4xl` | `.rounded-4xl` | Applies a **4x-large** `border-radius`. | `32px` |
|
|
81
|
+
| `--radius-full` | `.rounded-full` | Applies a **fully** rounded `border-radius`. | `calc(infinity * 1px)` |
|
|
82
|
+
|
|
83
|
+
### Border — Width
|
|
84
|
+
|
|
85
|
+
| Theme variable | Tailwind class(es) | Description | Value |
|
|
86
|
+
| --- | --- | --- | --- |
|
|
87
|
+
| `--default-border-width` | – | Default border width applied globally via the Tailwind `@theme` block. | `1px` |
|
|
88
|
+
| `--border-width-regular` | – | Alias for the regular (2 px) border width. **Deprecated** — prefer `--default-border-width`. | `2px` |
|
|
89
|
+
| `--border-width-thin` | – | Alias for the thin (1 px) border width. **Deprecated** — prefer `--default-border-width`. | `1px` |
|
|
90
|
+
|
|
91
|
+
### Blur
|
|
92
|
+
|
|
93
|
+
| Theme variable | Tailwind class(es) | Description | Value |
|
|
94
|
+
| --- | --- | --- | --- |
|
|
95
|
+
| `--blur-frosted` | `.backdrop-blur-frosted`, `.blur-frosted` | Applies a **frosted** effect when used with `backdrop-filter` or `filter: blur()` when combined with a semi-transparent color. | `32px` |
|
|
96
|
+
|
|
97
|
+
### Breakpoint
|
|
98
|
+
|
|
99
|
+
| Theme variable | Tailwind class(es) | Description | Value |
|
|
100
|
+
| --- | --- | --- | --- |
|
|
101
|
+
| `--breakpoint-xs` | `xs:*` | Defines the **x-small** responsive breakpoint. | `480px` |
|
|
102
|
+
| `--breakpoint-sm` | `sm:*` | Defines the **small** responsive breakpoint. | `760px` |
|
|
103
|
+
| `--breakpoint-md` | `md:*` | Defines the **medium** responsive breakpoint. | `1000px` |
|
|
104
|
+
| `--breakpoint-lg` | `lg:*` | Defines the **large** responsive breakpoint. | `1300px` |
|
|
105
|
+
| `--breakpoint-xl` | `xl:*` | Defines the **x-large** responsive breakpoint. | `1760px` |
|
|
106
|
+
| `--breakpoint-2xl` | `2xl:*` | Defines the **2x-large** responsive breakpoint. | `1920px` |
|
|
107
|
+
|
|
108
|
+
### Color — A11y
|
|
109
|
+
|
|
110
|
+
| Theme variable | Tailwind class(es) | Description | Value |
|
|
111
|
+
| --- | --- | --- | --- |
|
|
112
|
+
| `--color-focus` | `.outline-focus` | Applies the focus color, typically used as the outline for `:focus-visible` states. | `var(--_color-focus-dynamic, light-dark(#1A44EA,#1A44EA))` |
|
|
113
|
+
|
|
114
|
+
### Color — Background
|
|
115
|
+
|
|
116
|
+
| Theme variable | Tailwind class(es) | Description | Value |
|
|
117
|
+
| --- | --- | --- | --- |
|
|
118
|
+
| `--color-canvas` | `.bg-canvas` | Applies the canvas color, typically used for surfaces. | `var(--_color-canvas-dynamic, light-dark(#fff,hsl(225 66.7% 1.2%)))` |
|
|
119
|
+
| `--color-surface` | `.bg-surface` | Applies the surface color, typically used for surfaces. | `var(--_color-surface-dynamic, light-dark(hsl(240 10% 95%),hsl(240 2% 10%)))` |
|
|
120
|
+
| `--color-frosted` | `.bg-frosted` | Applies the frosted color, typically used as a background in combination with a blur effect `.backdrop-blur-frosted`. | `var(--_color-frosted-dynamic, light-dark(hsl(240 5% 70% / 0.148),hsl(240 2% 43% / 0.228)))` |
|
|
121
|
+
| `--color-frosted-soft` | `.bg-frosted-soft` | Applies the frosted color, typically used as a background `:hover`. | `var(--_color-frosted-soft-dynamic, light-dark(hsl(234 9.8% 60% / 0.06),hsl(240 3.7% 26.5% / 0.154)))` |
|
|
122
|
+
| `--color-frosted-strong` | `.bg-frosted-strong` | Applies the frosted color, typically used as a background in combination with a blur effect `.backdrop-blur-frosted`. | `var(--_color-frosted-strong-dynamic, light-dark(hsl(236 6.5% 42% / 0.236),hsl(240 1.5% 61.8% / 0.302)))` |
|
|
123
|
+
| `--color-backdrop` | `.bg-backdrop` | Applies the backdrop color, typically used for backdrops. | `var(--_color-backdrop-dynamic, light-dark(hsl(240 5.3% 14.9% / 0.5),hsl(240 5.3% 14.9% / 0.5)))` |
|
|
124
|
+
|
|
125
|
+
### Color — Foreground
|
|
126
|
+
|
|
127
|
+
| Theme variable | Tailwind class(es) | Description | Value |
|
|
128
|
+
| --- | --- | --- | --- |
|
|
129
|
+
| `--color-contrast-lower` | `.border-contrast-lower` | Applies the contrast-lower color, intended only for decorative elements, as it is not accessibility-compliant. | `var(--_color-contrast-lower-dynamic, light-dark(hsl(234 6% 32.9% / 0.324),hsl(240 1.5% 61.8% / 0.302)))` |
|
|
130
|
+
| `--color-contrast-low` | `.border-contrast-low` | Applies the contrast-low color, intended only for decorative elements, as it is not accessibility-compliant. | `var(--_color-contrast-low-dynamic, light-dark(hsl(240 5.3% 14.9% / 0.5),hsl(240 12.5% 96.9% / 0.45)))` |
|
|
131
|
+
| `--color-contrast-medium` | `.text-contrast-medium` | Applies the contrast-medium color, typically used for text. | `var(--_color-contrast-medium-dynamic, light-dark(hsl(240 6.1% 7% / 0.6),hsl(240 12.5% 96.9% / 0.56)))` |
|
|
132
|
+
| `--color-contrast-high` | `.text-contrast-high` | Applies the contrast-high color, typically used for text. | `var(--_color-contrast-high-dynamic, light-dark(hsl(240 7.1% 11% / 0.7),hsl(240 12.5% 96.9% / 0.67)))` |
|
|
133
|
+
| `--color-contrast-higher` | `.text-contrast-higher` | Applies the contrast-higher color, typically used for text. | `var(--_color-contrast-higher-dynamic, light-dark(hsl(240 8.7% 9% / 0.8),hsl(240 12.5% 96.9% / 0.78)))` |
|
|
134
|
+
| `--color-primary` | `.text-primary` | Applies the primary color, typically used for text. | `var(--_color-primary-dynamic, light-dark(hsl(225 66.7% 1.2%),hsl(225 100% 99%)))` |
|
|
135
|
+
|
|
136
|
+
### Color — Semantic
|
|
137
|
+
|
|
138
|
+
| Theme variable | Tailwind class(es) | Description | Value |
|
|
139
|
+
| --- | --- | --- | --- |
|
|
140
|
+
| `--color-success` | `.text-success` | Applies the success color, typically used for text. | `var(--_color-success-dynamic, light-dark(hsl(115 77.5% 27.8%),hsl(157 84.9% 41.6%)))` |
|
|
141
|
+
| `--color-success-low` | `.text-success`, `.border-success` | Applies the success color, typically used for text or border. | `var(--_color-success-low-dynamic, light-dark(hsl(115 77.5% 27.8% / 0.18),hsl(157 84.9% 41.6% / 0.18)))` |
|
|
142
|
+
| `--color-success-medium` | `.text-success`, `.border-success` | Applies the success color, typically used for text or border. | `var(--_color-success-medium-dynamic, light-dark(hsl(115 77.5% 27.8% / 0.6),hsl(157 84.9% 41.6% / 0.6)))` |
|
|
143
|
+
| `--color-success-frosted` | `.bg-success-frosted` | Applies the success-frosted color, typically used as background in combination with a blur effect `.backdrop-blur-frosted`. | `var(--_color-success-frosted-dynamic, light-dark(hsl(109 100% 90% / 0.55),hsl(157 79% 20% / 0.66)))` |
|
|
144
|
+
| `--color-success-frosted-soft` | `.bg-success-frosted-soft` | Applies the success-frosted-soft color, typically used as background `:hover`. | `var(--_color-success-frosted-soft-dynamic, light-dark(hsl(109 80% 95% / 0.55),hsl(157 59% 15% / 0.66)))` |
|
|
145
|
+
| `--color-warning` | `.text-warning` | Applies the warning color, typically used for text. | `var(--_color-warning-dynamic, light-dark(hsl(28 97.7% 34.1%),hsl(28 90.2% 56.1%)))` |
|
|
146
|
+
| `--color-warning-low` | `.text-warning`, `.border-warning` | Applies the warning color, typically used for text or border. | `var(--_color-warning-low-dynamic, light-dark(hsl(28 97.7% 34.1% / 0.18),hsl(28 90.2% 56.1% / 0.18)))` |
|
|
147
|
+
| `--color-warning-medium` | `.text-warning`, `.border-warning` | Applies the warning color, typically used for text or border. | `var(--_color-warning-medium-dynamic, light-dark(hsl(28 97.7% 34.1% / 0.6),hsl(28 90.2% 56.1% / 0.6)))` |
|
|
148
|
+
| `--color-warning-frosted` | `.bg-warning-frosted` | Applies the warning-frosted color, typically used as background in combination with a blur effect `.backdrop-blur-frosted`. | `var(--_color-warning-frosted-dynamic, light-dark(hsl(40 100% 90% / 0.55),hsl(52 79% 20% / 0.66)))` |
|
|
149
|
+
| `--color-warning-frosted-soft` | `.bg-warning-frosted-soft` | Applies the warning-frosted-soft color, typically used as background `:hover`. | `var(--_color-warning-frosted-soft-dynamic, light-dark(hsl(40 80% 95% / 0.55),hsl(52 59% 15% / 0.66)))` |
|
|
150
|
+
| `--color-error` | `.text-error` | Applies the error color, typically used for text. | `var(--_color-error-dynamic, light-dark(hsl(357 78% 41%),hsl(0 96.9% 62%)))` |
|
|
151
|
+
| `--color-error-low` | `.text-error`, `.border-error` | Applies the error color, typically used for text or border. | `var(--_color-error-low-dynamic, light-dark(hsl(357 78% 41% / 0.18),hsl(0 96.9% 62% / 0.18)))` |
|
|
152
|
+
| `--color-error-medium` | `.text-error`, `.border-error` | Applies the error color, typically used for text or border. | `var(--_color-error-medium-dynamic, light-dark(hsl(357 78% 41% / 0.6),hsl(0 96.9% 62% / 0.6)))` |
|
|
153
|
+
| `--color-error-frosted` | `.bg-error-frosted` | Applies the error-frosted color, typically used as background in combination with a blur effect `.backdrop-blur-frosted`. | `var(--_color-error-frosted-dynamic, light-dark(hsl(0 100% 90% / 0.55),hsl(0 79% 20% / 0.66)))` |
|
|
154
|
+
| `--color-error-frosted-soft` | `.bg-error-frosted-soft` | Applies the error-frosted-soft color, typically used as background `:hover`. | `var(--_color-error-frosted-soft-dynamic, light-dark(hsl(0 80% 95% / 0.55),hsl(0 59% 15% / 0.66)))` |
|
|
155
|
+
| `--color-info` | `.text-info` | Applies the info color, typically used for text. | `var(--_color-info-dynamic, light-dark(hsl(228 83.2% 51%),hsl(210 100% 54.5%)))` |
|
|
156
|
+
| `--color-info-low` | `.text-info`, `.border-info` | Applies the info color, typically used for text or border. | `var(--_color-info-low-dynamic, light-dark(hsl(228 83.2% 51% / 0.18),hsl(210 100% 54.5% / 0.18)))` |
|
|
157
|
+
| `--color-info-medium` | `.text-info`, `.border-info` | Applies the info color, typically used for text or border. | `var(--_color-info-medium-dynamic, light-dark(hsl(228 83.2% 51% / 0.6),hsl(210 100% 54.5% / 0.6)))` |
|
|
158
|
+
| `--color-info-frosted` | `.bg-info-frosted` | Applies the info-frosted color, typically used as background in combination with a blur effect `.backdrop-blur-frosted`. | `var(--_color-info-frosted-dynamic, light-dark(hsl(211 100% 90% / 0.55),hsl(210 79% 20% / 0.66)))` |
|
|
159
|
+
| `--color-info-frosted-soft` | `.bg-info-frosted-soft` | Applies the info-frosted-soft color, typically used as background `:hover`. | `var(--_color-info-frosted-soft-dynamic, light-dark(hsl(211 80% 95% / 0.55),hsl(210 59% 15% / 0.66)))` |
|
|
160
|
+
|
|
161
|
+
### Font — Family
|
|
162
|
+
|
|
163
|
+
| Theme variable | Tailwind class(es) | Description | Value |
|
|
164
|
+
| --- | --- | --- | --- |
|
|
165
|
+
| `--font-porsche-next` | `.font-porsche-next` | Applies the **Porsche Next** font family along with fallback fonts. Automatically swaps to the locale-specific CJK stack (Simplified Chinese, Traditional Chinese, Japanese, Korean) via `:lang()` based on the nearest `lang` attribute. | `var(--_font-porsche-next-dynamic)` |
|
|
166
|
+
| `--font-sans` | `.font-sans` | Aliases the Tailwind `--font-sans` variable to `--font-porsche-next`, so the built-in `.font-sans` utility automatically applies the Porsche Next typeface. | `--theme(--font-porsche-next)` |
|
|
167
|
+
|
|
168
|
+
### Font — Weight
|
|
169
|
+
|
|
170
|
+
| Theme variable | Tailwind class(es) | Description | Value |
|
|
171
|
+
| --- | --- | --- | --- |
|
|
172
|
+
| `--font-weight-normal` | `.font-normal` | Applies the **regular** font weight optimized for the Porsche Next typeface. | `400` |
|
|
173
|
+
| `--font-weight-semibold` | `.font-semibold` | Applies the **semi-bold** font weight optimized for the Porsche Next typeface. | `600` |
|
|
174
|
+
| `--font-weight-bold` | `.font-bold` | Applies the **bold** font weight optimized for the Porsche Next typeface. | `700` |
|
|
175
|
+
|
|
176
|
+
### Font — Line height
|
|
177
|
+
|
|
178
|
+
| Theme variable | Tailwind class(es) | Description | Value |
|
|
179
|
+
| --- | --- | --- | --- |
|
|
180
|
+
| `--leading-normal` | `.leading-normal` | Applies a dynamic default line height specifically optimized for the Porsche Next typeface. | `calc(6px + 2.125ex)` |
|
|
181
|
+
|
|
182
|
+
### Font — Size
|
|
183
|
+
|
|
184
|
+
| Theme variable | Tailwind class(es) | Description | Value |
|
|
185
|
+
| --- | --- | --- | --- |
|
|
186
|
+
| `--text-2xs` | `.text-2xs` | Applies the **2x-small** font size and line height optimized for the Porsche Next typeface. | `.75rem` |
|
|
187
|
+
| `--text-xs` | `.text-xs` | Applies the **x-small** font size and line height optimized for the Porsche Next typeface. | `.875rem` |
|
|
188
|
+
| `--text-sm` | `.text-sm` | Applies the **small** font size and line height optimized for the Porsche Next typeface. | `1rem` |
|
|
189
|
+
| `--text-md` | `.text-md` | Applies the **medium** font size and line height optimized for the Porsche Next typeface. | `clamp(1.13rem, 0.21vw + 1.08rem, 1.33rem)` |
|
|
190
|
+
| `--text-lg` | `.text-lg` | Applies the **large** font size and line height optimized for the Porsche Next typeface. | `clamp(1.27rem, 0.51vw + 1.16rem, 1.78rem)` |
|
|
191
|
+
| `--text-xl` | `.text-xl` | Applies the **x-large** font size and line height optimized for the Porsche Next typeface. | `clamp(1.42rem, 0.94vw + 1.23rem, 2.37rem)` |
|
|
192
|
+
| `--text-2xl` | `.text-2xl` | Applies the **2x-large** font size and line height optimized for the Porsche Next typeface. | `clamp(1.6rem, 1.56vw + 1.29rem, 3.16rem)` |
|
|
193
|
+
| `--text-3xl` | `.text-3xl` | Applies the **3x-large** font size and line height optimized for the Porsche Next typeface. | `clamp(1.8rem, 2.41vw + 1.32rem, 4.21rem)` |
|
|
194
|
+
| `--text-4xl` | `.text-4xl` | Applies the **4x-large** font size and line height optimized for the Porsche Next typeface. | `clamp(2.03rem, 3.58vw + 1.31rem, 5.61rem)` |
|
|
195
|
+
| `--text-5xl` | `.text-5xl` | Applies the **5x-large** font size and line height optimized for the Porsche Next typeface. | `clamp(2.28rem, 5.2vw + 1.24rem, 7.48rem)` |
|
|
196
|
+
|
|
197
|
+
### Shadow
|
|
198
|
+
|
|
199
|
+
| Theme variable | Tailwind class(es) | Description | Value |
|
|
200
|
+
| --- | --- | --- | --- |
|
|
201
|
+
| `--shadow-sm` | `.shadow-sm` | Applies a **small** `box-shadow`. | `0px 3px 8px rgba(0,0,0,.16)` |
|
|
202
|
+
| `--shadow-md` | `.shadow-md` | Applies a **medium** `box-shadow`. | `0px 4px 16px rgba(0,0,0,.16)` |
|
|
203
|
+
| `--shadow-lg` | `.shadow-lg` | Applies a **large** `box-shadow`. | `0px 8px 40px rgba(0,0,0,.16)` |
|
|
204
|
+
|
|
205
|
+
### Spacing — Fluid
|
|
206
|
+
|
|
207
|
+
| Theme variable | Tailwind class(es) | Description | Value |
|
|
208
|
+
| --- | --- | --- | --- |
|
|
209
|
+
| `--spacing-fluid-xs` | `.p-fluid-xs`, `.m-fluid-xs` | Applies the **x-small fluid** spacing. | `clamp(4px, 0.25vw + 3px, 8px)` |
|
|
210
|
+
| `--spacing-fluid-sm` | `.p-fluid-sm`, `.m-fluid-sm` | Applies the **small fluid** spacing. | `clamp(8px, 0.5vw + 6px, 16px)` |
|
|
211
|
+
| `--spacing-fluid-md` | `.p-fluid-md`, `.m-fluid-md` | Applies the **medium fluid** spacing. | `clamp(16px, 1.25vw + 12px, 36px)` |
|
|
212
|
+
| `--spacing-fluid-lg` | `.p-fluid-lg`, `.m-fluid-lg` | Applies the **large fluid** spacing. | `clamp(32px, 2.75vw + 23px, 76px)` |
|
|
213
|
+
| `--spacing-fluid-xl` | `.p-fluid-xl`, `.m-fluid-xl` | Applies the **x-large fluid** spacing. | `clamp(48px, 3vw + 38px, 96px)` |
|
|
214
|
+
| `--spacing-fluid-2xl` | `.p-fluid-2xl`, `.m-fluid-2xl` | Applies the **2x-large fluid** spacing. | `clamp(80px, 7.5vw + 56px, 200px)` |
|
|
215
|
+
|
|
216
|
+
### Spacing — Static
|
|
217
|
+
|
|
218
|
+
| Theme variable | Tailwind class(es) | Description | Value |
|
|
219
|
+
| --- | --- | --- | --- |
|
|
220
|
+
| `--spacing-static-2xs` | `.p-static-2xs`, `.m-static-2xs` | Applies the **2x-small static** spacing. | `1px` |
|
|
221
|
+
| `--spacing-static-xs` | `.p-static-xs`, `.m-static-xs` | Applies the **x-small static** spacing. | `4px` |
|
|
222
|
+
| `--spacing-static-sm` | `.p-static-sm`, `.m-static-sm` | Applies the **small static** spacing. | `8px` |
|
|
223
|
+
| `--spacing-static-md` | `.p-static-md`, `.m-static-md` | Applies the **medium static** spacing. | `16px` |
|
|
224
|
+
| `--spacing-static-lg` | `.p-static-lg`, `.m-static-lg` | Applies the **large static** spacing. | `32px` |
|
|
225
|
+
| `--spacing-static-xl` | `.p-static-xl`, `.m-static-xl` | Applies the **x-large static** spacing. | `48px` |
|
|
226
|
+
| `--spacing-static-2xl` | `.p-static-2xl`, `.m-static-2xl` | Applies the **2x-large static** spacing. | `80px` |
|
|
227
|
+
|
|
228
|
+
### Motion — Duration
|
|
229
|
+
|
|
230
|
+
| Theme variable | Tailwind class(es) | Description | Value |
|
|
231
|
+
| --- | --- | --- | --- |
|
|
232
|
+
| `--transition-duration-sm` | `.duration-sm` | Applies a **short** `transition-duration`. | `.25s` |
|
|
233
|
+
| `--transition-duration-md` | `.duration-md` | Applies a **moderate** `transition-duration`. | `.4s` |
|
|
234
|
+
| `--transition-duration-lg` | `.duration-lg` | Applies a **long** `transition-duration`. | `.6s` |
|
|
235
|
+
| `--transition-duration-xl` | `.duration-xl` | Applies a **very long** `transition-duration`. | `1.2s` |
|
|
236
|
+
|
|
237
|
+
### Motion — Ease
|
|
238
|
+
|
|
239
|
+
| Theme variable | Tailwind class(es) | Description | Value |
|
|
240
|
+
| --- | --- | --- | --- |
|
|
241
|
+
| `--ease-in-out` | `.ease-in-out` | Applies an **in-out** `transition-timing-function`. | `cubic-bezier(.25,.1,.25,1)` |
|
|
242
|
+
| `--ease-in` | `.ease-in` | Applies an **in** `transition-timing-function`. | `cubic-bezier(0,0,.2,1)` |
|
|
243
|
+
| `--ease-out` | `.ease-out` | Applies an **out** `transition-timing-function`. | `cubic-bezier(.4,0,.5,1)` |
|
|
244
|
+
|
|
245
|
+
## Utilities
|
|
246
|
+
|
|
247
|
+
### Gradient
|
|
248
|
+
|
|
249
|
+
| Tailwind `@utility` class | Description |
|
|
250
|
+
| --- | --- |
|
|
251
|
+
| `.bg-fade-to-t` | Applies a fade gradient towards the top. |
|
|
252
|
+
| `.bg-fade-to-r` | Applies a fade gradient towards the right. |
|
|
253
|
+
| `.bg-fade-to-b` | Applies a fade gradient towards the bottom. |
|
|
254
|
+
| `.bg-fade-to-l` | Applies a fade gradient towards the left. |
|
|
255
|
+
|
|
256
|
+
### Typography — Heading
|
|
257
|
+
|
|
258
|
+
| Tailwind `@utility` class | Description |
|
|
259
|
+
| --- | --- |
|
|
260
|
+
| `.prose-heading-2xs` | Applies the heading style in size 2xs. |
|
|
261
|
+
| `.prose-heading-xs` | Applies the heading style in size xs. |
|
|
262
|
+
| `.prose-heading-sm` | Applies the heading style in size sm. |
|
|
263
|
+
| `.prose-heading-md` | Applies the heading style in size md. |
|
|
264
|
+
| `.prose-heading-lg` | Applies the heading style in size lg. |
|
|
265
|
+
| `.prose-heading-xl` | Applies the heading style in size xl. |
|
|
266
|
+
| `.prose-heading-2xl` | Applies the heading style in size 2xl. |
|
|
267
|
+
| `.prose-heading-3xl` | Applies the heading style in size 3xl. |
|
|
268
|
+
| `.prose-heading-4xl` | Applies the heading style in size 4xl. |
|
|
269
|
+
| `.prose-heading-5xl` | Applies the heading style in size 5xl. |
|
|
270
|
+
|
|
271
|
+
### Typography — Text
|
|
272
|
+
|
|
273
|
+
| Tailwind `@utility` class | Description |
|
|
274
|
+
| --- | --- |
|
|
275
|
+
| `.prose-text-2xs` | Applies the text style in size 2xs. |
|
|
276
|
+
| `.prose-text-xs` | Applies the text style in size xs. |
|
|
277
|
+
| `.prose-text-sm` | Applies the text style in size sm. |
|
|
278
|
+
| `.prose-text-md` | Applies the text style in size md. |
|
|
279
|
+
| `.prose-text-lg` | Applies the text style in size lg. |
|
|
280
|
+
| `.prose-text-xl` | Applies the text style in size xl. |
|
|
281
|
+
| `.prose-text-2xl` | Applies the text style in size 2xl. |
|
|
282
|
+
| `.prose-text-3xl` | Applies the text style in size 3xl. |
|
|
283
|
+
| `.prose-text-4xl` | Applies the text style in size 4xl. |
|
|
284
|
+
| `.prose-text-5xl` | Applies the text style in size 5xl. |
|
|
285
|
+
|
|
286
|
+
### Typography — Display
|
|
287
|
+
|
|
288
|
+
| Tailwind `@utility` class | Description |
|
|
289
|
+
| --- | --- |
|
|
290
|
+
| `.prose-display-sm` | Applies the display style in size sm. |
|
|
291
|
+
| `.prose-display-md` | Applies the display style in size md. |
|
|
292
|
+
| `.prose-display-lg` | Applies the display style in size lg. |
|
|
293
|
+
|
|
294
|
+
### Skeleton
|
|
295
|
+
|
|
296
|
+
| Tailwind `@utility` class | Description |
|
|
297
|
+
| --- | --- |
|
|
298
|
+
| `.skeleton` | Applies a skeleton placeholder style to indicate loading state. |
|
|
299
|
+
|
|
300
|
+
### Grid — Base
|
|
301
|
+
|
|
302
|
+
| Tailwind `@utility` class | Description |
|
|
303
|
+
| --- | --- |
|
|
304
|
+
| `.grid-template` | Applies the responsive Porsche Grid template with named column areas. |
|
|
305
|
+
|
|
306
|
+
### Grid — Narrow
|
|
307
|
+
|
|
308
|
+
| Tailwind `@utility` class | Description |
|
|
309
|
+
| --- | --- |
|
|
310
|
+
| `.col-narrow` | Places content across the narrow area of the Porsche Grid. |
|
|
311
|
+
| `.col-start-narrow` | Sets the start position of the narrow area within the Porsche Grid. |
|
|
312
|
+
| `.col-end-narrow` | Sets the end position of the narrow area within the Porsche Grid. |
|
|
313
|
+
|
|
314
|
+
### Grid — Basic
|
|
315
|
+
|
|
316
|
+
| Tailwind `@utility` class | Description |
|
|
317
|
+
| --- | --- |
|
|
318
|
+
| `.col-basic` | Places content across the basic area of the Porsche Grid. |
|
|
319
|
+
| `.col-start-basic` | Sets the start position of the basic area within the Porsche Grid. |
|
|
320
|
+
| `.col-end-basic` | Sets the end position of the basic area within the Porsche Grid. |
|
|
321
|
+
|
|
322
|
+
### Grid — Extended
|
|
323
|
+
|
|
324
|
+
| Tailwind `@utility` class | Description |
|
|
325
|
+
| --- | --- |
|
|
326
|
+
| `.col-extended` | Places content across the extended area of the Porsche Grid. |
|
|
327
|
+
| `.col-start-extended` | Sets the start position of the extended area within the Porsche Grid. |
|
|
328
|
+
| `.col-end-extended` | Sets the end position of the extended area within the Porsche Grid. |
|
|
329
|
+
|
|
330
|
+
### Grid — Wide
|
|
331
|
+
|
|
332
|
+
| Tailwind `@utility` class | Description |
|
|
333
|
+
| --- | --- |
|
|
334
|
+
| `.col-wide` | Places content across the wide area of the Porsche Grid. |
|
|
335
|
+
| `.col-start-wide` | Sets the start position of the wide area within the Porsche Grid. |
|
|
336
|
+
| `.col-end-wide` | Sets the end position of the wide area within the Porsche Grid. |
|
|
337
|
+
|
|
338
|
+
### Grid — Full
|
|
339
|
+
|
|
340
|
+
| Tailwind `@utility` class | Description |
|
|
341
|
+
| --- | --- |
|
|
342
|
+
| `.col-full` | Applies the start/end position of the full area within the Porsche Grid. |
|
|
343
|
+
| `.col-start-full` | Sets the start position of the full area within the Porsche Grid. |
|
|
344
|
+
| `.col-end-full` | Sets the end position of the full area within the Porsche Grid. |
|
|
345
|
+
|
|
346
|
+
### Grid — Span
|
|
347
|
+
|
|
348
|
+
| Tailwind `@utility` class | Description |
|
|
349
|
+
| --- | --- |
|
|
350
|
+
| `.col-span-one-half` | Spans content across one half of the current Porsche Grid area. |
|
|
351
|
+
| `.col-span-one-third` | Spans content across one third of the current Porsche Grid area. |
|
|
352
|
+
| `.col-span-two-thirds` | Spans content across two thirds of the current Porsche Grid area. |
|
|
353
|
+
|
|
354
|
+
## Full stylesheet
|
|
355
|
+
|
|
356
|
+
The tables above are the index, with each token's value. For the complete generated stylesheet — resets, deprecated aliases and everything not tabulated here — read `../tailwindcss/index.css` in the installed package.
|