@openedx/paragon 23.5.1 → 23.6.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/bin/paragon-scripts.js +5 -1
- package/dist/light.css +2 -2
- package/dist/light.css.map +1 -1
- package/dist/light.min.css +1 -1
- package/lib/__tests__/build-scss.test.js +146 -0
- package/lib/__tests__/build-tokens.test.js +106 -0
- package/lib/__tests__/help.test.js +301 -0
- package/lib/__tests__/install-theme.test.js +66 -0
- package/lib/__tests__/migrate-to-openedx-scope.test.js +106 -0
- package/lib/__tests__/replace-variables.test.js +79 -0
- package/lib/__tests__/utils.test.js +87 -0
- package/lib/__tests__/version.test.js +20 -0
- package/lib/build-scss.js +1 -0
- package/lib/help.js +4 -1
- package/package.json +2 -1
- package/styles/css/themes/light/variables.css +2 -2
- package/tokens/__mocks__/style-dictionary.js +24 -0
- package/tokens/src/themes/light/components/Menu.json +2 -2
package/bin/paragon-scripts.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
const chalk = require('chalk');
|
|
3
3
|
const themeCommand = require('../lib/install-theme');
|
|
4
|
-
const helpCommand = require('../lib/help');
|
|
4
|
+
const { helpCommand } = require('../lib/help');
|
|
5
5
|
const buildTokensCommand = require('../lib/build-tokens');
|
|
6
6
|
const replaceVariablesCommand = require('../lib/replace-variables');
|
|
7
7
|
const buildScssCommand = require('../lib/build-scss');
|
|
@@ -224,3 +224,7 @@ const COMMANDS = {
|
|
|
224
224
|
process.exit(1);
|
|
225
225
|
}
|
|
226
226
|
})();
|
|
227
|
+
|
|
228
|
+
module.exports = {
|
|
229
|
+
COMMANDS,
|
|
230
|
+
};
|
package/dist/light.css
CHANGED
|
@@ -1399,7 +1399,8 @@
|
|
|
1399
1399
|
--pgn-color-icon-button-text-black-inverse-active-focus: var(--pgn-color-icon-button-text-black-inverse-active-base);
|
|
1400
1400
|
--pgn-color-image-figure-caption: var(--pgn-color-gray-500);
|
|
1401
1401
|
--pgn-color-menu-item-color: var(--pgn-color-body-base);
|
|
1402
|
-
--pgn-color-menu-item-hover-color: var(--pgn-color-btn-text-tertiary);
|
|
1402
|
+
--pgn-color-menu-item-hover-color: var(--pgn-color-btn-hover-text-tertiary);
|
|
1403
|
+
--pgn-color-menu-item-focus-bg: var(--pgn-color-light-500);
|
|
1403
1404
|
--pgn-color-menu-select-btn-link-color: var(--pgn-color-primary-500);
|
|
1404
1405
|
--pgn-color-modal-content-bg: var(--pgn-color-bg-base);
|
|
1405
1406
|
--pgn-color-nav-tabs-base-border-base: var(--pgn-color-light-400);
|
|
@@ -1812,7 +1813,6 @@
|
|
|
1812
1813
|
--pgn-color-icon-button-text-danger-inverse-active-focus: var(--pgn-color-icon-button-text-danger-inverse-active-base);
|
|
1813
1814
|
--pgn-color-image-thumbnail-bg: var(--pgn-color-body-bg);
|
|
1814
1815
|
--pgn-color-menu-item-hover-bg: var(--pgn-color-btn-hover-bg-tertiary);
|
|
1815
|
-
--pgn-color-menu-item-focus-bg: var(--pgn-color-btn-active-bg-tertiary);
|
|
1816
1816
|
--pgn-color-nav-tabs-inverse-link-bg-hover: var(--pgn-color-nav-tabs-inverse-link-border-bottom);
|
|
1817
1817
|
--pgn-color-nav-pills-base-link-active-bg: var(--pgn-color-bg-active);
|
|
1818
1818
|
--pgn-color-nav-pills-base-link-border: var(--pgn-color-nav-tabs-base-border-base);
|