Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

footer bg changed #355

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

footer bg changed #355

wants to merge 1 commit into from

Conversation

OMIIIEE
Copy link

@OMIIIEE OMIIIEE commented Dec 10, 2024

now footer is visible clearly in dark mode . changed background color

Copy link
Owner

@Jenselme Jenselme left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for you contribution! I have a few questions/remarks.

For my personal knowledge, how did you find out about the project and why did you want to contribute (I don’t think it very known yet)?

@@ -66,7 +66,7 @@
{% endblock page_js %}
{% endblock javascript %}
</head>
<body class="content-body">
<body class="content-body" data-bs-theme="auto">
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why force this? There is a theme selector in the navbar to choose how to display: automatic theme from system, light or dark. So I don’t think this is necessary.

@@ -2,6 +2,8 @@
--content-footer-height: 104px;
--content-mobile-footer-height: 248px;
--content-header-height: 56px;
--bs-body-bg: #f8f9fa; /* Light mode */
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don’t think we should redefine colors. Removing the bg-* classes on footer and updating the behavior of .content-footer should be enough:

.content-footer {
  height: var(--content-mobile-footer-height);
  background-color: var(--bs-dark);
}

[data-bs-theme="dark"] .content-footer {
  background-color: var(--bs-tertiary-bg);
}

This way, we have the same footer as today on light (which I like) and on dark the footer has the same color than the navbar. What do you think?

Note: with your current modification, footer on light theme is broken.

@Jenselme
Copy link
Owner

@OMIIIEE any questions on my remarks?

@Jenselme
Copy link
Owner

@OMIIIEE hello, any opinions on the feedback I provided?

Without answer from you, I’ll take the liberty to take back this issue 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants