Skip to content

Releases: helpscout/seed-alert

Seed Alert - v0.1.2

24 Aug 21:59

Choose a tag to compare

Changes

Create a default class of .c-alert__text for font color adjustment. This provides better flexibility and control on typography selectors.

It works like this:

<div class="c-alert">
  <h1 class="c-alert__text">Hiii</h1>
</div>

Addresses #3

Seed Alert - v0.1.1

19 Aug 23:45

Choose a tag to compare

Changes

Normalizes the margin of direct children

The first element within alert should have it's top margin removed, and last element should have it's bottom margin removed. This is to ensure that the alert has even padding/spacing. This is the desired effect for the majority of use cases.

Heading colours match the alert state

h1-h6 colours have been added to the default alert as well as the various alert states. This is the desired behaviour for the majority of use cases. These styles have fairly low specificity, which makes it easier to override if necessary.

These enhancements were suggested by @nfrancis <3

Resolves: #1