From 672dd7b9a82c152a789e034e0b13e9e1b63330ef Mon Sep 17 00:00:00 2001 From: Ammar Abdulhamid Date: Sat, 11 Jan 2020 05:40:49 +0100 Subject: [PATCH] Upgrade skin.json schema to manifest_version 2 Bug: T242469 Change-Id: Idb96560efc8517ee8d353e856eb3a272af51ed4c --- skin.json | 31 ++++++++++++++++++++++--------- 1 file changed, 22 insertions(+), 9 deletions(-) diff --git a/skin.json b/skin.json index ea110999..f08fcc60 100644 --- a/skin.json +++ b/skin.json @@ -39,7 +39,10 @@ "ResourceModules": { "skins.vector.styles": { "class": "Vector\\ResourceLoaderLessModule", - "targets": [ "desktop", "mobile" ], + "targets": [ + "desktop", + "mobile" + ], "styles": { "screen.less": { "media": "screen" @@ -47,12 +50,14 @@ "screen-hd.less": { "media": "screen and ( min-width: 982px )" }, - "print.less": {} + "print.less": [] } }, - "skins.vector.styles.responsive": { - "targets": [ "desktop", "mobile" ], + "targets": [ + "desktop", + "mobile" + ], "styles": [ "responsive.less" ] @@ -98,10 +103,18 @@ } }, "config": { - "VectorUseSimpleSearch": true, - "VectorUseIconWatch": true, - "VectorResponsive": false, - "VectorPrintLogo": false + "VectorUseSimpleSearch": { + "value": true + }, + "VectorUseIconWatch": { + "value": true + }, + "VectorResponsive": { + "value": false + }, + "VectorPrintLogo": { + "value": false + } }, - "manifest_version": 1 + "manifest_version": 2 }