Qownnotes: Change colors default for syntax highlights and preview

Created on 9 Aug 2016  路  13Comments  路  Source: pbek/QOwnNotes

Would be a great enhancement if it were possible to manage colors syntax and colors preview.
This is a screenshot of my QOwnNotes installation (inot macos) where colors are not so pretty:
schermata 2016-08-09 alle 17 10 11

Feature

Most helpful comment

after five days of work...

16.08.19

  • finally there are configurable editor color schemes

    • there are two default schemes called Default and Dark that

      are mimicking the current default mode and the dark mode colors

    • you can create as many schemes as you like by copying and

      modifying them

    • you can change the foreground color, background color, bold state,

      italic state and underline state

    • you can export schemes to files and import them again from

      these files

    • if you come up with a good and proven color theme, that should

      be included by default, please let me know

There now is a new release, could you please test it and report if the new features work for you?

All 13 comments

It seems you have the dark mode colors enabled in the interface settings.

thank you...is the "optimize colors..." that is checked now it's better :)

In any way the default colors theme are not so pretty for me :) ...if there is a way to change it manually into some files, for me it's ok :)

This is currently only possible in the source code: https://github.com/pbek/QOwnNotes/blob/develop/src/widgets/qownnotesmarkdowntextedit.cpp#L46

Maybe there will be some other way to do this in the future, I'll keep your issue for reference.

ok thanx

I'm currently working on this... ;)

thanx :-)

after five days of work...

16.08.19

  • finally there are configurable editor color schemes

    • there are two default schemes called Default and Dark that

      are mimicking the current default mode and the dark mode colors

    • you can create as many schemes as you like by copying and

      modifying them

    • you can change the foreground color, background color, bold state,

      italic state and underline state

    • you can export schemes to files and import them again from

      these files

    • if you come up with a good and proven color theme, that should

      be included by default, please let me know

There now is a new release, could you please test it and report if the new features work for you?

And it is probably worth knowing that you can change the html code of the preview (and thus the CSS to modify how everything looks like) in a script. Take a look at noteToMarkdownHtmlHook in https://github.com/pbek/QOwnNotes/blob/develop/doc/scripting/example.qml

Nice!
Probably solarized themes will be popular but I don't know if I can make them, I suck at creative work :)

Take your time. :)

wow...very nice thank you so much :)

;)

16.08.20

  • more editor color scheme improvements

    • you are now able the adapt the font size for each highlighting item

    • you will be able to see the adapted font size in the item preview

    • the highlighting items were reordered

    • the schema Default was renamed to Light

There now is a new release, could you please test it and report if the new features work for you?

@Dreadeath, this may also be of interest for you

Was this page helpful?
0 / 5 - 0 ratings