Skip to content

Commit

Permalink
[Amsterdam] Improve modals (#3515)
Browse files Browse the repository at this point in the history
* Remove modal border & improve overlay color

* Remove amsterdam modal border-radius

* Adjust overlay mask transparency

* Add changes to CHANGELOG

* Adjust EuiImage caption for darker overlay
  • Loading branch information
johnbarrierwilson authored May 29, 2020
1 parent a3c80cc commit 29174cb
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@

- Removed `src-framer` files from the repository ([#3487](https://github.com/elastic/eui/pull/3487))

**Theme: Amsterdam**

- Removed borders `EuiModal` ([#3515](https://github.com/elastic/eui/pull/3515))
- Improve `EuiOverlayMask` colors ([#3515](https://github.com/elastic/eui/pull/3515))

## [`24.0.0`](https://github.com/elastic/eui/tree/v24.0.0)

Expand Down
6 changes: 6 additions & 0 deletions src/themes/eui-amsterdam/overrides/_image.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.euiImage-isFullScreen {
.euiImage__caption {
color: $euiColorGhost;
text-shadow: 0 1px 2px transparentize($euiColorInk, .6);
}
}
3 changes: 3 additions & 0 deletions src/themes/eui-amsterdam/overrides/_index.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
@import 'button';
@import 'button_empty';
@import 'button_group';
@import 'image';
@import 'modal';
@import 'overlay_mask';
@import 'text';
3 changes: 3 additions & 0 deletions src/themes/eui-amsterdam/overrides/_modal.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.euiModal {
border: none;
}
3 changes: 3 additions & 0 deletions src/themes/eui-amsterdam/overrides/_overlay_mask.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.euiOverlayMask {
background: transparentize($euiColorInk, .5);
}

0 comments on commit 29174cb

Please sign in to comment.