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

[C2] Add tool icon background from design #5440

Open
ywarnier opened this issue Apr 26, 2024 · 0 comments
Open

[C2] Add tool icon background from design #5440

ywarnier opened this issue Apr 26, 2024 · 0 comments
Assignees
Milestone

Comments

@ywarnier
Copy link
Member

The C2 design created initially adds a "color patch" icon as background for the tool icons in the course.

Use the attached file as background to add to the course home style (should also appear behind the course introduction icon when there is not course introduction). Ideally the element should use the primary color used by the too icons themselves, just more transparent.

The attached SVG has been designed to use the "color" CSS property of the container of the icon:

/* Set the color for the entire icon */
.tool-icon-background {
  color: #ff0000; /* Red */
}

(#ff0000 should be replaced by the call to the primary color).

The default size of the icon is 64x64, which should be OK for the tool icons but will probably require some kind of change for the course introduction section icon.
tool-background

@ywarnier ywarnier added this to the 2.0 milestone Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants