diff --git a/package-lock.json b/package-lock.json index 9c4321e..6ab4e59 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,6 +11,7 @@ "dependencies": { "@babel/cli": "^7.19.3", "@babel/node": "^7.18.10", + "@wikimedia/codex-design-tokens": "^1.13.0", "less": "4.1.0", "mediawiki-skins-cli": "0.5.6", "mediawiki-skins-cli-latest": "npm:mediawiki-skins-cli@1.43.0", @@ -3321,6 +3322,15 @@ "vue-template-compiler": "^2.x" } }, + "node_modules/@wikimedia/codex-design-tokens": { + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/@wikimedia/codex-design-tokens/-/codex-design-tokens-1.13.0.tgz", + "integrity": "sha512-cg779hPs54x/L/+I6slEoDe5pYmSP0Ryj9NNmeqzehq95lERfYhenCxGBEZeQOqtP73SBy/7RpxyX1gFTBQP6g==", + "engines": { + "node": ">=18", + "npm": ">=7.21.0" + } + }, "node_modules/abab": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.6.tgz", @@ -22151,6 +22161,11 @@ "pretty": "^2.0.0" } }, + "@wikimedia/codex-design-tokens": { + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/@wikimedia/codex-design-tokens/-/codex-design-tokens-1.13.0.tgz", + "integrity": "sha512-cg779hPs54x/L/+I6slEoDe5pYmSP0Ryj9NNmeqzehq95lERfYhenCxGBEZeQOqtP73SBy/7RpxyX1gFTBQP6g==" + }, "abab": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.6.tgz", diff --git a/package.json b/package.json index 73f2ede..b551cb7 100644 --- a/package.json +++ b/package.json @@ -31,10 +31,10 @@ "vue-template-compiler": "2.6.12" }, "dependencies": { - "@babel/cli": "^7.19.3", - "@babel/node": "^7.18.10", + "@babel/cli": "7.19.3", + "@babel/node": "7.18.10", + "@wikimedia/codex-design-tokens": "1.13.0", "less": "4.1.0", - "mediawiki-skins-cli": "0.5.6", "mediawiki-skins-cli-latest": "npm:mediawiki-skins-cli@1.43.0", "mustache": "4.1.0", "node-fetch": "3.2.10", diff --git a/src/constants.js b/src/constants.js index f1f3bcf..0a0fb34 100644 --- a/src/constants.js +++ b/src/constants.js @@ -24,6 +24,7 @@ export const SKIN_KEY_SPECIAL_CASES = { // sync with resources/src/mediawiki.less/mediawiki.skin.defaults.less in mediawiki/core export const LESS_GLOBAL_VARS = { + 'z-index-stacking-1': '1', 'min-width-breakpoint-mobile': '320px', 'min-width-breakpoint-tablet': '720px', 'min-width-breakpoint-desktop': '1000px' diff --git a/src/pages/Add.vue b/src/pages/Add.vue index 35b26aa..53df242 100644 --- a/src/pages/Add.vue +++ b/src/pages/Add.vue @@ -16,13 +16,7 @@