@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 +8 -0
- package/package.json +1 -1
- package/src/css/_base.scss +7 -3
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
package/src/css/_base.scss
CHANGED
|
@@ -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
|
-
|
|
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
|
|
41
|
+
:where(body.qds-ui) #{$step} {
|
|
38
42
|
@include qds-type-step($step);
|
|
39
43
|
}
|
|
40
44
|
|
|
41
|
-
body.qds-ui
|
|
45
|
+
:where(body.qds-ui) #{$step}:where(:not(#{$weight-utilities})) {
|
|
42
46
|
font-weight: var(--qds-font-weight-#{$step});
|
|
43
47
|
}
|
|
44
48
|
}
|