Template:Note: Difference between revisions

Template page
change yellow to orange for readability on light mode, also change rgba syntax to hex codes for simplicity
No edit summary
Line 2: Line 2:
   |{{{1|Example Text}}}
   |{{{1|Example Text}}}
   |{{#switch:{{{2|}}}
   |{{#switch:{{{2|}}}
     |information=#61d1fa40 /* Hero Cyan */
     |information=--color-information
     |suggestion=#59eb5c40 /* Hero Green */
     |suggestion=--color-suggestion
     |warning=#e69e5040 /* Hero Orange */
     |warning=--color-warning
     |danger=#ff767640 /* Hero Red */
     |danger=--color-danger
     |=#61d1fa40 /* Hero Cyan */}}
     |=--color-information}}
   |{{#switch:{{{2|}}}
   |{{#switch:{{{2|}}}
     |information=<svg style="flex-shrink: 0; height:40px; witdh:40px; transform: rotate(180deg); fill: #61d1fa" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128"><circle cx="64" cy="112.28" r="13.8"/><rect x="50.2" y="1.92" width="27.59" height="85.53" rx="13.8" ry="13.8"/></svg>
     |information=<svg style="flex-shrink: 0; height:40px; witdh:40px; transform: rotate(180deg); fill: #61d1fa" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128"><circle cx="64" cy="112.28" r="13.8"/><rect x="50.2" y="1.92" width="27.59" height="85.53" rx="13.8" ry="13.8"/></svg>

Revision as of 06:28, 23 January 2024

Example Text

Examples

This is a information.
This is a suggestion.
This is a warning.
This is really dangerous!