@financial-times/o-private-foundation 1.0.3 → 1.1.0

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
+ ## [1.1.0](https://github.com/Financial-Times/origami/compare/o-private-foundation-v1.0.4...o-private-foundation-v1.1.0) (2025-03-05)
4
+
5
+
6
+ ### Features
7
+
8
+ * Update colours with a new `support-text` use-case and corrected SV colours ([cd2d83f](https://github.com/Financial-Times/origami/commit/cd2d83fdf1e6644369e462b37c60524db79bf07e))
9
+
10
+ ## [1.0.4](https://github.com/Financial-Times/origami/compare/o-private-foundation-v1.0.3...o-private-foundation-v1.0.4) (2025-02-26)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * replace o colors import ([#1995](https://github.com/Financial-Times/origami/issues/1995)) ([5d69fec](https://github.com/Financial-Times/origami/commit/5d69fec38d59feee0f5da7a3ae5d4f8f3fb64f60))
16
+
3
17
  ## [1.0.3](https://github.com/Financial-Times/origami/compare/o-private-foundation-v1.0.2...o-private-foundation-v1.0.3) (2025-02-26)
4
18
 
5
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@financial-times/o-private-foundation",
3
- "version": "1.0.3",
3
+ "version": "1.1.0",
4
4
  "description": "Foundation components for use in Origami components only.",
5
5
  "keywords": [],
6
6
  "homepage": "https://registry.origami.ft.com/components/o-private-foundation",
@@ -25,7 +25,7 @@
25
25
  "npm": ">7"
26
26
  },
27
27
  "volta": {
28
- "node": "14.16.1",
28
+ "node": "22.2.0",
29
29
  "npm": "7.11.1"
30
30
  },
31
31
  "percy": true,
@@ -1,4 +1,4 @@
1
- @import '@financial-times/o-colors/main';
1
+ @import '../o-colors/main';
2
2
 
3
3
  @import 'scss/shadows';
4
4
  @import 'scss/variables';
@@ -89,6 +89,7 @@ $tokens: (
89
89
  'o3-color-use-case-page-background': #fff1e5,
90
90
  'o3-color-use-case-page-inverse-background': #262a33,
91
91
  'o3-color-use-case-body-text': #33302e,
92
+ 'o3-color-use-case-support-text': #4d4845,
92
93
  'o3-color-use-case-body-inverse-text': #ffffff,
93
94
  'o3-color-use-case-heading-text': #33302e,
94
95
  'o3-color-use-case-heading-inverse-text': #ffffff,
@@ -162,6 +162,7 @@ $tokens: (
162
162
  'o3-color-use-case-page-background': #ffffff,
163
163
  'o3-color-use-case-page-inverse-background': #262a33,
164
164
  'o3-color-use-case-body-text': #333333,
165
+ 'o3-color-use-case-support-text': #4d4d4d,
165
166
  'o3-color-use-case-body-inverse-text': #ffffff,
166
167
  // "Muted" text is less prominent, for example credits and captions.
167
168
  'o3-color-use-case-muted-text': #cccccc,
@@ -98,6 +98,7 @@ $tokens: (
98
98
  'o3-color-use-case-page-background': #fff1e5,
99
99
  'o3-color-use-case-page-inverse-background': #262a33,
100
100
  'o3-color-use-case-body-text': #33302e,
101
+ 'o3-color-use-case-support-text': #4d4845,
101
102
  'o3-color-use-case-body-inverse-text': #ffffff,
102
103
  'o3-color-use-case-heading-text': #33302e,
103
104
  'o3-color-use-case-heading-inverse-text': #ffffff,
@@ -136,6 +136,7 @@ $tokens: (
136
136
  'o3-color-palette-claret': #990f3d,
137
137
  'o3-color-palette-black-90': #1a1817,
138
138
  'o3-color-palette-black-50': #807973,
139
+ 'o3-color-palette-black-70': #4d4d4d,
139
140
  'o3-color-palette-teal-40': #0a5e66,
140
141
  'o3-color-palette-teal-20': #052f33,
141
142
  'o3-color-palette-black-30': #b3a9a0,
@@ -149,6 +150,7 @@ $tokens: (
149
150
  'o3-color-use-case-body-text': #1a1817,
150
151
  // "Muted" text is less prominent, for example credits and captions.
151
152
  'o3-color-use-case-muted-text': #807973,
153
+ 'o3-color-use-case-support-text': #4d4d4d,
152
154
  // "Muted" text is less prominent, for example credits and captions.
153
155
  'o3-color-use-case-muted-inverse-text': #a8aaad,
154
156
  'o3-color-use-case-link-inverse-text': #ffffff,
@@ -167,21 +169,25 @@ $tokens: (
167
169
  'o3-color-use-case-error-text': #cc0000,
168
170
  'o3-color-use-case-error': #cc0000,
169
171
  '_o3-editorial-typography-topic-tag-color': #0d7680,
172
+ '_o3-editorial-typography-topic-tag-inverse-color': #ffffff,
170
173
  '_o3-editorial-typography-topic-tag-hover-color': #262a33,
174
+ '_o3-editorial-typography-topic-tag-hover-inverse-color': #c9f5ea,
171
175
  '_o3-editorial-typography-byline-author-color': #0d7680,
176
+ '_o3-editorial-typography-byline-author-inverse-color': #ffffff,
172
177
  '_o3-editorial-typography-byline-author-hover-color': #262a33,
178
+ '_o3-editorial-typography-byline-author-hover-inverse-color': #c9f5ea,
173
179
  '_o3-editorial-typography-byline-timestamp-color': #807973,
174
180
  '_o3-editorial-typography-byline-timestamp-inverse-color': #ffffff,
175
181
  '_o3-editorial-typography-pullquote-content-font-family': ('metric 2 VF', sans-serif),
176
182
  '_o3-editorial-typography-pullquote-content-font-weight': 700,
177
183
  '_o3-editorial-typography-pullquote-content-font-size': 1.25rem,
178
184
  '_o3-editorial-typography-pullquote-content-line-height': 1.75rem,
185
+ '_o3-editorial-typography-caption-color': #807973,
186
+ '_o3-editorial-typography-caption-inverse-color': #ffffff,
179
187
  '_o3-editorial-typography-big-number-title-font-family': ('metric 2 VF', sans-serif),
180
188
  '_o3-editorial-typography-big-number-title-font-weight': 700,
181
189
  '_o3-editorial-typography-big-number-title-font-size': 3rem,
182
190
  '_o3-editorial-typography-big-number-title-line-height': 3.5rem,
183
- '_o3-editorial-typography-quote-icon-color': #0d7680,
184
- '_o3-editorial-typography-pullquote-color': #0d7680,
185
191
  // Use this style for large screens headlines in the main headers (toppers) of content pages, for prominent, large teasers or landing pages.
186
192
  'o3-type-display-lg-font-family': ('metric 2 VF', sans-serif),
187
193
  // Use this style for large screens headlines in the main headers (toppers) of content pages, for prominent, large teasers or landing pages.
@@ -94,6 +94,7 @@ $tokens: (
94
94
  'o3-color-use-case-page-background': #ffffff,
95
95
  'o3-color-use-case-page-inverse-background': #333333,
96
96
  'o3-color-use-case-body-text': #333333,
97
+ 'o3-color-use-case-support-text': #4d4d4d,
97
98
  'o3-color-use-case-body-inverse-text': #ffffff,
98
99
  // "Muted" text is less prominent, for example credits and captions.
99
100
  'o3-color-use-case-muted-text': #757575,