@guardian/src-foundations
Advanced tools
Comparing version 3.3.0 to 3.4.0-rc.0
"use strict"; | ||
// Global colour names that correspond to https://www.theguardian.design/2a1e5182b/p/938810-colour/b/587ef3 | ||
// Global colour names that correspond to our palettes | ||
// Light: https://www.theguardian.design/2a1e5182b/p/492a30-light-palette | ||
// Dark: https://www.theguardian.design/2a1e5182b/p/75f7ca-dark-palette | ||
// | ||
@@ -15,6 +17,3 @@ // As a general rule, avoid using these directly in your application. Prefer the context | ||
// the Guardian's visual language. | ||
// 2) The higher level of abstraction provided. This means that | ||
// changes to colours at the theme level, or changes to global colours names, are less likely to | ||
// have a large impact on your application. | ||
// 3) Context-specific colours are tested and provide better accessibility guarantees. | ||
// 2) Context-specific colours are tested and provide better accessibility guarantees. | ||
// | ||
@@ -75,4 +74,5 @@ // If a context-specific colour is not available for your use case, consider raising a pull | ||
500: theme_1.colors.oranges[4], | ||
600: theme_1.colors.oranges[5], | ||
800: theme_1.colors.oranges[6], | ||
550: theme_1.colors.oranges[5], | ||
600: theme_1.colors.oranges[6], | ||
800: theme_1.colors.oranges[7], | ||
}; | ||
@@ -79,0 +79,0 @@ exports.sport = { |
@@ -60,2 +60,3 @@ "use strict"; | ||
'#FF7F0F', | ||
'#FF9941', | ||
'#F9B376', | ||
@@ -62,0 +63,0 @@ '#FEF9F5', |
@@ -1,2 +0,4 @@ | ||
// Global colour names that correspond to https://www.theguardian.design/2a1e5182b/p/938810-colour/b/587ef3 | ||
// Global colour names that correspond to our palettes | ||
// Light: https://www.theguardian.design/2a1e5182b/p/492a30-light-palette | ||
// Dark: https://www.theguardian.design/2a1e5182b/p/75f7ca-dark-palette | ||
// | ||
@@ -14,6 +16,3 @@ // As a general rule, avoid using these directly in your application. Prefer the context | ||
// the Guardian's visual language. | ||
// 2) The higher level of abstraction provided. This means that | ||
// changes to colours at the theme level, or changes to global colours names, are less likely to | ||
// have a large impact on your application. | ||
// 3) Context-specific colours are tested and provide better accessibility guarantees. | ||
// 2) Context-specific colours are tested and provide better accessibility guarantees. | ||
// | ||
@@ -72,4 +71,5 @@ // If a context-specific colour is not available for your use case, consider raising a pull | ||
500: colors.oranges[4], | ||
600: colors.oranges[5], | ||
800: colors.oranges[6], | ||
550: colors.oranges[5], | ||
600: colors.oranges[6], | ||
800: colors.oranges[7], | ||
}; | ||
@@ -76,0 +76,0 @@ export const sport = { |
@@ -53,2 +53,3 @@ // The theme file is based on the specification at https://system-ui.com/theme | ||
'#FF7F0F', | ||
'#FF9941', | ||
'#F9B376', | ||
@@ -55,0 +56,0 @@ '#FEF9F5', |
@@ -159,2 +159,3 @@ export * from './animation'; | ||
500: string; | ||
550: string; | ||
600: string; | ||
@@ -161,0 +162,0 @@ 800: string; |
@@ -50,2 +50,3 @@ export declare const brand: { | ||
500: string; | ||
550: string; | ||
600: string; | ||
@@ -52,0 +53,0 @@ 800: string; |
{ | ||
"name": "@guardian/src-foundations", | ||
"version": "3.3.0", | ||
"version": "3.4.0-rc.0", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "type": "git", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
258548
4196
2