@financial-times/o-topper 7.0.0 → 7.0.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
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## [7.0.2](https://github.com/Financial-Times/origami/compare/o-topper-v7.0.1...o-topper-v7.0.2) (2025-04-10)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * Align o-topper__headline with o3 ([b3f342a](https://github.com/Financial-Times/origami/commit/b3f342a188af96e82a2d2b57a2ff8be43973a71e))
9
+
10
+ ## [7.0.1](https://github.com/Financial-Times/origami/compare/o-topper-v7.0.0...o-topper-v7.0.1) (2025-02-26)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * Remove o-colors references ([b7d8c6a](https://github.com/Financial-Times/origami/commit/b7d8c6a3d5d01c03c37cc8e0d57fa40f06361d38))
16
+ * Remove unused o-buttons reference ([1be12a8](https://github.com/Financial-Times/origami/commit/1be12a809a44421541412363671445477454656a))
17
+ * Remove unused o-icons iSass imports ([e8b105f](https://github.com/Financial-Times/origami/commit/e8b105fa887fbc50e5030fb1f398989df290046b))
18
+
3
19
  ## [7.0.0](https://github.com/Financial-Times/origami/compare/o-topper-v6.0.8...o-topper-v7.0.0) (2025-02-20)
4
20
 
5
21
  ### ⚠ BREAKING CHANGES
package/main.scss CHANGED
@@ -1,5 +1,4 @@
1
1
  @import '@financial-times/o-private-foundation/main';
2
- @import '@financial-times/o-icons/main';
3
2
 
4
3
  @import 'src/scss/variables';
5
4
  @import 'src/scss/mixins';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@financial-times/o-topper",
3
- "version": "7.0.0",
3
+ "version": "7.0.2",
4
4
  "description": "Article header styling",
5
5
  "keywords": [
6
6
  "topper",
@@ -98,7 +98,7 @@
98
98
  %_o-topper__tag {
99
99
  // Non-linked tags and author tags are the same colour as the body copy.
100
100
  @if not is-superselector('a', '#{&}') {
101
- color: oColorsByUsecase('body', 'text');
101
+ color: oPrivateFoundationGet('o3-color-use-case-body-text');
102
102
  }
103
103
 
104
104
  font-family: oPrivateFoundationGet('o3-type-body-highlight-font-family');
@@ -159,17 +159,10 @@
159
159
  .o-topper__headline {
160
160
  margin: 0;
161
161
  margin-bottom: oPrivateSpacingByIncrement(5);
162
- font-family: oPrivateFoundationGet('o3-type-headline-sm-font-family');
163
- font-size: oPrivateFoundationGet('o3-type-headline-sm-font-size');
164
- font-weight: oPrivateFoundationGet('o3-type-headline-sm-font-weight');
165
- line-height: oPrivateFoundationGet('o3-type-headline-sm-line-height');
166
-
167
- @include oPrivateGridRespondTo('S') {
168
- font-family: oPrivateFoundationGet('o3-type-headline-md-font-family');
169
- font-size: oPrivateFoundationGet('o3-type-headline-md-font-size');
170
- font-weight: oPrivateFoundationGet('o3-type-headline-md-font-weight');
171
- line-height: oPrivateFoundationGet('o3-type-headline-md-line-height');
172
- }
162
+ font-family: oPrivateFoundationGet('o3-type-headline-md-font-family');
163
+ font-size: oPrivateFoundationGet('o3-type-headline-md-font-size');
164
+ font-weight: oPrivateFoundationGet('o3-type-headline-md-font-weight');
165
+ line-height: oPrivateFoundationGet('o3-type-headline-md-line-height');
173
166
 
174
167
  @include oPrivateGridRespondTo('L') {
175
168
  font-family: oPrivateFoundationGet('o3-type-headline-lg-font-family');