Commit 9b94c2c0 authored by Rainhard Findling's avatar Rainhard Findling Committed by Commit Bot

Safety check UI: dark mode colors

* Defines dark mode colors for red and blue safety check icons
* Screenshots:
  * Parent: https://screenshot.googleplex.com/LyPcX9YbWWT
  * Children: https://screenshot.googleplex.com/yN8qJgi6xrg

Bug: 1056177
Change-Id: I63605f1ea085b8dfa0b040279bf5a38287c4cb92
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2080252
Commit-Queue: Rainhard Findling <rainhard@chromium.org>
Reviewed-by: default avatardpapad <dpapad@chromium.org>
Cr-Commit-Position: refs/heads/master@{#746943}
parent d07e2d42
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
<link rel="import" href="chrome://resources/cr_elements/cr_button/cr_button.html"> <link rel="import" href="chrome://resources/cr_elements/cr_button/cr_button.html">
<link rel="import" href="chrome://resources/cr_elements/cr_icon_button/cr_icon_button.html"> <link rel="import" href="chrome://resources/cr_elements/cr_icon_button/cr_icon_button.html">
<link rel="import" href="chrome://resources/cr_elements/shared_vars_css.html">
<link rel="import" href="chrome://resources/html/assert.html"> <link rel="import" href="chrome://resources/html/assert.html">
<link rel="import" href="chrome://resources/html/i18n_behavior.html"> <link rel="import" href="chrome://resources/html/i18n_behavior.html">
<link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html">
...@@ -16,8 +17,6 @@ ...@@ -16,8 +17,6 @@
<dom-module id="settings-safety-check-page"> <dom-module id="settings-safety-check-page">
<template> <template>
<!-- // TODO(crbug.com/1010001): Release block M82 beta:
Support dark mode. -->
<style include="settings-shared"> <style include="settings-shared">
#safetyCheckCollapse .list-item.selected { #safetyCheckCollapse .list-item.selected {
min-height: var(--settings-row-two-line-min-height); min-height: var(--settings-row-two-line-min-height);
...@@ -37,6 +36,17 @@ ...@@ -37,6 +36,17 @@
.icon-red { .icon-red {
fill: var(--google-red-600); fill: var(--google-red-600);
} }
/* dark mode */
@media (prefers-color-scheme: dark) {
.icon-blue {
fill: var(--google-blue-refresh-300);
}
.icon-red {
fill: var(--google-red-refresh-300);
}
}
</style> </style>
<div class="settings-box first two-line"> <div class="settings-box first two-line">
<iron-icon icon="[[getParentIcon_(parentStatus_)]]" <iron-icon icon="[[getParentIcon_(parentStatus_)]]"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment