KhronosGroup / KhronosGroup/Vulkan-Docs

REQUEST: Color-code structs and enums, like functions currently are

Open
#2,371 0 comments 0 reactions 1 assignee View on GitHub

@oddhack is already working on this.

Since May 22, 2024.

Markup/Editing
Dominant language
JavaScript
Stars
3.3k
Forks
549
Avg merge
5d 5h
Merged PRs (30d)
2

Description

In the HTML version of the Vulkan Spec, it is nice that functions are listed with a red name. It makes them stand out when perusing a chapter. Structs also have a color, but it's light blue, which clashes with the colors of links (for which there are many). Enum definitions don't have a color, thus they don't stand out.

Please, consider:

  1. Changing the color of struct names to something other than blue, so they don't clash with links.
  2. Giving a non-blue color to enum definitions.
  3. Making function, struct, and enum colored names bold.

Regards

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.