@financial-times/o-topper 7.0.1 → 7.0.3

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,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [7.0.3](https://github.com/Financial-Times/origami/compare/o-topper-v7.0.2...o-topper-v7.0.3) (2025-04-29)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * Remove _o-topper__tag anchor colour unset ([82b5e22](https://github.com/Financial-Times/origami/commit/82b5e22d509e43b8bb95f05188deab80fb63fb5e))
9
+
10
+ ## [7.0.2](https://github.com/Financial-Times/origami/compare/o-topper-v7.0.1...o-topper-v7.0.2) (2025-04-10)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * Align o-topper__headline with o3 ([b3f342a](https://github.com/Financial-Times/origami/commit/b3f342a188af96e82a2d2b57a2ff8be43973a71e))
16
+
3
17
  ## [7.0.1](https://github.com/Financial-Times/origami/compare/o-topper-v7.0.0...o-topper-v7.0.1) (2025-02-26)
4
18
 
5
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@financial-times/o-topper",
3
- "version": "7.0.1",
3
+ "version": "7.0.3",
4
4
  "description": "Article header styling",
5
5
  "keywords": [
6
6
  "topper",
@@ -96,10 +96,7 @@
96
96
 
97
97
  @include _oTopperDefineOnce(tag) {
98
98
  %_o-topper__tag {
99
- // Non-linked tags and author tags are the same colour as the body copy.
100
- @if not is-superselector('a', '#{&}') {
101
- color: oPrivateFoundationGet('o3-color-use-case-body-text');
102
- }
99
+ color: unset;
103
100
 
104
101
  font-family: oPrivateFoundationGet('o3-type-body-highlight-font-family');
105
102
  font-size: oPrivateFoundationGet('o3-type-body-highlight-font-size');
@@ -121,14 +118,6 @@
121
118
  color: oPrivateFoundationGet('o3-color-palette-claret-30');
122
119
  }
123
120
  }
124
- color: unset;
125
-
126
- @at-root a#{&} {
127
- color: unset;
128
- &:hover {
129
- color: unset;
130
- }
131
- }
132
121
  }
133
122
  }
134
123
 
@@ -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');