Coder Social home page Coder Social logo

Comments (5)

grosenberg avatar grosenberg commented on June 2, 2024

Is anything more than a dark theme button required?

from fluentmark.

de-jcup avatar de-jcup commented on June 2, 2024

Normally the steps described at
de-jcup/eclipse-asciidoctor-editor#60 will bring up correct colors automatically when user start up with dark themes - see comments and code from @vogella
(css variant)

This is normally the standard way to provide dark theme colouring in e4 style. But -at least currently - it has problems when you switch between white and dark theme. Dark theme colors where not assigned automatically on switching. So I left my "Defaults for dark theme" button in case of problems...

from fluentmark.

toniocus avatar toniocus commented on June 2, 2024

Hi @de-jcup

I'm facing the dark theme issue myself, and I've noticed you mention steps for configuring ascii-doctor, so what you are suggesting is to use the same approach to solve this issue, or that if you install ascii-doctor and correct colors in it, it will solve the fluentmark issue ?

thanks in advance, hope this is a work-around :-)

from fluentmark.

de-jcup avatar de-jcup commented on June 2, 2024

Hello @toniocus ,

In my plugins I have always a special "Apply defaults for dark theme" button in color preference pages.
This is only a workaround and - i you want to adopt this - you have to implement it by your own - I did this in my plugins when it comes to problems.

But you should also apply the wanted official way and provide a dark css file for your plugin. I am not sure why this is sometimes working and sometimes not - but it's the official way and I think it will work in future "out-of-the-box" - e.g.:
https://github.com/de-jcup/eclipse-asciidoctor-editor/blob/master/asciidoctor-editor-plugin/css/dark.css works well

My workaround is a little bit cumbersome, because new colors must always be maintained in dark.css and also in code for button... but it works always...

from fluentmark.

cpfeiffer avatar cpfeiffer commented on June 2, 2024

That would be super useful. Selected text is currently completely unreadable (black text on black background).

from fluentmark.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.