sugarlabs / www

The Sugar Labs web site
https://www.sugarlabs.org
GNU General Public License v3.0
61 stars 182 forks source link

Add colours to Activites icons. #174

Closed Pnakox1 closed 1 year ago

Pnakox1 commented 6 years ago

I think this looks better than not colored version. iss 2

yell0wfl4sh commented 6 years ago

@quozl sounds good to me! should I work on this?

walterbender commented 6 years ago

Sure. But please be sure to use Sugar colors as opposed to the colors shown in the example above.

On Sun, Dec 17, 2017 at 6:20 AM, Yash Agrawal notifications@github.com wrote:

@quozl https://github.com/quozl sounds good to me! should I work on this?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sugarlabs/www-sugarlabs/issues/174#issuecomment-352248539, or mute the thread https://github.com/notifications/unsubscribe-auth/ADz74TQzeO9n5ryJAyzZ326EpbrgjSj4ks5tBPj8gaJpZM4Q7CH0 .

-- Walter Bender Sugar Labs http://www.sugarlabs.org http://www.sugarlabs.org

quozl commented 6 years ago

You can find the Sugar colours in the toolkit, src/sugar3/graphics/xocolor.py.

jamessandy commented 6 years ago

can I help work on this

yell0wfl4sh commented 6 years ago

@jamessandy sure, go ahead! I am no longer working on it. Best of luck!

kushmisra commented 6 years ago

@jamessandy . can i please help u work on this!?

samswag commented 6 years ago

Please go on.. you don't need permission

deepak2431 commented 4 years ago

@samswag Hi, Can I work on this issue if it's still opened? Thanks!

quozl commented 4 years ago

You can work on any issue. Please don't ask. See Contributing which says there is no need to ask permission to work on an issue.

The issue is still open. You can prove that by looking for coloured activity icons on the web site. Please always test on your own if an issue continues to occur.

Be sure to integrate all the guidance so far on this issue, especially from @walterbender and myself. Also read my response in https://github.com/sugarlabs/www-sugarlabs/pull/213 to @kushmisra's first try.

Thusal06 commented 4 years ago

Hi, Look at the colors of activities icons designed by me. Issue#1 Issue#2 Issue#3 Issue#4

quozl commented 4 years ago

These are not the Sugar colours.

S-kus commented 2 years ago

@quozl Can I work on the issue? I will change the color of each icon with the help of their website's home page icon color.

quozl commented 2 years ago

@S-kus, given the context of the issue, I don't understand your question. Please make sure you read all the other responses I've made in this issue. Scroll up. If you have any questions after that, please try again.

S-kus commented 2 years ago

@quozl I recreated the Base64 image with colors which are following, (I got these sugar colors from their referred link).

1 2 3 4

But I am not able to find the colored icon of "Finance", "Journal Share" and "StarChart".

S-kus commented 2 years ago

These are some Referred links (screenshot of activities are present at these links in which icon color is visible, So with the help of color picker I change the colors of the icon)- Numbers -https://activities.sugarlabs.org/en-US/sugar/addon/4336 Finance- https://activities.sugarlabs.org/en-US/sugar/addon/4040 Maze Web- https://activities.sugarlabs.org/en-US/sugar/addon/4727 Measure- https://activities.sugarlabs.org/en-US/sugar/addon/4197 Turtle Block3D- http://wiki.sugarlabs.org/go/Activities/TurtleBlocks3D Words- https://activities.sugarlabs.org/en-US/sugar/addon/4315 Ruler -https://activities.sugarlabs.org/en-US/sugar/addon/4192 Star Chart- https://activities.sugarlabs.org/en-US/sugar/addon/4300 Recall- http://wiki.sugarlabs.org/go/Activities/Recall Journal Share- https://activities.sugarlabs.org/en-US/sugar/addon/4656 Turtle Typing- https://help.sugarlabs.org/en/typing_turtle.html Turtle In a Pond- https://activities.sugarlabs.org/en-US/sugar/addon/4516

quozl commented 2 years ago

Sorry, but I don't think you know what you are doing. Have you used Sugar yet? It is a multi-user classroom collaboration system using apps we call activities. In the current release of Sugar, the icons for activities are initially uncoloured, and then acquire the colour of the user that created the corresponding journal entry after they are run. The Sugar user colours are set from those available by the user. So an icon shown for an activity can have any of two colours from the palette available (in the Python code referenced), depending on who last used it. Colour is used to indicate ownership of saved data.

S-kus commented 2 years ago

Okay @quozl, Thanks I got it.

quozl commented 2 years ago

Remember, this was another drive-by issue. Have you found the list of colours in the Sugar Toolkit source code yet?

S-kus commented 2 years ago

Yes, I found the code here. Could you please explain a bit more what exactly is required to do in this issue?

chimosky commented 2 years ago

@S-kus, you can find the Sugar Toolkit source code here.

Could you please explain a bit more what exactly is required to do in this issue?

If you looked at the sugarlabs website, you'd see some activity icons and they're all in black and white so the issue suggests changing those to coloured icons and it was established that using sugar colours is the best way to do that. The xocolor module shows you what colours are supported and defines a class that'll help you create a supported colour instance.

Hope that helps!

S-kus commented 2 years ago

@chimosky according to https://github.com/sugarlabs/www-sugarlabs/issues/174#issuecomment-1003554402 reply, are icons will still be with some particular colors? If yes, there are many pairs of colors in xocolor.py! which one exactly should I use? Could you please explain it?

chimosky commented 2 years ago

@chimosky according to #174 (comment) reply, are icons will still be with some particular colors? If yes, there are many pairs of colors in xocolor.py! which one exactly should I use? Could you please explain it?

Usually the icons change colours after it's being used and these colours are determined by the user profile colours, you can checkout sugar3.profile and a search of some of the methods in sugar3.profile shows you their usage.

S-kus commented 2 years ago

Thanks @chimosky. I will look into this.

chimosky commented 2 years ago

Thanks @chimosky. I will look into this.

Glad I could help.