@datalayer/primer-addons 1.0.29 → 1.0.30
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.
|
@@ -35,8 +35,6 @@ export const loopColors = {
|
|
|
35
35
|
loopAccent: '#4FC79C', // Deeper accent — charts, highlights
|
|
36
36
|
loopBrandHover: '#6CCFAA', // The filled button, hovered: dark text 8.4 to 1
|
|
37
37
|
loopText: '#248462', // Accent text & links on white: the lightest mint that reads, 4.6 to 1
|
|
38
|
-
loopEmphasis: '#248462', // A filled accent with white text (a counter, a badge): 4.6 to 1
|
|
39
|
-
loopEmphasisHover: '#227C5C', // The same, pressed
|
|
40
38
|
loopRing: '#0F6B4F', // The focus ring: 3 to 1 or more around every pastel
|
|
41
39
|
loopTint: '#F0FAF6', // Quiet tint — a draft, a callout
|
|
42
40
|
loopStage: '#DDF5EC', // The stage behind an application
|
|
@@ -21,7 +21,7 @@ import { theme as primerTheme } from '@primer/react';
|
|
|
21
21
|
import { loopAccentVars, loopColors } from '../colors/loopColors';
|
|
22
22
|
import { buildThemeStyles } from '../css/createThemeCSSVars';
|
|
23
23
|
/* ── Light-mode colour definitions ───────────────────────────────────── */
|
|
24
|
-
const loopLight = {
|
|
24
|
+
export const loopLight = {
|
|
25
25
|
canvas: {
|
|
26
26
|
default: loopColors.white,
|
|
27
27
|
subtle: loopColors.subtle,
|
|
@@ -33,7 +33,10 @@ const loopLight = {
|
|
|
33
33
|
},
|
|
34
34
|
accent: {
|
|
35
35
|
fg: loopColors.loopText,
|
|
36
|
-
|
|
36
|
+
// The accent itself, as on dark: the soft mint that dark text sits on —
|
|
37
|
+
// the filled button, the person's bubble, the assistant's avatar. The
|
|
38
|
+
// chat pairs it with the button's text, so the two stay one colour.
|
|
39
|
+
emphasis: loopColors.loopBrand,
|
|
37
40
|
muted: loopColors.loopBrand,
|
|
38
41
|
subtle: loopColors.loopTint,
|
|
39
42
|
},
|
|
@@ -136,7 +139,7 @@ const loopLight = {
|
|
|
136
139
|
},
|
|
137
140
|
};
|
|
138
141
|
/* ── Dark-mode colour definitions ────────────────────────────────────── */
|
|
139
|
-
const loopDark = {
|
|
142
|
+
export const loopDark = {
|
|
140
143
|
canvas: {
|
|
141
144
|
default: loopColors.black,
|
|
142
145
|
subtle: loopColors.subtleDark,
|