Skip to content

Commit

Permalink
fix: Changed type for design token print-page-size (#3388)
Browse files Browse the repository at this point in the history
* fix: fixed design tokens build

* refactor: updated style-dictionary version
  • Loading branch information
PKulkoRaccoonGang authored Jan 28, 2025
1 parent 14511c3 commit 5f3298b
Show file tree
Hide file tree
Showing 8 changed files with 2,716 additions and 2,716 deletions.
2 changes: 1 addition & 1 deletion bin/paragon-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ const COMMANDS = {
sendTrackInfo('openedx.paragon.cli-command.used', { command, status: 'success' });
} catch (error) {
// eslint-disable-next-line no-console
console.error(chalk.red.bold('An error occurred:', error.message));
console.error(chalk.red.bold('An error occurred:', error));
sendTrackInfo('openedx.paragon.cli-command.used', { command, status: 'error', errorMsg: error.message });
process.exit(1);
}
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
"react-table": "^7.7.0",
"react-transition-group": "^4.4.2",
"sass": "^1.58.3",
"style-dictionary": "^4.0.1",
"style-dictionary": "^4.3.2",
"tabbable": "^5.3.3",
"uncontrollable": "^7.2.1",
"uuid": "^9.0.0"
Expand Down
1,312 changes: 656 additions & 656 deletions styles/css/core/variables.css

Large diffs are not rendered by default.

4,102 changes: 2,051 additions & 2,051 deletions styles/css/themes/light/variables.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion styles/scss/core/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -851,7 +851,7 @@ $user-selects: all, auto, none !default;

// Printing

$print-page-size: var(--pgn-typography-print-page-size) !default;
$print-page-size: var(--pgn-print-page-size) !default;
$print-body-min-width: map.get($grid-breakpoints, "lg") !default;

// List group
Expand Down
5 changes: 5 additions & 0 deletions tokens/src/core/global/other.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,10 @@
"$type": "percentage",
"source": "$theme-color-interval",
"$value": "8%"
},
"print-page-size": {
"source": "$print-page-size",
"$value": "a3",
"$type": "text"
}
}
5 changes: 0 additions & 5 deletions tokens/src/core/global/typography.json
Original file line number Diff line number Diff line change
Expand Up @@ -276,11 +276,6 @@
"$description": "Mobile display line height."
}
}
},
"print-page-size": {
"source": "$print-page-size",
"$value": "a3",
"$type": "dimension"
}
}
}

0 comments on commit 5f3298b

Please sign in to comment.