Skip to content

Commit 3562b70

Browse files
authored
Make playground dialog colors more legible (#1314)
* Make playground dialog colors more legible * update screenshots
1 parent 2308bf3 commit 3562b70

14 files changed

+9
-8
lines changed

packages/lit-dev-content/src/components/litdev-error-notifier.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ export class LitDevErrorNotifier extends LitElement {
2121
a {
2222
color: var(--sys-color-primary-variant);
2323
}
24+
25+
:host {
26+
--mdc-theme-primary: var(--sys-color-primary-variant);
27+
}
2428
`;
2529
/**
2630
* The SHA or version number identifying the version of lit.dev, used for

packages/lit-dev-content/src/components/litdev-playground-share-gist.ts

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -86,18 +86,15 @@ export class LitDevPlaygroundShareGist extends LitElement {
8686
border-radius: 50%;
8787
}
8888
89-
#signOutButton:visited {
90-
color: currentColor;
91-
}
92-
93-
#signOutButton:hover {
94-
color: blue;
95-
}
96-
9789
#gistActions {
9890
display: flex;
9991
justify-content: space-between;
10092
}
93+
94+
a,
95+
a:hover {
96+
color: var(--sys-color-primary-variant);
97+
}
10198
`;
10299

103100
/**
108 Bytes
Loading
94 Bytes
Loading
28 Bytes
Loading
24 Bytes
Loading
61 Bytes
Loading
55 Bytes
Loading
47 Bytes
Loading
88 Bytes
Loading

0 commit comments

Comments
 (0)