Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2438)

Unified Diff: chrome/browser/resources/settings/settings_shared_css.html

Issue 1732143002: [MD settings] using paper and google colors in settings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed text decoration none Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/settings_shared_css.html
diff --git a/chrome/browser/resources/settings/settings_shared_css.html b/chrome/browser/resources/settings/settings_shared_css.html
index 16a194a1ffde296582ae828884a3296a5fb3fc28..40e57810280ec40ac9cc2451dd71d8f26bc80e28 100644
--- a/chrome/browser/resources/settings/settings_shared_css.html
+++ b/chrome/browser/resources/settings/settings_shared_css.html
@@ -12,7 +12,7 @@
<style>
:root {
--settings-secondary: {
- color: #969696;
+ color: var(--paper-grey-500);
font-weight: 400;
}
}
@@ -28,11 +28,11 @@
}
iron-icon {
- color: #969696;
+ color: var(--paper-grey-300);
}
iron-icon[icon=done] {
- color: rgb(0, 128, 0);
+ color: var(--google-green-500);
}
paper-button {
@@ -41,7 +41,7 @@
}
paper-button[toggles][active] {
- background-color: LightGray;
+ background-color: var(--paper-grey-300);
}
span ~ a {
@@ -52,9 +52,8 @@
[is='action-link']:active,
[is='action-link']:hover,
[is='action-link']:visited,
- paper-button.primary-button {
- /* TODO(dbeam): change all other colors in this file into --google or
- * --paper where applicable. */
+ paper-button.primary-button,
+ paper-button.tertiary-button {
color: var(--google-blue-700);
}
@@ -74,7 +73,7 @@
paper-button.secondary-button {
--paper-button: {
- color: #5a5a5a;
+ color: var(--paper-grey-700);
text-decoration: none;
font-weight: 500;
};
@@ -82,7 +81,6 @@
paper-button.tertiary-button {
--paper-button: {
- color: rgb(51, 103, 214);
font-weight: 400;
text-decoration: none;
};
@@ -91,7 +89,7 @@
paper-radio-button {
--paper-radio-button-checked-color: var(--google-blue-500);
--paper-radio-button-label-spacing: 18px;
- --paper-radio-button-unchecked-color: #969696;
+ --paper-radio-button-unchecked-color: var(--paper-grey-500);
-webkit-margin-start: 2px;
}
@@ -137,9 +135,8 @@
/* This button has no ink ripple */
.list-item.list-button {
@apply(--layout-center);
- color: rgb(66, 133, 244);
+ color: var(--google-blue-500);
font-weight: 500;
- text-decoration: none;
}
.list-item iron-icon {
@@ -165,13 +162,6 @@
padding: 0;
}
- /* This button has no ink ripple. */
- .list-item.list-button {
- @apply(--layout-center);
- color: rgb(66, 133, 244);
- font-weight: 500;
- }
-
.settings-card {
padding: 8px 0;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698