Skip to content

custom classes for typespec keywords#100

Description

@hauntedhost

Currently using "monokai-shade" theme and the styles on typespec keywords are nearly white which is quite "loud", visually distracts from the function definition itself, and unfortunately discourages me from writing typespecs. 馃槥

I'd love to be able to target and adjust the styles on typespec keywords, e.g.:

  • @type type_name :: type
  • @typep type_name :: type
  • @opaque type_name :: type
  • @spec function_name(type1, type2) :: return_type
  • @callback function_name(type1, type2) :: return_type
  • @macrocallback macro_name(type1, type2) :: Macro.t

I'm thinking similarly to the syntax--documentation class added to @doc moduledocs, tacking on an extra class like syntax--typespec or something.

Any thoughts?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions