Merge pull request #147 from leewan-09/bugfix/branding-page-logo

logo uses white text on dark mode
This commit is contained in:
Bill Thornton
2022-09-08 16:20:09 -04:00
committed by GitHub
4 changed files with 10 additions and 1 deletions
+4 -1
View File
@@ -40,7 +40,10 @@ All iconography and other resources can be found in the [jellyfin-ux](https://gi
When using the full version of the logo, the text should only be placed to the right of the icon.
![The logo should have the text placed on the right of the icon.](/images/docs/branding-logo-yes-side.png) ![The logo should never have the text placed below the icon.](/images/docs/branding-logo-no-below.png)
![The logo should have the text placed on the right of the icon.](/images/docs/branding-logo-yes-side.png#hidden--dark-mode)
![The logo should have the text placed on the right of the icon.](/images/docs/branding-logo-dark-theme-yes-side.png#hidden--light-mode)
![The logo should never have the text placed below the icon.](/images/docs/branding-logo-no-below.png#hidden--dark-mode)
![The logo should never have the text placed below the icon.](/images/docs/branding-logo-dark-theme-no-below.png#hidden--light-mode)
The design for the logo uses a gradient for the infill, and if the non-transparent logo is chosen there is an optional background color.
+6
View File
@@ -112,6 +112,12 @@ a.pills__item:not(.pills__item--active) {
fill: var(--ifm-font-color-base);
}
/* To toggle the visibility of an image using the path fragment */
[data-theme='light'] img[src$='#hidden--light-mode'],
[data-theme='dark'] img[src$='#hidden--dark-mode'] {
display: none;
}
@media (max-width: 996px) {
.hidden--mobile {
display: none;
Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB