Skip to content

Commit 6cce576

Browse files
authored
Merge pull request #22 from JuliaPluto/dark_theme
2 parents d5e8a5a + ea970ce commit 6cce576

File tree

2 files changed

+20
-8
lines changed

2 files changed

+20
-8
lines changed

src/notebook.jl

+14-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
### A Pluto.jl notebook ###
2-
# v0.17.1
2+
# v0.17.7
33

44
using Markdown
55
using InteractiveUtils
@@ -190,6 +190,9 @@ code_loweredish_with_lenses(x::Number) = ExprWithLens[]
190190
# ╔═╡ b155d336-f746-4c82-8206-ab1a49cedea8
191191
code_loweredish_with_lenses(x::String) = ExprWithLens[]
192192

193+
# ╔═╡ f9b2a11d-8c4e-47a5-9d93-38025fae9a95
194+
code_loweredish_with_lenses(::Char) = ExprWithLens[]
195+
193196
# ╔═╡ 221aa13b-aa25-4145-8076-da77432364bb
194197
code_loweredish_with_lenses(x::LineNumberNode) = ExprWithLens[]
195198

@@ -1306,14 +1309,12 @@ pt-dot.floating.bottom {
13061309
13071310
13081311
.pass > pt-dot.floating {
1309-
13101312
animation: fadeout 2s;
13111313
13121314
animation-fill-mode: both;
13131315
animation-delay: 2s;
13141316
13151317
/*opacity: 0.4;*/
1316-
13171318
}
13181319
13191320
@@ -1322,13 +1323,19 @@ pt-dot.floating.bottom {
13221323
font-size: 0.75rem;
13231324
white-space: normal;
13241325
padding: 4px;
1325-
1326+
13261327
min-height: 25px;
13271328
}
13281329
13291330
13301331
.pluto-test.pass {
1331-
color: rgba(0,0,0,.5);
1332+
color: rgba(0, 0, 0, 0.5);
1333+
}
1334+
1335+
@media (prefers-color-scheme: dark) {
1336+
.pluto-test.pass {
1337+
color: rgba(200, 200, 200, 0.5);
1338+
}
13321339
}
13331340
13341341
.pluto-test.fail {
@@ -1733,7 +1740,7 @@ end
17331740
# ╠═78704300-0531-4f8e-8aa5-3f588fbdd190
17341741
# ╠═9129342b-f560-4901-81a2-56e3f8641521
17351742
# ╠═c763ed72-82c9-445c-a8f7-a0c40982e4d9
1736-
# ╟─8a2e8348-49cf-4855-b5b3-cdee33e5ed67
1743+
# ╠═8a2e8348-49cf-4855-b5b3-cdee33e5ed67
17371744
# ╟─42671258-07a0-4015-8f47-4b3032595f08
17381745
# ╟─0d70962a-3880-4dee-a439-35068d019f5a
17391746
# ╠═113cc425-e224-4f77-bfbd-ef4eb1d1ed70
@@ -1781,6 +1788,7 @@ end
17811788
# ╟─fc000550-3053-483e-bc41-6aed22c3999c
17821789
# ╟─3f11ca4c-dd06-47c9-92e2-cb97c18a06db
17831790
# ╟─b155d336-f746-4c82-8206-ab1a49cedea8
1791+
# ╟─f9b2a11d-8c4e-47a5-9d93-38025fae9a95
17841792
# ╟─221aa13b-aa25-4145-8076-da77432364bb
17851793
# ╟─2a514f2f-79c8-4b0d-be8a-170f3386d5d5
17861794
# ╟─9fb4d52d-77f2-4032-a769-6d5e60be43bf

test/basic_test.jl

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
### A Pluto.jl notebook ###
2-
# v0.17.1
2+
# v0.17.7
33

44
using Markdown
55
using InteractiveUtils
@@ -63,6 +63,9 @@ x = [1,3]
6363
# ╔═╡ 5743b872-da02-4922-ae01-2e328a8cd3aa
6464
@test rand(50) == [rand(50),2]
6565

66+
# ╔═╡ 83304f9e-def7-4b9c-af44-c2f8077743c2
67+
@test 'c' == only("c")
68+
6669
# ╔═╡ 20639058-4c4c-4380-a22c-dc15c4259542
6770
macro test_that_throws(expr)
6871
# esc(..) used like this (around the whole expression)
@@ -281,7 +284,7 @@ deps = ["InteractiveUtils", "Markdown", "Sockets", "Unicode"]
281284
uuid = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb"
282285
283286
[[Random]]
284-
deps = ["Serialization"]
287+
deps = ["SHA", "Serialization"]
285288
uuid = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
286289
287290
[[Reexport]]
@@ -347,6 +350,7 @@ uuid = "3f19e933-33d8-53b3-aaab-bd5110c3b7a0"
347350
# ╠═0114b7be-36ac-4bbe-b52c-9d54742c7c91
348351
# ╠═5743b872-da02-4922-ae01-2e328a8cd3aa
349352
# ╠═a82718bb-effa-4c93-9ef2-3985417e8820
353+
# ╠═83304f9e-def7-4b9c-af44-c2f8077743c2
350354
# ╠═20639058-4c4c-4380-a22c-dc15c4259542
351355
# ╠═182669e9-7dd0-44f7-957a-e7f461be2d8c
352356
# ╠═48bed8b7-374b-445e-a13b-ef291a7d0887

0 commit comments

Comments
 (0)