-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WebComponents]Updated colour theme (#305)
* Add them color to navigation and selfie instruction screens Add theme color control to selfie instruction stories * Add theme color to selfie capture screen * Add theme color to selfie capture review screens * Add theme color to selfie capture flows * Add theme color to document capture instructions * Add theme color to document capture * Add theme to document capture review * Add theme color to document capture flows * Add theme color to new smart camera web * use primary color as default them * Add theme color support to end user consent * Fix theme color not propagating * Fix lint * update change log * Fix lint * Add theme color test
- Loading branch information
Showing
33 changed files
with
600 additions
and
168 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
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
14 changes: 10 additions & 4 deletions
14
packages/web-components/components/camera-permission/CameraPermission.stories.js
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,21 +1,27 @@ | ||
import './CameraPermission'; | ||
|
||
const meta = { | ||
args: { | ||
'theme-color': '#001096', | ||
}, | ||
argTypes: { | ||
'theme-color': { control: 'color' }, | ||
}, | ||
component: 'camera-permission', | ||
}; | ||
|
||
export default meta; | ||
|
||
export const CameraPermission = { | ||
render: () => ` | ||
<camera-permission> | ||
render: (args) => ` | ||
<camera-permission theme-color='${args['theme-color']}'> | ||
</camera-permission> | ||
`, | ||
}; | ||
|
||
export const CameraPermissionAtributes = { | ||
render: () => ` | ||
<camera-permission show-navigation> | ||
render: (args) => ` | ||
<camera-permission theme-color='${args['theme-color']}' show-navigation> | ||
</camera-permission> | ||
`, | ||
}; |
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
28 changes: 16 additions & 12 deletions
28
packages/web-components/components/document/src/DocumentCaptureScreens.stories.js
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
Oops, something went wrong.