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

Custom search icon #3882

Open
MGaetan89 opened this issue Oct 24, 2024 · 0 comments
Open

Custom search icon #3882

MGaetan89 opened this issue Oct 24, 2024 · 0 comments
Labels
enhancement An issue for a feature or an overall improvement format: html An issue/PR related to Dokka's default HTML output format

Comments

@MGaetan89
Copy link
Contributor

MGaetan89 commented Oct 24, 2024

Is your feature request related to a problem? Please describe

Dokka allows customizing its icons using the customAssets configuration option: https://kotlinlang.org/docs/dokka-html.html#customize-assets
However, the search icon used in the top bar is not listed: https://github.com/Kotlin/dokka/tree/1.9.20/dokka-subprojects/plugin-base/src/main/resources/dokka/images

Screenshot 2024-10-24 at 11 27 44

The first icon is theme-toggle.svg, but the second is not listed.

Describe the solution you'd like

The search icon can be customized using customAssets.from("search-icon.svg") (using Dokka 2.0 syntax).

Describe alternatives you've considered

None.

Additional context

I'm using Dokka 2.0.0-Beta, but this is probably relevant for Dokka 1.9 too.

@MGaetan89 MGaetan89 added the enhancement An issue for a feature or an overall improvement label Oct 24, 2024
@whyoleg whyoleg added the format: html An issue/PR related to Dokka's default HTML output format label Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An issue for a feature or an overall improvement format: html An issue/PR related to Dokka's default HTML output format
Projects
None yet
Development

No branches or pull requests

2 participants