forked from cerner/terra-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[terra-core] clinical-lowlight-theme port (cerner#2758)
* configuration changes * theme files and changelog * wdio screenshot generated * theme file updates * merge updates * Custom wdio configs to disable accessibility tests * markdown wdio screenshot update * changelog * separate docker service for lowlight theme * removed dialog-modal theme variables * changelog corrections after merge * updated lowlight button screenshots * Adding lowlight disabled button styles * Updated lowlight wdio screenshots * changed toolkit reference to master * lowlight theme screenshot update * docker-compose file update * addressed review comments and updated lowlight theme screenshots * lowlight theme button hover border colors updated * search field wdio screenshot updates * screenshot updates * updated screenshots lowlight * screenshot updates - default theme * search field wdio screenshots * searchfield wdio screenshot update * searchfield lowlight wdio screenshot update * W D I O * revert search field wdio changes * lowlight theme wdio screenshots updated * cleaned lowlight theme scss files * terra-alert custom color fix * added generated-themes to all ignore files * screenshots updates after table uplift * commented table test for row * addressed review comments * using test-ci service for lowlight theme * travis.yml changes * t r a v i s * removed clinical-lowlight-theme wdio screenshots * changelog updates * commented out lowlight theme wdio on travis * reverted temporary table wdio fix * updated terra-icon missed tests and package.json * added remaining lowlight wdio config * updated wdio config files * change * travis.yml documentation Co-authored-by: Ryan Manuel <[email protected]> Co-authored-by: Neil Pfeiffer <[email protected]> Co-authored-by: Matt Henkes <[email protected]>
- Loading branch information
1 parent
30d56d9
commit 39ff08a
Showing
344 changed files
with
2,104 additions
and
445 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,3 +8,4 @@ node_modules | |
packages/*/node_modules | ||
lib | ||
build | ||
generated-themes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ node_modules | |
coverage | ||
build | ||
**/aggregated-translations/*.* | ||
generated-themes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
const defaultConfig = require('../../../node_modules/terra-toolkit/config/wdio/wdio.conf'); | ||
|
||
// Disabling color contrast rule for clinical-lowlight-theme. May not be addressed, since these rules | ||
// are designed for normal lighting situations and NOT for specialized lighting situations (lowlight) | ||
const config = { | ||
...defaultConfig.config, | ||
axe: { | ||
...defaultConfig.config.axe, | ||
options: { | ||
rules: [ | ||
{ id: 'color-contrast', enabled: false }, | ||
], | ||
}, | ||
}, | ||
}; | ||
|
||
exports.config = config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
const path = require('path'); | ||
const wdioConf = require('../../config/wdio/clinical-lowlight-theme/wdio.conf.js'); | ||
|
||
wdioConf.config.specs = [path.join(__dirname, 'tests', 'wdio', '**', '*-spec.js')]; | ||
|
||
exports.config = wdioConf.config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
packages/terra-action-footer/themes/clinical-lowlight-theme/clinical-lowlight-theme.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
:global { | ||
--terra-action-footer-background-color: transparent; | ||
--terra-action-footer-border-top: 0.07143rem solid #181b1d; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
const path = require('path'); | ||
const wdioConf = require('../../node_modules/terra-toolkit/config/wdio/wdio.conf'); | ||
|
||
wdioConf.config.specs = [path.join(__dirname, 'test*', 'wdio', '**', '*-spec.js')]; | ||
wdioConf.config.specs = [path.join(__dirname, 'tests', 'wdio', '**', '*-spec.js')]; | ||
|
||
exports.config = wdioConf.config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
const path = require('path'); | ||
const wdioConf = require('../../config/wdio/clinical-lowlight-theme/wdio.conf.js'); | ||
|
||
wdioConf.config.specs = [path.join(__dirname, 'tests', 'wdio', '**', '*-spec.js')]; | ||
|
||
exports.config = wdioConf.config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
packages/terra-action-header/themes/clinical-lowlight-theme/clinical-lowlight-theme.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
@import '~terra-mixins/lib/Mixins'; | ||
|
||
:global { | ||
--terra-action-header-background-color: #141719; | ||
--terra-action-header-border-bottom: 1px solid #181d1b; | ||
--terra-action-header-border-left: none; | ||
--terra-action-header-border-right: none; | ||
--terra-action-header-border-top: none; | ||
--terra-action-header-box-shadow: none; | ||
--terra-action-header-color: #b2b5b6; | ||
|
||
@include terra-inline-svg-var('--terra-action-header-back-background-image', '<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path fill="#c5c5c6" d="M48 21H10.6L27.3 3.9 23.5.1 0 24l23.5 23.9 3.8-3.8L10.6 27H48z"></path></svg>'); | ||
@include terra-inline-svg-var('--terra-action-header-close-background-image', '<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path fill="#c5c5c6" d="M28.2 24L42.9 9.1 40.8 7l-1.7-1.6-.4-.5L24 19.7 9.4 4.9 7.2 7 5.6 8.6l-.5.5L19.8 24 5.1 38.9 7.2 41l1.7 1.6.5.5L24 28.3l14.7 14.8.4-.5 1.7-1.6 2.1-2.1L28.2 24z"></path></svg>'); | ||
@include terra-inline-svg-var('--terra-action-header-maximize-background-image', '<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path fill="#c5c5c6" d="M17.7 26.1L6.9 36.9 0 30v18h18l-6.9-6.9 10.8-10.8zM48 0H30l6.9 6.9-10.8 10.8 4.2 4.2 10.8-10.8L48 18z"></path></svg>'); | ||
@include terra-inline-svg-var('--terra-action-header-minimize-background-image', '<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path fill="#c5c5c6" d="M10.8 32.9L0 43.7 4.2 48l10.9-10.8 6.9 6.9V26H3.9zM48 4.2L43.8 0 32.9 10.8 26 3.9V22h18.1l-6.9-6.9z"></path></svg>'); | ||
@include terra-inline-svg-var('--terra-action-header-next-background-image', '<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path fill="#c5c5c6" d="M24 37.7L0 14.2l3.8-3.9L24 30l20.2-19.7 3.8 3.9z"></path></svg>'); | ||
@include terra-inline-svg-var('--terra-action-header-previous-background-image', '<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path fill="#c5c5c6" d="M24 10.3l24 23.5-3.8 3.9L24 18 3.8 37.7 0 33.8z"></path></svg>'); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
const path = require('path'); | ||
const wdioConf = require('../../node_modules/terra-toolkit/config/wdio/wdio.conf'); | ||
|
||
wdioConf.config.specs = [path.join(__dirname, 'test*', 'wdio', '**', '*-spec.js')]; | ||
wdioConf.config.specs = [path.join(__dirname, 'tests', 'wdio', '**', '*-spec.js')]; | ||
|
||
exports.config = wdioConf.config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
const path = require('path'); | ||
const wdioConf = require('../../config/wdio/clinical-lowlight-theme/wdio.conf.js'); | ||
|
||
wdioConf.config.specs = [path.join(__dirname, 'tests', 'wdio', '**', '*-spec.js')]; | ||
|
||
exports.config = wdioConf.config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
packages/terra-alert/themes/clinical-lowlight-theme/clinical-lowlight-theme.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
:global { | ||
--terra-alert-alert-background-color: #332425; | ||
--terra-alert-alert-title-color: #fb4c4c; | ||
|
||
--terra-alert-custom-background-color: #1a2226; | ||
--terra-alert-custom-text-color: #b2b5b6; | ||
|
||
--terra-alert-error-background-color: #332425; | ||
--terra-alert-error-title-color: #fb4c4c; | ||
|
||
--terra-alert-advisory-background-color: #1a2226; | ||
--terra-alert-info-background-color: #1a2226; | ||
--terra-alert-success-background-color: #1a2226; | ||
--terra-alert-warning-background-color: #464232; | ||
|
||
--terra-alert-custom-default-color: #1c1f21; | ||
|
||
--terra-alert-color: #b2b5b6; | ||
|
||
--terra-alert-advisory-box-shadow: 2px 0 0 #5a81ff inset; | ||
--terra-alert-alert-box-shadow: 2px 0 0 #fb4c4c inset; | ||
--terra-alert-custom-box-shadow: 2px 0 0 #9b9fa1 inset; | ||
--terra-alert-error-box-shadow: 2px 0 0 #fb4c4c inset; | ||
--terra-alert-info-box-shadow: 2px 0 0 #5a81ff inset; | ||
--terra-alert-success-box-shadow: 2px 0 0 #407d17 inset; | ||
--terra-alert-warning-box-shadow: 2px 0 0 #ffb166 inset; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
const path = require('path'); | ||
const wdioConf = require('../../node_modules/terra-toolkit/config/wdio/wdio.conf'); | ||
|
||
wdioConf.config.specs = [path.join(__dirname, 'test*', 'wdio', '**', '*-spec.js')]; | ||
wdioConf.config.specs = [path.join(__dirname, 'tests', 'wdio', '**', '*-spec.js')]; | ||
|
||
exports.config = wdioConf.config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
const path = require('path'); | ||
const wdioConf = require('../../config/wdio/clinical-lowlight-theme/wdio.conf.js'); | ||
|
||
wdioConf.config.specs = [path.join(__dirname, 'tests', 'wdio', '**', '*-spec.js')]; | ||
|
||
exports.config = wdioConf.config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
const path = require('path'); | ||
const wdioConf = require('../../node_modules/terra-toolkit/config/wdio/wdio.conf'); | ||
|
||
wdioConf.config.specs = [path.join(__dirname, 'test*', 'wdio', '**', '*-spec.js')]; | ||
wdioConf.config.specs = [path.join(__dirname, 'tests', 'wdio', '**', '*-spec.js')]; | ||
|
||
exports.config = wdioConf.config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
const path = require('path'); | ||
const wdioConf = require('../../config/wdio/clinical-lowlight-theme/wdio.conf.js'); | ||
|
||
wdioConf.config.specs = [path.join(__dirname, 'tests', 'wdio', '**', '*-spec.js')]; | ||
|
||
exports.config = wdioConf.config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.