Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IDEA: Display colors in 7.8 #125

Open
sahi1l opened this issue Oct 4, 2018 · 1 comment
Open

IDEA: Display colors in 7.8 #125

sahi1l opened this issue Oct 4, 2018 · 1 comment

Comments

@sahi1l
Copy link
Contributor

sahi1l commented Oct 4, 2018

In 7.8.1, there is a list of colors and their corresponding RGB codes, but it would be a good idea to show the students what those colors actually look like. There are many types of blue, for instance, and I suspect only programmers and graphic designers know what "cyan" or "magenta" are.

https://runestone.academy/runestone/static/adrian_ac101f18/Iteration/NestedIterationImageProcessing.html

@dichharai
Copy link
Contributor

I like the idea. Currently, the table does not have RGB value for cyan, which I think is nice to have to see pattern of RGB value (screenshot).
screen shot 2019-01-30 at 1 38 10 pm

This is what I have found so far in getting this implemented.

  • There is no sphinx built-in feature to color text in table (read online discussion) or have div with different color.
  • That means, we need to create our own components for that.

Was playing around with JS to color div with color value passed as argument. My thought process was to have it configured like how other Runestone Components are made.

Hope this helps to anyone who follows up with the idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants