@orion-studios/payload-studio 0.6.0-beta.15 → 0.6.0-beta.16

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.
@@ -7,14 +7,14 @@ import {
7
7
  socialMediaConnectionsField,
8
8
  themePreferenceField,
9
9
  withTooltips
10
- } from "../chunk-2CXKDIYL.mjs";
10
+ } from "../chunk-XZQILJK3.mjs";
11
+ import "../chunk-W2UOCJDX.mjs";
11
12
  import {
12
13
  SOCIAL_MEDIA_DEFAULT_ICON_BY_PLATFORM,
13
14
  SOCIAL_MEDIA_ICON_OPTIONS,
14
15
  SOCIAL_MEDIA_PLATFORMS,
15
16
  SOCIAL_MEDIA_PLATFORM_LABELS
16
17
  } from "../chunk-ZTXJG4K5.mjs";
17
- import "../chunk-W2UOCJDX.mjs";
18
18
  import "../chunk-6BWS3CLP.mjs";
19
19
  export {
20
20
  SOCIAL_MEDIA_DEFAULT_ICON_BY_PLATFORM,
@@ -25,7 +25,17 @@
25
25
  --orion-cms-accent-border,
26
26
  var(--orion-cms-accent-border-resolved, color-mix(in srgb, var(--orion-admin-accent) 36%, transparent))
27
27
  );
28
- --orion-admin-selection-bg: color-mix(in srgb, var(--orion-admin-accent) 18%, var(--orion-admin-main-bg));
28
+ --orion-admin-selection-bg: var(
29
+ --orion-cms-selection-bg,
30
+ var(
31
+ --orion-cms-selection-bg-resolved,
32
+ color-mix(in srgb, var(--orion-admin-accent) 18%, var(--orion-admin-main-bg))
33
+ )
34
+ );
35
+ --orion-admin-selection-text: var(
36
+ --orion-cms-selection-text,
37
+ var(--orion-cms-selection-text-resolved, var(--orion-admin-text))
38
+ );
29
39
  --orion-admin-radius-xs: var(--orion-cms-radius-xs, var(--orion-cms-radius-xs-resolved, 8px));
30
40
  --orion-admin-radius-sm: var(--orion-cms-radius-sm, var(--orion-cms-radius-sm-resolved, 12px));
31
41
  --orion-admin-radius-md: var(--orion-cms-radius-md, var(--orion-cms-radius-md-resolved, 16px));
@@ -116,6 +126,15 @@
116
126
  .orion-admin-page ::selection,
117
127
  .orion-admin-login-shell ::selection {
118
128
  background: var(--orion-admin-selection-bg);
129
+ color: var(--orion-admin-selection-text);
130
+ }
131
+
132
+ .orion-admin-shell ::-moz-selection,
133
+ .orion-admin-main ::-moz-selection,
134
+ .orion-admin-page ::-moz-selection,
135
+ .orion-admin-login-shell ::-moz-selection {
136
+ background: var(--orion-admin-selection-bg);
137
+ color: var(--orion-admin-selection-text);
119
138
  }
120
139
 
121
140
  .orion-admin-shell {
package/dist/admin.css CHANGED
@@ -260,6 +260,8 @@ html[data-orion-brand]:not([data-theme='dark']) {
260
260
  --color-base-50: color-mix(in srgb, var(--brand-primary) 2%, rgb(245, 245, 245));
261
261
  --color-base-100: color-mix(in srgb, var(--brand-primary) 3%, rgb(235, 235, 235));
262
262
  --color-base-150: color-mix(in srgb, var(--brand-primary) 4%, rgb(221, 221, 221));
263
+ --orion-cms-selection-bg-resolved: color-mix(in srgb, var(--brand-primary) 16%, white);
264
+ --orion-cms-selection-text-resolved: var(--theme-text);
263
265
  }
264
266
 
265
267
  /* ============================================================
@@ -311,6 +313,8 @@ html[data-orion-brand][data-theme='dark'] {
311
313
  --color-base-900: color-mix(in srgb, var(--brand-primary) 4%, rgb(20, 20, 20));
312
314
  --color-base-850: color-mix(in srgb, var(--brand-primary) 3%, rgb(34, 34, 34));
313
315
  --color-base-800: color-mix(in srgb, var(--brand-primary) 2%, rgb(47, 47, 47));
316
+ --orion-cms-selection-bg-resolved: color-mix(in srgb, var(--brand-primary) 28%, var(--color-base-900));
317
+ --orion-cms-selection-text-resolved: var(--theme-text);
314
318
  }
315
319
 
316
320
  /* ============================================================
@@ -321,11 +325,23 @@ html {
321
325
  }
322
326
 
323
327
  html[data-orion-brand] ::selection {
324
- background: color-mix(in srgb, var(--brand-primary) 18%, white);
328
+ background: var(--orion-cms-selection-bg, var(--orion-cms-selection-bg-resolved));
329
+ color: var(--orion-cms-selection-text, var(--orion-cms-selection-text-resolved));
325
330
  }
326
331
 
327
332
  html[data-orion-brand][data-theme='dark'] ::selection {
328
- background: color-mix(in srgb, var(--brand-primary) 26%, black);
333
+ background: var(--orion-cms-selection-bg, var(--orion-cms-selection-bg-resolved));
334
+ color: var(--orion-cms-selection-text, var(--orion-cms-selection-text-resolved));
335
+ }
336
+
337
+ html[data-orion-brand] ::-moz-selection {
338
+ background: var(--orion-cms-selection-bg, var(--orion-cms-selection-bg-resolved));
339
+ color: var(--orion-cms-selection-text, var(--orion-cms-selection-text-resolved));
340
+ }
341
+
342
+ html[data-orion-brand][data-theme='dark'] ::-moz-selection {
343
+ background: var(--orion-cms-selection-bg, var(--orion-cms-selection-bg-resolved));
344
+ color: var(--orion-cms-selection-text, var(--orion-cms-selection-text-resolved));
329
345
  }
330
346
 
331
347
  /* ============================================================
package/dist/index.mjs CHANGED
@@ -1,17 +1,17 @@
1
+ import {
2
+ admin_exports
3
+ } from "./chunk-XZQILJK3.mjs";
4
+ import {
5
+ admin_app_exports
6
+ } from "./chunk-RKTIFEUY.mjs";
7
+ import "./chunk-W2UOCJDX.mjs";
1
8
  import {
2
9
  blocks_exports
3
10
  } from "./chunk-JQAHXYAM.mjs";
4
11
  import {
5
12
  nextjs_exports
6
13
  } from "./chunk-OTHERBGX.mjs";
7
- import {
8
- admin_exports
9
- } from "./chunk-2CXKDIYL.mjs";
10
14
  import "./chunk-ZTXJG4K5.mjs";
11
- import {
12
- admin_app_exports
13
- } from "./chunk-RKTIFEUY.mjs";
14
- import "./chunk-W2UOCJDX.mjs";
15
15
  import {
16
16
  studio_pages_exports
17
17
  } from "./chunk-XKUTZ7IU.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orion-studios/payload-studio",
3
- "version": "0.6.0-beta.15",
3
+ "version": "0.6.0-beta.16",
4
4
  "description": "Base CMS, builder, and custom admin toolkit for Orion Studios websites",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/index.js",
@@ -1,12 +1,12 @@
1
+ import {
2
+ adminNavIcons
3
+ } from "./chunk-W2UOCJDX.mjs";
1
4
  import {
2
5
  SOCIAL_MEDIA_DEFAULT_ICON_BY_PLATFORM,
3
6
  SOCIAL_MEDIA_ICON_OPTIONS,
4
7
  SOCIAL_MEDIA_PLATFORMS,
5
8
  SOCIAL_MEDIA_PLATFORM_LABELS
6
9
  } from "./chunk-ZTXJG4K5.mjs";
7
- import {
8
- adminNavIcons
9
- } from "./chunk-W2UOCJDX.mjs";
10
10
  import {
11
11
  __export,
12
12
  __require