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

Document using -symbolic icons #173

Open
4 tasks
danirabbit opened this issue Apr 23, 2022 · 2 comments
Open
4 tasks

Document using -symbolic icons #173

danirabbit opened this issue Apr 23, 2022 · 2 comments

Comments

@danirabbit
Copy link
Member

Problem

I've seen a couple times developers including gresourced icons in dark and light variants instead of using the -symbolic namespace. We don't current document this so it's not obvious that this is a built-in feature

Proposal

Document:

  • using -symbolic namespace for automatic dark/light icons
  • coloring -symbolic icons using .accent in Gtk.CSS
  • coloring -symbolic icons using semantic colors like error or success
  • coloring .accent icons using named colors like red or green

Prior Art (Optional)

No response

@Antolius
Copy link
Member

Could this be solved by expanding the Icon Browser app with preview of error / accented symbolic icons? If we had that docs could just mention the option and direct the reader to check live examples in the app, instead of explaining everything with text.

@danirabbit
Copy link
Member Author

I think expanding the icon browser as an interactive example is good but I think we still need to document how developers can create and ship their own custom symbolic icons in addition to using the provided system ones

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