Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 17 additions & 3 deletions .stylelintrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
],
"plugins": [
"stylelint-order",
"stylelint-scss",
"stylelint-use-logical-spec"
"stylelint-scss"
],
"ignoreFiles": [
"./src/patternfly/assets/fontawesome/*.scss",
Expand Down Expand Up @@ -49,10 +48,21 @@
"font-weight-notation": "numeric",
"import-notation": "string",
"keyframes-name-pattern": null,
"liberty/use-logical-spec": ["always", { "except": ["width", "max-width", "min-width", "height", "max-height", "min-height"] }],
"max-nesting-depth": 3,
"media-query-no-invalid": null,
"nesting-selector-no-missing-scoping-root": [
true,
{
"ignoreAtRules": ["mixin", "include", "media", "content"]
}
],
"no-descending-specificity": null,
"no-invalid-position-declaration": [
true,
{
"ignoreAtRules": ["include", "mixin", "media", "content"]
}
],
"no-unknown-animations": true,
"order/order": [
"custom-properties",
Expand All @@ -61,6 +71,10 @@
"property-disallowed-list": [
"text-decoration"
],
"property-layout-mappings": [
"flow-relative",
{ "ignoreProperties": ["width", "max-width", "min-width", "height", "max-height", "min-height", "overflow-x", "overflow-y"] }
],
"scss/declaration-nested-properties": "never",
"scss/dollar-variable-colon-space-after": "at-least-one-space",
"scss/dollar-variable-colon-space-before": "never",
Expand Down
9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,10 @@
"resemblejs": "^5.0.0",
"rimraf": "^6.0.1",
"sass": "^1.74.1",
"stylelint": "^16.3.1",
"stylelint-config-recess-order": "^5.0.0",
"stylelint-config-standard": "^36.0.0",
"stylelint-config-standard-scss": "^13.1.0",
"stylelint-use-logical-spec": "^5.0.1",
"stylelint": "^17.12.0",
"stylelint-config-recess-order": "^7.7.0",
"stylelint-config-standard-scss": "^17.0.0",
"stylelint-order": "^8.1.1",
"surge": "^0.24.6",
"unified": "^11.0.4",
"webpack": "^5.91.0"
Expand Down
2 changes: 2 additions & 0 deletions src/patternfly/base/normalize.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

// Normalize
@if $pf-v6-global--enable-normalize {
// stylelint-disable selector-max-type
*,
*::before,
*::after {
Expand Down Expand Up @@ -144,4 +145,5 @@
:where(.pf-v6-theme-dark) {
color-scheme: dark;
}
// stylelint-enable selector-max-type
}
2 changes: 1 addition & 1 deletion src/patternfly/base/patternfly-common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@
--#{$pf-global}--thinking-active--Animation--Duration: 2s;
}

container-type: inline-size;
container-name: #{$pf-prefix}contain-viewport #{$pf-prefix}contain-table;
container-type: inline-size;
}

// Register the property type for the custom property to be animatable
Expand Down
6 changes: 3 additions & 3 deletions src/patternfly/base/patternfly-fa-icons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@
}

@mixin pf-fa-icon-base {
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
display: inline-block;
font-style: normal;
font-variant: normal;
text-rendering: auto;
line-height: 1;
text-rendering: auto;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
}

@if not($pf-v6-global--disable-fontawesome) {
Expand Down
2 changes: 2 additions & 0 deletions src/patternfly/base/reset.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@use '../sass-utilities/scss-variables.scss' as *;

// Reset - based on minireset.css v0.0.3 | MIT License github.com/jgthms/minireset.css
// stylelint-disable selector-max-type
@if $pf-v6-global--enable-reset {
:where(
html,
Expand Down Expand Up @@ -30,4 +31,5 @@
padding: 0;
margin: 0;
}
// stylelint-enable selector-max-type
}
2 changes: 1 addition & 1 deletion src/patternfly/base/tokens/tokens-charts-dark.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

// Do not edit directly
// Generated on Fri, 15 May 2026 17:53:36 GMT
// Generated on Mon, 01 Jun 2026 21:26:11 GMT

@mixin pf-v6-tokens {
--pf-t--chart--global--BorderWidth--lg: 8;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

// Do not edit directly
// Generated on Fri, 15 May 2026 17:53:36 GMT
// Generated on Mon, 01 Jun 2026 21:26:11 GMT

@mixin pf-v6-tokens {
--pf-t--chart--global--BorderWidth--lg: 8;
Expand Down
2 changes: 1 addition & 1 deletion src/patternfly/base/tokens/tokens-charts-highcontrast.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

// Do not edit directly
// Generated on Fri, 15 May 2026 17:53:36 GMT
// Generated on Mon, 01 Jun 2026 21:26:11 GMT

@mixin pf-v6-tokens {
--pf-t--chart--global--BorderWidth--lg: 8;
Expand Down
2 changes: 1 addition & 1 deletion src/patternfly/base/tokens/tokens-charts.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

// Do not edit directly
// Generated on Fri, 15 May 2026 17:53:36 GMT
// Generated on Mon, 01 Jun 2026 21:26:11 GMT

@mixin pf-v6-tokens {
--pf-t--chart--global--BorderWidth--lg: 8;
Expand Down
18 changes: 9 additions & 9 deletions src/patternfly/base/tokens/tokens-dark.scss
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@

// Do not edit directly
// Generated on Fri, 15 May 2026 17:53:36 GMT
// Generated on Mon, 01 Jun 2026 21:26:11 GMT

@mixin pf-v6-tokens {
--pf-t--global--background--color--action--plain--default: rgba(0, 0, 0, 0.0000);
--pf-t--global--background--color--striped--row--default: rgba(21, 21, 21, 0.3000);
--pf-t--global--background--color--action--plain--default: rgb(0, 0, 0, 0.0000);
--pf-t--global--background--color--striped--row--default: rgb(21, 21, 21, 0.3000);
--pf-t--global--background--filter--glass--blur--primary: initial;
--pf-t--global--border--color--high-contrast: rgba(255, 255, 255, 0.0000);
--pf-t--global--dark--background--color--500: rgba(21, 21, 21, 0.8000);
--pf-t--global--dark--background--color--600: rgba(199, 199, 199, 0.1500);
--pf-t--global--dark--background--color--700: rgba(199, 199, 199, 0.2500);
--pf-t--global--dark--box-shadow--color--100: rgba(0, 0, 0, 0.5000);
--pf-t--global--dark--box-shadow--color--200: rgba(0, 0, 0, 0.6000);
--pf-t--global--border--color--high-contrast: rgb(255, 255, 255, 0.0000);
--pf-t--global--dark--background--color--500: rgb(21, 21, 21, 0.8000);
--pf-t--global--dark--background--color--600: rgb(199, 199, 199, 0.1500);
--pf-t--global--dark--background--color--700: rgb(199, 199, 199, 0.2500);
--pf-t--global--dark--box-shadow--color--100: rgb(0, 0, 0, 0.5000);
--pf-t--global--dark--box-shadow--color--200: rgb(0, 0, 0, 0.6000);
--pf-t--global--background--color--action--plain--clicked: var(--pf-t--global--dark--background--color--600);
--pf-t--global--background--color--action--plain--hover: var(--pf-t--global--dark--background--color--600);
--pf-t--global--background--color--backdrop--default: var(--pf-t--global--dark--background--color--500);
Expand Down
16 changes: 8 additions & 8 deletions src/patternfly/base/tokens/tokens-default.scss
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@

// Do not edit directly
// Generated on Fri, 15 May 2026 17:53:36 GMT
// Generated on Mon, 01 Jun 2026 21:26:11 GMT

@mixin pf-v6-tokens {
--pf-t--global--background--color--500: rgba(21, 21, 21, 0.4000);
--pf-t--global--background--color--600: rgba(199, 199, 199, 0.2500);
--pf-t--global--background--color--700: rgba(199, 199, 199, 0.1000);
--pf-t--global--background--color--action--plain--default: rgba(255, 255, 255, 0.0000);
--pf-t--global--background--color--500: rgb(21, 21, 21, 0.4000);
--pf-t--global--background--color--600: rgb(199, 199, 199, 0.2500);
--pf-t--global--background--color--700: rgb(199, 199, 199, 0.1000);
--pf-t--global--background--color--action--plain--default: rgb(255, 255, 255, 0.0000);
--pf-t--global--background--filter--glass--blur--primary: initial;
--pf-t--global--border--color--high-contrast: rgba(255, 255, 255, 0.0000);
--pf-t--global--border--color--high-contrast: rgb(255, 255, 255, 0.0000);
--pf-t--global--border--radius--0: 0px;
--pf-t--global--border--radius--100: 4px;
--pf-t--global--border--radius--200: 6px;
Expand Down Expand Up @@ -46,8 +46,8 @@
--pf-t--global--box-shadow--blur--100: 6px;
--pf-t--global--box-shadow--blur--200: 10px;
--pf-t--global--box-shadow--blur--300: 20px;
--pf-t--global--box-shadow--color--100: rgba(41, 41, 41, 0.1500);
--pf-t--global--box-shadow--color--200: rgba(41, 41, 41, 0.2000);
--pf-t--global--box-shadow--color--100: rgb(41, 41, 41, 0.1500);
--pf-t--global--box-shadow--color--200: rgb(41, 41, 41, 0.2000);
--pf-t--global--box-shadow--spread--100: 0px;
--pf-t--global--box-shadow--spread--200: -4px;
--pf-t--global--box-shadow--spread--300: -8px;
Expand Down
2 changes: 1 addition & 1 deletion src/patternfly/base/tokens/tokens-felt-dark.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

// Do not edit directly
// Generated on Fri, 15 May 2026 17:53:37 GMT
// Generated on Mon, 01 Jun 2026 21:26:11 GMT

// Only tokens that differ from base theme (14 tokens)
@mixin pf-v6-tokens {
Expand Down
16 changes: 8 additions & 8 deletions src/patternfly/base/tokens/tokens-felt-glass-dark.scss
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@

// Do not edit directly
// Generated on Fri, 15 May 2026 17:53:37 GMT
// Generated on Mon, 01 Jun 2026 21:26:11 GMT

// Only tokens that differ from base theme (33 tokens)
@mixin pf-v6-tokens {
--pf-t--global--background--color--glass--primary--default: rgba(41, 41, 41, 0.5000);
--pf-t--global--background--color--primary--clicked: rgba(56, 56, 56, 0.5000);
--pf-t--global--background--color--primary--default: rgba(41, 41, 41, 0.5000);
--pf-t--global--background--color--primary--hover: rgba(56, 56, 56, 0.5000);
--pf-t--global--background--color--secondary--clicked: rgba(41, 41, 41, 0.6000);
--pf-t--global--background--color--secondary--default: rgba(21, 21, 21, 0.6000);
--pf-t--global--background--color--secondary--hover: rgba(41, 41, 41, 0.6000);
--pf-t--global--background--color--glass--primary--default: rgb(41, 41, 41, 0.5000);
--pf-t--global--background--color--primary--clicked: rgb(56, 56, 56, 0.5000);
--pf-t--global--background--color--primary--default: rgb(41, 41, 41, 0.5000);
--pf-t--global--background--color--primary--hover: rgb(56, 56, 56, 0.5000);
--pf-t--global--background--color--secondary--clicked: rgb(41, 41, 41, 0.6000);
--pf-t--global--background--color--secondary--default: rgb(21, 21, 21, 0.6000);
--pf-t--global--background--color--secondary--hover: rgb(41, 41, 41, 0.6000);
--pf-t--global--background--filter--glass--blur--primary: blur(16px);
--pf-t--global--background--color--control--default: var(--pf-t--global--dark--background--color--500);
--pf-t--global--background--color--control--read-only: var(--pf-t--global--dark--background--color--500);
Expand Down
16 changes: 8 additions & 8 deletions src/patternfly/base/tokens/tokens-felt-glass.scss
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@

// Do not edit directly
// Generated on Fri, 15 May 2026 17:53:37 GMT
// Generated on Mon, 01 Jun 2026 21:26:11 GMT

// Only tokens that differ from base theme (23 tokens)
@mixin pf-v6-tokens {
--pf-t--global--background--color--glass--primary--default: rgba(255, 255, 255, 0.5000);
--pf-t--global--background--color--primary--clicked: rgba(199, 199, 199, 0.3000);
--pf-t--global--background--color--primary--default: rgba(255, 255, 255, 0.6000);
--pf-t--global--background--color--primary--hover: rgba(199, 199, 199, 0.3000);
--pf-t--global--background--color--secondary--clicked: rgba(163, 163, 163, 0.3000);
--pf-t--global--background--color--secondary--default: rgba(199, 199, 199, 0.3000);
--pf-t--global--background--color--secondary--hover: rgba(163, 163, 163, 0.3000);
--pf-t--global--background--color--glass--primary--default: rgb(255, 255, 255, 0.5000);
--pf-t--global--background--color--primary--clicked: rgb(199, 199, 199, 0.3000);
--pf-t--global--background--color--primary--default: rgb(255, 255, 255, 0.6000);
--pf-t--global--background--color--primary--hover: rgb(199, 199, 199, 0.3000);
--pf-t--global--background--color--secondary--clicked: rgb(163, 163, 163, 0.3000);
--pf-t--global--background--color--secondary--default: rgb(199, 199, 199, 0.3000);
--pf-t--global--background--color--secondary--hover: rgb(163, 163, 163, 0.3000);
--pf-t--global--background--filter--glass--blur--primary: blur(16px);
--pf-t--global--border--width--main--default: var(--pf-t--global--border--width--100);
--pf-t--global--background--color--action--plain--alt--clicked: var(--pf-t--global--background--color--action--plain--clicked);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

// Do not edit directly
// Generated on Fri, 15 May 2026 17:53:37 GMT
// Generated on Mon, 01 Jun 2026 21:26:11 GMT

// Only tokens that differ from base theme (43 tokens)
@mixin pf-v6-tokens {
Expand Down
2 changes: 1 addition & 1 deletion src/patternfly/base/tokens/tokens-felt-highcontrast.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

// Do not edit directly
// Generated on Fri, 15 May 2026 17:53:37 GMT
// Generated on Mon, 01 Jun 2026 21:26:11 GMT

// Only tokens that differ from base theme (122 tokens)
@mixin pf-v6-tokens {
Expand Down
2 changes: 1 addition & 1 deletion src/patternfly/base/tokens/tokens-felt.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

// Do not edit directly
// Generated on Fri, 15 May 2026 17:53:37 GMT
// Generated on Mon, 01 Jun 2026 21:26:11 GMT

// Only tokens that differ from base theme (8 tokens)
@mixin pf-v6-tokens {
Expand Down
16 changes: 8 additions & 8 deletions src/patternfly/base/tokens/tokens-glass-dark.scss
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@

// Do not edit directly
// Generated on Fri, 15 May 2026 17:53:37 GMT
// Generated on Mon, 01 Jun 2026 21:26:11 GMT

// Only tokens that differ from base theme (19 tokens)
@mixin pf-v6-tokens {
--pf-t--global--background--color--glass--primary--default: rgba(41, 41, 41, 0.5000);
--pf-t--global--background--color--primary--clicked: rgba(56, 56, 56, 0.5000);
--pf-t--global--background--color--primary--default: rgba(41, 41, 41, 0.5000);
--pf-t--global--background--color--primary--hover: rgba(56, 56, 56, 0.5000);
--pf-t--global--background--color--secondary--clicked: rgba(41, 41, 41, 0.6000);
--pf-t--global--background--color--secondary--default: rgba(21, 21, 21, 0.6000);
--pf-t--global--background--color--secondary--hover: rgba(41, 41, 41, 0.6000);
--pf-t--global--background--color--glass--primary--default: rgb(41, 41, 41, 0.5000);
--pf-t--global--background--color--primary--clicked: rgb(56, 56, 56, 0.5000);
--pf-t--global--background--color--primary--default: rgb(41, 41, 41, 0.5000);
--pf-t--global--background--color--primary--hover: rgb(56, 56, 56, 0.5000);
--pf-t--global--background--color--secondary--clicked: rgb(41, 41, 41, 0.6000);
--pf-t--global--background--color--secondary--default: rgb(21, 21, 21, 0.6000);
--pf-t--global--background--color--secondary--hover: rgb(41, 41, 41, 0.6000);
--pf-t--global--background--filter--glass--blur--primary: blur(16px);
--pf-t--global--background--color--control--default: var(--pf-t--global--dark--background--color--500);
--pf-t--global--background--color--control--read-only: var(--pf-t--global--dark--background--color--500);
Expand Down
16 changes: 8 additions & 8 deletions src/patternfly/base/tokens/tokens-glass.scss
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@

// Do not edit directly
// Generated on Fri, 15 May 2026 17:53:37 GMT
// Generated on Mon, 01 Jun 2026 21:26:11 GMT

// Only tokens that differ from base theme (15 tokens)
@mixin pf-v6-tokens {
--pf-t--global--background--color--glass--primary--default: rgba(255, 255, 255, 0.5000);
--pf-t--global--background--color--primary--clicked: rgba(199, 199, 199, 0.3000);
--pf-t--global--background--color--primary--default: rgba(255, 255, 255, 0.6000);
--pf-t--global--background--color--primary--hover: rgba(199, 199, 199, 0.3000);
--pf-t--global--background--color--secondary--clicked: rgba(163, 163, 163, 0.3000);
--pf-t--global--background--color--secondary--default: rgba(199, 199, 199, 0.3000);
--pf-t--global--background--color--secondary--hover: rgba(163, 163, 163, 0.3000);
--pf-t--global--background--color--glass--primary--default: rgb(255, 255, 255, 0.5000);
--pf-t--global--background--color--primary--clicked: rgb(199, 199, 199, 0.3000);
--pf-t--global--background--color--primary--default: rgb(255, 255, 255, 0.6000);
--pf-t--global--background--color--primary--hover: rgb(199, 199, 199, 0.3000);
--pf-t--global--background--color--secondary--clicked: rgb(163, 163, 163, 0.3000);
--pf-t--global--background--color--secondary--default: rgb(199, 199, 199, 0.3000);
--pf-t--global--background--color--secondary--hover: rgb(163, 163, 163, 0.3000);
--pf-t--global--background--filter--glass--blur--primary: blur(16px);
--pf-t--global--border--width--main--default: var(--pf-t--global--border--width--100);
--pf-t--global--background--color--action--plain--alt--clicked: var(--pf-t--global--background--color--action--plain--clicked);
Expand Down
16 changes: 8 additions & 8 deletions src/patternfly/base/tokens/tokens-highcontrast-dark.scss
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@

// Do not edit directly
// Generated on Fri, 15 May 2026 17:53:36 GMT
// Generated on Mon, 01 Jun 2026 21:26:11 GMT

@mixin pf-v6-tokens {
--pf-t--global--background--color--action--plain--default: rgba(0, 0, 0, 0.0000);
--pf-t--global--background--color--striped--row--default: rgba(21, 21, 21, 0.3000);
--pf-t--global--background--color--action--plain--default: rgb(0, 0, 0, 0.0000);
--pf-t--global--background--color--striped--row--default: rgb(21, 21, 21, 0.3000);
--pf-t--global--background--filter--glass--blur--primary: initial;
--pf-t--global--dark--background--color--500: rgba(21, 21, 21, 0.8000);
--pf-t--global--dark--background--color--600: rgba(199, 199, 199, 0.1500);
--pf-t--global--dark--background--color--700: rgba(199, 199, 199, 0.2500);
--pf-t--global--dark--box-shadow--color--100: rgba(0, 0, 0, 0.5000);
--pf-t--global--dark--box-shadow--color--200: rgba(0, 0, 0, 0.6000);
--pf-t--global--dark--background--color--500: rgb(21, 21, 21, 0.8000);
--pf-t--global--dark--background--color--600: rgb(199, 199, 199, 0.1500);
--pf-t--global--dark--background--color--700: rgb(199, 199, 199, 0.2500);
--pf-t--global--dark--box-shadow--color--100: rgb(0, 0, 0, 0.5000);
--pf-t--global--dark--box-shadow--color--200: rgb(0, 0, 0, 0.6000);
--pf-t--global--background--color--action--plain--clicked: var(--pf-t--global--dark--background--color--600);
--pf-t--global--background--color--action--plain--hover: var(--pf-t--global--dark--background--color--600);
--pf-t--global--background--color--backdrop--default: var(--pf-t--global--dark--background--color--500);
Expand Down
14 changes: 7 additions & 7 deletions src/patternfly/base/tokens/tokens-highcontrast.scss
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@

// Do not edit directly
// Generated on Fri, 15 May 2026 17:53:36 GMT
// Generated on Mon, 01 Jun 2026 21:26:11 GMT

@mixin pf-v6-tokens {
--pf-t--global--background--color--500: rgba(21, 21, 21, 0.4000);
--pf-t--global--background--color--600: rgba(199, 199, 199, 0.2500);
--pf-t--global--background--color--700: rgba(199, 199, 199, 0.1000);
--pf-t--global--background--color--action--plain--default: rgba(255, 255, 255, 0.0000);
--pf-t--global--background--color--500: rgb(21, 21, 21, 0.4000);
--pf-t--global--background--color--600: rgb(199, 199, 199, 0.2500);
--pf-t--global--background--color--700: rgb(199, 199, 199, 0.1000);
--pf-t--global--background--color--action--plain--default: rgb(255, 255, 255, 0.0000);
--pf-t--global--background--filter--glass--blur--primary: initial;
--pf-t--global--border--radius--0: 0px;
--pf-t--global--border--radius--100: 4px;
Expand Down Expand Up @@ -40,8 +40,8 @@
--pf-t--global--box-shadow--blur--100: 6px;
--pf-t--global--box-shadow--blur--200: 10px;
--pf-t--global--box-shadow--blur--300: 20px;
--pf-t--global--box-shadow--color--100: rgba(41, 41, 41, 0.1500);
--pf-t--global--box-shadow--color--200: rgba(41, 41, 41, 0.2000);
--pf-t--global--box-shadow--color--100: rgb(41, 41, 41, 0.1500);
--pf-t--global--box-shadow--color--200: rgb(41, 41, 41, 0.2000);
--pf-t--global--box-shadow--spread--100: 0px;
--pf-t--global--box-shadow--spread--200: -4px;
--pf-t--global--box-shadow--spread--300: -8px;
Expand Down
2 changes: 1 addition & 1 deletion src/patternfly/base/tokens/tokens-palette.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

// Do not edit directly
// Generated on Fri, 15 May 2026 17:53:36 GMT
// Generated on Mon, 01 Jun 2026 21:26:11 GMT

@mixin pf-v6-tokens {
--pf-t--color--black: #000000;
Expand Down
Loading
Loading