vipassana-design-standards 0.0.6 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9ae88e192b757568c109e554815b2fef7446e8124653399ddbaf291f2519e30a
4
- data.tar.gz: a46da6cb667d9c11b50e856165048371ba44984b8cb29ba9581db948eb6f9238
3
+ metadata.gz: a267b93fc06bce6d12485387de08111b9c5bac516518bc3c4b7c229611c2497d
4
+ data.tar.gz: e1ddb6f3f4d2a8703619b3be8195ae4aba74cb04ce83e8ee67cdfeb881b62250
5
5
  SHA512:
6
- metadata.gz: 4d39d74b8e7c54f12177a7302c75f77b8b0091bcd6d8f9fc06add75f53aa073c1103424bfd00edbc4440e505f5a1ad8935b7fe54d1394a2311ad331f40566be8
7
- data.tar.gz: 5e77dcc386052ea6df947c7a8fec6d11d71d4101eb0b1feaee7f2f16ae13346ccaaf30a79c97aadd09dc152b122958aec40691e6a4dce65bd7ade5252bfb5c0c
6
+ metadata.gz: 5f8e5091334c46e4e6d2a0165a6a97a00f39d2a84dc6995ac26aaf4b58e5b08d06a2b66b6c5ca015a49987eba313bcc9123557de8ef44150324cec288a59459f
7
+ data.tar.gz: 0f6c3857f55bdacc69b079355bb3c6ccd35482641e4fe06feeeae90a51058db4530d87bd4a90413121d14318ef2261c960fa2d37b6be6263c81cd4f3cc548511
@@ -315,7 +315,7 @@ export default {
315
315
  # This file has been generated by design-standards.dhamma.org wesbite
316
316
  # index.js#generateAllInlineSVG
317
317
 
318
- SVGS = ${JSON.stringify(svgs)}
318
+ VIPASSANA_SVGS = ${JSON.stringify(svgs)}
319
319
  `
320
320
  var blob = new Blob([result], {type: "text/plain;charset=utf-8"})
321
321
  fileSaver.saveAs(blob, "logos_inline_svg.rb")
@@ -1,12 +1,12 @@
1
1
  module Vipassana
2
2
  module LogoHelper
3
3
  require "vipassana/logos_inline_svg.rb"
4
- require "vipassana/tranlsations.rb"
4
+ require "vipassana/translations.rb"
5
5
 
6
6
  def vipassana_logo_svg(locale: I18n.locale, disposition: "normal", height: nil, width: nil)
7
7
  height = 70 if height.nil? && width.nil?
8
8
 
9
- data = SVGS[locale.to_sym] || SVGS[:en]
9
+ data = VIPASSANA_SVGS[locale.to_sym] || SVGS[:en]
10
10
  string = data[disposition.to_sym] || data[:normal]
11
11
 
12
12
  string.gsub!("<svg", "<svg height=\"#{height}\"") if height.present?
@@ -16,7 +16,7 @@ module Vipassana
16
16
  end
17
17
 
18
18
  def vipassana_logo_html(locale: I18n.locale, disposition: "auto", size: '18', tagline: true, dark: false)
19
- trans = TRANSATIONS[locale.to_sym]
19
+ trans = VIPASSANA_TRANSLATIONS[locale.to_sym]
20
20
  result = <<-HTML
21
21
  <div class="vipassana-logo"
22
22
  data-disposition="#{disposition}"
@@ -24,7 +24,7 @@ module Vipassana
24
24
  data-dark-mode="#{dark}"
25
25
  data-reverse="#{trans[:reverse]}"
26
26
  style="font-size: #{size}px">
27
- <img class="logo-wheel" :src="wheelPath"/>
27
+ <img class="logo-wheel" src="https://design-standards.dhamma.org/dist/Dhamma-Wheel.svg" />
28
28
  <div class="logo-text">
29
29
  <h1 class="logo-title">
30
30
  <span data-start-with="#{trans[:vipassana_meditation].at(0).downcase}">