core-maugli 1.2.36 → 1.2.38

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.
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "core-maugli",
3
3
  "description": "Astro & Tailwind CSS blog theme for Maugli.",
4
4
  "type": "module",
5
- "version": "1.2.36",
5
+ "version": "1.2.38",
6
6
  "license": "GPL-3.0-or-later OR Commercial",
7
7
  "repository": {
8
8
  "type": "git",
@@ -134,7 +134,7 @@ const imageData = getResponsiveImages(baseImage);
134
134
  {title}
135
135
  </TitleTag>
136
136
 
137
- {content && <div class="text-sm md:text-[15px] opacity-60 leading-[1.5] text-[var(--text-main)] flex-grow">{content}</div>}
137
+ {content && <div class="text-sm md:text-[15px] opacity-77 leading-[1.6] text-[var(--text-main)] flex-grow">{content}</div>}
138
138
  </div>
139
139
  </a>
140
140
  </article>
@@ -94,7 +94,7 @@ const copyrightYears = yearStart === yearEnd ? `${yearStart}` : `${yearStart}–
94
94
  </a>
95
95
  ))}
96
96
  </div>
97
- <div class="hidden sm:block text-sm font-serif" style="color:var(--text-muted);text-align:right;opacity:0.6;">
97
+ <div class="hidden sm:block text-sm font-serif" style="color:var(--text-muted);text-align:right;opacity:0.95;">
98
98
  {maugliConfig.brand.name} © {copyrightYears}. {dict.footer.allRightsReserved}
99
99
  </div>
100
100
  </div>
@@ -102,7 +102,7 @@ const copyrightYears = yearStart === yearEnd ? `${yearStart}` : `${yearStart}–
102
102
  }
103
103
  {
104
104
  navLinks.length > 0 && (
105
- <div class="block sm:hidden w-full mt-2 text-sm font-serif" style="color:var(--text-muted);text-align:left;opacity:0.6;">
105
+ <div class="block sm:hidden w-full mt-2 text-sm font-serif" style="color:var(--text-muted);text-align:left;opacity:0.95;">
106
106
  {maugliConfig.brand.name} © {copyrightYears}. {dict.footer.allRightsReserved}
107
107
  </div>
108
108
  )
@@ -258,7 +258,7 @@ if (import.meta.env.DEV) {
258
258
  viewBox="0 0 24 24"
259
259
  fill="none"
260
260
  xmlns="http://www.w3.org/2000/svg"
261
- style="display:inline-block;vertical-align:middle;opacity:0.6; color: var(--text-muted);"
261
+ style="display:inline-block;vertical-align:middle;opacity:0.8; color: var(--text-muted);"
262
262
  >
263
263
  <path
264
264
  d="M17.7909 6.12232C14.9505 3.32362 10.5815 3.00989 7.39551 5.15377L7.38659 3.92302C7.38509 3.71587 7.21589 3.54914 7.00866 3.55079L6.25874 3.55664C6.05166 3.55822 5.88516 3.72734 5.88666 3.93434L5.90736 6.74122C5.91029 7.15357 6.24576 7.48537 6.65736 7.48537C6.65886 7.48537 6.66104 7.48537 6.66321 7.48537L9.47046 7.46467C9.67761 7.46317 9.84426 7.29389 9.84269 7.08674L9.83684 6.33667C9.83526 6.12959 9.66614 5.96309 9.45914 5.96459L8.98199 5.96804C11.4928 4.71464 14.6299 5.11372 16.7377 7.19017C18.7606 9.18427 19.3134 12.182 18.1639 14.7525C18.082 14.9355 18.1491 15.1487 18.3276 15.24L18.997 15.582C19.1866 15.6789 19.4265 15.6008 19.5145 15.4069C20.9445 12.2567 20.2743 8.57039 17.7909 6.12232ZM17.3434 16.5132C17.3419 16.5132 17.3397 16.5132 17.3375 16.5132L14.5303 16.5338C14.3231 16.5354 14.1565 16.7046 14.158 16.9117L14.1639 17.6618C14.1655 17.8688 14.3346 18.0353 14.5416 18.0339L15.0183 18.0304C12.5073 19.2835 9.37079 18.8841 7.26299 16.8083C5.24009 14.8142 4.68734 11.8164 5.83686 9.24599C5.91869 9.06299 5.85164 8.84977 5.67314 8.75849L5.00376 8.41649C4.81409 8.31959 4.57424 8.39767 4.48619 8.59154C3.05609 11.7417 3.72636 15.428 6.20969 17.8762C7.81439 19.4575 9.90771 20.2456 11.9995 20.2456C13.6101 20.2456 15.2191 19.7767 16.605 18.8438L16.6139 20.0754C16.6154 20.2825 16.7846 20.4493 16.9918 20.4477L17.7418 20.4418C17.9488 20.4402 18.1153 20.2711 18.1138 20.0641L18.0931 17.2573C18.0904 16.8449 17.755 16.5132 17.3434 16.5132Z"
@@ -130,7 +130,7 @@ const rubricImageFinal = rubricImage && rubricImage.length > 0 ? rubricImage : m
130
130
  })
131
131
  )
132
132
  }
133
- <label for="tags-toggle" class="flex items-center gap-1 px-2 py-1 cursor-pointer" style="color: var(--text-muted); opacity: 0.6;">
133
+ <label for="tags-toggle" class="flex items-center gap-1 px-2 py-1 cursor-pointer" style="color: var(--text-muted); opacity: 0.8;">
134
134
  <span>{allTagsLabel}</span>
135
135
  <span class="arrow-wrap" style="display:inline-flex;align-items:center;">
136
136
  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" style="color:inherit;" class="arrow-svg">
@@ -12,7 +12,7 @@ import zh from './zh.json';
12
12
 
13
13
  export const LANGUAGES = [
14
14
  { code: 'ru', label: 'РУ ВЕРСИЯ', flag: '🇷🇺', icon: '/flags/russia.svg', dict: ru },
15
- { code: 'en', label: 'EN USA EDITION', flag: '🇺🇸', icon: '/flags/united states.svg', dict: en },
15
+ { code: 'en', label: 'EN USA EDITION', flag: '🇺🇸', icon: '/flags/unitedstates.svg', dict: en },
16
16
  { code: 'es', label: 'ES LATAM', flag: '🇪🇸', icon: '/flags/spain.svg', dict: es },
17
17
  { code: 'de', label: 'DE VERSION', flag: '🇩🇪', icon: '/flags/germany.svg', dict: de },
18
18
  { code: 'pt', label: 'PT BRASIL', flag: '🇧🇷', icon: '/flags/brazil.svg', dict: pt },
@@ -46,21 +46,7 @@ const { showHeader = true, fullWidth = false, ...head } = Astro.props;
46
46
  }
47
47
 
48
48
  initTheme();
49
- </script>
50
- <ClientRouter />
51
- </head>
52
- <body class="bg-main text-main">
53
- <div class="flex flex-col min-h-screen px-4 md:px-8 w-full">
54
- <Nav />
55
- {showHeader && <Header />}
56
- <main class:list={['grow w-full mx-auto', fullWidth ? 'max-w-none' : 'max-w-3xl', 'pt-24']}>
57
- <slot />
58
- </main>
59
- <Footer />
60
- <MaugliFloatingLabel />
61
- </div>
62
49
 
63
- <script define:vars={{ defaultTheme: maugliConfig.defaultTheme || 'auto' }}>
64
50
  // Сохранение темы при переходах между страницами
65
51
  document.addEventListener('astro:page-load', () => {
66
52
  // Переинициализируем тему на каждой новой странице
@@ -85,5 +71,17 @@ const { showHeader = true, fullWidth = false, ...head } = Astro.props;
85
71
  }
86
72
  });
87
73
  </script>
74
+ <ClientRouter />
75
+ </head>
76
+ <body class="bg-main text-main">
77
+ <div class="flex flex-col min-h-screen px-4 md:px-8 w-full">
78
+ <Nav />
79
+ {showHeader && <Header />}
80
+ <main class:list={['grow w-full mx-auto', fullWidth ? 'max-w-none' : 'max-w-3xl', 'pt-24']}>
81
+ <slot />
82
+ </main>
83
+ <Footer />
84
+ <MaugliFloatingLabel />
85
+ </div>
88
86
  </body>
89
87
  </html>
@@ -52,7 +52,7 @@
52
52
  /* Dark Theme */
53
53
  --text-main: #ffffff;
54
54
  --text-heading: rgba(202, 252, 254, 0.85);
55
- --text-muted: #a6afbe;
55
+ --text-muted: #afb6c3;
56
56
  --bg-main: #0b131e;
57
57
  --bg-main-40: rgba(11, 19, 30, 0.4);
58
58
  --bg-muted: #131d2cde;