Skip to content

Commit

Permalink
Merge branch 'main' into chore/68-token-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
evwilkin authored Aug 9, 2024
2 parents ea09c51 + f537626 commit f56b399
Show file tree
Hide file tree
Showing 8 changed files with 253 additions and 110 deletions.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"build:docs": "yarn workspace @patternfly/design-tokens docs:build",
"build:fed:packages": "yarn workspace @patternfly/design-tokens build:fed:packages",
"build:scss": "yarn workspace @patternfly/design-tokens build:scss",
"build:scss:core": "yarn build:scss -s '@mixin pf-v6-tokens'",
"build:plugin": "yarn workspace @patternfly/design-tokens build:plugin",
"start": "yarn build && concurrently --kill-others \"yarn workspace @patternfly/design-tokens docs:develop\"",
"serve:docs": "yarn workspace @patternfly/design-tokens docs:serve",
Expand Down Expand Up @@ -45,5 +46,6 @@
"@babel/preset-flow": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"serve": "^14.1.2"
}
},
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}
2 changes: 1 addition & 1 deletion packages/module/build/css/tokens-charts-dark.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

// Do not edit directly
// Generated on Mon, 08 Jul 2024 13:59:54 GMT
// Generated on Thu, 18 Jul 2024 22:27:54 GMT

:root {
--pf-t--chart--global--BorderWidth--lg: 8;
Expand Down
2 changes: 1 addition & 1 deletion packages/module/build/css/tokens-charts.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

// Do not edit directly
// Generated on Mon, 08 Jul 2024 13:59:54 GMT
// Generated on Thu, 18 Jul 2024 22:27:54 GMT

:root {
--pf-t--chart--global--BorderWidth--lg: 8;
Expand Down
2 changes: 1 addition & 1 deletion packages/module/build/css/tokens-dark.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

// Do not edit directly
// Generated on Mon, 08 Jul 2024 13:59:54 GMT
// Generated on Thu, 18 Jul 2024 22:27:54 GMT

:root {
--pf-t--global--background--color--action--plain--default: rgba(0, 0, 0, 0.0000);
Expand Down
44 changes: 33 additions & 11 deletions packages/module/build/css/tokens-default.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

// Do not edit directly
// Generated on Mon, 08 Jul 2024 13:59:54 GMT
// Generated on Thu, 18 Jul 2024 22:27:54 GMT

:root {
--pf-t--global--background--color--500: rgba(21, 21, 21, 0.2000);
Expand Down Expand Up @@ -55,9 +55,9 @@
--pf-t--global--duration--50: 50ms;
--pf-t--global--duration--500: 500ms;
--pf-t--global--duration--600: 600ms;
--pf-t--global--font--family--100: Red Hat Text VF;
--pf-t--global--font--family--200: Red Hat Display VF;
--pf-t--global--font--family--300: Red Hat Mono VF;
--pf-t--global--font--family--100: "Red Hat Text", "RedHatText", "Noto Sans Arabic", "Noto Sans Hebrew", "Noto Sans JP", "Noto Sans KR", "Noto Sans Malayalam", "Noto Sans SC", "Noto Sans TC", "Noto Sans Thai", Helvetica, Arial, sans-serif;
--pf-t--global--font--family--200: "Red Hat Display", "RedHatDisplay", "Noto Sans Arabic", "Noto Sans Hebrew", "Noto Sans JP", "Noto Sans KR", "Noto Sans Malayalam", "Noto Sans SC", "Noto Sans TC", "Noto Sans Thai", Helvetica, Arial, sans-serif;
--pf-t--global--font--family--300: "Red Hat Mono", "RedHatMono", "Courier New", Courier, monospace;
--pf-t--global--font--line-height--100: 1.2999999523162842;
--pf-t--global--font--line-height--200: 1.5;
--pf-t--global--font--size--100: 0.75rem;
Expand Down Expand Up @@ -86,6 +86,10 @@
--pf-t--global--spacer--600: 3rem;
--pf-t--global--spacer--700: 4rem;
--pf-t--global--spacer--800: 5rem;
--pf-t--global--text-decoration--line--100: none;
--pf-t--global--text-decoration--line--200: underline;
--pf-t--global--text-decoration--style--100: solid;
--pf-t--global--text-decoration--style--200: dashed;
--pf-t--global--timing-function--100: cubic-bezier(.4, 0, .7, .2);
--pf-t--global--timing-function--200: cubic-bezier(.4, 0, .2, 1);
--pf-t--global--timing-function--300: cubic-bezier(0, 0, .2, 1);
Expand Down Expand Up @@ -236,8 +240,8 @@
--pf-t--global--font--family--body: var(--pf-t--global--font--family--100);
--pf-t--global--font--family--heading: var(--pf-t--global--font--family--200);
--pf-t--global--font--family--mono: var(--pf-t--global--font--family--300);
--pf-t--global--font--line-height--body: var(--pf-t--global--font--line-height--100);
--pf-t--global--font--line-height--heading: var(--pf-t--global--font--line-height--200);
--pf-t--global--font--line-height--body: var(--pf-t--global--font--line-height--200);
--pf-t--global--font--line-height--heading: var(--pf-t--global--font--line-height--100);
--pf-t--global--font--size--2xl: var(--pf-t--global--font--size--600);
--pf-t--global--font--size--3xl: var(--pf-t--global--font--size--700);
--pf-t--global--font--size--4xl: var(--pf-t--global--font--size--800);
Expand All @@ -246,8 +250,10 @@
--pf-t--global--font--size--sm: var(--pf-t--global--font--size--200);
--pf-t--global--font--size--xl: var(--pf-t--global--font--size--500);
--pf-t--global--font--size--xs: var(--pf-t--global--font--size--100);
--pf-t--global--font--weight--body: var(--pf-t--global--font--weight--100);
--pf-t--global--font--weight--heading: var(--pf-t--global--font--weight--300);
--pf-t--global--font--weight--body--bold: var(--pf-t--global--font--weight--200);
--pf-t--global--font--weight--body--default: var(--pf-t--global--font--weight--100);
--pf-t--global--font--weight--heading--bold: var(--pf-t--global--font--weight--400);
--pf-t--global--font--weight--heading--default: var(--pf-t--global--font--weight--300);
--pf-t--global--icon--color--100: var(--pf-t--color--gray--90);
--pf-t--global--icon--color--200: var(--pf-t--color--gray--50);
--pf-t--global--icon--color--300: var(--pf-t--color--white);
Expand Down Expand Up @@ -286,6 +292,18 @@
--pf-t--global--text--color--link--100: var(--pf-t--color--blue--50);
--pf-t--global--text--color--link--200: var(--pf-t--color--blue--60);
--pf-t--global--text--color--link--300: var(--pf-t--color--purple--50);
--pf-t--global--text-decoration--editable-text--line--default: var(--pf-t--global--text-decoration--line--200);
--pf-t--global--text-decoration--editable-text--line--hover: var(--pf-t--global--text-decoration--line--200);
--pf-t--global--text-decoration--editable-text--style--default: var(--pf-t--global--text-decoration--style--200);
--pf-t--global--text-decoration--editable-text--style--hover: var(--pf-t--global--text-decoration--style--200);
--pf-t--global--text-decoration--help-text--line--default: var(--pf-t--global--text-decoration--line--200);
--pf-t--global--text-decoration--help-text--line--hover: var(--pf-t--global--text-decoration--line--200);
--pf-t--global--text-decoration--help-text--style--default: var(--pf-t--global--text-decoration--style--200);
--pf-t--global--text-decoration--help-text--style--hover: var(--pf-t--global--text-decoration--style--200);
--pf-t--global--text-decoration--link--line--default: var(--pf-t--global--text-decoration--line--200);
--pf-t--global--text-decoration--link--line--hover: var(--pf-t--global--text-decoration--line--200);
--pf-t--global--text-decoration--link--style--default: var(--pf-t--global--text-decoration--style--100);
--pf-t--global--text-decoration--link--style--hover: var(--pf-t--global--text-decoration--style--100);
--pf-t--global--z-index--2xl: var(--pf-t--global--z-index--600);
--pf-t--global--z-index--lg: var(--pf-t--global--z-index--400);
--pf-t--global--z-index--md: var(--pf-t--global--z-index--300);
Expand Down Expand Up @@ -435,17 +453,17 @@
--pf-t--global--motion--duration--slide-out--short: var(--pf-t--global--motion--duration--lg);
--pf-t--global--spacer--action--horizontal--compact: var(--pf-t--global--spacer--md);
--pf-t--global--spacer--action--horizontal--default: var(--pf-t--global--spacer--lg);
--pf-t--global--spacer--action--horizontal--plain: var(--pf-t--global--spacer--sm);
--pf-t--global--spacer--action--horizontal--plain--compact: var(--pf-t--global--spacer--xs);
--pf-t--global--spacer--action--horizontal--plain--default: var(--pf-t--global--spacer--sm);
--pf-t--global--spacer--action--horizontal--spacious: var(--pf-t--global--spacer--xl);
--pf-t--global--spacer--action--vertical--compact: var(--pf-t--global--spacer--xs);
--pf-t--global--spacer--action--vertical--spacious: var(--pf-t--global--spacer--md);
--pf-t--global--spacer--control--horizontal--compact: var(--pf-t--global--spacer--sm);
--pf-t--global--spacer--control--horizontal--default: var(--pf-t--global--spacer--md);
--pf-t--global--spacer--control--horizontal--plain: var(--pf-t--global--spacer--sm);
--pf-t--global--spacer--control--horizontal--spacious: var(--pf-t--global--spacer--lg);
--pf-t--global--spacer--control--vertical--compact: var(--pf-t--global--spacer--xs);
--pf-t--global--spacer--control--vertical--default: var(--pf-t--global--spacer--sm);
--pf-t--global--spacer--control--vertical--plain: var(--pf-t--global--spacer--sm);
--pf-t--global--spacer--control--vertical--spacious: var(--pf-t--global--spacer--md);
--pf-t--global--spacer--gap--action-to-action--default: var(--pf-t--global--spacer--md);
--pf-t--global--spacer--gap--action-to-action--plain: var(--pf-t--global--spacer--xs);
--pf-t--global--spacer--gap--control-to-control--default: var(--pf-t--global--spacer--xs);
Expand All @@ -454,6 +472,8 @@
--pf-t--global--spacer--gap--group-to-group--horizontal: var(--pf-t--global--spacer--2xl);
--pf-t--global--spacer--gap--group-to-group--vertical: var(--pf-t--global--spacer--lg);
--pf-t--global--spacer--gap--text-to-element--default: var(--pf-t--global--spacer--sm);
--pf-t--global--spacer--gutter--default: var(--pf-t--global--spacer--md);
--pf-t--global--spacer--inset--page-chrome: var(--pf-t--global--spacer--lg);
--pf-t--global--text--color--disabled: var(--pf-t--global--color--disabled--200);
--pf-t--global--text--color--inverse: var(--pf-t--global--text--color--300);
--pf-t--global--text--color--link--default: var(--pf-t--global--text--color--link--100);
Expand All @@ -467,6 +487,8 @@
--pf-t--global--text--color--status--warning--default: var(--pf-t--global--color--status--warning--200);
--pf-t--global--text--color--status--warning--hover: var(--pf-t--global--color--status--warning--300);
--pf-t--global--text--color--subtle: var(--pf-t--global--text--color--200);
--pf-t--global--text-decoration--offset--default: var(--pf-t--global--spacer--xs);
--pf-t--global--text-decoration--width--default: var(--pf-t--global--border--width--regular);
--pf-t--global--background--color--control--default: var(--pf-t--global--background--color--primary--default);
--pf-t--global--border--color--alt: var(--pf-t--global--background--color--primary--default);
--pf-t--global--border--color--brand--clicked: var(--pf-t--global--color--brand--clicked);
Expand Down
2 changes: 1 addition & 1 deletion packages/module/build/css/tokens-palette.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

// Do not edit directly
// Generated on Mon, 08 Jul 2024 13:59:54 GMT
// Generated on Thu, 18 Jul 2024 22:27:54 GMT

:root {
--pf-t--color--black: #000000;
Expand Down
50 changes: 36 additions & 14 deletions packages/module/tokens/default/base.dimension.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,20 +106,6 @@
}
},
"font": {
"family": {
"100": {
"type": "string",
"value": "Red Hat Text VF"
},
"200": {
"type": "string",
"value": "Red Hat Display VF"
},
"300": {
"type": "string",
"value": "Red Hat Mono VF"
}
},
"weight": {
"100": {
"type": "number",
Expand Down Expand Up @@ -181,6 +167,20 @@
"type": "number",
"value": 36
}
},
"family": {
"100": {
"type": "string",
"value": "\"Red Hat Text\", \"RedHatText\", \"Noto Sans Arabic\", \"Noto Sans Hebrew\", \"Noto Sans JP\", \"Noto Sans KR\", \"Noto Sans Malayalam\", \"Noto Sans SC\", \"Noto Sans TC\", \"Noto Sans Thai\", Helvetica, Arial, sans-serif"
},
"200": {
"type": "string",
"value": "\"Red Hat Display\", \"RedHatDisplay\", \"Noto Sans Arabic\", \"Noto Sans Hebrew\", \"Noto Sans JP\", \"Noto Sans KR\", \"Noto Sans Malayalam\", \"Noto Sans SC\", \"Noto Sans TC\", \"Noto Sans Thai\", Helvetica, Arial, sans-serif"
},
"300": {
"type": "string",
"value": "\"Red Hat Mono\", \"RedHatMono\", \"Courier New\", Courier, monospace"
}
}
},
"z-index": {
Expand Down Expand Up @@ -328,6 +328,28 @@
"type": "number",
"value": 1450
}
},
"text-decoration": {
"line": {
"100": {
"type": "string",
"value": "none"
},
"200": {
"type": "string",
"value": "underline"
}
},
"style": {
"100": {
"type": "string",
"value": "solid"
},
"200": {
"type": "string",
"value": "dashed"
}
}
}
}
}
Loading

0 comments on commit f56b399

Please sign in to comment.