1
0
mirror of synced 2025-12-25 11:03:37 -05:00
Files
docs/includes/release-notes-category-label.html
Jason Etcovitch ca127e987e Change release notes colors (#16923)
* Use pastel colors

* Whit text

* Slugify/anchor section headings

* Use classes instead of style attributes

* Use fancy-pants SCSS

* Simplify a tad

* TIL text-inherit helper

Co-authored-by: Vanessa Yuen <6842965+vanessayuenn@users.noreply.github.com>

* Remove redundant `style` attr

Co-authored-by: Vanessa Yuen <6842965+vanessayuenn@users.noreply.github.com>

Co-authored-by: Vanessa Yuen <6842965+vanessayuenn@users.noreply.github.com>
2020-12-14 15:06:03 +00:00

19 lines
578 B
HTML

{% case section[0] %}
{% when "features" %}
{% assign text = "Features" %}
{% when "bugs" %}
{% assign text = "Bug fixes" %}
{% when "known_issues" %}
{% assign text = "Known issues" %}
{% when "security_fixes" %}
{% assign text = "Security fixes" %}
{% when "changes" %}
{% assign text = "Changes" %}
{% when "deprecations" %}
{% assign text = "Deprecations" %}
{% else %}
{% assign text = "INVALID SECTION" %}
{% endcase %}
<span class="px-3 py-2 f5 text-uppercase text-mono text-white release-notes-section-label">{{ text }}</span>