Skip to content

Commit 2feb907

Browse files
committed
feat(unity-bootstrap-theme): added style and example for input type submit
UDS-1915
1 parent 5759598 commit 2feb907

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

packages/unity-bootstrap-theme/src/scss/extends/_form-fields.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,7 @@ form.uds-form {
6363
textarea:focus,
6464
select:focus {
6565
outline: none!important;
66-
box-shadow: 0 0 0 1px $uds-color-base-gray-7 !important;
67-
border: 1px solid $uds-color-base-gray-7 !important;
66+
box-shadow: $uds-color-base-white 0px 0px 0px 2px, $uds-color-base-gray-7 0px 0px 0px 4px !important;
6867
border-radius: none;
6968
}
7069

packages/unity-bootstrap-theme/stories/atoms/buttons/buttons.examples.stories.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@ export const ButtonColorsComponent = () => (
4949
<button type="button" className="btn btn-dark">
5050
Dark
5151
</button>
52+
<hr />
53+
<form className="uds-form">
54+
<input class="btn-maroon btn btn-primary" type="submit" value="Send message"></input>
55+
</form>
56+
<hr />
5257
</div>
5358
);
5459

0 commit comments

Comments
 (0)