@crewlethq/icons 0.74.0 → 0.75.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.
|
@@ -20,6 +20,22 @@
|
|
|
20
20
|
opacity: 0.55;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
+
/*
|
|
24
|
+
* MATTERMOST REVERSED ON A DARK GROUND, as Mattermost publishes it for one
|
|
25
|
+
* (VendorMark.tsx). Dark is the tokens' default, so it is dark unless the
|
|
26
|
+
* document or the system asks for light: the same three cases the theme
|
|
27
|
+
* itself is chosen by. On a light ground the drawing keeps its own blue.
|
|
28
|
+
*/
|
|
29
|
+
:root[data-theme='dark'] .crewlet-vendor-mark--mattermost {
|
|
30
|
+
fill: currentColor;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@media not (prefers-color-scheme: light) {
|
|
34
|
+
:root:not([data-theme='light']) .crewlet-vendor-mark--mattermost {
|
|
35
|
+
fill: currentColor;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
23
39
|
/*
|
|
24
40
|
* Forced colours drop filters and repaint everything from the user's own
|
|
25
41
|
* palette, so the muted mark would come back at full strength and read as
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ export { PRODUCTS, ProductMark } from './chunk-7HJUA3FG.js';
|
|
|
3
3
|
import { cssLength } from './chunk-TOSJN7HA.js';
|
|
4
4
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
5
5
|
import './CrewletFigure-4PMMCAFG.css';
|
|
6
|
-
import './VendorMark-
|
|
6
|
+
import './VendorMark-4T72GVJR.css';
|
|
7
7
|
|
|
8
8
|
var AgentError = (props) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.6, viewBox: "0 0 32 32", width: "1em", height: "1em", "aria-hidden": "true", focusable: "false", ...props, children: [
|
|
9
9
|
/* @__PURE__ */ jsx("circle", { cx: 14, cy: 11, r: 4 }),
|
|
@@ -485,7 +485,7 @@ function VendorMark({ vendor, size, title, muted = false, className, ...rest })
|
|
|
485
485
|
const frame = FRAMES[vendor];
|
|
486
486
|
const dimension = cssLength(size);
|
|
487
487
|
const semantics = title ? { role: "img", "aria-label": title, "aria-hidden": void 0, focusable: "false" } : { "aria-hidden": true, focusable: "false" };
|
|
488
|
-
const classes = ["crewlet-vendor-mark"];
|
|
488
|
+
const classes = ["crewlet-vendor-mark", `crewlet-vendor-mark--${vendor}`];
|
|
489
489
|
if (muted) classes.push("crewlet-vendor-mark--muted");
|
|
490
490
|
if (className !== void 0) classes.push(className);
|
|
491
491
|
return /* @__PURE__ */ jsx(
|
package/package.json
CHANGED