/srv/irclogs.ubuntu.com/2008/06/27/#ubuntu-artwork.txt

=== DanaG1 is now known as DanaG
nothlitcody-somerville: http://core.joejaxx.net/~nothlit/xubuntu/ the .xcf is new stuff, open in gimp-- the pngs are the sketches i showed you @ the airport and paintovers so you can see how they look simplified... make sure you're zoomed out00:30
=== DanaG1 is now known as DanaG
pwnguinnothlit: the overlays look more like cats =/02:08
phomesHi. I'm trying the NewHuman theme in intrepid and I want to make the mines game look better with this dark theme. Do you have any links to instructions or advice for making apps more themeable?21:07
nothlitnot sure about that21:07
nothlitbut don't hardcode values and don't make up your own widgets etc unless necessary21:08
phomesI'm gnome-games dev btw. Some colors are hardcoded. Is there any way to "pick" 8 colors that contrast the background?21:09
phomesI don't really know where to go with this. Would you think that it is a theme question or a theme-engine question?21:29
nothlitIf you have the HSL (sometimes known as hsv) numbers you could reverse/flip the L value and add an if statement that says if its between like 40 and 60, instead just add 25 to the value or something, and then just pick hues all around-- if you want them pleasing you'll probably want to dig into the agave app which has code for Complements, Split Complements, Triads, Tetrads, Analogous, and Monochromatic21:31
=== savvas_ is now known as savvas
nothlitdunno if thats feasible though =p21:31
nothlitwell21:31
nothlitactually you probably don't have to calculate a lightness/value21:32
nothlityou could just grab the text colour lightness and saturation which should be readable against the background anyways21:32
nothlitand just generate hues21:32
phomeshmm okay. Not sure I got all that :) But there are some pointers in there for stuff for me to look at. Thanks! :)21:33
nothliti can clarify if you need, i don't mind monologueing technical matters at all, shameful habit though it is21:39
phomesno I think I got it now. Just had to look at hsl on wikipedia and try the agave app. Makes sense now :)21:42
nothlitok21:43
phomesI'll try to do the trick with looking at the lighting. I can't pick the colors that well as I'm actually somewhat colorblind. But I'll let agave do the work there. This should get me going for now. Thanks a lot!21:44
nothlitabout the second tip: you assume the text is quite readable against the background so you can pick the HSL from that and just modify the hue--and since it should be quite readable should compensate in the variances of the eye with percieved brightness and hue21:45
phomesahh yes. That's better. Cool :) I'll give it a try and see what I come up with21:47
phomeslast question :) Is there an easy way to obtain the text color? :) I apologise in advance of my complete theme ignorance :)21:53
nothliti don't have much knowhow of themeing internals, you'd have to grab it from gtk somewhere21:55
kwwiire21:56
nothliti know recent theme/engines have that 6 colour changeable base that older ones don't21:56
kwwiiphomes: which text color?21:56
nothlitthe one used for game backgrounds--dunno if that would be the input text/bg?21:57
kwwiiit depends on the way the dev used widgets21:57
kwwiiit will either be a base fg color or an input fg21:57
kwwiithe "normal" document text color is the base color21:58
phomesI need to pick some contrasting colors for the numbers used in mines game21:58
kwwiihrm, we just wrote some algorythms in kde that do that21:58
phomesoh, nice21:58
kwwiithe tricky part is to not just do offsets but to look at how the color is percieved by the eye21:59
phomesokay21:59
nothlitif you remove saturation from the picture it gets a lot less complicated ^^21:59
kwwiihehe, no doubt :-)22:00
nothlitkwwii: are you guys using a L*a*b lib or something?22:01
kwwiinothlit: yes, we use LAB22:01
kwwiiit is simply one of the best color models available22:01
kwwiiwe spent weeks arguing over hsl vs hsv22:02
nothlitits pretty much the only good modern model for color perception =p22:02
nothlitcolour*22:02
nothlitgah i typed it american22:02
kwwiilol22:04
phomesso I'd be best of reading up on lab and then use that?22:04
kwwiiphomes: you will get the most satisfying results I would guess22:06
nothlitspent weeks arguing? HSL is 3dimensional, more similar to munsell, i'd figure there'd be no argument22:06
nothlityeah if you want to use a lib then go ahead and use lab22:06
kwwiiactually it has the hsv that kept everyone going22:06
kwwiiand when you start talking about color and coding devs seem to lose their mind22:06
phomeshe he22:06
nothlito.O22:06
nothlitthat is weird22:07
nothlitLab and HSL are definitely far closer together than HSV22:07
kwwiiexactly22:07
phomesdoes it in any way try to take common colorblindness into account?22:07
nothlithsv is a sdfqwkeejqwlejk to paint with22:08
kwwiiphomes: no, that is something that your code is going to have to do22:08
nothlitLab should give you no problems if you differentiate based on Lightness22:08
nothlitimo theres simply too many models of colourblindness to account for to use hue differentiation22:09
kwwiiyeah, that was going to be my point22:09
phomesokay. Lots of stuff to read up on :) Colorblind people will have to tweak xgamma like I do usually :)22:09
kwwiiyou can try to make it work for red/green since that is the most commons problem colors22:09
kwwiibut like in the red/green case, anyone with that will see blue totally different (much more) than a normal seeing person22:10
phomeswow this turned out to be far more complicated than I had expected. I though this would be a common problem that apps would run into all the time...22:12
kwwiiit is a common problem which very few apps do correctly22:12
kwwiiI have seen a lot of crack done around this stuff in the past22:12
phomeshe. I guess stuff like darker themes should expose this more. Perhaps I should propose a gnome goal to fix up apps that don't get this right...22:14
kwwiiit'd make it a lot easier if people were just really colorblind :p22:14
phomeslol22:14
kwwiiphomes: hehe, then our new dark theme in intrepid should expose some problems22:14
kwwii:-)22:14
phomesyeah. I see a lot of things already.22:15
kwwiiif you note problme in the dark theme please let me know or file a bug22:15
kwwiis/problme/problem22:15
nothlitphomes: it is a common problem, its just generally been ignored, or even exacerbated22:17
kwwiiwell, the fact is that it would be impossible to make a system to handle all the different forms of colorblindness22:21
phomeskwwii: I will. Most notably right now is related to browsing. Guess there is not much to do about it. It just looks a bit strange when maximized. Webpages are often really bright.22:21
kwwiiyeah, I want to keep the page bg white because most pages have a light bg but I know what you mean22:21
kwwiiit is almost too much contrast22:22
phomesyeah22:22
kwwiiwhich is funny because most people complain that dark themes do not have enough contrast22:22
kwwiiafter using one for a while I would argue the opposite22:22
phomesit's not easy22:24
kwwiiI am still not sure if we will use a dark theme in the end but if we don't test it out it will never happen :-)22:25
phomesyeah. I think that there is a high demand though. Lots of people post pictures showing off their dark themes. I think people are ready for something really different. No more gray or shiny blue :)22:31
kwwiiblack is the new black :p22:33
phomeshe22:33
phomesI gotta run. Thanks a lot for the help. I'll try to fix up mines and then see what else I can do in gnome. Looking forward to that dark theme :)22:36
phomesbye22:36
kwwiicool, have fun!22:36
phomesyou too22:36
nothliti meant in general, colours, dark themes etc22:45
nothlitinteresting- https://addons.mozilla.org/en-US/firefox/addon/500122:46
nothlitits only for windows but it looks like there is code22:46
nothliti was looking for a java blocker addon too, dunno how it came up :)\22:46
kwwiihrm, that is interesting22:52

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!