utopia-project 0.18.0 → 0.18.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 24fda7ece0102628b1160b9f9b93cc15ca75ac1c7f7ed6d1a674521705ba96f3
4
- data.tar.gz: 4ca114651629fefcc0a5db05ac38712c96454e2f8de97b53fabc0bae1d18e2d2
3
+ metadata.gz: 4d59b43aec217ee84beb050d7d6e151d46aa441cbee39b73b9e664fdf773432f
4
+ data.tar.gz: 4e76c51906d87652a1f0e8242ef4ae8bc28994ff2e6330e5269f8c1a4387dcd5
5
5
  SHA512:
6
- metadata.gz: e2ff765506a5841b132cfea27267c2ab1a50d319d127b7ec6c55342c99a7321216c04c593e814a8bd5959189b1c7c2bec37a43865c36a71a46a102a111d57550
7
- data.tar.gz: 24d6eb555a6540e181cf62ab7172864ecb88bde77cb8e0a2924655f868753ece0d6e7a9d6ebc5f16dae9bb6e33bbb77aba8a5105fcf5468e9181324e95b7726b
6
+ metadata.gz: e849c822aed4c2591a1116bc4ed36d45c3ede9836b51b1cf2e42fbba2fddf4a79227991dfceb73b9d3810b1ca347402bc7966f4134634a2fdd7840c9c7d9f49c
7
+ data.tar.gz: 06fb199a979a521f6ea11ddc419aeaf616e82d478019122b3fe41fcc6a8de68a6991d688499381b0fda0c30861faf07860c764f9075f19cf4b67760f51b5637a
checksums.yaml.gz.sig CHANGED
Binary file
@@ -22,6 +22,6 @@
22
22
 
23
23
  module Utopia
24
24
  module Project
25
- VERSION = "0.18.0"
25
+ VERSION = "0.18.1"
26
26
  end
27
27
  end
data/pages/_page.xnode CHANGED
@@ -24,9 +24,14 @@
24
24
  <script type="text/javascript">
25
25
  //<![CDATA[
26
26
  jQuery(function($) {
27
- mermaid.init();
28
27
  $.syntax();
29
28
  });
29
+
30
+ let isDarkMode = window.matchMedia("(prefers-color-scheme: dark)").matches
31
+ let config = {theme: 'light'};
32
+ if (isDarkMode) config.theme = 'dark';
33
+ else config.theme = 'forest';
34
+ mermaid.initialize(config);
30
35
  //]]>
31
36
  </script>
32
37
  </head>
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: utopia-project
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.0
4
+ version: 0.18.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
@@ -36,7 +36,7 @@ cert_chain:
36
36
  RAOsIl+HOBTb252nx1kIRN5hqQx272AJCbCjKx8egcUQKffFVVCI0nye09v5CK+a
37
37
  HiLJ8VOFx6w=
38
38
  -----END CERTIFICATE-----
39
- date: 2022-01-17 00:00:00.000000000 Z
39
+ date: 2022-01-19 00:00:00.000000000 Z
40
40
  dependencies:
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: decode
@@ -305,6 +305,7 @@ files:
305
305
  - public/_components/jquery/jquery.slim.js
306
306
  - public/_components/jquery/jquery.slim.min.js
307
307
  - public/_components/jquery/jquery.slim.min.map
308
+ - public/_components/mermaid/.DS_Store
308
309
  - public/_components/mermaid/mermaid.min.js
309
310
  - public/_components/mermaid/mermaid.min.js.LICENSE.txt
310
311
  - public/_static/icon.png
metadata.gz.sig CHANGED
Binary file