diff --git a/docs/images/dex-theme/approval.png b/docs/images/dex-theme/approval.png index 12f42d804..91a3cd666 100644 Binary files a/docs/images/dex-theme/approval.png and b/docs/images/dex-theme/approval.png differ diff --git a/docs/images/dex-theme/error.png b/docs/images/dex-theme/error.png index 53a3b4493..ff4e74568 100644 Binary files a/docs/images/dex-theme/error.png and b/docs/images/dex-theme/error.png differ diff --git a/docs/images/dex-theme/login.png b/docs/images/dex-theme/login.png index 52d6dcd11..bf362333c 100644 Binary files a/docs/images/dex-theme/login.png and b/docs/images/dex-theme/login.png differ diff --git a/k8s/bases/infrastructure/controllers/dex/config-map.yaml b/k8s/bases/infrastructure/controllers/dex/config-map.yaml index 7c5576334..87b40cf55 100644 --- a/k8s/bases/infrastructure/controllers/dex/config-map.yaml +++ b/k8s/bases/infrastructure/controllers/dex/config-map.yaml @@ -74,8 +74,8 @@ data: .theme-navbar { background-color: var(--dt-bg); border-bottom: 1px solid var(--dt-card-border); - height: 64px; - padding: 0 16px; + height: 80px; + padding: 0 24px; } .theme-navbar__logo-wrap { @@ -85,12 +85,26 @@ data: height: 100%; } - /* The wordmark already spells the name, so the header shows no second title. */ + /* The wordmark is the header: it already spells the name, so no title + follows it. 48px tall (about 255px wide) on wider screens, smaller on + phones; the SVG stays sharp at any size. */ .theme-navbar__logo { - height: 30px; + height: 48px; + max-width: 100%; width: auto; } + @media (max-width: 480px) { + .theme-navbar { + height: 64px; + padding: 0 16px; + } + + .theme-navbar__logo { + height: 36px; + } + } + /* Dex renders the logo without alt text, so the name stays available to screen readers here, without showing it twice. */ .theme-navbar__logo-wrap::after { diff --git a/k8s/bases/infrastructure/controllers/dex/helm-release.yaml b/k8s/bases/infrastructure/controllers/dex/helm-release.yaml index 44af69f92..d1a32240f 100644 --- a/k8s/bases/infrastructure/controllers/dex/helm-release.yaml +++ b/k8s/bases/infrastructure/controllers/dex/helm-release.yaml @@ -88,6 +88,22 @@ spec: hostnames: - dex.${domain} rules: + # The theme (config-map.yaml) is served at stable URLs, and Cloudflare kept + # the previous stylesheet and icon for four hours after a theme change. + # private, no-store keeps any shared or browser cache from holding them, + # as the Homepage route does for its custom stylesheet. + - matches: + - path: + type: PathPrefix + value: /theme/ + filters: + - type: ResponseHeaderModifier + responseHeaderModifier: + set: + - name: Strict-Transport-Security + value: max-age=63072000; includeSubDomains; preload + - name: Cache-Control + value: private, no-store - matches: - path: type: PathPrefix diff --git a/scripts/validate-eks-ci-role-policy/approved-surface.txt b/scripts/validate-eks-ci-role-policy/approved-surface.txt index 5031ab744..e0e3c7228 100644 --- a/scripts/validate-eks-ci-role-policy/approved-surface.txt +++ b/scripts/validate-eks-ci-role-policy/approved-surface.txt @@ -64,7 +64,7 @@ helm.toolkit.fluxcd.io/v2|HelmRelease|customer-identity|customer-dex 55a9ceabb55 helm.toolkit.fluxcd.io/v2|HelmRelease|customer-identity|zitadel eeb9881018664637cdefc9c5c0afd6953aa958e5dbfbc9cd8c5d521501e52431 -helm.toolkit.fluxcd.io/v2|HelmRelease|dex|dex 6b11d3e9722c62691ecd9977961a2b1c9bd4e0f60fa78da9fb93bb7ec89378a9 +helm.toolkit.fluxcd.io/v2|HelmRelease|dex|dex 85b271be55e3e61d1d38af7ac41013afaa69d85eb29839fa7d95648461db2d18 helm.toolkit.fluxcd.io/v2|HelmRelease|external-dns|external-dns 107eaf8ad3d74abff5c6b1c6d7ca1b49ac75829fe425672f81cdc1e799457511