@@ -8,7 +8,7 @@ author: >-
88message : Hello, world!
99body_class : release-highlights published-draft-post
1010tags : [release]
11- cSpell:ignore : Chalin pageinfo docsy gohugoio subrepo lookandfeel
11+ cSpell:ignore : Chalin pageinfo docsy gohugoio subrepo lightdark lookandfeel
1212---
1313
1414{{% card header="Highlights" %}}
@@ -40,6 +40,8 @@ Docsy [0.14.0] comes with the following notable features and improvements:
4040- Review {{% _ param BADGE BREAKING warning %}} changes:
4141 - {{% _ param BREAKING %}} How you [ customize Swagger] ( #swagger-scss ) UI's look
4242 and feel changes.
43+ - {{% _ param BREAKING %}} Default [ Navbar styles] ( #navbar ) and how you
44+ customize them changes.
4345 - {{% _ param BREAKING %}} [ Hugo 0.153+ upgrade] ( #hugo ) introduces breaking
4446 changes
4547- Review changes to internal files:
@@ -73,6 +75,53 @@ and how to customize the appearance of alerts, see [Alerts][].
7375[ alert shortcode ] : /docs/content/shortcodes/#alert
7476[ Alerts ] : /docs/content/adding-content/#alerts
7577
78+ ## {{% _ param BREAKING %}} Navbar style improvements {#navbar}
79+
80+ Prior to 0.14.0, the [ navbar] element always used a [ dark color theme] [ ] ,
81+ regardless of the site's color theme or the active color mode. This restriction
82+ has been removed:
83+
84+ - [ Light/dark color theme] [ ] is now configurable both site-wide and per page.
85+
86+ The default navbar style now matches the base page style, offering a clean and
87+ consistent look and feel.[ ^ navbar-bg-color ]
88+
89+ Learn more:
90+
91+ - Default navbar style: [ Navbar]
92+ - Navbar customization options: [ Customizing the navbar] [ ]
93+
94+ [ ^ navbar-bg-color ] :
95+ Prior to 0.14.0, the navbar background was set to the primary color.
96+
97+ ** Action may be required** to update your project in the following areas:
98+
99+ - {{% _ param BREAKING %}} Navbar theme now follows the page theme (default
100+ ` light ` ), instead of always forcing ` dark ` . Set ` params.ui.navbar_theme ` to
101+ ` dark ` to restore the old behavior. [ Details] [ navbar-lightdark-theme ] .
102+
103+ - Review your project's navbar style overrides. The new style design, SCSS and
104+ CSS variables may simplify your [ customization] [ Customizing the navbar ] .
105+
106+ - Review [ _ nav.html] [ ] if your project overrides it.
107+
108+ - Internal [ navbar cover-image translucency] [ ] class changes (update your custom
109+ styles targeting these classes if present):
110+ - ` .td-navbar-transparent ` replaces ` .navbar-bg-on-scroll ` (used with
111+ ` .td-navbar-cover ` )
112+ - ` .navbar-bg-onscroll--fade ` has been dropped: it was not used by Docsy, and
113+ the transition effect is now handled by ` .td-navbar-cover `
114+
115+ [ _ nav.html] :
116+ https://github.com/google/docsy/blob/main/layouts/_partials/navbar.html
117+ [ Customizing the navbar ] : /docs/content/lookandfeel/#navbar-customization
118+ [ dark color theme ] : /docs/content/lookandfeel/#lightdark-color-feature
119+ [ Light/dark color theme ] : /docs/content/lookandfeel/#navbar-lightdark-theme
120+ [ navbar ] : /docs/content/lookandfeel/#navbar
121+ [ navbar-lightdark-theme ] : /docs/content/lookandfeel/#navbar-lightdark-theme
122+ [ navbar cover-image translucency] :
123+ /docs/content/lookandfeel/#customize-over-cover
124+
76125## Improved separation of project and internal SCSS files {#improved-scss-soc}
77126
78127Docsy 0.14.0 moves all internal SCSS files from ` assets/scss/ ` into the
@@ -147,7 +196,7 @@ file.
147196For details about style customizations, see [ Project style files] [ ] and
148197[ Advanced style customization] [ ] .
149198
150- ## {{% _ param BREAKING %}} Swagger UI style customization {#swagger-scss}
199+ ### {{% _ param BREAKING %}} Swagger UI style customization {#swagger-scss}
151200
152201Prior to 0.14.0, the Docsy User Guide incorrectly recommended overriding
153202` _swagger.scss ` to customize [ Swagger UI] [ ] styles. Docsy's internal SCSS files
0 commit comments