Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
d20ce03264
commit
01b7186052
3 changed files with 6 additions and 5 deletions
|
@ -167,7 +167,8 @@
|
|||
</div>
|
||||
</footer>
|
||||
|
||||
<!-- Load shared theme utility --><script src="theme-utils.js"></script>
|
||||
<!-- Load shared theme utility -->
|
||||
<script src="theme-utils.js"></script>
|
||||
<script src="utils.js"></script>
|
||||
<script src="admin.js"></script>
|
||||
</body>
|
||||
|
|
|
@ -123,7 +123,7 @@
|
|||
</footer>
|
||||
|
||||
<!-- Load shared theme utility -->
|
||||
<script src="/theme-utils.js"></script>
|
||||
<script src="theme-utils.js"></script>
|
||||
<script>
|
||||
// Initialize theme when page loads
|
||||
document.addEventListener('DOMContentLoaded', initializeTheme);
|
||||
|
|
|
@ -123,12 +123,12 @@
|
|||
}
|
||||
|
||||
// Theme Toggle Mixin (consolidates duplicated theme toggle styles)
|
||||
@mixin theme-toggle-styles {
|
||||
@mixin theme-toggle-styles($width: 40px, $height: 40px) {
|
||||
@include button($bg-color: transparent);
|
||||
border: 2px solid var(--border-color);
|
||||
border-radius: $border-radius-full;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
width: $width;
|
||||
height: $height;
|
||||
@include flex-center;
|
||||
transition: all 0.3s ease;
|
||||
box-shadow: 0 2px 4px var(--shadow);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue