diff --git a/gov_uk_dashboards/assets/images/MHCLG-favicon.png b/gov_uk_dashboards/assets/images/MHCLG-favicon.png new file mode 100644 index 0000000..f8a53af Binary files /dev/null and b/gov_uk_dashboards/assets/images/MHCLG-favicon.png differ diff --git a/gov_uk_dashboards/assets/images/mhclg_white_no_background.png b/gov_uk_dashboards/assets/images/mhclg_white_no_background.png new file mode 100644 index 0000000..e324c3d Binary files /dev/null and b/gov_uk_dashboards/assets/images/mhclg_white_no_background.png differ diff --git a/gov_uk_dashboards/components/plotly/header.py b/gov_uk_dashboards/components/plotly/header.py index 2475c3b..d6c56f8 100644 --- a/gov_uk_dashboards/components/plotly/header.py +++ b/gov_uk_dashboards/components/plotly/header.py @@ -19,8 +19,8 @@ def header(title: str, strong_class: str = "", background_colour: str = None): html.Div( [ html.Img( - src="assets\\images\\DLUHC_WHITE_Master_AW_sm.png", - srcSet="assets\\images\\DLUHC_WHITE_Master_AW_sm.png 490w", + src="assets\\images\\mhclg_white_no_background.png", + srcSet="assets\\images\\mhclg_white_no_background.png 490w", sizes="(min-width: 600px) 200px, 30vw", className="header-image", style={"maxWidth": "200px"}, @@ -43,6 +43,7 @@ def header(title: str, strong_class: str = "", background_colour: str = None): "OFFICIAL", className="govuk-tag protective-marking", id="protective-marking", + style={"background-color": "#000000"}, ) ], className=f"{strong_class}", @@ -56,9 +57,11 @@ def header(title: str, strong_class: str = "", background_colour: str = None): className="govuk-header__content", ), className="govuk-header__container govuk-width-container", + style={"border-bottom": "10px solid #000000"}, ), className="govuk-header", role="banner", - style=header_style, + style=header_style + | {"border-color": "#000000", "background-color": "rgb(0,98,94)"}, **{"data-module": "govuk-header"}, ) diff --git a/setup.py b/setup.py index cf986d8..961fba6 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ author="Department for Levelling Up, Housing and Communities", description="Provides access to functionality common to creating a data dashboard.", name="gov_uk_dashboards", - version="9.43.0", + version="10.0.0", long_description=long_description, long_description_content_type="text/markdown", packages=find_packages(),