diff options
author | MCMXC <16797721+mcmxcdev@users.noreply.github.com> | 2023-07-26 06:29:03 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-26 17:59:03 +0530 |
commit | 9b8f01716774a960073e944823ab727cc867a8f6 (patch) | |
tree | 732b83770baa78f5cf12776aaa33ce65bebfa418 /recipes/google-calendar/darkmode.css | |
parent | Add Excalidraw recipe (#393) (diff) | |
download | ferdium-recipes-9b8f01716774a960073e944823ab727cc867a8f6.tar.gz ferdium-recipes-9b8f01716774a960073e944823ab727cc867a8f6.tar.zst ferdium-recipes-9b8f01716774a960073e944823ab727cc867a8f6.zip |
chore: improve lint setup (#397)
- update eslint config to closely mirror the ones from ferdium-app
- add .eslintignore
- opt in to eslint `reportUnusedDisableDirectives` config option
- remove `trailingComma: all` from `prettier` config which is default in `prettier` v3
- autofix or disable a lot of lint issues throughout codebase
- add `volta` configuration to `package.json` to autoload correct `node` and `pnpm` versions
- upgrade all `eslint` and `prettier` related dependencies to latest
- update lint:fix npm script
- reformat touched files with prettier
- bumped up minor version for all recipes that have changes
- introduced injection of 'service.css' where it was missing in many recipes
---------
Co-authored-by: Vijay A <vraravam@users.noreply.github.com>
Diffstat (limited to 'recipes/google-calendar/darkmode.css')
-rw-r--r-- | recipes/google-calendar/darkmode.css | 222 |
1 files changed, 222 insertions, 0 deletions
diff --git a/recipes/google-calendar/darkmode.css b/recipes/google-calendar/darkmode.css new file mode 100644 index 0000000..aab4f78 --- /dev/null +++ b/recipes/google-calendar/darkmode.css | |||
@@ -0,0 +1,222 @@ | |||
1 | /* Copied from: https://github.com/ducfilan/Dark-mode-Franz-Ferdi */ | ||
2 | |||
3 | html { | ||
4 | -webkit-filter: invert(90%) hue-rotate(180deg) !important; | ||
5 | filter: invert(90%) hue-rotate(180deg) !important; | ||
6 | background: #191919 !important; | ||
7 | } | ||
8 | |||
9 | .CflnFb { | ||
10 | background-color: #7b96c1 !important; | ||
11 | filter: invert(100%) hue-rotate(180deg) brightness(1.1) saturate(140%) | ||
12 | contrast(105%) !important; | ||
13 | color: #fff !important; | ||
14 | } | ||
15 | |||
16 | .h5t3Nc .GrK4Mb, | ||
17 | .h5t3Nc .hVDHke, | ||
18 | .h5t3Nc .l7VQxb, | ||
19 | .h5t3Nc .zP0T0b, | ||
20 | .h5t3Nc .qNixLe { | ||
21 | background-color: #c9c9c9; | ||
22 | border-color: #fff; | ||
23 | } | ||
24 | |||
25 | .lq96Td { | ||
26 | background-color: #003e3a !important; | ||
27 | color: #fff !important; | ||
28 | filter: invert(100%) hue-rotate(180deg) brightness(1.1) saturate(140%) | ||
29 | contrast(105%) !important; | ||
30 | } | ||
31 | |||
32 | .GooADb { | ||
33 | color: #9dceff !important; | ||
34 | text-shadow: 0 0 #404040 !important; | ||
35 | } | ||
36 | |||
37 | .bJZIjf.qs41qe { | ||
38 | opacity: 0.3; | ||
39 | } | ||
40 | |||
41 | #gb a.gb_ja, | ||
42 | #gb a.gb_ja:visited, | ||
43 | #gb a.gb_ja:active, | ||
44 | #gb a.gb_ka, | ||
45 | #gb a.gb_ka:visited { | ||
46 | color: rgba(255, 255, 255, 0.87) !important; | ||
47 | text-decoration: none !important; | ||
48 | background-color: #000 !important; | ||
49 | } | ||
50 | |||
51 | .M6tHv { | ||
52 | background-color: #444 !important; | ||
53 | } | ||
54 | |||
55 | .gb_ea.gb_6f { | ||
56 | background-color: #e8e8e8 !important; | ||
57 | } | ||
58 | |||
59 | .gb_yc svg, | ||
60 | .gb_kc svg { | ||
61 | color: #000 !important; | ||
62 | opacity: 0.54 !important; | ||
63 | } | ||
64 | |||
65 | .HkPXyb { | ||
66 | background-color: #f9f9f9; | ||
67 | } | ||
68 | |||
69 | .EfQccc.F262Ye.EiZ8Dd::after { | ||
70 | border-color: #000; | ||
71 | } | ||
72 | |||
73 | .uHMk6b.fsHoPb { | ||
74 | border: 7px solid #000 !important; | ||
75 | } | ||
76 | |||
77 | .g3VIld.GFhhge.Up8vH.hFEqNb.J9Nfi.iWO5td { | ||
78 | filter: invert(100%) hue-rotate(180deg) brightness(1.1) saturate(140%) | ||
79 | contrast(105%) !important; | ||
80 | background: #191919 !important; | ||
81 | color: #fff !important; | ||
82 | } | ||
83 | |||
84 | .g3dbUc .jKgTF, | ||
85 | .QGRmIf, | ||
86 | .lcPUt { | ||
87 | filter: invert(100%) hue-rotate(180deg) brightness(1.1) saturate(140%) | ||
88 | contrast(105%) !important; | ||
89 | font-weight: 700 !important; | ||
90 | mix-blend-mode: darken; | ||
91 | } | ||
92 | |||
93 | .g3dbUc.UflSff { | ||
94 | filter: invert(100%) hue-rotate(180deg) saturate(140%) contrast(105%) | ||
95 | opacity(40%) !important; | ||
96 | color: #404040 !important; | ||
97 | } | ||
98 | |||
99 | .NlL62b.EfQccc.elYzab-cXXICe-Hjleke.EiZ8Dd.UflSff.jKgTF { | ||
100 | filter: invert(100%) hue-rotate(180deg) saturate(140%) contrast(50%) | ||
101 | brightness(140%) opacity(90%) !important; | ||
102 | } | ||
103 | |||
104 | .NlL62b.EfQccc.elYzab-cXXICe-Hjleke.EiZ8Dd.UflSff { | ||
105 | filter: opacity(80%) !important; | ||
106 | } | ||
107 | |||
108 | .NlL62b.EfQccc.elYzab-cXXICe-Hjleke.EiZ8Dd.jKgTF { | ||
109 | filter: invert(100%) hue-rotate(180deg) brightness(1.1) saturate(140%) | ||
110 | contrast(105%) !important; | ||
111 | font-weight: 700 !important; | ||
112 | } | ||
113 | |||
114 | .W0m3G { | ||
115 | font-weight: 500 !important; | ||
116 | } | ||
117 | |||
118 | .g3dbUc { | ||
119 | font-weight: 900 !important; | ||
120 | color: #000 !important; | ||
121 | } | ||
122 | |||
123 | .g3dbUc.smECzc { | ||
124 | color: #666 !important; | ||
125 | } | ||
126 | |||
127 | .FAxxKc { | ||
128 | font-weight: 600 !important; | ||
129 | color: #000 !important; | ||
130 | } | ||
131 | |||
132 | .rq8Mwb { | ||
133 | filter: invert(100%) !important; | ||
134 | } | ||
135 | |||
136 | .WpDZC, | ||
137 | .zHQkBf { | ||
138 | color: #c1c1c1 !important; | ||
139 | } | ||
140 | |||
141 | .XHsn7e, | ||
142 | .YqtBEc, | ||
143 | .xuBVOe, | ||
144 | .Mh0NNb, | ||
145 | .ck4bY, | ||
146 | .asor.asor_i0, | ||
147 | .gsoi.gsoi_w, | ||
148 | .gsoi.gsoi_c.asor_v, | ||
149 | .gsoi.gsoi_9.asor_v, | ||
150 | .gsoi.gsoi_7.asor_v, | ||
151 | #vqd3vxfo4jpl, | ||
152 | #pnsketfj08m, | ||
153 | .st-wc, | ||
154 | .NlL62b.EfQccc.elYzab-cXXICe-Hjleke.EiZ8Dd, | ||
155 | .a63c9c.ztKZ3d, | ||
156 | .a63c9c, | ||
157 | .Oxm52e, | ||
158 | .kImhzd, | ||
159 | .hsrazb, | ||
160 | .Tnsqdc, | ||
161 | .kw5sif, | ||
162 | .kXIDId, | ||
163 | .sIyjR, | ||
164 | .ghXZpb, | ||
165 | .whsOnd.zHQkBf { | ||
166 | filter: invert(100%) hue-rotate(180deg) brightness(1.1) saturate(140%) | ||
167 | contrast(105%) !important; | ||
168 | } | ||
169 | |||
170 | .gb_3, | ||
171 | #rAECCd, | ||
172 | .jPtXgd { | ||
173 | font-weight: 600 !important; | ||
174 | } | ||
175 | |||
176 | #I0_1513527137275, | ||
177 | .gb_W, | ||
178 | :not([data-date]):before, | ||
179 | img, | ||
180 | svg, | ||
181 | .jPtXgd, | ||
182 | .gb_Wa.gb_Fe, | ||
183 | .fFW7wc-OEVmcd { | ||
184 | filter: invert(100%) hue-rotate(180deg) brightness(1.1) contrast(105%) !important; | ||
185 | } | ||
186 | |||
187 | .Wbs5sd, | ||
188 | .rF3YF.wmyjXb, | ||
189 | .A6wOnd, | ||
190 | .VgueE, | ||
191 | .Jmftzc.gVNoLb.EiZ8Dd, | ||
192 | .Jmftzc.K9QN7e.EiZ8Dd.UflSff, | ||
193 | .Jmftzc.K9QN7e.EiZ8Dd, | ||
194 | .i5a7ie, | ||
195 | .gb_Eb { | ||
196 | color: #000 !important; | ||
197 | } | ||
198 | |||
199 | .EfQccc.Hrn1mc.EiZ8Dd::after, | ||
200 | .EfQccc.MmaWIb.KKjvXb.EiZ8Dd::after { | ||
201 | border: 1px solid #000; | ||
202 | } | ||
203 | |||
204 | .XBkKC.WSvIUd, | ||
205 | .logo-plus-button-lockup-text { | ||
206 | color: #fff; | ||
207 | } | ||
208 | |||
209 | .IP9Hyd .O0WRkf:first-child, | ||
210 | .gb_je.gb_ee { | ||
211 | color: #fff; | ||
212 | } | ||
213 | |||
214 | .Jmftzc.gVNoLb.LKeQwe, | ||
215 | .Jmftzc.EiZ8Dd { | ||
216 | color: #000; | ||
217 | } | ||
218 | |||
219 | .gb_fa.gb_ng, | ||
220 | .gb_Z { | ||
221 | font-weight: bolder !important; | ||
222 | } | ||