-
Notifications
You must be signed in to change notification settings - Fork 11
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
Add Dark Theme #581
base: main
Are you sure you want to change the base?
Add Dark Theme #581
Conversation
Something I saw after I deleted the files manually: The script has an |
This comment was marked as duplicate.
This comment was marked as duplicate.
@@ -9,7 +9,7 @@ <h5 class="text-break">{{ result.title }}</h5> | |||
{{ result.specific.date|date:"SHORT_DATE_FORMAT" }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -9,7 +9,7 @@ <h5 class="text-break">{{ result.title }}</h5> | |||
{{ result.specific.date|date:"SHORT_DATE_FORMAT" }} | |||
</time> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -9,7 +9,7 @@ <h5 class="text-break">{{ result.title }}</h5> | |||
{{ result.specific.date|date:"SHORT_DATE_FORMAT" }} | |||
</time> | |||
</hgroup> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -9,7 +9,7 @@ <h5 class="text-break">{{ result.title }}</h5> | |||
{{ result.specific.date|date:"SHORT_DATE_FORMAT" }} | |||
</time> | |||
</hgroup> | |||
<span class="text-dark"> | |||
<span class="search-preview"> | |||
{% if result.search_description %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -9,7 +9,7 @@ <h5 class="text-break">{{ result.title }}</h5> | |||
{{ result.specific.date|date:"SHORT_DATE_FORMAT" }} | |||
</time> | |||
</hgroup> | |||
<span class="text-dark"> | |||
<span class="search-preview"> | |||
{% if result.search_description %} | |||
{{ result.search_description }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -1,5 +1,5 @@ | |||
.footer-myhpi { | |||
background-color: var(--bs-gray-700); | |||
background-color: var(--bs-gray-800); | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -1,5 +1,5 @@ | |||
.footer-myhpi { | |||
background-color: var(--bs-gray-700); | |||
background-color: var(--bs-gray-800); | |||
|
|||
.page-content { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -1,5 +1,5 @@ | |||
.footer-myhpi { | |||
background-color: var(--bs-gray-700); | |||
background-color: var(--bs-gray-800); | |||
|
|||
.page-content { | |||
padding-top: 1.5rem; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -5,20 +5,25 @@ | |||
$primary: #F5631E; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -5,20 +5,25 @@ | |||
$primary: #F5631E; | |||
$secondary: #F5631E; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In [myhpi/core/templates/core/sidebar.html](https://github.com/fsr-de/myHPI/pull/525/files/bc3f7996429831f3857afe63e7b344cfd023d219#diff-8c66ac3d840d267494b184c335c50d73e56b70724f454183f3af2b86242632a7)
, there is the following comment:
<!-- Bootstrap 5.2 supports responsive offcanvas. This duplication is a workaround and should be removed after the upgrade -->
Could be addressed now, since we updated to 5.3
$gray-600: #999; | ||
$gray-700: #777; | ||
$gray-800: #555; | ||
$gray-900: #333; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Keep in mind to update bootstrap (you may need to manually delete some files so that the install works).
Closes #502
Changes small parts of the light theme: