@astrosheep/square 0.3.104 → 0.3.105
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.
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { PluginTheme } from "@getpaseo/plugin";
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* Square's message card is a
|
|
5
|
-
*
|
|
4
|
+
* Square's message card is a matte slate slip in one family with the timeline's
|
|
5
|
+
* meantime rail and notesoup paper: the shared 4px corner, a square seal ■, a thin quote
|
|
6
6
|
* guide under the header. No glass sheen, no stone texture, no bottom cut —
|
|
7
|
-
* the card earns its identity from
|
|
7
|
+
* the card earns its identity from colour and the seal, not decoration.
|
|
8
8
|
*/
|
|
9
9
|
const DARK = {
|
|
10
10
|
surface0: "#14161a", // inset / code
|
|
@@ -57,7 +57,7 @@ export function squarePalette(theme: PluginTheme): SquarePalette {
|
|
|
57
57
|
statusWarning: theme.colors.statusWarning,
|
|
58
58
|
statusDanger: theme.colors.statusDanger,
|
|
59
59
|
} },
|
|
60
|
-
card: { borderRadius:
|
|
60
|
+
card: { borderRadius: 4, borderWidth: 0.5, boxShadow: "none" },
|
|
61
61
|
seal: { borderRadius: 0 },
|
|
62
62
|
quote: { borderLeftWidth: 1, borderLeftColor: dark ? "#45535e" : "#c2cdd5", paddingLeft: 9 },
|
|
63
63
|
};
|
|
@@ -7,8 +7,8 @@ import { MONO, SquareCue, SquareInline, SquareMarkdownBody } from "./markdown";
|
|
|
7
7
|
import { squarePalette } from "./palette";
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
* A
|
|
11
|
-
*
|
|
10
|
+
* A matte slate slip in the timeline's shared 4px-corner family: square seal ■,
|
|
11
|
+
* thin quote guide under the header.
|
|
12
12
|
* Header (both states): ■ square · who spoke … act ids · how many.
|
|
13
13
|
* Collapsed: two preview lines. Expanded: the whole scene, at full width.
|
|
14
14
|
* Each structured message keeps its own sender, activity id and body.
|