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

Changing colours #25

Open
russel opened this issue Jun 26, 2016 · 3 comments
Open

Changing colours #25

russel opened this issue Jun 26, 2016 · 3 comments

Comments

@russel
Copy link

russel commented Jun 26, 2016

The colours of adoc mode when using Emacs light on dark do not really work. The basic text colour is fine as is the section heads (though the section fonts are too big relative to the text size). But listing etc. annotations being very dark grey and the small red footnote font makes these things completely unreadable.

What is the official way of changing the colours on a per user basis?

@nicorikken
Copy link

As described in previous tickets #11 #13 and #20 you can set the customize-group markup-faces.

@sensorflo 3 of my near colleagues use Emacs (or Spacemacs) for most things except for Asciidoc editing. They use the https://github.com/asciidoctor/atom-language-asciidoc project instead (which I helped make as great as it is 😄 ). All cite the font rendering as the objection to using the Asciidoc mode. A more explicit/elaborate documentation would be great (for all the Emacs noobs out there, like me), and a command like adoc-normalize-fontsize could be a relatively simple feature to make it a more welcoming experience. I'd be happy to make a separate issue of this, and maybe contribute.

@CyberShadow
Copy link

There are a few things that can be fixed in this package to improve the situation:

  • Using the conditional clauses of defface, which allow defining different face attributes depending on whether the text is displayed on a light or dark background;
  • Using the :distant-foreground face property to specify an alternate color for dark backgrounds;
  • Making the faces descend from the ones defined in font-lock.el, thus reusing the user's existing color theme.

However, it looks like this package has been abandoned.

@dunmaksim
Copy link

@CyberShadow , package fork now is here https://github.com/bbatsov/adoc-mode

tarsius pushed a commit to emacsmirror/adoc-mode that referenced this issue Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants