Implement Web Assets' theme system and selection, and add 'light' theme #118

Merged
Márton Lente merged 97 commits from martonlente/extensions-website:ui/theme-light into main 2024-05-08 14:20:07 +02:00
2 changed files with 5 additions and 0 deletions
Showing only changes of commit 1b808dfc39 - Show all commits

View File

@ -9,6 +9,7 @@ $container-width: map-get($container-max-widths, 'xl')
/* Web Assets. */ /* Web Assets. */
@import '../../../../assets_shared/src/styles/main.sass' @import '../../../../assets_shared/src/styles/main.sass'
@import '../../../../assets_shared/src/styles/_theme_system.sass'
/* Extension Platform specific styling. */ /* Extension Platform specific styling. */
@import '_mixins.sass' @import '_mixins.sass'

View File

@ -132,6 +132,10 @@
</li> </li>
{% endblock nav-upload %} {% endblock nav-upload %}
<li>
<button class="js-toggle-theme-btn"><i class="js-toggle-theme-btn-icon i-adjust"></i></button>
</li>
{% if user.is_authenticated %} {% if user.is_authenticated %}
<li class="nav-item dropdown"> <li class="nav-item dropdown">
<button id="navbarDropdown" aria-expanded="false" aria-haspopup="true" data-toggle-menu-id="nav-account-dropdown" role="button" class="nav-link dropdown-toggle js-dropdown-toggle"> <button id="navbarDropdown" aria-expanded="false" aria-haspopup="true" data-toggle-menu-id="nav-account-dropdown" role="button" class="nav-link dropdown-toggle js-dropdown-toggle">