-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SFD-143: Make dark mode error text easier to read (#113)
* Move invalid input border style to styles.css * Add orange error colour for dark mode * Change to white text on red background * Revert light mode error changes to original styling * Move dark mode styles to package-styles.css * Move input, select styles to dark mode media block
- Loading branch information
1 parent
8b97011
commit 3b0dd54
Showing
5 changed files
with
25 additions
and
14 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,17 @@ | ||
input, select { | ||
@apply dark:tce-text-slate-600 | ||
} | ||
|
||
@media (prefers-color-scheme: dark) { | ||
.apexcharts-legend-text { | ||
@apply !tce-text-slate-50 | ||
} | ||
} | ||
|
||
input, select { | ||
@apply tce-text-slate-600 | ||
} | ||
|
||
input.ng-invalid.ng-touched { | ||
@apply tce-border-red-700 | ||
} | ||
|
||
.tce-error-box { | ||
@apply tce-text-white tce-bg-red-700 tce-p-1 tce-rounded tce-border tce-border-white | ||
} | ||
} |
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