-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add high contrast implementation (#28956)
- Loading branch information
1 parent
4d8aff0
commit c147895
Showing
32 changed files
with
268 additions
and
72 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
Binary file added
BIN
+4.66 KB
...shots/toast-high-contrast-buttons-ios-ltr-high-contrast-Mobile-Chrome-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+5.05 KB
...hots/toast-high-contrast-buttons-ios-ltr-high-contrast-Mobile-Firefox-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.32 KB
...shots/toast-high-contrast-buttons-ios-ltr-high-contrast-Mobile-Safari-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-110 Bytes
(98%)
.../toast-high-contrast-buttons-ios-ltr-high-contrast-dark-Mobile-Chrome-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+214 Bytes
(100%)
...toast-high-contrast-buttons-ios-ltr-high-contrast-dark-Mobile-Firefox-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-111 Bytes
(98%)
.../toast-high-contrast-buttons-ios-ltr-high-contrast-dark-Mobile-Safari-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-4.65 KB
...toast-high-contrast-buttons-ios-ltr-high-contrast-light-Mobile-Chrome-linux.png
Binary file not shown.
Binary file removed
BIN
-4.72 KB
...oast-high-contrast-buttons-ios-ltr-high-contrast-light-Mobile-Firefox-linux.png
Binary file not shown.
Binary file removed
BIN
-4.33 KB
...toast-high-contrast-buttons-ios-ltr-high-contrast-light-Mobile-Safari-linux.png
Binary file not shown.
Binary file added
BIN
+3.79 KB
...pshots/toast-high-contrast-buttons-md-ltr-high-contrast-Mobile-Chrome-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.07 KB
...shots/toast-high-contrast-buttons-md-ltr-high-contrast-Mobile-Firefox-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+3.53 KB
...pshots/toast-high-contrast-buttons-md-ltr-high-contrast-Mobile-Safari-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+40 Bytes
(100%)
...s/toast-high-contrast-buttons-md-ltr-high-contrast-dark-Mobile-Chrome-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+42 Bytes
(100%)
.../toast-high-contrast-buttons-md-ltr-high-contrast-dark-Mobile-Firefox-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-12 Bytes
(100%)
...s/toast-high-contrast-buttons-md-ltr-high-contrast-dark-Mobile-Safari-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-3.79 KB
.../toast-high-contrast-buttons-md-ltr-high-contrast-light-Mobile-Chrome-linux.png
Binary file not shown.
Binary file removed
BIN
-4.07 KB
...toast-high-contrast-buttons-md-ltr-high-contrast-light-Mobile-Firefox-linux.png
Binary file not shown.
Binary file removed
BIN
-3.53 KB
.../toast-high-contrast-buttons-md-ltr-high-contrast-light-Mobile-Safari-linux.png
Binary file not shown.
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,13 +1,13 @@ | ||
@import "./high-contrast-dark"; | ||
|
||
.ion-theme-high-contrast-dark { | ||
.ion-theme-high-contrast.ion-theme-dark { | ||
@include high-contrast-dark-base-theme(); | ||
} | ||
|
||
.ion-theme-high-contrast-dark.ios { | ||
.ion-theme-high-contrast.ion-theme-dark.ios { | ||
@include high-contrast-dark-ios-theme(); | ||
} | ||
|
||
.ion-theme-high-contrast-dark.md { | ||
.ion-theme-high-contrast.ion-theme-dark.md { | ||
@include high-contrast-dark-md-theme(); | ||
} |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,9 @@ | ||
@import "./high-contrast"; | ||
|
||
:root { | ||
@include high-contrast-light-base-theme(); | ||
} | ||
|
||
.md body { | ||
@include high-contrast-light-md-theme(); | ||
} |
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,9 @@ | ||
@import "./high-contrast"; | ||
|
||
.ion-theme-high-contrast { | ||
@include high-contrast-light-base-theme(); | ||
} | ||
|
||
.ion-theme-high-contrast.md { | ||
@include high-contrast-light-md-theme(); | ||
} |
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
6 changes: 5 additions & 1 deletion
6
...ss/themes/high-contrast-light.system.scss → .../src/css/themes/high-contrast.system.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 |
---|---|---|
@@ -1,7 +1,11 @@ | ||
@import "./high-contrast-light"; | ||
@import "./high-contrast"; | ||
|
||
@media (prefers-contrast: more) { | ||
:root { | ||
@include high-contrast-light-base-theme(); | ||
} | ||
|
||
.md body { | ||
@include high-contrast-light-md-theme(); | ||
} | ||
} |
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.