@datalayer/primer-addons 1.0.27 → 1.0.28

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.
@@ -6,11 +6,10 @@
6
6
  * and a single soft accent that dark text sits on. Nothing else carries
7
7
  * colour, apart from the three colours of a verdict.
8
8
  *
9
- * The accent of the theme itself is sky — a soft blue of LOOP's own,
10
- * so that an application never looks like the platform that built it
11
- * (decided 2026-10-03; it was Datalayer's green until then). An
12
- * application may take one of five others (`loopAccents`), the platform's
13
- * green among them; each is four values: the accent, the text that sits
9
+ * The accent of the theme itself is mint — a soft green, lighter than
10
+ * the platform's (decided 2026-10-03, after a day on sky). An
11
+ * application may take one of five others (`loopAccents`); each is four
12
+ * values: the accent, the text that sits
14
13
  * on it, the tint of the stage behind an application, and a quiet tint.
15
14
  * Dark text on every accent: the lowest contrast of the six is 8.8 to 1.
16
15
  */
@@ -84,7 +83,7 @@ export interface LoopAccent {
84
83
  dark: string;
85
84
  };
86
85
  }
87
- /** The six accents. One per application; everything else is neutral. Sky is the theme's own. */
86
+ /** The six accents. One per application; everything else is neutral. Green — mint — is the theme's own. */
88
87
  export declare const loopAccents: Record<LoopAccentName, LoopAccent>;
89
88
  /** The names of the accents, in the order a picker shows them. */
90
89
  export declare const loopAccentNames: LoopAccentName[];
@@ -10,11 +10,10 @@
10
10
  * and a single soft accent that dark text sits on. Nothing else carries
11
11
  * colour, apart from the three colours of a verdict.
12
12
  *
13
- * The accent of the theme itself is sky — a soft blue of LOOP's own,
14
- * so that an application never looks like the platform that built it
15
- * (decided 2026-10-03; it was Datalayer's green until then). An
16
- * application may take one of five others (`loopAccents`), the platform's
17
- * green among them; each is four values: the accent, the text that sits
13
+ * The accent of the theme itself is mint — a soft green, lighter than
14
+ * the platform's (decided 2026-10-03, after a day on sky). An
15
+ * application may take one of five others (`loopAccents`); each is four
16
+ * values: the accent, the text that sits
18
17
  * on it, the tint of the stage behind an application, and a quiet tint.
19
18
  * Dark text on every accent: the lowest contrast of the six is 8.8 to 1.
20
19
  */
@@ -30,20 +29,20 @@ export const loopColors = {
30
29
  subtle: '#F5F5F7', // Subtle surface on light (a bubble, a chip)
31
30
  subtleDark: '#1E1E20', // Subtle surface on dark
32
31
  grayDark: '#A1A1A6', // Secondary text on dark
33
- // Loop palette (Brand) — sky
34
- loopBrand: '#8CCBF9', // The accent — a bubble, a send button, a swatch
35
- loopOn: '#06243B', // Text that sits on the accent (9.1 to 1)
36
- loopAccent: '#5DB3F5', // Deeper accent — charts, highlights
37
- loopText: '#175FA8', // Accessible accent text & links on white (6.5 to 1)
38
- loopEmphasis: '#1B5FBF', // The one filled button, and the person's bubble: white text, 6.1 to 1
39
- loopEmphasisHover: '#175FA8', // The same, pressed
40
- loopTint: '#F0F8FE', // Quiet tint — a draft, a callout
41
- loopStage: '#DFF0FD', // The stage behind an application
42
- loopBright: '#9DD3FA', // Accent text & links on dark
43
- loopHover: '#0F4C8A', // Accent text hover
32
+ // Loop palette (Brand) — mint
33
+ loopBrand: '#7ADBB8', // The accent — a bubble, a send button, a swatch
34
+ loopOn: '#06281E', // Text that sits on the accent (9.5 to 1)
35
+ loopAccent: '#4FC79C', // Deeper accent — charts, highlights
36
+ loopText: '#0F6B4F', // Accessible accent text & links on white (6.5 to 1)
37
+ loopEmphasis: '#0F6B4F', // The one filled button, and the person's bubble: white text, 6.5 to 1
38
+ loopEmphasisHover: '#0A5640', // The same, pressed
39
+ loopTint: '#F0FAF6', // Quiet tint — a draft, a callout
40
+ loopStage: '#DDF5EC', // The stage behind an application
41
+ loopBright: '#8FE5C6', // Accent text & links on dark
42
+ loopHover: '#0A5640', // Accent text hover
44
43
  // The stage and the quiet tint, on dark
45
- loopStageDark: '#0F2333',
46
- loopTintDark: '#161E25',
44
+ loopStageDark: '#10261F',
45
+ loopTintDark: '#17211D',
47
46
  // Semantic roles — kept for verdicts and rules only
48
47
  successBrand: '#1F8A5B',
49
48
  successAccent: '#58C797',
@@ -61,7 +60,7 @@ export const loopColors = {
61
60
  doneAccent: '#C0AEF6',
62
61
  doneTint: '#F6F3FE',
63
62
  // Bright colours for SVG illustrations — the six accents themselves
64
- brightGlow: '#7ADBB8', // Green — the accent
63
+ brightGlow: '#7ADBB8', // Mint — the accent
65
64
  brightPop: '#8CCBF9', // Sky
66
65
  brightSpark: '#BEDC55', // Lime
67
66
  brightBlaze: '#F6A5C1', // Rose
@@ -77,7 +76,7 @@ export const loopColors = {
77
76
  brightLightFlame: '#B4571A', // Deep orange
78
77
  brightLightGold: '#8A6A00', // Deep sun
79
78
  };
80
- /** The six accents. One per application; everything else is neutral. Sky is the theme's own. */
79
+ /** The six accents. One per application; everything else is neutral. Green — mint — is the theme's own. */
81
80
  export const loopAccents = {
82
81
  green: {
83
82
  accent: '#7ADBB8',
@@ -1127,9 +1127,9 @@ export declare const loopFontFamily = "Inter, ui-sans-serif, system-ui, -apple-s
1127
1127
  export declare const loopMotionVars: Record<string, string>;
1128
1128
  /**
1129
1129
  * The focus ring (LOOP T-15): 3 to 1 against the page and around a pill of
1130
- * any accent, in both modes. In light mode the deep accent blue does it —
1130
+ * any accent, in both modes. In light mode the deep accent green does it —
1131
1131
  * a halo in the theme's colour, as a system's own focus ring is — 6.5 to 1
1132
- * on white and 3.3 or more around every pastel. In dark mode no
1132
+ * on white and 3.28 or more around every pastel. In dark mode no
1133
1133
  * colour clears 3 to 1 against both the near-black page and the six
1134
1134
  * pastels, the light ink least of all (under 1.8 to 1 on the pastels): a
1135
1135
  * mid grey does, at 3.04 to 1 — and 2.77 to 1 on the subtle dark surface,
@@ -360,9 +360,9 @@ export const loopMotionVars = {
360
360
  };
361
361
  /**
362
362
  * The focus ring (LOOP T-15): 3 to 1 against the page and around a pill of
363
- * any accent, in both modes. In light mode the deep accent blue does it —
363
+ * any accent, in both modes. In light mode the deep accent green does it —
364
364
  * a halo in the theme's colour, as a system's own focus ring is — 6.5 to 1
365
- * on white and 3.3 or more around every pastel. In dark mode no
365
+ * on white and 3.28 or more around every pastel. In dark mode no
366
366
  * colour clears 3 to 1 against both the near-black page and the six
367
367
  * pastels, the light ink least of all (under 1.8 to 1 on the pastels): a
368
368
  * mid grey does, at 3.04 to 1 — and 2.77 to 1 on the subtle dark surface,
@@ -387,7 +387,7 @@ export const loopThemeStyles = buildThemeStyles(loopLight, loopDark, {
387
387
  variables: {
388
388
  light: {
389
389
  ...loopShapeVars,
390
- ...loopAccentVars('sky', 'light'),
390
+ ...loopAccentVars('green', 'light'),
391
391
  ...loopMotionVars,
392
392
  ...loopShadows.light,
393
393
  ...loopTypeVars(loopFontFamily),
@@ -397,7 +397,7 @@ export const loopThemeStyles = buildThemeStyles(loopLight, loopDark, {
397
397
  },
398
398
  dark: {
399
399
  ...loopShapeVars,
400
- ...loopAccentVars('sky', 'dark'),
400
+ ...loopAccentVars('green', 'dark'),
401
401
  ...loopMotionVars,
402
402
  ...loopShadows.dark,
403
403
  ...loopTypeVars(loopFontFamily),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datalayer/primer-addons",
3
- "version": "1.0.27",
3
+ "version": "1.0.28",
4
4
  "license": "BSD-3-Clause",
5
5
  "scripts": {
6
6
  "build": "npm run build:lib",