@frockbot/plugin-ui-theme 0.3.10 → 0.3.12
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 +3 -3
- package/src/client/theme.css +12 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frockbot/plugin-ui-theme",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.12",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"typecheck": "tsc --noEmit -p tsconfig.json"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@frockbot/client-core": "0.3.
|
|
22
|
-
"@frockbot/kernel-contracts": "0.3.
|
|
21
|
+
"@frockbot/client-core": "0.3.12",
|
|
22
|
+
"@frockbot/kernel-contracts": "0.3.12"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@types/bun": "1.4.0",
|
package/src/client/theme.css
CHANGED
|
@@ -116,6 +116,8 @@
|
|
|
116
116
|
--frock-control-lg: 36px;
|
|
117
117
|
--frock-avatar-sm: 28px;
|
|
118
118
|
--frock-avatar-md: 38px;
|
|
119
|
+
/* The pinned sidebar tile: a Bot addressed as a destination, not a row. */
|
|
120
|
+
--frock-avatar-lg: 56px;
|
|
119
121
|
--frock-icon-sm: 14px;
|
|
120
122
|
--frock-icon-md: 16px;
|
|
121
123
|
--frock-icon-lg: 18px;
|
|
@@ -243,6 +245,16 @@ body,
|
|
|
243
245
|
|
|
244
246
|
body {
|
|
245
247
|
background: var(--frock-surface-window);
|
|
248
|
+
|
|
249
|
+
/*
|
|
250
|
+
* The working size, on the document as well as on the shell root. Anything
|
|
251
|
+
* rendered outside `.frockbot-root` — an auth gate, a package page's own
|
|
252
|
+
* body — otherwise inherits the browser's 16px and reads a size larger than
|
|
253
|
+
* the rest of the product. Inputs keep their own alias, which is 16px on a
|
|
254
|
+
* phone so focusing a field does not zoom the page in.
|
|
255
|
+
*/
|
|
256
|
+
font-size: var(--frock-text-base);
|
|
257
|
+
line-height: var(--frock-leading-normal);
|
|
246
258
|
}
|
|
247
259
|
|
|
248
260
|
button,
|