GoogleChrome / GoogleChrome/webdev-infra

New aside type: Tip

Open
#62 2 comments 2 reactions 1 assignee Claimed by @danjames86 View on GitHub
design eng feature request P2
Dominant language
JavaScript
Stars
39
Forks
29
PR merge metrics
No merged PRs in 30d

Description

I sometimes feel like there's no note type to fit the content sentiment I put in the note. I'd like to request a new type: Tip (or maybe Hint?). It's neither important, not a warning (risk), nor a caution (potential pitfall). I'd caracterize the Tip as an easier or better way of doing things than the default or common.

Additionally, let's give the regular note a topic ('note') and an icon. Otherwise it's inconsistent. Regular note is for supplemental info.

**Describe the solution you'd like**
A new note type: `{% Aside 'tip' %}`. Green? [Pin icon](https://fonts.google.com/icons?selected=Material%20Symbols%20Outlined%3Apush_pin%3AFILL%400%3Bwght%40400%3BGRAD%400%3Bopsz%4048)? Or maybe the "Important" type should have a pin icon, and "Tip" - a light bulb.
Additionally, a topic for the regular note: `{% Aside 'note' %}`. Blue. [Note icon](https://fonts.google.com/icons?selected=Material%20Symbols%20Outlined%3Anote%3AFILL%400%3Bwght%40400%3BGRAD%400%3Bopsz%4048).

**Describe alternatives you've considered**
Putting such info in the general note type. Kinda dull and inconsistent (without a topic and icon).

**Additional context**
https://developer.chrome.com/docs/handbook/components/#asides

FYI @rachelandrew

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.