@jjlmoya/utils-alcohol 1.24.0 → 1.26.0

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.
Files changed (144) hide show
  1. package/package.json +1 -1
  2. package/src/entries.ts +7 -1
  3. package/src/index.ts +1 -0
  4. package/src/pages/[locale]/[slug].astro +7 -3
  5. package/src/tests/locale_completeness.test.ts +4 -9
  6. package/src/tests/tool_validation.test.ts +2 -2
  7. package/src/tool/alcoholClearance/alcohol-clearance-calculator.css +23 -23
  8. package/src/tool/alcoholClearance/bibliography.ts +6 -0
  9. package/src/tool/alcoholClearance/entry.ts +1 -0
  10. package/src/tool/alcoholClearance/i18n/de.ts +1 -12
  11. package/src/tool/alcoholClearance/i18n/en.ts +1 -12
  12. package/src/tool/alcoholClearance/i18n/es.ts +1 -12
  13. package/src/tool/alcoholClearance/i18n/fr.ts +1 -12
  14. package/src/tool/alcoholClearance/i18n/id.ts +1 -12
  15. package/src/tool/alcoholClearance/i18n/it.ts +1 -12
  16. package/src/tool/alcoholClearance/i18n/ja.ts +1 -12
  17. package/src/tool/alcoholClearance/i18n/ko.ts +1 -12
  18. package/src/tool/alcoholClearance/i18n/nl.ts +1 -12
  19. package/src/tool/alcoholClearance/i18n/pl.ts +1 -12
  20. package/src/tool/alcoholClearance/i18n/pt.ts +1 -12
  21. package/src/tool/alcoholClearance/i18n/ru.ts +1 -12
  22. package/src/tool/alcoholClearance/i18n/sv.ts +1 -12
  23. package/src/tool/alcoholClearance/i18n/tr.ts +1 -12
  24. package/src/tool/alcoholClearance/i18n/zh.ts +1 -12
  25. package/src/tool/beerCooler/beer-cooler.css +22 -22
  26. package/src/tool/beerCooler/bibliography.ts +6 -0
  27. package/src/tool/beerCooler/entry.ts +1 -0
  28. package/src/tool/beerCooler/i18n/de.ts +1 -12
  29. package/src/tool/beerCooler/i18n/en.ts +1 -12
  30. package/src/tool/beerCooler/i18n/es.ts +1 -12
  31. package/src/tool/beerCooler/i18n/fr.ts +1 -12
  32. package/src/tool/beerCooler/i18n/id.ts +1 -12
  33. package/src/tool/beerCooler/i18n/it.ts +1 -12
  34. package/src/tool/beerCooler/i18n/ja.ts +1 -12
  35. package/src/tool/beerCooler/i18n/ko.ts +1 -12
  36. package/src/tool/beerCooler/i18n/nl.ts +1 -12
  37. package/src/tool/beerCooler/i18n/pl.ts +1 -12
  38. package/src/tool/beerCooler/i18n/pt.ts +1 -12
  39. package/src/tool/beerCooler/i18n/ru.ts +1 -12
  40. package/src/tool/beerCooler/i18n/sv.ts +1 -12
  41. package/src/tool/beerCooler/i18n/tr.ts +1 -12
  42. package/src/tool/beerCooler/i18n/zh.ts +1 -12
  43. package/src/tool/carbonationCalculator/beer-carbonation-calculator.css +19 -19
  44. package/src/tool/carbonationCalculator/bibliography.ts +6 -0
  45. package/src/tool/carbonationCalculator/entry.ts +1 -0
  46. package/src/tool/carbonationCalculator/i18n/de.ts +1 -12
  47. package/src/tool/carbonationCalculator/i18n/en.ts +1 -12
  48. package/src/tool/carbonationCalculator/i18n/es.ts +1 -12
  49. package/src/tool/carbonationCalculator/i18n/fr.ts +1 -12
  50. package/src/tool/carbonationCalculator/i18n/id.ts +1 -12
  51. package/src/tool/carbonationCalculator/i18n/it.ts +1 -12
  52. package/src/tool/carbonationCalculator/i18n/ja.ts +1 -12
  53. package/src/tool/carbonationCalculator/i18n/ko.ts +1 -12
  54. package/src/tool/carbonationCalculator/i18n/nl.ts +1 -12
  55. package/src/tool/carbonationCalculator/i18n/pl.ts +1 -12
  56. package/src/tool/carbonationCalculator/i18n/pt.ts +1 -12
  57. package/src/tool/carbonationCalculator/i18n/ru.ts +1 -12
  58. package/src/tool/carbonationCalculator/i18n/sv.ts +1 -12
  59. package/src/tool/carbonationCalculator/i18n/tr.ts +1 -12
  60. package/src/tool/carbonationCalculator/i18n/zh.ts +1 -12
  61. package/src/tool/cocktailBalancer/bibliography.ts +7 -0
  62. package/src/tool/cocktailBalancer/cocktail-balancer.css +59 -59
  63. package/src/tool/cocktailBalancer/entry.ts +1 -0
  64. package/src/tool/cocktailBalancer/i18n/de.ts +1 -16
  65. package/src/tool/cocktailBalancer/i18n/en.ts +1 -16
  66. package/src/tool/cocktailBalancer/i18n/es.ts +1 -16
  67. package/src/tool/cocktailBalancer/i18n/fr.ts +1 -16
  68. package/src/tool/cocktailBalancer/i18n/id.ts +1 -16
  69. package/src/tool/cocktailBalancer/i18n/it.ts +1 -16
  70. package/src/tool/cocktailBalancer/i18n/ja.ts +1 -16
  71. package/src/tool/cocktailBalancer/i18n/ko.ts +1 -16
  72. package/src/tool/cocktailBalancer/i18n/nl.ts +1 -16
  73. package/src/tool/cocktailBalancer/i18n/pl.ts +1 -16
  74. package/src/tool/cocktailBalancer/i18n/pt.ts +1 -16
  75. package/src/tool/cocktailBalancer/i18n/ru.ts +1 -16
  76. package/src/tool/cocktailBalancer/i18n/sv.ts +1 -16
  77. package/src/tool/cocktailBalancer/i18n/tr.ts +1 -16
  78. package/src/tool/cocktailBalancer/i18n/zh.ts +1 -16
  79. package/src/tool/fortifiedWine/bibliography.astro +14 -0
  80. package/src/tool/fortifiedWine/bibliography.ts +7 -0
  81. package/src/tool/fortifiedWine/component.astro +331 -0
  82. package/src/tool/fortifiedWine/entry.ts +62 -0
  83. package/src/tool/fortifiedWine/fortified-wine-builder.css +534 -0
  84. package/src/tool/fortifiedWine/i18n/de.ts +66 -0
  85. package/src/tool/fortifiedWine/i18n/en.ts +140 -0
  86. package/src/tool/fortifiedWine/i18n/es.ts +140 -0
  87. package/src/tool/fortifiedWine/i18n/fr.ts +91 -0
  88. package/src/tool/fortifiedWine/i18n/id.ts +91 -0
  89. package/src/tool/fortifiedWine/i18n/it.ts +91 -0
  90. package/src/tool/fortifiedWine/i18n/ja.ts +91 -0
  91. package/src/tool/fortifiedWine/i18n/ko.ts +91 -0
  92. package/src/tool/fortifiedWine/i18n/nl.ts +91 -0
  93. package/src/tool/fortifiedWine/i18n/pl.ts +91 -0
  94. package/src/tool/fortifiedWine/i18n/pt.ts +91 -0
  95. package/src/tool/fortifiedWine/i18n/ru.ts +91 -0
  96. package/src/tool/fortifiedWine/i18n/sv.ts +91 -0
  97. package/src/tool/fortifiedWine/i18n/tr.ts +91 -0
  98. package/src/tool/fortifiedWine/i18n/zh.ts +91 -0
  99. package/src/tool/fortifiedWine/index.ts +8 -0
  100. package/src/tool/fortifiedWine/logic.ts +46 -0
  101. package/src/tool/fortifiedWine/seo.astro +41 -0
  102. package/src/tool/jelloShotLab/bibliography.astro +14 -0
  103. package/src/tool/jelloShotLab/bibliography.ts +8 -0
  104. package/src/tool/jelloShotLab/component.astro +183 -0
  105. package/src/tool/jelloShotLab/entry.ts +62 -0
  106. package/src/tool/jelloShotLab/i18n/de.ts +156 -0
  107. package/src/tool/jelloShotLab/i18n/en.ts +156 -0
  108. package/src/tool/jelloShotLab/i18n/es.ts +156 -0
  109. package/src/tool/jelloShotLab/i18n/fr.ts +156 -0
  110. package/src/tool/jelloShotLab/i18n/id.ts +156 -0
  111. package/src/tool/jelloShotLab/i18n/it.ts +156 -0
  112. package/src/tool/jelloShotLab/i18n/ja.ts +156 -0
  113. package/src/tool/jelloShotLab/i18n/ko.ts +156 -0
  114. package/src/tool/jelloShotLab/i18n/nl.ts +156 -0
  115. package/src/tool/jelloShotLab/i18n/pl.ts +156 -0
  116. package/src/tool/jelloShotLab/i18n/pt.ts +156 -0
  117. package/src/tool/jelloShotLab/i18n/ru.ts +156 -0
  118. package/src/tool/jelloShotLab/i18n/sv.ts +156 -0
  119. package/src/tool/jelloShotLab/i18n/tr.ts +156 -0
  120. package/src/tool/jelloShotLab/i18n/zh.ts +156 -0
  121. package/src/tool/jelloShotLab/index.ts +11 -0
  122. package/src/tool/jelloShotLab/jello-shot-lab.css +229 -0
  123. package/src/tool/jelloShotLab/logic.ts +29 -0
  124. package/src/tool/jelloShotLab/seo.astro +53 -0
  125. package/src/tool/partyKeg/bibliography.ts +6 -0
  126. package/src/tool/partyKeg/entry.ts +1 -0
  127. package/src/tool/partyKeg/i18n/de.ts +1 -12
  128. package/src/tool/partyKeg/i18n/en.ts +1 -12
  129. package/src/tool/partyKeg/i18n/es.ts +1 -12
  130. package/src/tool/partyKeg/i18n/fr.ts +1 -12
  131. package/src/tool/partyKeg/i18n/id.ts +1 -12
  132. package/src/tool/partyKeg/i18n/it.ts +1 -12
  133. package/src/tool/partyKeg/i18n/ja.ts +1 -12
  134. package/src/tool/partyKeg/i18n/ko.ts +1 -12
  135. package/src/tool/partyKeg/i18n/nl.ts +1 -12
  136. package/src/tool/partyKeg/i18n/pl.ts +1 -12
  137. package/src/tool/partyKeg/i18n/pt.ts +1 -12
  138. package/src/tool/partyKeg/i18n/ru.ts +1 -12
  139. package/src/tool/partyKeg/i18n/sv.ts +1 -12
  140. package/src/tool/partyKeg/i18n/tr.ts +1 -12
  141. package/src/tool/partyKeg/i18n/zh.ts +1 -12
  142. package/src/tool/partyKeg/party-stock-calculator.css +23 -23
  143. package/src/tools.ts +5 -0
  144. package/src/types.ts +1 -1
@@ -1,3 +1,4 @@
1
+ import { bibliography } from '../bibliography';
1
2
  import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
3
  import type { BeerCoolerUI, BeerCoolerLocaleContent } from '../index';
3
4
 
@@ -30,7 +31,6 @@ const ui: BeerCoolerUI = {
30
31
  };
31
32
 
32
33
  const faqTitle = 'Veelgestelde Vragen';
33
- const bibliographyTitle = 'Bibliografie & Bronnen';
34
34
 
35
35
  const faq: BeerCoolerLocaleContent['faq'] = [
36
36
  {
@@ -70,16 +70,6 @@ const howTo: BeerCoolerLocaleContent['howTo'] = [
70
70
  },
71
71
  ];
72
72
 
73
- const bibliography: BeerCoolerLocaleContent['bibliography'] = [
74
- {
75
- name: 'Wet van Newton voor afkoeling - Wikipedia',
76
- url: 'https://en.wikipedia.org/wiki/Newton%27s_law_of_cooling',
77
- },
78
- {
79
- name: 'Geavanceerde chemie van bier en brouwen - American Chemical Society',
80
- url: 'https://www.acs.org/acs-webinars/library/advanced-chemistry-of-beer-and-brewing.html',
81
- },
82
- ];
83
73
 
84
74
  const seo: BeerCoolerLocaleContent['seo'] = [
85
75
  {
@@ -190,7 +180,6 @@ export const content: BeerCoolerLocaleContent = {
190
180
  seo,
191
181
  faqTitle,
192
182
  faq,
193
- bibliographyTitle,
194
183
  bibliography,
195
184
  howTo,
196
185
  schemas,
@@ -1,3 +1,4 @@
1
+ import { bibliography } from '../bibliography';
1
2
  import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
3
  import type { BeerCoolerUI, BeerCoolerLocaleContent } from '../index';
3
4
 
@@ -30,7 +31,6 @@ const ui: BeerCoolerUI = {
30
31
  };
31
32
 
32
33
  const faqTitle = 'Częste Pytania';
33
- const bibliographyTitle = 'Bibliografia & Źródła';
34
34
 
35
35
  const faq: BeerCoolerLocaleContent['faq'] = [
36
36
  {
@@ -70,16 +70,6 @@ const howTo: BeerCoolerLocaleContent['howTo'] = [
70
70
  },
71
71
  ];
72
72
 
73
- const bibliography: BeerCoolerLocaleContent['bibliography'] = [
74
- {
75
- name: 'Prawo Chłodzenia Newtona - Wikipedia',
76
- url: 'https://en.wikipedia.org/wiki/Newton%27s_law_of_cooling',
77
- },
78
- {
79
- name: 'Zaawansowana chemia piwa i warzenia - American Chemical Society',
80
- url: 'https://www.acs.org/acs-webinars/library/advanced-chemistry-of-beer-and-brewing.html',
81
- },
82
- ];
83
73
 
84
74
  const seo: BeerCoolerLocaleContent['seo'] = [
85
75
  {
@@ -190,7 +180,6 @@ export const content: BeerCoolerLocaleContent = {
190
180
  seo,
191
181
  faqTitle,
192
182
  faq,
193
- bibliographyTitle,
194
183
  bibliography,
195
184
  howTo,
196
185
  schemas,
@@ -1,3 +1,4 @@
1
+ import { bibliography } from '../bibliography';
1
2
  import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
3
  import type { BeerCoolerUI, BeerCoolerLocaleContent } from '../index';
3
4
 
@@ -30,7 +31,6 @@ const ui: BeerCoolerUI = {
30
31
  };
31
32
 
32
33
  const faqTitle = 'Perguntas Frequentes';
33
- const bibliographyTitle = 'Referências & Fontes';
34
34
 
35
35
  const faq: BeerCoolerLocaleContent['faq'] = [
36
36
  {
@@ -70,16 +70,6 @@ const howTo: BeerCoolerLocaleContent['howTo'] = [
70
70
  },
71
71
  ];
72
72
 
73
- const bibliography: BeerCoolerLocaleContent['bibliography'] = [
74
- {
75
- name: 'Lei de Resfriamento de Newton - Wikipedia',
76
- url: 'https://en.wikipedia.org/wiki/Newton%27s_law_of_cooling',
77
- },
78
- {
79
- name: 'Química Avançada de Cerveja e Cervejaria - American Chemical Society',
80
- url: 'https://www.acs.org/acs-webinars/library/advanced-chemistry-of-beer-and-brewing.html',
81
- },
82
- ];
83
73
 
84
74
  const seo: BeerCoolerLocaleContent['seo'] = [
85
75
  {
@@ -190,7 +180,6 @@ export const content: BeerCoolerLocaleContent = {
190
180
  seo,
191
181
  faqTitle,
192
182
  faq,
193
- bibliographyTitle,
194
183
  bibliography,
195
184
  howTo,
196
185
  schemas,
@@ -1,3 +1,4 @@
1
+ import { bibliography } from '../bibliography';
1
2
  import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
3
  import type { BeerCoolerUI, BeerCoolerLocaleContent } from '../index';
3
4
 
@@ -30,7 +31,6 @@ const ui: BeerCoolerUI = {
30
31
  };
31
32
 
32
33
  const faqTitle = 'Часто задаваемые вопросы';
33
- const bibliographyTitle = 'Библиография & Источники';
34
34
 
35
35
  const faq: BeerCoolerLocaleContent['faq'] = [
36
36
  {
@@ -70,16 +70,6 @@ const howTo: BeerCoolerLocaleContent['howTo'] = [
70
70
  },
71
71
  ];
72
72
 
73
- const bibliography: BeerCoolerLocaleContent['bibliography'] = [
74
- {
75
- name: 'Закон охлаждения Ньютона - Wikipedia',
76
- url: 'https://en.wikipedia.org/wiki/Newton%27s_law_of_cooling',
77
- },
78
- {
79
- name: 'Продвинутая химия пива и пивоварения - American Chemical Society',
80
- url: 'https://www.acs.org/acs-webinars/library/advanced-chemistry-of-beer-and-brewing.html',
81
- },
82
- ];
83
73
 
84
74
  const seo: BeerCoolerLocaleContent['seo'] = [
85
75
  {
@@ -190,7 +180,6 @@ export const content: BeerCoolerLocaleContent = {
190
180
  seo,
191
181
  faqTitle,
192
182
  faq,
193
- bibliographyTitle,
194
183
  bibliography,
195
184
  howTo,
196
185
  schemas,
@@ -1,3 +1,4 @@
1
+ import { bibliography } from '../bibliography';
1
2
  import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
3
  import type { BeerCoolerUI, BeerCoolerLocaleContent } from '../index';
3
4
 
@@ -30,7 +31,6 @@ const ui: BeerCoolerUI = {
30
31
  };
31
32
 
32
33
  const faqTitle = 'Vanliga frågor';
33
- const bibliographyTitle = 'Bibliografi & Källor';
34
34
 
35
35
  const faq: BeerCoolerLocaleContent['faq'] = [
36
36
  {
@@ -70,16 +70,6 @@ const howTo: BeerCoolerLocaleContent['howTo'] = [
70
70
  },
71
71
  ];
72
72
 
73
- const bibliography: BeerCoolerLocaleContent['bibliography'] = [
74
- {
75
- name: 'Newtons kylningslag - Wikipedia',
76
- url: 'https://en.wikipedia.org/wiki/Newton%27s_law_of_cooling',
77
- },
78
- {
79
- name: 'Avancerad kemi för öl och ölbryggning - American Chemical Society',
80
- url: 'https://www.acs.org/acs-webinars/library/advanced-chemistry-of-beer-and-brewing.html',
81
- },
82
- ];
83
73
 
84
74
  const seo: BeerCoolerLocaleContent['seo'] = [
85
75
  {
@@ -190,7 +180,6 @@ export const content: BeerCoolerLocaleContent = {
190
180
  seo,
191
181
  faqTitle,
192
182
  faq,
193
- bibliographyTitle,
194
183
  bibliography,
195
184
  howTo,
196
185
  schemas,
@@ -1,3 +1,4 @@
1
+ import { bibliography } from '../bibliography';
1
2
  import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
3
  import type { BeerCoolerUI, BeerCoolerLocaleContent } from '../index';
3
4
 
@@ -30,7 +31,6 @@ const ui: BeerCoolerUI = {
30
31
  };
31
32
 
32
33
  const faqTitle = 'Sıkça Sorulan Sorular';
33
- const bibliographyTitle = 'Bibliyografi & Kaynaklar';
34
34
 
35
35
  const faq: BeerCoolerLocaleContent['faq'] = [
36
36
  {
@@ -70,16 +70,6 @@ const howTo: BeerCoolerLocaleContent['howTo'] = [
70
70
  },
71
71
  ];
72
72
 
73
- const bibliography: BeerCoolerLocaleContent['bibliography'] = [
74
- {
75
- name: 'Newton\'un Soğuma Yasası - Wikipedia',
76
- url: 'https://en.wikipedia.org/wiki/Newton%27s_law_of_cooling',
77
- },
78
- {
79
- name: 'Bira ve Bira Yapımının Gelişmiş Kimyası - American Chemical Society',
80
- url: 'https://www.acs.org/acs-webinars/library/advanced-chemistry-of-beer-and-brewing.html',
81
- },
82
- ];
83
73
 
84
74
  const seo: BeerCoolerLocaleContent['seo'] = [
85
75
  {
@@ -190,7 +180,6 @@ export const content: BeerCoolerLocaleContent = {
190
180
  seo,
191
181
  faqTitle,
192
182
  faq,
193
- bibliographyTitle,
194
183
  bibliography,
195
184
  howTo,
196
185
  schemas,
@@ -1,3 +1,4 @@
1
+ import { bibliography } from '../bibliography';
1
2
  import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
3
  import type { BeerCoolerUI, BeerCoolerLocaleContent } from '../index';
3
4
 
@@ -30,7 +31,6 @@ const ui: BeerCoolerUI = {
30
31
  };
31
32
 
32
33
  const faqTitle = '常见问题';
33
- const bibliographyTitle = '参考文献和来源';
34
34
 
35
35
  const faq: BeerCoolerLocaleContent['faq'] = [
36
36
  {
@@ -70,16 +70,6 @@ const howTo: BeerCoolerLocaleContent['howTo'] = [
70
70
  },
71
71
  ];
72
72
 
73
- const bibliography: BeerCoolerLocaleContent['bibliography'] = [
74
- {
75
- name: '牛顿冷却定律 - Wikipedia',
76
- url: 'https://en.wikipedia.org/wiki/Newton%27s_law_of_cooling',
77
- },
78
- {
79
- name: '啤酒和啤酒酿造的高级化学 - American Chemical Society',
80
- url: 'https://www.acs.org/acs-webinars/library/advanced-chemistry-of-beer-and-brewing.html',
81
- },
82
- ];
83
73
 
84
74
  const seo: BeerCoolerLocaleContent['seo'] = [
85
75
  {
@@ -190,7 +180,6 @@ export const content: BeerCoolerLocaleContent = {
190
180
  seo,
191
181
  faqTitle,
192
182
  faq,
193
- bibliographyTitle,
194
183
  bibliography,
195
184
  howTo,
196
185
  schemas,
@@ -15,7 +15,7 @@
15
15
  color: #18181b;
16
16
  }
17
17
 
18
- :global(.theme-dark) .carb-card {
18
+ .theme-dark .carb-card {
19
19
  background: #18181b;
20
20
  border-color: #27272a;
21
21
  color: #f4f4f5;
@@ -45,7 +45,7 @@
45
45
  }
46
46
  }
47
47
 
48
- :global(.theme-dark) .carb-left { border-color: #27272a; }
48
+ .theme-dark .carb-left { border-color: #27272a; }
49
49
 
50
50
  .carb-sec {
51
51
  padding: 1.5rem;
@@ -54,7 +54,7 @@
54
54
  overflow: hidden;
55
55
  }
56
56
 
57
- :global(.theme-dark) .carb-sec { border-color: #27272a; }
57
+ .theme-dark .carb-sec { border-color: #27272a; }
58
58
  .carb-sec:last-child { border-bottom: none; }
59
59
 
60
60
  .carb-params-deco {
@@ -105,7 +105,7 @@
105
105
  margin-bottom: 1.25rem;
106
106
  }
107
107
 
108
- :global(.theme-dark) .units-toggle { background: #27272a; }
108
+ .theme-dark .units-toggle { background: #27272a; }
109
109
 
110
110
  .unit-btn {
111
111
  padding: 0.4rem 1.25rem;
@@ -119,9 +119,9 @@
119
119
  background: transparent;
120
120
  }
121
121
 
122
- :global(.theme-dark) .unit-btn { color: #a1a1aa; }
122
+ .theme-dark .unit-btn { color: #a1a1aa; }
123
123
  .unit-btn:hover { color: #18181b; }
124
- :global(.theme-dark) .unit-btn:hover { color: #e4e4e7; }
124
+ .theme-dark .unit-btn:hover { color: #e4e4e7; }
125
125
 
126
126
  .unit-btn-active {
127
127
  background: #fff;
@@ -129,7 +129,7 @@
129
129
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
130
130
  }
131
131
 
132
- :global(.theme-dark) .unit-btn-active {
132
+ .theme-dark .unit-btn-active {
133
133
  background: #3f3f46;
134
134
  color: #fff;
135
135
  }
@@ -159,7 +159,7 @@
159
159
  letter-spacing: 0.05em;
160
160
  }
161
161
 
162
- :global(.theme-dark) .input-label { color: #a1a1aa; }
162
+ .theme-dark .input-label { color: #a1a1aa; }
163
163
 
164
164
  .input-badge {
165
165
  padding: 0.125rem 0.5rem;
@@ -172,7 +172,7 @@
172
172
  color: #b45309;
173
173
  }
174
174
 
175
- :global(.theme-dark) .input-badge-amber {
175
+ .theme-dark .input-badge-amber {
176
176
  background: rgba(245,158,11,0.2);
177
177
  color: #fbbf24;
178
178
  }
@@ -182,7 +182,7 @@
182
182
  color: #1d4ed8;
183
183
  }
184
184
 
185
- :global(.theme-dark) .input-badge-blue {
185
+ .theme-dark .input-badge-blue {
186
186
  background: rgba(59,130,246,0.2);
187
187
  color: #60a5fa;
188
188
  }
@@ -200,7 +200,7 @@
200
200
  box-sizing: border-box;
201
201
  }
202
202
 
203
- :global(.theme-dark) .carb-input {
203
+ .theme-dark .carb-input {
204
204
  background: rgba(0,0,0,0.2);
205
205
  border-color: #3f3f46;
206
206
  color: #f4f4f5;
@@ -213,7 +213,7 @@
213
213
  border-top: 1px dashed #e4e4e7;
214
214
  }
215
215
 
216
- :global(.theme-dark) .co2-section { border-color: #3f3f46; }
216
+ .theme-dark .co2-section { border-color: #3f3f46; }
217
217
 
218
218
  .co2-header {
219
219
  display: flex;
@@ -230,7 +230,7 @@
230
230
  letter-spacing: 0.05em;
231
231
  }
232
232
 
233
- :global(.theme-dark) .co2-label { color: #a1a1aa; }
233
+ .theme-dark .co2-label { color: #a1a1aa; }
234
234
  .co2-value-wrap { text-align: right; }
235
235
 
236
236
  .co2-value {
@@ -258,7 +258,7 @@
258
258
  accent-color: #f59e0b;
259
259
  }
260
260
 
261
- :global(.theme-dark) .co2-slider { background: #3f3f46; }
261
+ .theme-dark .co2-slider { background: #3f3f46; }
262
262
 
263
263
  .preset-row {
264
264
  display: flex;
@@ -324,14 +324,14 @@
324
324
  border: 1px solid #f4f4f5;
325
325
  }
326
326
 
327
- :global(.theme-dark) .result-row { border-color: #27272a; }
327
+ .theme-dark .result-row { border-color: #27272a; }
328
328
 
329
329
  .result-row-primary {
330
330
  background: #fafafa;
331
331
  border-color: #e4e4e7;
332
332
  }
333
333
 
334
- :global(.theme-dark) .result-row-primary {
334
+ .theme-dark .result-row-primary {
335
335
  background: rgba(0,0,0,0.2);
336
336
  border-color: #3f3f46;
337
337
  }
@@ -343,7 +343,7 @@
343
343
  color: #71717a;
344
344
  }
345
345
 
346
- :global(.theme-dark) .result-name-muted { color: #a1a1aa; }
346
+ .theme-dark .result-name-muted { color: #a1a1aa; }
347
347
  .result-value {
348
348
  font-size: 1.125rem;
349
349
  font-weight: 700;
@@ -355,7 +355,7 @@
355
355
  color: #4f46e5;
356
356
  }
357
357
 
358
- :global(.theme-dark) .result-value-primary { color: #818cf8; }
358
+ .theme-dark .result-value-primary { color: #818cf8; }
359
359
 
360
360
  .carb-right {
361
361
  display: flex;
@@ -370,7 +370,7 @@
370
370
  .carb-right { width: 50%; }
371
371
  }
372
372
 
373
- :global(.theme-dark) .carb-right { background: rgba(0,0,0,0.15); }
373
+ .theme-dark .carb-right { background: rgba(0,0,0,0.15); }
374
374
 
375
375
  .safety-box {
376
376
  width: 100%;
@@ -0,0 +1,6 @@
1
+ import type { BibliographyEntry } from '../../types';
2
+
3
+ export const bibliography: BibliographyEntry[] = [
4
+ { name: 'How to Brew: Carbonation Tables - John Palmer', url: 'https://howtobrew.com/section-1/chapter-11/' },
5
+ { name: 'BJCP Style Guidelines: Carbonation Levels', url: 'https://www.bjcp.org/style/2021/beer/' },
6
+ ];
@@ -1,4 +1,5 @@
1
1
  import type { AlcoholToolEntry, ToolLocaleContent } from '../../types';
2
+ export { bibliography } from './bibliography';
2
3
 
3
4
  export interface CarbonationUI {
4
5
  [key: string]: string;
@@ -1,3 +1,4 @@
1
+ import { bibliography } from '../bibliography';
1
2
  import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
3
  import type { CarbonationUI, CarbonationLocaleContent } from '../index';
3
4
 
@@ -29,7 +30,6 @@ const ui: CarbonationUI = {
29
30
  };
30
31
 
31
32
  const faqTitle = 'Häufig gestellte Fragen';
32
- const bibliographyTitle = 'Bibliografie & Quellen';
33
33
 
34
34
  const faq: CarbonationLocaleContent['faq'] = [
35
35
  {
@@ -65,16 +65,6 @@ const howTo: CarbonationLocaleContent['howTo'] = [
65
65
  },
66
66
  ];
67
67
 
68
- const bibliography: CarbonationLocaleContent['bibliography'] = [
69
- {
70
- name: 'How to Brew: Karbonisierungstabellen - John Palmer',
71
- url: 'https://howtobrew.com/section-1/chapter-11/',
72
- },
73
- {
74
- name: 'BJCP Stilrichtlinien: Karbonisierungsniveaus',
75
- url: 'https://www.bjcp.org/style/2021/beer/',
76
- },
77
- ];
78
68
 
79
69
  const seo: CarbonationLocaleContent['seo'] = [
80
70
  {
@@ -193,7 +183,6 @@ export const content: CarbonationLocaleContent = {
193
183
  seo,
194
184
  faqTitle,
195
185
  faq,
196
- bibliographyTitle,
197
186
  bibliography,
198
187
  howTo,
199
188
  schemas,
@@ -1,3 +1,4 @@
1
+ import { bibliography } from '../bibliography';
1
2
  import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
3
  import type { CarbonationUI, CarbonationLocaleContent } from '../index';
3
4
 
@@ -29,7 +30,6 @@ const ui: CarbonationUI = {
29
30
  };
30
31
 
31
32
  const faqTitle = 'Frequently Asked Questions';
32
- const bibliographyTitle = 'Bibliography & Sources';
33
33
 
34
34
  const faq: CarbonationLocaleContent['faq'] = [
35
35
  {
@@ -65,16 +65,6 @@ const howTo: CarbonationLocaleContent['howTo'] = [
65
65
  },
66
66
  ];
67
67
 
68
- const bibliography: CarbonationLocaleContent['bibliography'] = [
69
- {
70
- name: "How to Brew: Carbonation Tables - John Palmer",
71
- url: "https://howtobrew.com/section-1/chapter-11/",
72
- },
73
- {
74
- name: "BJCP Style Guidelines: Carbonation Levels",
75
- url: "https://www.bjcp.org/style/2021/beer/",
76
- },
77
- ];
78
68
 
79
69
  const seo: CarbonationLocaleContent['seo'] = [
80
70
  {
@@ -193,7 +183,6 @@ export const content: CarbonationLocaleContent = {
193
183
  seo,
194
184
  faqTitle,
195
185
  faq,
196
- bibliographyTitle,
197
186
  bibliography,
198
187
  howTo,
199
188
  schemas,
@@ -1,3 +1,4 @@
1
+ import { bibliography } from '../bibliography';
1
2
  import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
3
  import type { CarbonationUI, CarbonationLocaleContent } from '../index';
3
4
 
@@ -29,7 +30,6 @@ const ui: CarbonationUI = {
29
30
  };
30
31
 
31
32
  const faqTitle = 'Preguntas Frecuentes';
32
- const bibliographyTitle = 'Bibliografía y Fuentes';
33
33
 
34
34
  const faq: CarbonationLocaleContent['faq'] = [
35
35
  {
@@ -65,16 +65,6 @@ const howTo: CarbonationLocaleContent['howTo'] = [
65
65
  },
66
66
  ];
67
67
 
68
- const bibliography: CarbonationLocaleContent['bibliography'] = [
69
- {
70
- name: "How to Brew: Carbonation Tables - John Palmer",
71
- url: "https://howtobrew.com/section-1/chapter-11/",
72
- },
73
- {
74
- name: "BJCP Style Guidelines: Carbonation Levels",
75
- url: "https://www.bjcp.org/style/2021/beer/",
76
- },
77
- ];
78
68
 
79
69
  const seo: CarbonationLocaleContent['seo'] = [
80
70
  {
@@ -197,7 +187,6 @@ export const content: CarbonationLocaleContent = {
197
187
  seo,
198
188
  faqTitle,
199
189
  faq,
200
- bibliographyTitle,
201
190
  bibliography,
202
191
  howTo,
203
192
  schemas,
@@ -1,3 +1,4 @@
1
+ import { bibliography } from '../bibliography';
1
2
  import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
3
  import type { CarbonationUI, CarbonationLocaleContent } from '../index';
3
4
 
@@ -29,7 +30,6 @@ const ui: CarbonationUI = {
29
30
  };
30
31
 
31
32
  const faqTitle = 'Foire Aux Questions';
32
- const bibliographyTitle = 'Bibliographie & Sources';
33
33
 
34
34
  const faq: CarbonationLocaleContent['faq'] = [
35
35
  {
@@ -65,16 +65,6 @@ const howTo: CarbonationLocaleContent['howTo'] = [
65
65
  },
66
66
  ];
67
67
 
68
- const bibliography: CarbonationLocaleContent['bibliography'] = [
69
- {
70
- name: "How to Brew: Carbonation Tables - John Palmer",
71
- url: "https://howtobrew.com/section-1/chapter-11/",
72
- },
73
- {
74
- name: "BJCP Style Guidelines: Carbonation Levels",
75
- url: "https://www.bjcp.org/style/2021/beer/",
76
- },
77
- ];
78
68
 
79
69
  const seo: CarbonationLocaleContent['seo'] = [
80
70
  {
@@ -193,7 +183,6 @@ export const content: CarbonationLocaleContent = {
193
183
  seo,
194
184
  faqTitle,
195
185
  faq,
196
- bibliographyTitle,
197
186
  bibliography,
198
187
  howTo,
199
188
  schemas,
@@ -1,3 +1,4 @@
1
+ import { bibliography } from '../bibliography';
1
2
  import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
3
  import type { CarbonationUI, CarbonationLocaleContent } from '../index';
3
4
 
@@ -29,7 +30,6 @@ const ui: CarbonationUI = {
29
30
  };
30
31
 
31
32
  const faqTitle = 'Pertanyaan yang Sering Diajukan';
32
- const bibliographyTitle = 'Bibliografi & Sumber';
33
33
 
34
34
  const faq: CarbonationLocaleContent['faq'] = [
35
35
  {
@@ -65,16 +65,6 @@ const howTo: CarbonationLocaleContent['howTo'] = [
65
65
  },
66
66
  ];
67
67
 
68
- const bibliography: CarbonationLocaleContent['bibliography'] = [
69
- {
70
- name: 'How to Brew: Tabel Karbonasi - John Palmer',
71
- url: 'https://howtobrew.com/section-1/chapter-11/',
72
- },
73
- {
74
- name: 'Pedoman Gaya BJCP: Tingkat Karbonasi',
75
- url: 'https://www.bjcp.org/style/2021/beer/',
76
- },
77
- ];
78
68
 
79
69
  const seo: CarbonationLocaleContent['seo'] = [
80
70
  {
@@ -193,7 +183,6 @@ export const content: CarbonationLocaleContent = {
193
183
  seo,
194
184
  faqTitle,
195
185
  faq,
196
- bibliographyTitle,
197
186
  bibliography,
198
187
  howTo,
199
188
  schemas,
@@ -1,3 +1,4 @@
1
+ import { bibliography } from '../bibliography';
1
2
  import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
3
  import type { CarbonationUI, CarbonationLocaleContent } from '../index';
3
4
 
@@ -29,7 +30,6 @@ const ui: CarbonationUI = {
29
30
  };
30
31
 
31
32
  const faqTitle = 'Domande Frequenti';
32
- const bibliographyTitle = 'Bibliografia e Fonti';
33
33
 
34
34
  const faq: CarbonationLocaleContent['faq'] = [
35
35
  {
@@ -65,16 +65,6 @@ const howTo: CarbonationLocaleContent['howTo'] = [
65
65
  },
66
66
  ];
67
67
 
68
- const bibliography: CarbonationLocaleContent['bibliography'] = [
69
- {
70
- name: "How to Brew: Carbonation Tables - John Palmer",
71
- url: "https://howtobrew.com/section-1/chapter-11/",
72
- },
73
- {
74
- name: "BJCP Style Guidelines: Carbonation Levels",
75
- url: "https://www.bjcp.org/style/2021/beer/",
76
- },
77
- ];
78
68
 
79
69
  const seo: CarbonationLocaleContent['seo'] = [
80
70
  {
@@ -193,7 +183,6 @@ export const content: CarbonationLocaleContent = {
193
183
  seo,
194
184
  faqTitle,
195
185
  faq,
196
- bibliographyTitle,
197
186
  bibliography,
198
187
  howTo,
199
188
  schemas,
@@ -1,3 +1,4 @@
1
+ import { bibliography } from '../bibliography';
1
2
  import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
3
  import type { CarbonationUI, CarbonationLocaleContent } from '../index';
3
4
 
@@ -29,7 +30,6 @@ const ui: CarbonationUI = {
29
30
  };
30
31
 
31
32
  const faqTitle = 'よくある質問';
32
- const bibliographyTitle = '参考文献とソース';
33
33
 
34
34
  const faq: CarbonationLocaleContent['faq'] = [
35
35
  {
@@ -65,16 +65,6 @@ const howTo: CarbonationLocaleContent['howTo'] = [
65
65
  },
66
66
  ];
67
67
 
68
- const bibliography: CarbonationLocaleContent['bibliography'] = [
69
- {
70
- name: "How to Brew: Carbonation Tables - John Palmer",
71
- url: "https://howtobrew.com/section-1/chapter-11/",
72
- },
73
- {
74
- name: "BJCP Style Guidelines: Carbonation Levels",
75
- url: "https://www.bjcp.org/style/2021/beer/",
76
- },
77
- ];
78
68
 
79
69
  const seo: CarbonationLocaleContent['seo'] = [
80
70
  {
@@ -193,7 +183,6 @@ export const content: CarbonationLocaleContent = {
193
183
  seo,
194
184
  faqTitle,
195
185
  faq,
196
- bibliographyTitle,
197
186
  bibliography,
198
187
  howTo,
199
188
  schemas,