Skip to content

Commit

Permalink
Merge pull request #372 from hmanchev/newTheme
Browse files Browse the repository at this point in the history
feat: add sap_horizon as supported theme
  • Loading branch information
hmanchev authored Oct 3, 2022
2 parents 4b508df + 9f328e0 commit 7af54b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/config/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Values and defaults:
* platformName - one of (windows|mac|linux|android|ios|winphone)} - platform name, default: windows
* platformVersion - platform number like 7,8 for windows; 4.4,5.0 for android;, default: *
* platformResolution - format: /\d+x\d+/- platform resolution, WIDTHxHEIGHT, default: resolved from available
* ui5.theme - one of (bluecrystal|belize|fiori_3|fiori_3_dark) - UI5 theme, default belize
* ui5.theme - one of (bluecrystal|belize|fiori_3|fiori_3_dark|sap_horizon) - UI5 theme, default belize
* ui5.direction - one of (rtl|ltr) - UI5 direction, default: ltr
* ui5.mode - one of (cosy|compact) - UI5 mode, default: cosy

Expand Down
4 changes: 2 additions & 2 deletions src/runtimeResolver.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var supportedPlatformNames = [
'windows','mac','linux','android','ios','winphone'
];
var supportedUI5Themes = [
'bluecrystal','belize','fiori_3','fiori_3_dark'
'bluecrystal','belize','fiori_3','fiori_3_dark','sap_horizon'
];
var supportedUI5Directions = [
'ltr','rtl'
Expand All @@ -46,7 +46,7 @@ var supportedUI5Modes = [
* @param {string(windows|mac|linux|android|ios|winphone)} platformName - platform name, default: windows
* @param {number} platformVersion - platform number like 7,8 for windows; 4.4,5.0 for android;, default: *
* @param {string(default|/\d+x\d+/)} platformResolution - platform resolution, WIDTHxHEIGHT, default: resolved from available
* @param {string(bluecrystal|belize|fiori_3|fiori_3_dark)} ui5.theme - UI5 theme, default belize
* @param {string(bluecrystal|belize|fiori_3|fiori_3_dark|sap_horizon)} ui5.theme - UI5 theme, default belize
* @param {string(rtl|ltr)} ui5.direction - UI5 direction, default: ltr
* @param {string(cozy|compact)} ui5.mode - UI5 mode, default: cozy
* @param {Object} capabilities - additional browser capabilities object
Expand Down

0 comments on commit 7af54b5

Please sign in to comment.