Change emojis to chars
This commit is contained in:
parent
c6be7d88f9
commit
111e8cead4
3 changed files with 10 additions and 2 deletions
|
|
@ -271,6 +271,12 @@ code {
|
||||||
border-color: var(--border-strong);
|
border-color: var(--border-strong);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.theme-icon {
|
||||||
|
font-size: 0.75rem;
|
||||||
|
font-weight: 700;
|
||||||
|
line-height: 1;
|
||||||
|
}
|
||||||
|
|
||||||
.theme-icon-sun {
|
.theme-icon-sun {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1044,6 +1044,8 @@ async function runAllTests() {
|
||||||
|
|
||||||
assert(headerContent.includes('meta name="color-scheme" content="light dark"'), 'header.ejs must declare color-scheme meta tag');
|
assert(headerContent.includes('meta name="color-scheme" content="light dark"'), 'header.ejs must declare color-scheme meta tag');
|
||||||
assert(headerContent.includes('id="themeToggleBtn"'), 'header.ejs must include themeToggleBtn');
|
assert(headerContent.includes('id="themeToggleBtn"'), 'header.ejs must include themeToggleBtn');
|
||||||
|
assert(headerContent.includes('theme-icon-sun" aria-hidden="true">L<'), 'header.ejs must use L for light theme indicator');
|
||||||
|
assert(headerContent.includes('theme-icon-moon" aria-hidden="true">D<'), 'header.ejs must use D for dark theme indicator');
|
||||||
assert(headerContent.includes('class="lang-switcher"'), 'header.ejs must include TR | EN language switcher');
|
assert(headerContent.includes('class="lang-switcher"'), 'header.ejs must include TR | EN language switcher');
|
||||||
assert(headerContent.includes('window.BeKulturDict'), 'header.ejs must expose client-side i18n dictionary');
|
assert(headerContent.includes('window.BeKulturDict'), 'header.ejs must expose client-side i18n dictionary');
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -76,8 +76,8 @@
|
||||||
|
|
||||||
<!-- Theme Toggle Button -->
|
<!-- Theme Toggle Button -->
|
||||||
<button type="button" id="themeToggleBtn" class="btn-icon-toggle" title="<%= typeof t === 'function' ? t('header.themeToggle') : 'Tema Değiştir' %>" aria-label="<%= typeof t === 'function' ? t('header.themeToggle') : 'Tema Değiştir' %>">
|
<button type="button" id="themeToggleBtn" class="btn-icon-toggle" title="<%= typeof t === 'function' ? t('header.themeToggle') : 'Tema Değiştir' %>" aria-label="<%= typeof t === 'function' ? t('header.themeToggle') : 'Tema Değiştir' %>">
|
||||||
<span class="theme-icon theme-icon-sun" aria-hidden="true">☀️</span>
|
<span class="theme-icon theme-icon-sun" aria-hidden="true">L</span>
|
||||||
<span class="theme-icon theme-icon-moon" aria-hidden="true">🌙</span>
|
<span class="theme-icon theme-icon-moon" aria-hidden="true">D</span>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<% if (typeof studentId !== 'undefined' && studentId) { %>
|
<% if (typeof studentId !== 'undefined' && studentId) { %>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue