@osmova/quasar-design-system 0.9.1 → 0.9.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/CHANGELOG.md CHANGED
@@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
4
4
 
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/).
6
6
 
7
+ ## [0.9.2] — 2026-11-18
8
+
9
+ ### Fixed
10
+
11
+ - **Bare heading styles no longer override app heading classes** — `body.qds-ui :where(h3)` had specificity
12
+ (0,1,1), so an app's `.card__title` on an `h3` rendered at the h3 type step. Headings now use
13
+ `:where(body.qds-ui) h3` (element specificity): they still replace Quasar's bare `h1`–`h6` sizes and lose to any class.
14
+
7
15
  ## [0.9.1] — 2026-11-05
8
16
 
9
17
  ### Changed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@osmova/quasar-design-system",
3
- "version": "0.9.1",
3
+ "version": "0.9.2",
4
4
  "description": "Opinionated Quasar 2 design system inspired by Fluent 2, Apple, and One UI.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -27,18 +27,22 @@ $weight-utilities: '.text-weight-thin, .text-weight-light, .text-weight-regular,
27
27
  background: var(--qds-backdrop);
28
28
  }
29
29
 
30
- body.qds-ui :where(h1, h2, h3, h4, h5, h6),
30
+ // Bare headings stay at ELEMENT specificity (0,0,1): they must beat
31
+ // Quasar's `h3 { font-size: 3rem }` (same specificity, QDS loads later) yet
32
+ // lose to any app class such as `.card__title`. `body.qds-ui :where(h3)`
33
+ // was (0,1,1) and silently overrode every class-styled heading.
34
+ :where(body.qds-ui) :is(h1, h2, h3, h4, h5, h6),
31
35
  body.qds-ui :where(.text-h1, .text-h2, .text-h3, .text-h4, .text-h5, .text-h6),
32
36
  .qds-display {
33
37
  font-family: var(--qds-font-family-display);
34
38
  }
35
39
 
36
40
  @each $step in h1, h2, h3, h4, h5, h6 {
37
- body.qds-ui :where(#{$step}) {
41
+ :where(body.qds-ui) #{$step} {
38
42
  @include qds-type-step($step);
39
43
  }
40
44
 
41
- body.qds-ui :where(#{$step}:not(#{$weight-utilities})) {
45
+ :where(body.qds-ui) #{$step}:where(:not(#{$weight-utilities})) {
42
46
  font-weight: var(--qds-font-weight-#{$step});
43
47
  }
44
48
  }