breaking change: themes

View: New views
12 Messages — Rating Filter:   Alert me  

breaking change: themes

by John J. Foerch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

  In order to make Conkeror compatible with native toolkit theming,
Conkeror's themes have undergone a big rewrite.

 * Conkeror no longer specifies its own gui colors.

 * The blackened theme no longer exists.

 * It is no longer possible to theme scrollbars.

  From now on, the right way to change Conkeror's gui colors is to do so
at the OS level, for example, with a GTK theme.

  Sorry for any inconvenience.

--
John Foerch

_______________________________________________
Conkeror mailing list
Conkeror@...
https://www.mozdev.org/mailman/listinfo/conkeror

Re: breaking change: themes

by Axel Beckert :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, Mar 20, 2009 at 11:39:40AM -0400, John J Foerch wrote:

>   In order to make Conkeror compatible with native toolkit theming,
> Conkeror's themes have undergone a big rewrite.
>
>  * Conkeror no longer specifies its own gui colors.
>
>  * The blackened theme no longer exists.
>
>  * It is no longer possible to theme scrollbars.
>
>   From now on, the right way to change Conkeror's gui colors is to do so
> at the OS level, for example, with a GTK theme.

For someone who uses conkeror that way since a long time this is good
news.

I though wonder if the previous way could be available as plugin,
add-on, module or so since I can imagine that there are people who
prefer to style conkeror differently than the reminder of their
desktop.

                Regards, Axel
--
Axel Beckert - abe@..., abe@... - http://noone.org/abe/
_______________________________________________
Conkeror mailing list
Conkeror@...
https://www.mozdev.org/mailman/listinfo/conkeror

Re: breaking change: themes

by Deniz Dogan-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/3/20 John J Foerch <jjfoerch@...>:
>  * It is no longer possible to theme scrollbars.

This one really bothers me, not because I can't live without themed
scrollbars, but because I think they should be available.  Is there
really *no way* to make this happen?  As we always say, how does
Firefox do it?

Cheers,
Deniz
_______________________________________________
Conkeror mailing list
Conkeror@...
https://www.mozdev.org/mailman/listinfo/conkeror

Re: breaking change: themes

by John J. Foerch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Deniz Dogan <deniz.a.m.dogan@...> writes:
> 2009/3/20 John J Foerch <jjfoerch@...>:
>>  * It is no longer possible to theme scrollbars.
>
> This one really bothers me, not because I can't live without themed
> scrollbars, but because I think they should be available.  Is there
> really *no way* to make this happen?  As we always say, how does
> Firefox do it?

  It is necessary to register a chrome overlay in order to theme
scrollbars.  Firefox does it with a kind of extension package called a
"skin".  It should also be possible to write skins for Conkeror, so what
I could have said to be more specific is that it is no longer possible
to use Conkeror's theme system to change the scrollbars.

  Over the past week or so, I have tried many different GTK themes in
order to change Conkeror's chrome to work well with native themes.  The
opinion I have come away with is that there are many nice themes
available--easy to install and use--and being compatible with them gives
us more, not less, flexibility to customize the Conkeror's appearance.

--
John Foerch

_______________________________________________
Conkeror mailing list
Conkeror@...
https://www.mozdev.org/mailman/listinfo/conkeror

Parent Message unknown Re: breaking change: themes

by Alexander Reinwarth :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> * Conkeror no longer specifies its own gui colors.
[...]
> From now on, the right way to change Conkeror's gui colors is to do so
> at the OS level, for example, with a GTK theme.

Any hint on styling the tabs under windows xp?

BTW: From a mere user's point of view it's a pity that this feature has been thrown away. YMMV certainly.
_______________________________________________
Conkeror mailing list
Conkeror@...
https://www.mozdev.org/mailman/listinfo/conkeror

Re: breaking change: themes

by Daniel Clemente-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

El vie, mar 20 2009, Axel Beckert va escriure:
> I though wonder if the previous way could be available as plugin,
> add-on, module or so since I can imagine that there are people who
> prefer to style conkeror differently than the reminder of their
> desktop.
>

  I think that it can be possible to create some theme rules specific to Conkeror and store them in your ~/.gtkrc-2.0
  As an example, these rules change all colors of all widgets; you can try it:


style "mystyle"
{
    xthickness = 1
    ythickness = 1

    fg[NORMAL]        = "#ccc"
    fg[ACTIVE]        = "black"
    fg[PRELIGHT]      = "red"
    fg[SELECTED]      = "#ddbb88"
    fg[INSENSITIVE]   = "#aaf"

    bg[NORMAL]        = "#111"
    bg[ACTIVE]        = "#f70"
    bg[PRELIGHT]      = "#440"
    bg[SELECTED]      = "#4c3"
    bg[INSENSITIVE]   = "#400"

    text[NORMAL]      = "#ffffff"
    text[ACTIVE]      = "yellow"
    text[PRELIGHT]    = "#ffffff"
    text[SELECTED]    = "#ddbb88"
    text[INSENSITIVE] = "#2ff"

    base[NORMAL]      = "#333"
    base[ACTIVE]      = "red"
    base[PRELIGHT]    = "blue"
    base[SELECTED]    = "#2e2"
    base[INSENSITIVE] = "#f61618"
}

widget_class "*" style "mystyle"

style "scrollbar-arrows" {
    GtkScrollbar::has-backward-stepper = 0           # top - up arrow
    GtkScrollbar::has-forward-stepper = 1            # bottom - down arrow
    GtkScrollbar::has-secondary-backward-stepper = 1 # bottom - up arrow
    GtkScrollbar::has-secondary-forward-stepper = 0  # top - down arrow
}

class "GtkScrollbar"  style "scrollbar-arrows"





On Gtk theming:
- http://ubuntuforums.org/showthread.php?t=377397
- http://live.gnome.org/GnomeArt/Tutorials/GtkThemes


For Conkeror:
  Can someone provide some rules which emulate the former „blackened“ theme but using ~/.gtkrc-2.0?

  I did not find how to style scrollbars, since the widget GTKScrollbar has no properties related to colors:
http://library.gnome.org/devel/gtk/unstable/GtkHScrollbar.html



  I hope someone finds this interesting

-- Daniel

_______________________________________________
Conkeror mailing list
Conkeror@...
https://www.mozdev.org/mailman/listinfo/conkeror

For those who miss the blackened theme (was: Re: breaking change: themes)

by Daniel Clemente-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message




El ds, mar 21 2009, Daniel Clemente va escriure:
> For Conkeror:
>   Can someone provide some rules which emulate the former „blackened“ theme but using ~/.gtkrc-2.0?
>

  Since this may be hard to do (or at least, it isn't currently done), anyone who wants a black conkeror again can simply revert the commit which removed theme support. Update to the latest conkeror and do:

 git revert 782a0b9ec087b4e88846a7695aa14cd0700e1134


  Then you can use again in you .conkerorrc:
 theme_load("blackened");



  This is a temporary solution until someone can do a native theme which makes Conkeror (and only Conkeror) black like in the blackened theme, including scroll bars.


-- Daniel

_______________________________________________
Conkeror mailing list
Conkeror@...
https://www.mozdev.org/mailman/listinfo/conkeror

Re: For those who miss the blackened theme (was: Re: breaking change: themes)

by Nicholas A. Zigarovich-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

No need to run an old version. Conkeror still supports themes, but
only includes the default.

1. Check out: git clone git://repo.or.cz/conkeror.git
2. Go back in time: cd conkeror && git checkout
a38b3a3630ebf85a403207b37220cee9790d3a82
3. Copy styles/blackened somewhere: cp -r styles/blackened /path/to/somewhere
4. Return to the present: git checkout master
5. Add the following to ~/.conkerorrc:

   theme_load_paths.push("/path/to/somewhere");
   theme_load("blackened");

After restarting, conkeror should be blackened.

Cheers,

- Nick

On Tue, Apr 14, 2009 at 7:05 AM, Daniel Clemente <dcl441-bugs@...> wrote:

>
>
>
> El ds, mar 21 2009, Daniel Clemente va escriure:
>> For Conkeror:
>>   Can someone provide some rules which emulate the former „blackened“ theme but using ~/.gtkrc-2.0?
>>
>
>  Since this may be hard to do (or at least, it isn't currently done), anyone who wants a black conkeror again can simply revert the commit which removed theme support. Update to the latest conkeror and do:
>
>  git revert 782a0b9ec087b4e88846a7695aa14cd0700e1134
>
>
>  Then you can use again in you .conkerorrc:
>  theme_load("blackened");
>
>
>
>  This is a temporary solution until someone can do a native theme which makes Conkeror (and only Conkeror) black like in the blackened theme, including scroll bars.
>
>
> -- Daniel
>
> _______________________________________________
> Conkeror mailing list
> Conkeror@...
> https://www.mozdev.org/mailman/listinfo/conkeror
>
_______________________________________________
Conkeror mailing list
Conkeror@...
https://www.mozdev.org/mailman/listinfo/conkeror

Re: For those who miss the blackened theme

by Daniel Clemente-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

El dc, abr 15 2009, Nicholas A. Zigarovich va escriure:

> No need to run an old version. Conkeror still supports themes, but
> only includes the default.
>
> 1. Check out: git clone git://repo.or.cz/conkeror.git
> 2. Go back in time: cd conkeror && git checkout
> a38b3a3630ebf85a403207b37220cee9790d3a82
> 3. Copy styles/blackened somewhere: cp -r styles/blackened /path/to/somewhere
> 4. Return to the present: git checkout master
> 5. Add the following to ~/.conkerorrc:
>
>    theme_load_paths.push("/path/to/somewhere");
>    theme_load("blackened");
>
> After restarting, conkeror should be blackened.
>
> Cheers,
>

  Hi,

  this was a useful information (thanks, by the way), which I would like to put into the wiki, concretely as a subsection of „2. Theming“ in http://conkeror.org/Appearance

  However I'm not allowed to edit the wiki. Can someone add it there?

  Thanks

-- Daniel

_______________________________________________
Conkeror mailing list
Conkeror@...
https://www.mozdev.org/mailman/listinfo/conkeror

Re: For those who miss the blackened theme

by Nicholas A. Zigarovich-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

What is your username at the wiki?

On Fri, May 15, 2009 at 9:02 AM, Daniel Clemente <dcl441-bugs@...> wrote:

> El dc, abr 15 2009, Nicholas A. Zigarovich va escriure:
>> No need to run an old version. Conkeror still supports themes, but
>> only includes the default.
>>
>> 1. Check out: git clone git://repo.or.cz/conkeror.git
>> 2. Go back in time: cd conkeror && git checkout
>> a38b3a3630ebf85a403207b37220cee9790d3a82
>> 3. Copy styles/blackened somewhere: cp -r styles/blackened /path/to/somewhere
>> 4. Return to the present: git checkout master
>> 5. Add the following to ~/.conkerorrc:
>>
>>    theme_load_paths.push("/path/to/somewhere");
>>    theme_load("blackened");
>>
>> After restarting, conkeror should be blackened.
>>
>> Cheers,
>>
>
>  Hi,
>
>  this was a useful information (thanks, by the way), which I would like to put into the wiki, concretely as a subsection of „2. Theming“ in http://conkeror.org/Appearance
>
>  However I'm not allowed to edit the wiki. Can someone add it there?
>
>  Thanks
>
> -- Daniel
>
> _______________________________________________
> Conkeror mailing list
> Conkeror@...
> https://www.mozdev.org/mailman/listinfo/conkeror
>
_______________________________________________
Conkeror mailing list
Conkeror@...
https://www.mozdev.org/mailman/listinfo/conkeror

Re: For those who miss the blackened theme

by Daniel Clemente-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

El dv, mai 15 2009, Nicholas A. Zigarovich va escriure:
> What is your username at the wiki?
DanielClemente


_______________________________________________
Conkeror mailing list
Conkeror@...
https://www.mozdev.org/mailman/listinfo/conkeror

Re: For those who miss the blackened theme

by Daniel Clemente-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

El dc, abr 15 2009, Nicholas A. Zigarovich va escriure:

> No need to run an old version. Conkeror still supports themes, but
> only includes the default.
>
> 1. Check out: git clone git://repo.or.cz/conkeror.git
> 2. Go back in time: cd conkeror && git checkout
> a38b3a3630ebf85a403207b37220cee9790d3a82
> 3. Copy styles/blackened somewhere: cp -r styles/blackened /path/to/somewhere
> 4. Return to the present: git checkout master
> 5. Add the following to ~/.conkerorrc:
>
>    theme_load_paths.push("/path/to/somewhere");
>    theme_load("blackened");
>
> After restarting, conkeror should be blackened.
>
These instructions are now in: http://conkeror.org/Appearance#Howtorestorethe.22blackened.22theme

_______________________________________________
Conkeror mailing list
Conkeror@...
https://www.mozdev.org/mailman/listinfo/conkeror