|
18 | 18 | --color-button-active-background: #f9f9f9;
|
19 | 19 | --color-button-active-border: #aaa;
|
20 | 20 | --color-separator: #ccc;
|
| 21 | + --provider-bg: #fff; |
| 22 | + --provider-bg-hover: color-mix( |
| 23 | + in srgb, |
| 24 | + var(--provider-brand-color) 30%, |
| 25 | + #fff |
| 26 | + ); |
21 | 27 | }
|
22 | 28 |
|
23 | 29 | .__next-auth-theme-dark {
|
|
30 | 36 | --color-button-active-background: #060606;
|
31 | 37 | --color-button-active-border: #666;
|
32 | 38 | --color-separator: #444;
|
| 39 | + --provider-bg: #161b22; |
| 40 | + --provider-bg-hover: color-mix( |
| 41 | + in srgb, |
| 42 | + var(--provider-brand-color) 30%, |
| 43 | + #000 |
| 44 | + ); |
| 45 | + img[src$="42-school.svg"], |
| 46 | + img[src$="apple.svg"], |
| 47 | + img[src$="boxyhq-saml.svg"], |
| 48 | + img[src$="eveonline.svg"], |
| 49 | + img[src$="github.svg"], |
| 50 | + img[src$="mailchimp.svg"], |
| 51 | + img[src$="medium.svg"], |
| 52 | + img[src$="okta.svg"], |
| 53 | + img[src$="patreon.svg"], |
| 54 | + img[src$="ping-id.svg"], |
| 55 | + img[src$="roblox.svg"], |
| 56 | + img[src$="threads.svg"], |
| 57 | + img[src$="wikimedia.svg"] { |
| 58 | + filter: invert(1); |
| 59 | + } |
| 60 | + #submitButton { |
| 61 | + background-color: var(--provider-bg, var(--color-info)); |
| 62 | + } |
33 | 63 | }
|
34 | 64 |
|
35 | 65 | @media (prefers-color-scheme: dark) {
|
|
43 | 73 | --color-button-active-background: #060606;
|
44 | 74 | --color-button-active-border: #666;
|
45 | 75 | --color-separator: #444;
|
46 |
| - } |
47 |
| - |
48 |
| - button, |
49 |
| - a.button { |
50 |
| - color: var(--provider-dark-color, var(--color-primary)) !important; |
51 |
| - background-color: var( |
52 |
| - --provider-dark-bg, |
53 |
| - var(--color-background) |
54 |
| - ) !important; |
55 |
| - |
56 |
| - &:hover { |
57 |
| - background-color: var( |
58 |
| - --provider-dark-bg-hover, |
59 |
| - var(--color-background-hover) |
60 |
| - ) !important; |
| 76 | + --provider-bg: #161b22; |
| 77 | + --provider-bg-hover: color-mix( |
| 78 | + in srgb, |
| 79 | + var(--provider-brand-color) 30%, |
| 80 | + #000 |
| 81 | + ); |
| 82 | + img[src$="42-school.svg"], |
| 83 | + img[src$="apple.svg"], |
| 84 | + img[src$="boxyhq-saml.svg"], |
| 85 | + img[src$="eveonline.svg"], |
| 86 | + img[src$="github.svg"], |
| 87 | + img[src$="mailchimp.svg"], |
| 88 | + img[src$="medium.svg"], |
| 89 | + img[src$="okta.svg"], |
| 90 | + img[src$="patreon.svg"], |
| 91 | + img[src$="ping-id.svg"], |
| 92 | + img[src$="roblox.svg"], |
| 93 | + img[src$="threads.svg"], |
| 94 | + img[src$="wikimedia.svg"] { |
| 95 | + filter: invert(1); |
61 | 96 | }
|
62 |
| - |
63 |
| - span { |
64 |
| - color: var(--provider-dark-bg) !important; |
| 97 | + #submitButton { |
| 98 | + background-color: var(--provider-bg, var(--color-info)); |
65 | 99 | }
|
66 | 100 | }
|
67 |
| - |
68 |
| - img[src$="42-school.svg"], |
69 |
| - img[src$="apple.svg"], |
70 |
| - img[src$="boxyhq-saml.svg"], |
71 |
| - img[src$="eveonline.svg"], |
72 |
| - img[src$="github.svg"], |
73 |
| - img[src$="mailchimp.svg"], |
74 |
| - img[src$="medium.svg"], |
75 |
| - img[src$="okta.svg"], |
76 |
| - img[src$="threads.svg"], |
77 |
| - img[src$="wikimedia.svg"] { |
78 |
| - filter: invert(1); |
79 |
| - } |
80 | 101 | }
|
81 | 102 |
|
82 | 103 | html {
|
@@ -196,7 +217,7 @@ a.button {
|
196 | 217 | }
|
197 | 218 |
|
198 | 219 | span {
|
199 |
| - color: #fff; |
| 220 | + color: var(--provider-bg); |
200 | 221 | }
|
201 | 222 | }
|
202 | 223 |
|
|
0 commit comments