diff options
author | Vadim Mishenev <vad-mishenev@yandex.ru> | 2023-06-30 16:44:20 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-30 16:44:20 +0300 |
commit | 12a386bb7185f862a1cbd831e6856c4235953833 (patch) | |
tree | 9fcfaba5bf87587e008fb9feb52264618e4180a2 /plugins/base/src/main/resources/dokka | |
parent | 26112637ba3511afc218fbe0ead6f72421ac7c77 (diff) | |
download | dokka-12a386bb7185f862a1cbd831e6856c4235953833.tar.gz dokka-12a386bb7185f862a1cbd831e6856c4235953833.tar.bz2 dokka-12a386bb7185f862a1cbd831e6856c4235953833.zip |
Generate dedicated pages for typealiases (#3051)
Diffstat (limited to 'plugins/base/src/main/resources/dokka')
-rw-r--r-- | plugins/base/src/main/resources/dokka/images/nav-icons/typealias-kotlin.svg | 9 | ||||
-rw-r--r-- | plugins/base/src/main/resources/dokka/styles/style.css | 4 |
2 files changed, 13 insertions, 0 deletions
diff --git a/plugins/base/src/main/resources/dokka/images/nav-icons/typealias-kotlin.svg b/plugins/base/src/main/resources/dokka/images/nav-icons/typealias-kotlin.svg new file mode 100644 index 00000000..4795069b --- /dev/null +++ b/plugins/base/src/main/resources/dokka/images/nav-icons/typealias-kotlin.svg @@ -0,0 +1,9 @@ +<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"> +<g id="typeAlias"> +<path id="Vector" fill-rule="evenodd" clip-rule="evenodd" d="M8 15C4.134 15 1 11.866 1 8C1 4.134 4.134 1 8 1C11.866 1 15 4.134 15 8H8V15Z" fill="#B99BF8" fill-opacity="0.6"/> +<path id="Vector_2" fill-rule="evenodd" clip-rule="evenodd" d="M8.5 8H8V11H7.5V6H5.5V5H10.5V6H8.5V8Z" fill="#231F20" fill-opacity="0.7"/> +<g id="⌘/modifier/kotlin"> +<path id="⌘/modifier/kotlin_2" d="M16 16H9V9H16L12.4 12.4L16 16Z" fill="#B99BF8"/> +</g> +</g> +</svg> diff --git a/plugins/base/src/main/resources/dokka/styles/style.css b/plugins/base/src/main/resources/dokka/styles/style.css index 30f3b176..ab48a7db 100644 --- a/plugins/base/src/main/resources/dokka/styles/style.css +++ b/plugins/base/src/main/resources/dokka/styles/style.css @@ -913,6 +913,10 @@ code:not(.block) { content: url("../images/nav-icons/object.svg"); } +.nav-icon.typealias-kt::before { + content: url("../images/nav-icons/typealias-kotlin.svg"); +} + .nav-icon.val::before { content: url("../images/nav-icons/field-value.svg"); } |