Amber Dark Theme

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Amber Dark Theme

kilon.alios
I think I remember there was a dark theme for Helios, any idea how to install / enable it ? 

I see it used here 

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Amber Dark Theme

Nicolas Petton
Yes, there is a dark theme called niflheim. It is not fully finished,
but it should be usable.

You can try it by modifying support/helios/index.html like the
following:

smalltalk.initialize({'transport.defaultAmdNamespace': "amber_core"});
smalltalk.globals.HLManager._setup();
// Add this 2 lines
smalltalk.globals.HLManager._current()._setTheme_('niflheim');
smalltalk.globals.HLManager._current()._setEditorTheme_('niflheim');

Nico

kilon alios <[hidden email]> writes:

> I think I remember there was a dark theme for Helios, any idea how to
> install / enable it ?
>
> I see it used here
>
> http://nicolas-petton.fr/blog/nw-helios.html

--
Nicolas Petton
http://nicolas-petton.fr

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Amber Dark Theme

Herby Vojčík
There is a setting for codemirror theme IIRC, so it should be enough to add it as a key (I just don't remember the name ('helios.theme'?)) into the initialize hash.

Searching for substring 'etting' in the codebase could reveal the name.

Nicolas Petton wrote:

> Yes, there is a dark theme called niflheim. It is not fully finished,
> but it should be usable.
>
> You can try it by modifying support/helios/index.html like the
> following:
>
> smalltalk.initialize({'transport.defaultAmdNamespace': "amber_core"});
> smalltalk.globals.HLManager._setup();
> // Add this 2 lines
> smalltalk.globals.HLManager._current()._setTheme_('niflheim');
> smalltalk.globals.HLManager._current()._setEditorTheme_('niflheim');
>
> Nico
>
> kilon alios<[hidden email]>  writes:
>
>> I think I remember there was a dark theme for Helios, any idea how to
>> install / enable it ?
>>
>> I see it used here
>>
>> http://nicolas-petton.fr/blog/nw-helios.html
>

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Amber Dark Theme

Nicolas Petton

Herby Vojčík <[hidden email]> writes:

> There is a setting for codemirror theme IIRC, so it should be enough
> to add it as a key (I just don't remember the name ('helios.theme'?))
> into the initialize hash.

yes, that should work, but it doesn't as Helios currently resets the
theme on initization :/ (to be changed).

Nico

>
> Searching for substring 'etting' in the codebase could reveal the name.
>
> Nicolas Petton wrote:
>> Yes, there is a dark theme called niflheim. It is not fully finished,
>> but it should be usable.
>>
>> You can try it by modifying support/helios/index.html like the
>> following:
>>
>> smalltalk.initialize({'transport.defaultAmdNamespace': "amber_core"});
>> smalltalk.globals.HLManager._setup();
>> // Add this 2 lines
>> smalltalk.globals.HLManager._current()._setTheme_('niflheim');
>> smalltalk.globals.HLManager._current()._setEditorTheme_('niflheim');
>>
>> Nico
>>
>> kilon alios<[hidden email]>  writes:
>>
>>> I think I remember there was a dark theme for Helios, any idea how to
>>> install / enable it ?
>>>
>>> I see it used here
>>>
>>> http://nicolas-petton.fr/blog/nw-helios.html
>>

--
Nicolas Petton
http://nicolas-petton.fr

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Amber Dark Theme

kilon.alios
I saw also in Helios-Core -> HLManager >> setTheme: and setupTheme . I assumed that setupTheme is responsible for reseting the theme when Helios starts , but uncommenting the dark theme and commenting that light one had no effect at all. 


On Wed, Jul 2, 2014 at 6:57 PM, Nicolas Petton <[hidden email]> wrote:

Herby Vojčík <[hidden email]> writes:

> There is a setting for codemirror theme IIRC, so it should be enough
> to add it as a key (I just don't remember the name ('helios.theme'?))
> into the initialize hash.

yes, that should work, but it doesn't as Helios currently resets the
theme on initization :/ (to be changed).

Nico

>
> Searching for substring 'etting' in the codebase could reveal the name.
>
> Nicolas Petton wrote:
>> Yes, there is a dark theme called niflheim. It is not fully finished,
>> but it should be usable.
>>
>> You can try it by modifying support/helios/index.html like the
>> following:
>>
>> smalltalk.initialize({'transport.defaultAmdNamespace': "amber_core"});
>> smalltalk.globals.HLManager._setup();
>> // Add this 2 lines
>> smalltalk.globals.HLManager._current()._setTheme_('niflheim');
>> smalltalk.globals.HLManager._current()._setEditorTheme_('niflheim');
>>
>> Nico
>>
>> kilon alios<[hidden email]>  writes:
>>
>>> I think I remember there was a dark theme for Helios, any idea how to
>>> install / enable it ?
>>>
>>> I see it used here
>>>
>>> http://nicolas-petton.fr/blog/nw-helios.html
>>

--
Nicolas Petton
http://nicolas-petton.fr

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.