vowel 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vowel",
3
3
  "type": "module",
4
- "version": "0.3.1",
4
+ "version": "0.3.2",
5
5
  "bin": "bin.js",
6
6
  "main": "index.js",
7
7
  "scripts": {
@@ -931,12 +931,12 @@ function writeHTML(destination, database, config) {
931
931
 
932
932
  node.tagName = "aside"
933
933
  node.properties = {
934
- class: `alert ${alertLabel}`
934
+ class: `alert ${alertLabel.toLowerCase()}`
935
935
  }
936
936
 
937
937
  node.children.splice(0, 2, {
938
938
  type: "element",
939
- tagName: "h1",
939
+ tagName: "h2",
940
940
  children: [
941
941
  {
942
942
  value: toTitleCase(alertLabel),