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

Enhance Styles for Hugo Syntaxes and Binary Examples #70

Open
20 tasks
tajmone opened this issue Mar 7, 2020 · 0 comments
Open
20 tasks

Enhance Styles for Hugo Syntaxes and Binary Examples #70

tajmone opened this issue Mar 7, 2020 · 0 comments
Labels
💡 enhancement A new feature or enhancement request 👮 styling conventions Policies: How Book elements should be styled ⭐ css Topic: Custom stylesheets
Milestone

Comments

@tajmone
Copy link
Owner

tajmone commented Mar 7, 2020

Improve the colour styles for syntax mock-ups:

  • Hugo syntax definitions (see Enhance Hugo Syntax Definitions and Examples #41):
    • Use different colours for:
      • The various token indicating optionality ([]), alternatives (|) and omissions (...).
      • Comments.
    • Update Sass/CSS stylesheets:
      • Add new style classes, as required.
    • Track all syntax definitions that need to be fixed, and add them to this task list.
  • Binary code representations of compiled Hugo examples:
    • Use different colours for:
      • Memory addresses.
      • Byte values.
      • Token representations.
      • String representations.
      • Vars and parameters representations.
    • Update Sass/CSS stylesheets:
      • Reuse the same colour scheme of syntax definitions (Base2Tone Lake), but combine colours differently (e.g. use the light scheme instead of the dark one).
    • Track all binary code examples that need to be fixed, and add them to this task list.
  • Document new styles in CONVENTIONS.md.
  • Update Changelog:
    • Mention that these styles updates are the reason why the new release bumps up the MINOR version (1.0.0 → 1.1.0).

Since all of the above are just literal blocks, and no syntax highlighter is involved, styles need to be applied manually.

@tajmone tajmone added 💡 enhancement A new feature or enhancement request 👮 styling conventions Policies: How Book elements should be styled ⭐ css Topic: Custom stylesheets labels Mar 7, 2020
@tajmone tajmone added this to the hugo code milestone Mar 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💡 enhancement A new feature or enhancement request 👮 styling conventions Policies: How Book elements should be styled ⭐ css Topic: Custom stylesheets
Projects
None yet
Development

No branches or pull requests

1 participant