hi, there is a default, #textColor in the themes and for the colorisation, you can find the definitions in SHTextStylerST80>>#darkStyleTable Esteban On 31 May 2014, at 06:53, kilon alios <kilon.alios@gmail.com> wrote:
great to know
Where exactly is the color of the font for code ? I cant find it.
On Thu, May 29, 2014 at 3:19 PM, Esteban Lorenzano <estebanlm@gmail.com> wrote:
On 29 May 2014, at 09:01, Sergi Reyner <sergi.reyner@gmail.com> wrote:
2014-05-29 9:11 GMT+01:00 kilon alios <kilon.alios@gmail.com>: I would also like to take a deep look and see if with your help can document the theming. You think that themes now are more coder friendly or is Dark theme still a hack ?
(just noticed it right now): Try to revert to a "regular" theme and tell me what color is the text cursor, that should partially answer your question :D
no, it is not a hack. Dark theme is a combination of two things: a refactor to move out hardcoded colors (they are everywhere) and the theme itself. the cursor color is also a hardcoded value someplace there (not the fault of the theme :P).
but... #installFullTheme should be used between dark and lighter themes to restore all values. If you choose dark theme, to go back you should first execute:
Pharo3Theme installFullTheme.
that should restore everything as before.
so well⦠I do not like the theme design, but the dark theme is following its guidelines. Then is not a hack, but it has some limitations :) also, thatâs why it is integrated in Pharo4 and not in Pharo3⦠most probably it need some iterations until is ready.
Esteban
Cheers, Sergi