@autoguru/overdrive 4.56.0 → 4.57.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.
|
@@ -2,7 +2,6 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
|
2
2
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
3
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
4
|
import { buildColourGamut } from "../makeTheme.js";
|
|
5
|
-
import { overdriveTokens } from "../theme.css.js";
|
|
6
5
|
import { colourMap, colourMapWithoutWhite, secondaryForeground } from "./colours.js";
|
|
7
6
|
/**
|
|
8
7
|
* Here lie the global tokens for theming Overdrive
|
|
@@ -57,8 +56,8 @@ export const tokens = {
|
|
|
57
56
|
borderDisabled: colourMap.gray['100'],
|
|
58
57
|
surfaceDisabled: colourMap.gray['400'],
|
|
59
58
|
contentDisabled: colourMap.gray['600'],
|
|
60
|
-
link:
|
|
61
|
-
linkVisited:
|
|
59
|
+
link: colourMap.green['600'],
|
|
60
|
+
linkVisited: colourMap.green['700'],
|
|
62
61
|
overlayBg: colourMap.gray['300'],
|
|
63
62
|
overlayContainer: colourMap.white,
|
|
64
63
|
placeholder: colourMap.gray['700'],
|
|
@@ -71,7 +70,7 @@ export const tokens = {
|
|
|
71
70
|
}),
|
|
72
71
|
foreground: {
|
|
73
72
|
body: colourMap.gray['900'],
|
|
74
|
-
link: colourMap.
|
|
73
|
+
link: colourMap.green['600']
|
|
75
74
|
},
|
|
76
75
|
background: {
|
|
77
76
|
body: colourMap.white,
|
|
@@ -240,7 +239,7 @@ export const tokens = {
|
|
|
240
239
|
secondary: colourMap.gray['700'],
|
|
241
240
|
brand: colourMap.green['600'],
|
|
242
241
|
shine: colourMap.yellow['500'],
|
|
243
|
-
link: colourMap.
|
|
242
|
+
link: colourMap.green['600'],
|
|
244
243
|
dark: colourMap.gray['900'],
|
|
245
244
|
white: colourMap.white,
|
|
246
245
|
muted: colourMap.gray['400'],
|