Skip to content

Commit

Permalink
Fixed color contrast issues with links and prev/next diff buttons.
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyanziano committed Dec 9, 2019
1 parent 9d8abf7 commit a09da63
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 12 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- [2010](https://github.com/microsoft/BotFramework-Emulator/pull/2010)
- [2012](https://github.com/microsoft/BotFramework-Emulator/pull/2012)
- [2017](https://github.com/microsoft/BotFramework-Emulator/pull/2017)
- [2019](https://github.com/microsoft/BotFramework-Emulator/pull/2019)

- [main] Increased ngrok spawn timeout to 15 seconds to be more forgiving to slower networks in PR [1998](https://github.com/microsoft/BotFramework-Emulator/pull/1998)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,23 +65,27 @@
}

.left-arrow {
background-image: url('../../../../media/ic_next.svg');
background-position: 50% 50%;
background-color: var(--accessory-button-icon-color);
-webkit-mask: url('../../../../media/ic_next.svg') no-repeat 50% 50%;
-webkit-mask-size: 16px;
transform: rotate(180deg);
}

.left-arrow-selected {
background-image: url('../../../../media/ic_next.svg');
background-position: 50% 50%;
background-color: var(--accessory-button-icon-color);
-webkit-mask: url('../../../../media/ic_next.svg') no-repeat 50% 50%;
-webkit-mask-size: 16px;
transform: rotate(180deg);
}

.right-arrow {
background-image: url('../../../../media/ic_next.svg');
background-position: 50% 50%;
background-color: var(--accessory-button-icon-color);
-webkit-mask: url('../../../../media/ic_next.svg') no-repeat 50% 50%;
-webkit-mask-size: 16px;
}

.right-arrow-selected {
background-image: url('../../../../media/ic_next.svg');
background-position: 50% 50%;
background-color: var(--accessory-button-icon-color);
-webkit-mask: url('../../../../media/ic_next.svg') no-repeat 50% 50%;
-webkit-mask-size: 16px;
}
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
}

.explorer-link {
color: var(--dialog-link-color);
color: var(--explorer-link-color);
}

.explorer-empty-state {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ul > li > input[type="text"] {
}

.explorer-link {
color: var(--dialog-link-color);
color: var(--explorer-link-color);
text-decoration: none;
line-height: 20px;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ ul > li > svg {
}

.explorer-link {
color: var(--dialog-link-color);
color: var(--explorer-link-color);
text-decoration: none;
line-height: 20px;
}
Expand Down
4 changes: 3 additions & 1 deletion packages/app/client/src/ui/styles/themes/dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ html {
--explorer-panel-group-title-color: var(--neutral-4);
--explorer-panel-group-border: 1px solid transparent;
--explorer-panel-empty-message-color: var(--neutral-5);
--explorer-link-color: #40A6FF;

/* Explorer Bar */
--explorer-bar-header-bg: var(--neutral-14);
Expand Down Expand Up @@ -220,7 +221,7 @@ html {
--status-bar-color: #FFFFFF;

/* Links */
--link-color: #3062D6;
--link-color: #3794FF;
--link-color-disabled: #C8C8C8;
--inspector-link-color: #75BEFF;

Expand Down Expand Up @@ -249,6 +250,7 @@ html {

/* accessory buttons */
--accessory-button-color: var(--neutral-5);
--accessory-button-icon-color: var(--link-color);

/* Auto Complete */
--auto-complete-results-opacity: 0.9;
Expand Down
2 changes: 2 additions & 0 deletions packages/app/client/src/ui/styles/themes/high-contrast.css
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ html {
--explorer-panel-group-title-color: var(--neutral-1);
--explorer-panel-group-border: 1px solid #72C3DF;
--explorer-panel-empty-message-color: var(--neutral-4);
--explorer-link-color: var(--link-color);

/* Explorer Bar */
--explorer-bar-header-bg: var(--neutral-16);
Expand Down Expand Up @@ -248,6 +249,7 @@ html {

/* Inspector accessory buttons */
--accessory-button-color: var(--neutral-5);
--accessory-button-icon-color: #72C3DF;

/* Auto Complete */
--auto-complete-results-opacity: 1;
Expand Down
2 changes: 2 additions & 0 deletions packages/app/client/src/ui/styles/themes/light.css
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ html {
--explorer-panel-group-border: 1px solid transparent;
--explorer-panel-empty-message-color: var(--neutral-15);
--service-panescrollbar-color: var(--neutral-13);
--explorer-link-color: var(--dialog-link-color);

/* Explorer Bar */
--explorer-bar-header-bg: var(--neutral-3);
Expand Down Expand Up @@ -249,6 +250,7 @@ html {

/* Inspector accessory buttons */
--accessory-button-color: var(--s-button-color);
--accessory-button-icon-color: var(--link-color);

/* Auto Complete */
--auto-complete-results-opacity: 0.9;
Expand Down

0 comments on commit a09da63

Please sign in to comment.