vowel 0.1.29 → 0.1.30

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,6 +1,6 @@
1
1
  {
2
2
  "name": "vowel",
3
- "version": "0.1.29",
3
+ "version": "0.1.30",
4
4
  "bin": "./bin.js",
5
5
  "scripts": {
6
6
  "dev": "vite dev",
@@ -287,32 +287,32 @@ article.item dl.icon {
287
287
  order: -1;
288
288
  }
289
289
 
290
- aside.note {
291
- &.note {
290
+ aside.alert.note {
292
291
  --icon: 'ℹ️';
293
292
  --rgb: 71, 139, 230;
294
293
  }
295
294
 
296
- &.tip {
295
+ aside.alert.tip {
297
296
  --icon: '💡';
298
297
  --rgb: 87, 171, 90;
299
298
  }
300
299
 
301
- &.important {
300
+ aside.alert.important {
302
301
  --icon: '💬';
303
302
  --rgb: 152, 110, 226;
304
303
  }
305
304
 
306
- &.warning {
305
+ aside.alert.warning {
307
306
  --icon: '⚠️';
308
307
  --rgb: 198, 144, 38;
309
308
  }
310
309
 
311
- &.caution {
310
+ aside.alert.caution {
312
311
  --icon: '⛔️';
313
312
  --rgb: 229, 83, 75;
314
313
  }
315
314
 
315
+ aside.alert {
316
316
  border-left: 3px solid rgb(var(--rgb));
317
317
  padding: 1.5rem 2rem;
318
318
  background: rgba(var(--rgb), 0.04);
@@ -122,7 +122,7 @@
122
122
  </ol>
123
123
  </section>
124
124
  {:else if node.type === 'containerDirective' && noteTypes[node.name]}
125
- <aside class={`note ${node.name}`}>
125
+ <aside class={`alert ${node.name}`}>
126
126
  <h2>
127
127
  {noteTypes[node.name]}
128
128
  </h2>