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

fix(css): theme has-dark-logo aka light header #607

Conversation

wesleyboar
Copy link
Member

@wesleyboar wesleyboar commented Mar 2, 2023

Overview

Allow loading has-dark-logo header's from Core-Styles.

Related

Changes

  • install appropriate core-styles branch
  • add stylesheet that loads Core Styles' new header.theme-has-dark-logo.css

Testing

  1. Perform local test or remote test of feat(demdata_cms): delete a.k.a. migrate to core-cms-custom Core-CMS-Resources#173.
  2. Verify CMS nav in header is light.

UI

demdata-cms (TACC/Core-CMS-Resources#173)
has-dark-logo

Notes

Known Issues

  1. Search bar is still dark.

    The template to overwrite, nav_search.raw.html, can not be overwritten from a https://github.com/TACC/Core-CMS-Resources site (without Bugfix/fp 1652 template load order #492).

    One way to solve is to migrate https://github.com/TACC/Core-CMS-Resources/tree/main/demdata-cms to https://github.com/TACC/Core-CMS-Custom (a setup in which sites can overwrite templates).

    This problem is not an immediate concern for demdata-cms, because the design does not show it having a search bar.

@wesleyboar wesleyboar changed the base branch from main to task/get-core-styles-beyond-0.11.0 March 2, 2023 03:46
@wesleyboar wesleyboar marked this pull request as ready for review March 2, 2023 03:50
@wesleyboar wesleyboar changed the title Bugfix/theme ie has dark logo aka light header fix(css): theme i.e. has dark logo aka light header Mar 2, 2023
@wesleyboar wesleyboar changed the title fix(css): theme i.e. has dark logo aka light header fix(css): theme has-dark-logo aka light header Mar 2, 2023
This branch accidentally had task/demdata-css-from-tup checked out.
@wesleyboar wesleyboar merged commit 3989f22 into task/get-core-styles-beyond-0.11.0 Mar 2, 2023
@wesleyboar wesleyboar deleted the bugfix/theme-ie-has-dark-logo-aka-light-header branch March 2, 2023 04:17
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.

1 participant