@phis/ui 0.5.2 → 0.5.3
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/README.md +1 -1
- package/components/controls/phi-border-control.js +1 -1
- package/components/controls/phi-bound-radius-control.js +9 -9
- package/components/controls/phi-brand-control.js +1 -1
- package/components/controls/phi-drawer-control-adapter.js +4 -4
- package/components/controls/phi-dropdown-control.js +2 -2
- package/components/controls/phi-form-control.js +1 -1
- package/components/controls/phi-image-control.js +1 -1
- package/components/controls/phi-mask-picker-control.js +6 -6
- package/components/controls/phi-select-control.js +1 -1
- package/components/controls/phi-theme-scope-control.js +1 -1
- package/components/controls/use-phi-color-control-presets.js +2 -2
- package/components/forms/compound-form-controls.js +2 -2
- package/components/forms/extended-form-field-controls.js +1 -1
- package/components/forms/shared-form-provider-registry.js +2 -2
- package/components/layouts/clients/phi-flex-layout-client.js +4 -4
- package/components/layouts/clients/phi-grid-layout-client.js +3 -3
- package/components/layouts/clients/phi-sequence-slot-editor.js +1 -1
- package/components/layouts/layout-definitions.d.ts +4 -4
- package/components/layouts/phi-page-region-layout.js +1 -1
- package/components/layouts/phi-structure-region-layout.js +3 -3
- package/components/media/phi-asset-focal-rect-widget.js +4 -4
- package/components/media/phi-asset-inspector-section.js +1 -1
- package/components/media/phi-media-kind-icon.js +2 -2
- package/components/media/phi-media-restricted-icon.js +1 -1
- package/components/overlays/phi-overlay-container-client.js +1 -1
- package/components/regions/presets/phi-base-page-column.js +6 -2
- package/components/root/phi-config-provider.js +1 -1
- package/components/root/phi-root-background.js +1 -1
- package/components/root/phi-root-theme-resolver.js +1 -1
- package/components/shell/phi-module-icons.js +1 -1
- package/components/widgets/built-in/builder-workspace-preview.js +8 -8
- package/components/widgets/client/bullet-list-entries-editor.js +2 -2
- package/components/widgets/client/external-document-editor.js +1 -1
- package/components/widgets/client/html-editor.js +3 -3
- package/components/widgets/config/background.d.ts +1 -1
- package/components/widgets/config/background.js +1 -1
- package/components/widgets/inspector-field-row.js +1 -1
- package/components/widgets/label-sets/inspector.js +2 -0
- package/components/widgets/label-types/inspector.d.ts +1 -0
- package/components/widgets/label-types/inspector.js +1 -0
- package/components/widgets/shared/card-body-client.js +1 -1
- package/components/widgets/shared/result-body-client.js +1 -1
- package/constants/media-library-provider-keys.d.ts +8 -1
- package/constants/media-library-provider-keys.js +8 -1
- package/constants/record-field-kinds.d.ts +6 -0
- package/constants/record-field-kinds.js +7 -0
- package/constants/runtime-module-ownership.js +1 -1
- package/helpers/border-widget-style.d.ts +2 -2
- package/helpers/border-widget-style.js +2 -2
- package/helpers/cms-dialog.d.ts +4 -4
- package/helpers/cms-layout-defaults.d.ts +2 -2
- package/helpers/cms-page-catalog.d.ts +5 -0
- package/helpers/cms-preset-page-tree.d.ts +4 -0
- package/helpers/cms-preset-page-tree.js +2 -0
- package/helpers/layout-style.d.ts +2 -2
- package/helpers/page-layout-check.d.ts +4 -1
- package/helpers/page-layout-check.js +26 -0
- package/helpers/record-fields.d.ts +9 -0
- package/helpers/record-fields.js +84 -0
- package/helpers/surface-presets.d.ts +6 -6
- package/helpers/surface-style.d.ts +1 -1
- package/helpers.d.ts +0 -1
- package/helpers.js +0 -2
- package/module-page-check.d.ts +12 -0
- package/module-page-check.js +12 -0
- package/module-records.d.ts +4 -2
- package/module-records.js +3 -1
- package/next/antd-form-context-loader.mjs +31 -0
- package/next/config.d.mts +2 -0
- package/next/config.mjs +36 -3
- package/package.json +10 -1
- package/plugins/runtime-modules/asset/data-providers.d.ts +0 -65
- package/plugins/runtime-modules/asset/data-providers.js +0 -40
- package/plugins/runtime-modules/asset/definition.d.ts +0 -60
- package/plugins/runtime-modules/asset/ids.d.ts +0 -1
- package/plugins/runtime-modules/asset/ids.js +1 -2
- package/plugins/runtime-modules/asset/presets.d.ts +1 -0
- package/plugins/runtime-modules/asset/server.js +0 -5
- package/plugins/runtime-modules/blog/presets.d.ts +1 -0
- package/plugins/runtime-modules/builder/clients/inspector-config-field.d.ts +4 -1
- package/plugins/runtime-modules/builder/clients/inspector-config-field.js +13 -4
- package/plugins/runtime-modules/builder/clients/inspector-link-target-field.js +1 -1
- package/plugins/runtime-modules/builder/clients/inspector-section-widget.js +14 -1
- package/plugins/runtime-modules/builder/clients/inspector-signal-section.js +2 -2
- package/plugins/runtime-modules/builder/clients/layout-inspector.js +1 -1
- package/plugins/runtime-modules/builder/clients/layout-scaffold-buttons.js +4 -4
- package/plugins/runtime-modules/builder/clients/layout-scaffold-overlays.js +1 -1
- package/plugins/runtime-modules/builder/clients/region-inspector.js +1 -1
- package/plugins/runtime-modules/builder/clients/region-visibility-fields.js +1 -1
- package/plugins/runtime-modules/builder/clients/shells-workspace.js +1 -1
- package/plugins/runtime-modules/builder/clients/structure-canvas.js +2 -2
- package/plugins/runtime-modules/builder/clients/widget-effects-editor.js +1 -1
- package/plugins/runtime-modules/builder/clients/widget-inspector.d.ts +4 -1
- package/plugins/runtime-modules/builder/clients/widget-inspector.js +3 -2
- package/plugins/runtime-modules/builder/page-presets.server.d.ts +6 -0
- package/plugins/runtime-modules/builder/page-presets.server.js +8 -0
- package/plugins/runtime-modules/builder/pages-workspace.js +12 -1
- package/plugins/runtime-modules/builder/render-root-node-scaffold.js +5 -5
- package/plugins/runtime-modules/builder/structure-dnd.js +2 -2
- package/plugins/runtime-modules/builder/widgets/test-block/client.js +1 -1
- package/plugins/runtime-modules/content-entry-routes.d.ts +1 -0
- package/plugins/runtime-modules/contracts.d.ts +1 -1
- package/plugins/runtime-modules/contracts.js +41 -1
- package/plugins/runtime-modules/core/data-providers.d.ts +60 -0
- package/plugins/runtime-modules/core/data-providers.js +41 -0
- package/plugins/runtime-modules/core/definition.d.ts +55 -0
- package/plugins/runtime-modules/core/server.js +5 -0
- package/plugins/runtime-modules/core/widgets/button/config.d.ts +34 -0
- package/plugins/runtime-modules/core/widgets/button/config.js +16 -0
- package/plugins/runtime-modules/core/widgets/button/plugin.js +37 -6
- package/plugins/runtime-modules/core/widgets/card/config.d.ts +13 -2
- package/plugins/runtime-modules/core/widgets/description/config.d.ts +13 -2
- package/plugins/runtime-modules/core/widgets/description/editor.js +13 -13
- package/plugins/runtime-modules/core/widgets/entry-list/config.d.ts +11 -0
- package/plugins/runtime-modules/core/widgets/gallery/client.d.ts +4 -1
- package/plugins/runtime-modules/core/widgets/gallery/client.js +29 -21
- package/plugins/runtime-modules/core/widgets/gallery/config.d.ts +16 -0
- package/plugins/runtime-modules/core/widgets/gallery/config.js +16 -0
- package/plugins/runtime-modules/core/widgets/gallery/server.d.ts +1 -1
- package/plugins/runtime-modules/core/widgets/gallery/server.js +11 -0
- package/plugins/runtime-modules/core/widgets/image/config.d.ts +35 -0
- package/plugins/runtime-modules/core/widgets/image/config.js +8 -0
- package/plugins/runtime-modules/core/widgets/image/plugin.js +19 -1
- package/plugins/runtime-modules/core/widgets/image/server.d.ts +3 -1
- package/plugins/runtime-modules/core/widgets/image/server.js +2 -2
- package/plugins/runtime-modules/core/widgets/markdown/config.d.ts +13 -0
- package/plugins/runtime-modules/core/widgets/markdown/config.js +8 -0
- package/plugins/runtime-modules/core/widgets/markdown/editor.js +7 -7
- package/plugins/runtime-modules/core/widgets/markdown/plugin.js +20 -7
- package/plugins/runtime-modules/core/widgets/record/authoring.js +1 -1
- package/plugins/runtime-modules/core/widgets/result/config.d.ts +11 -0
- package/plugins/runtime-modules/core/widgets/simple-text/config.d.ts +13 -0
- package/plugins/runtime-modules/core/widgets/simple-text/config.js +9 -0
- package/plugins/runtime-modules/core/widgets/simple-text/editor.js +1 -1
- package/plugins/runtime-modules/core/widgets/simple-text/plugin.js +14 -1
- package/plugins/runtime-modules/core/widgets/spacer/client.js +1 -1
- package/plugins/runtime-modules/core/widgets/table/config.d.ts +37 -0
- package/plugins/runtime-modules/descriptor-compiler.js +8 -0
- package/plugins/runtime-modules/editor/presets.d.ts +1 -0
- package/plugins/runtime-modules/groups/definition.d.ts +1 -1
- package/plugins/runtime-modules/localization/presets.d.ts +1 -0
- package/plugins/runtime-modules/news/presets.d.ts +1 -0
- package/plugins/runtime-modules/resolver.js +2 -0
- package/plugins/runtime-modules/revisions/presets.d.ts +1 -0
- package/plugins/runtime-modules/theme/presets.d.ts +1 -0
- package/plugins/runtime-modules/theme/widgets/brand-controls/client.js +25 -2
- package/server-helpers/cms-page-record.d.ts +26 -0
- package/server-helpers/cms-page-record.js +42 -0
- package/server-helpers/cms-request.js +48 -4
- package/server-helpers/record-fields.d.ts +62 -0
- package/server-helpers/record-fields.js +87 -0
- package/server-helpers/record-samples.d.ts +21 -0
- package/server-helpers/record-samples.js +41 -0
- package/styles/builder-scaffold.css +19 -19
- package/styles/controls.css +109 -109
- package/styles/gradients.css +23 -23
- package/styles/layout-affordances.css +15 -15
- package/styles/layout-authoring-scaffold.css +20 -20
- package/styles/layout.css +9 -9
- package/styles/root.css +4 -4
- package/styles/shell.css +48 -17
- package/theme/antd-css-var-contract.d.ts +86 -80
- package/theme/antd-css-var-contract.js +92 -81
- package/theme/phi-control-shape.d.ts +1 -1
- package/theme/phi-theme-gradients.d.ts +2 -2
- package/theme/phi-theme-gradients.js +14 -14
- package/theme/phi-theme-palette.d.ts +1 -1
- package/theme/phi-theme-palette.js +2 -2
- package/theme/phi-theme-tokens.d.ts +8 -5
- package/theme/phi-theme-tokens.js +59 -28
- package/theme/phi-theme.d.ts +14 -2
- package/theme/phi-theme.js +14 -1
- package/theme/phi-tokens.d.ts +5 -0
- package/theme/phi-tokens.js +9 -0
- package/types/cms-module-descriptors.d.ts +6 -0
- package/types/cms-plugins.d.ts +19 -1
- package/types/core-widget-placements.d.ts +10 -0
- package/types/record-provider.d.ts +92 -0
- package/types/widget-runtime.d.ts +5 -0
- /package/plugins/runtime-modules/{asset/services/folder-images.server.d.ts → core/services/media-folder-images.server.d.ts} +0 -0
- /package/plugins/runtime-modules/{asset/services/folder-images.server.js → core/services/media-folder-images.server.js} +0 -0
|
@@ -23,36 +23,36 @@
|
|
|
23
23
|
|
|
24
24
|
.phi-layout-affordance.ant-btn.phi-layout-affordance--insert.phi-layout-affordance--drop-accepted {
|
|
25
25
|
opacity: 1;
|
|
26
|
-
color: var(--
|
|
27
|
-
border-color: var(--
|
|
28
|
-
box-shadow: 0 0 0 2px var(--
|
|
26
|
+
color: var(--phi-color-success);
|
|
27
|
+
border-color: var(--phi-color-success);
|
|
28
|
+
box-shadow: 0 0 0 2px var(--phi-color-success-bg);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
.phi-layout-affordance.ant-btn.phi-layout-affordance--insert.phi-layout-affordance--drop-rejected {
|
|
32
32
|
opacity: 1;
|
|
33
|
-
color: var(--
|
|
34
|
-
border-color: var(--
|
|
35
|
-
box-shadow: 0 0 0 2px var(--
|
|
33
|
+
color: var(--phi-color-error);
|
|
34
|
+
border-color: var(--phi-color-error);
|
|
35
|
+
box-shadow: 0 0 0 2px var(--phi-color-error-bg);
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
:where(.phi-layout-affordance--delete) {
|
|
39
39
|
padding: 0;
|
|
40
|
-
background: var(--
|
|
41
|
-
box-shadow: var(--
|
|
40
|
+
background: var(--phi-color-bg-container);
|
|
41
|
+
box-shadow: var(--phi-box-shadow-tertiary);
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
.phi-layout-affordance.ant-btn.phi-layout-affordance--effects-preview {
|
|
45
45
|
padding: 0;
|
|
46
46
|
border-radius: 999px;
|
|
47
|
-
color: var(--
|
|
48
|
-
border-color: var(--
|
|
49
|
-
background-color: var(--
|
|
50
|
-
box-shadow: var(--
|
|
47
|
+
color: var(--phi-color-info-text) !important;
|
|
48
|
+
border-color: var(--phi-color-info-border) !important;
|
|
49
|
+
background-color: var(--phi-color-info-bg) !important;
|
|
50
|
+
box-shadow: var(--phi-box-shadow-tertiary);
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
.phi-layout-affordance.ant-btn.phi-layout-affordance--effects-preview:hover,
|
|
54
54
|
.phi-layout-affordance.ant-btn.phi-layout-affordance--effects-preview:focus-visible {
|
|
55
|
-
color: var(--
|
|
56
|
-
border-color: var(--
|
|
57
|
-
background-color: var(--
|
|
55
|
+
color: var(--phi-color-info-text-hover) !important;
|
|
56
|
+
border-color: var(--phi-color-info-border-hover) !important;
|
|
57
|
+
background-color: var(--phi-color-info-bg-hover) !important;
|
|
58
58
|
}
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
.phi-html-widget-editor__text--code {
|
|
35
|
-
font-family: var(--
|
|
36
|
-
background: var(--
|
|
35
|
+
font-family: var(--phi-font-family-code, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, monospace);
|
|
36
|
+
background: var(--phi-color-fill-secondary, rgba(0, 0, 0, 0.04));
|
|
37
37
|
border-radius: 4px;
|
|
38
38
|
padding: 0 0.2em;
|
|
39
39
|
}
|
|
@@ -53,13 +53,13 @@
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
:where([data-phi-debug-scaffold="on"]) {
|
|
56
|
-
--phi-debug-layer-layout-background: var(--
|
|
57
|
-
--phi-debug-layer-layout-border: var(--
|
|
56
|
+
--phi-debug-layer-layout-background: var(--phi-color-success-bg);
|
|
57
|
+
--phi-debug-layer-layout-border: var(--phi-color-success);
|
|
58
58
|
|
|
59
|
-
--phi-debug-layer-slot-background: var(--
|
|
59
|
+
--phi-debug-layer-slot-background: var(--phi-color-warning-bg);
|
|
60
60
|
/* The Grid's track guides: a tint light enough that a slot's own band stays the stronger mark. */
|
|
61
|
-
--phi-debug-layer-slot-background-soft: color-mix(in srgb, var(--
|
|
62
|
-
--phi-debug-layer-slot-border: var(--
|
|
61
|
+
--phi-debug-layer-slot-background-soft: color-mix(in srgb, var(--phi-color-warning-bg) 50%, transparent);
|
|
62
|
+
--phi-debug-layer-slot-border: var(--phi-color-warning);
|
|
63
63
|
|
|
64
64
|
--phi-debug-layer-scaffold-background: rgba(114, 46, 209, 0.10);
|
|
65
65
|
--phi-debug-layer-scaffold-background-strong: rgba(114, 46, 209, 0.18);
|
|
@@ -134,10 +134,10 @@
|
|
|
134
134
|
.phi-layout[data-phi-block-render-mode="preview"]
|
|
135
135
|
) {
|
|
136
136
|
--phi-debug-layer-layout-background: transparent;
|
|
137
|
-
--phi-debug-layer-layout-border: var(--
|
|
137
|
+
--phi-debug-layer-layout-border: var(--phi-color-success-border-hover);
|
|
138
138
|
--phi-debug-layer-slot-background: transparent;
|
|
139
139
|
--phi-debug-layer-slot-background-soft: transparent;
|
|
140
|
-
--phi-debug-layer-slot-border: var(--
|
|
140
|
+
--phi-debug-layer-slot-border: var(--phi-color-warning-border-hover);
|
|
141
141
|
outline-width: 1px;
|
|
142
142
|
outline-offset: -1px;
|
|
143
143
|
}
|
|
@@ -257,7 +257,7 @@
|
|
|
257
257
|
color: var(--phi-layout-scaffold-delete-color);
|
|
258
258
|
background: var(--phi-layout-scaffold-delete-background);
|
|
259
259
|
border: 1px solid var(--phi-layout-scaffold-delete-border);
|
|
260
|
-
border-radius: var(--
|
|
260
|
+
border-radius: var(--phi-border-radius);
|
|
261
261
|
overflow: hidden;
|
|
262
262
|
box-shadow: var(--phi-layout-scaffold-delete-shadow);
|
|
263
263
|
transform: var(--phi-layout-scaffold-delete-transform);
|
|
@@ -299,14 +299,14 @@
|
|
|
299
299
|
top: 100%;
|
|
300
300
|
left: 0;
|
|
301
301
|
z-index: 45;
|
|
302
|
-
max-width: min(100%, calc(var(--
|
|
303
|
-
padding: 0 var(--
|
|
302
|
+
max-width: min(100%, calc(var(--phi-control-height) * 10));
|
|
303
|
+
padding: 0 var(--phi-padding-xxs);
|
|
304
304
|
border: 1px solid var(--phi-edit-scaffold-label-border);
|
|
305
|
-
border-radius: var(--
|
|
305
|
+
border-radius: var(--phi-border-radius);
|
|
306
306
|
background: var(--phi-edit-scaffold-label-background);
|
|
307
307
|
color: var(--phi-edit-scaffold-label-color);
|
|
308
|
-
font-size: var(--
|
|
309
|
-
line-height: var(--
|
|
308
|
+
font-size: var(--phi-font-size-sm);
|
|
309
|
+
line-height: var(--phi-control-height-sm);
|
|
310
310
|
white-space: nowrap;
|
|
311
311
|
overflow: hidden;
|
|
312
312
|
text-overflow: ellipsis;
|
|
@@ -515,14 +515,14 @@
|
|
|
515
515
|
top: 100%;
|
|
516
516
|
left: 0;
|
|
517
517
|
z-index: 45;
|
|
518
|
-
max-width: min(100%, calc(var(--
|
|
519
|
-
padding: 0 var(--
|
|
518
|
+
max-width: min(100%, calc(var(--phi-control-height) * 10));
|
|
519
|
+
padding: 0 var(--phi-padding-xxs);
|
|
520
520
|
border: 1px solid var(--phi-builder-widget-scaffold-label-border);
|
|
521
|
-
border-radius: var(--
|
|
521
|
+
border-radius: var(--phi-border-radius);
|
|
522
522
|
background: var(--phi-builder-widget-scaffold-label-background);
|
|
523
523
|
color: var(--phi-builder-widget-scaffold-label-color);
|
|
524
|
-
font-size: var(--
|
|
525
|
-
line-height: var(--
|
|
524
|
+
font-size: var(--phi-font-size-sm);
|
|
525
|
+
line-height: var(--phi-control-height-sm);
|
|
526
526
|
white-space: nowrap;
|
|
527
527
|
overflow: hidden;
|
|
528
528
|
text-overflow: ellipsis;
|
package/styles/layout.css
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
:where([data-layout-kind]) {
|
|
14
|
-
--phi-layout-gap: var(--
|
|
14
|
+
--phi-layout-gap: var(--phi-margin);
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
:where([data-layout-kind="flex"]) {
|
|
@@ -356,7 +356,7 @@
|
|
|
356
356
|
.phi-form-cell--label {
|
|
357
357
|
display: flex;
|
|
358
358
|
align-items: center;
|
|
359
|
-
min-height: var(--phi-form-label-height-compact);
|
|
359
|
+
min-height: var(--phi-form-label-slot-height-compact);
|
|
360
360
|
padding-inline-end: var(--phi-form-label-pad-compact);
|
|
361
361
|
}
|
|
362
362
|
|
|
@@ -391,7 +391,7 @@
|
|
|
391
391
|
}
|
|
392
392
|
|
|
393
393
|
.phi-form-cell--label {
|
|
394
|
-
min-height: var(--phi-form-label-height-medium);
|
|
394
|
+
min-height: var(--phi-form-label-slot-height-medium);
|
|
395
395
|
padding-inline-end: var(--phi-form-label-pad-medium);
|
|
396
396
|
}
|
|
397
397
|
|
|
@@ -409,7 +409,7 @@
|
|
|
409
409
|
}
|
|
410
410
|
|
|
411
411
|
.phi-form-cell--label {
|
|
412
|
-
min-height: var(--phi-form-label-height-wide);
|
|
412
|
+
min-height: var(--phi-form-label-slot-height-wide);
|
|
413
413
|
padding-inline-end: var(--phi-form-label-pad-wide);
|
|
414
414
|
}
|
|
415
415
|
|
|
@@ -601,7 +601,7 @@
|
|
|
601
601
|
* to its hover colour around them.
|
|
602
602
|
*/
|
|
603
603
|
:where(.phi-tone-light, .phi-tone-dark, .phi-tone-inverse):where(:not([class^="ant-"], [class*=" ant-"])) {
|
|
604
|
-
color: var(--
|
|
604
|
+
color: var(--phi-color-text);
|
|
605
605
|
}
|
|
606
606
|
|
|
607
607
|
:where(.phi-tone-light) {
|
|
@@ -647,7 +647,7 @@
|
|
|
647
647
|
}
|
|
648
648
|
|
|
649
649
|
:where(.phi-card--link):focus-within {
|
|
650
|
-
outline: calc(var(--
|
|
650
|
+
outline: calc(var(--phi-line-width) * 2) solid var(--phi-color-primary-border);
|
|
651
651
|
outline-offset: 2px;
|
|
652
652
|
}
|
|
653
653
|
|
|
@@ -702,7 +702,7 @@
|
|
|
702
702
|
* `:where`: Ant Design's own `.ant-ribbon` states `top`, and this has to outrank it.
|
|
703
703
|
*/
|
|
704
704
|
.phi-card-ribbon > .ant-ribbon {
|
|
705
|
-
top: calc(var(--
|
|
705
|
+
top: calc(var(--phi-margin-xs) + 3px);
|
|
706
706
|
}
|
|
707
707
|
|
|
708
708
|
:where(.phi-card-ribbon--lift) > :where(.ant-ribbon) {
|
|
@@ -722,7 +722,7 @@
|
|
|
722
722
|
@media (hover: hover) {
|
|
723
723
|
:where(.phi-card--hover-lift):hover {
|
|
724
724
|
translate: 0 -4px;
|
|
725
|
-
box-shadow: var(--
|
|
725
|
+
box-shadow: var(--phi-box-shadow-secondary) !important;
|
|
726
726
|
}
|
|
727
727
|
|
|
728
728
|
:where(.phi-card--hover-zoom):hover :where(.phi-card__ground, .phi-card__media img) {
|
|
@@ -732,7 +732,7 @@
|
|
|
732
732
|
|
|
733
733
|
:where(.phi-card--hover-lift):focus-within {
|
|
734
734
|
translate: 0 -4px;
|
|
735
|
-
box-shadow: var(--
|
|
735
|
+
box-shadow: var(--phi-box-shadow-secondary) !important;
|
|
736
736
|
}
|
|
737
737
|
|
|
738
738
|
:where(.phi-card--hover-zoom):focus-within :where(.phi-card__ground, .phi-card__media img) {
|
package/styles/root.css
CHANGED
|
@@ -19,8 +19,8 @@ body {
|
|
|
19
19
|
[data-phi-root-layout="true"] > [data-phi-app-ground="true"] {
|
|
20
20
|
min-height: inherit;
|
|
21
21
|
background: transparent;
|
|
22
|
-
color: var(--
|
|
23
|
-
font-family: var(--
|
|
22
|
+
color: var(--phi-color-text);
|
|
23
|
+
font-family: var(--phi-font-family, system-ui, sans-serif);
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
.phi-color-widget-popup.ant-popover .ant-popover-content {
|
|
@@ -28,7 +28,7 @@ body {
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
.phi-cascader-control.ant-cascader-dropdown .ant-cascader-menu {
|
|
31
|
-
height: calc(var(--
|
|
31
|
+
height: calc(var(--phi-cascader-dropdown-height, 180px) + var(--phi-padding-sm, 12px));
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
.phi-color-widget-popup.ant-popover
|
|
@@ -54,7 +54,7 @@ code,
|
|
|
54
54
|
pre,
|
|
55
55
|
kbd,
|
|
56
56
|
samp {
|
|
57
|
-
font-family: var(--
|
|
57
|
+
font-family: var(--phi-font-family-code, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, monospace);
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
.ant-menu .ant-menu-item.phi-menu-item-current,
|
package/styles/shell.css
CHANGED
|
@@ -52,6 +52,37 @@
|
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
+
/*
|
|
56
|
+
* Page inset: how far a Page's content stands in (`PHI_PAGE.padding`), by the same device bands. The
|
|
57
|
+
* Theme states four sides per band (`pagePadding<Side><Band>`, theme/phi-tokens.ts); these rules hand the
|
|
58
|
+
* band the screen is in to everything inside the Shell, and a Page column reads only the chosen one. A
|
|
59
|
+
* Layout that states its own padding is not reading it.
|
|
60
|
+
*/
|
|
61
|
+
:where(.shell-sider-full, .shell-sider-embedded) > * {
|
|
62
|
+
--phi-page-inset-top: var(--phi-page-padding-top-desktop);
|
|
63
|
+
--phi-page-inset-right: var(--phi-page-padding-right-desktop);
|
|
64
|
+
--phi-page-inset-bottom: var(--phi-page-padding-bottom-desktop);
|
|
65
|
+
--phi-page-inset-left: var(--phi-page-padding-left-desktop);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
@container phi-render-viewport (width < 1200px) {
|
|
69
|
+
:where(.shell-sider-full, .shell-sider-embedded) > * {
|
|
70
|
+
--phi-page-inset-top: var(--phi-page-padding-top-tablet);
|
|
71
|
+
--phi-page-inset-right: var(--phi-page-padding-right-tablet);
|
|
72
|
+
--phi-page-inset-bottom: var(--phi-page-padding-bottom-tablet);
|
|
73
|
+
--phi-page-inset-left: var(--phi-page-padding-left-tablet);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
@container phi-render-viewport (width < 768px) {
|
|
78
|
+
:where(.shell-sider-full, .shell-sider-embedded) > * {
|
|
79
|
+
--phi-page-inset-top: var(--phi-page-padding-top-phone);
|
|
80
|
+
--phi-page-inset-right: var(--phi-page-padding-right-phone);
|
|
81
|
+
--phi-page-inset-bottom: var(--phi-page-padding-bottom-phone);
|
|
82
|
+
--phi-page-inset-left: var(--phi-page-padding-left-phone);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
55
86
|
.shell-sider-full .sider_left {
|
|
56
87
|
grid-area: sider;
|
|
57
88
|
position: sticky;
|
|
@@ -264,12 +295,12 @@
|
|
|
264
295
|
Shell record or the Region itself authored, so the Theme Root Background stays visible beneath it. */
|
|
265
296
|
:where(.phi-cms-region-shell) {
|
|
266
297
|
--phi-region-background: var(--phi-region-background-light, transparent);
|
|
267
|
-
--phi-region-color: var(--phi-region-color-light, var(--
|
|
298
|
+
--phi-region-color: var(--phi-region-color-light, var(--phi-color-text));
|
|
268
299
|
}
|
|
269
300
|
|
|
270
301
|
:where([data-phi-theme-mode="dark"]) :where(.phi-cms-region-shell) {
|
|
271
302
|
--phi-region-background: var(--phi-region-background-dark, transparent);
|
|
272
|
-
--phi-region-color: var(--phi-region-color-dark, var(--
|
|
303
|
+
--phi-region-color: var(--phi-region-color-dark, var(--phi-color-text));
|
|
273
304
|
}
|
|
274
305
|
|
|
275
306
|
/* The Shell Chrome Overlay (SHELL.md "Root Background and Shell Backdrop Layers").
|
|
@@ -679,8 +710,8 @@
|
|
|
679
710
|
max-height: 100dvh !important;
|
|
680
711
|
overflow-y: auto !important;
|
|
681
712
|
z-index: 1001 !important;
|
|
682
|
-
background-color: var(--
|
|
683
|
-
box-shadow: var(--
|
|
713
|
+
background-color: var(--phi-color-bg-elevated);
|
|
714
|
+
box-shadow: var(--phi-box-shadow-secondary);
|
|
684
715
|
transform: translateX(-100%);
|
|
685
716
|
visibility: hidden;
|
|
686
717
|
transition: transform 200ms ease, visibility 0s linear 200ms;
|
|
@@ -691,7 +722,7 @@
|
|
|
691
722
|
* behind it: it stands over the page. It takes the Theme's elevated ground; an authored ground stays.
|
|
692
723
|
*/
|
|
693
724
|
[data-phi-sider-mobile="drawer"][data-phi-shell-chrome="true"] {
|
|
694
|
-
background: var(--
|
|
725
|
+
background: var(--phi-color-bg-elevated) !important;
|
|
695
726
|
backdrop-filter: none !important;
|
|
696
727
|
}
|
|
697
728
|
|
|
@@ -716,7 +747,7 @@
|
|
|
716
747
|
inset-inline: 0;
|
|
717
748
|
height: 100dvh;
|
|
718
749
|
z-index: 1000;
|
|
719
|
-
background: var(--
|
|
750
|
+
background: var(--phi-color-bg-mask);
|
|
720
751
|
}
|
|
721
752
|
|
|
722
753
|
.phi-shell-sider-drawer-button,
|
|
@@ -726,7 +757,7 @@
|
|
|
726
757
|
|
|
727
758
|
.phi-shell-sider-drawer-button {
|
|
728
759
|
position: absolute;
|
|
729
|
-
inset-inline-start: var(--
|
|
760
|
+
inset-inline-start: var(--phi-padding-xs);
|
|
730
761
|
top: 50%;
|
|
731
762
|
transform: translateY(-50%);
|
|
732
763
|
z-index: 1;
|
|
@@ -734,14 +765,14 @@
|
|
|
734
765
|
|
|
735
766
|
/* No `header_main` to sit in: the button stands at the Shell's top. */
|
|
736
767
|
.phi-shell-sider-drawer-button--shell {
|
|
737
|
-
top: var(--
|
|
768
|
+
top: var(--phi-padding-xs);
|
|
738
769
|
transform: none;
|
|
739
770
|
z-index: 999;
|
|
740
771
|
}
|
|
741
772
|
|
|
742
773
|
/* The Header's content makes room for the button at its start. */
|
|
743
774
|
[data-phi-region-key="header_main"]:has(> .phi-shell-sider-drawer-button) > .phi-cms-region-shell__content {
|
|
744
|
-
padding-inline-start: calc(var(--
|
|
775
|
+
padding-inline-start: calc(var(--phi-control-height) + var(--phi-padding-xs)) !important;
|
|
745
776
|
}
|
|
746
777
|
}
|
|
747
778
|
|
|
@@ -773,7 +804,7 @@
|
|
|
773
804
|
*/
|
|
774
805
|
.phi-header-nav--phone-button,
|
|
775
806
|
.phi-slot-child:has(.phi-header-nav--phone-button) {
|
|
776
|
-
min-width: var(--
|
|
807
|
+
min-width: var(--phi-control-height) !important;
|
|
777
808
|
}
|
|
778
809
|
|
|
779
810
|
/*
|
|
@@ -841,7 +872,7 @@
|
|
|
841
872
|
.phi-slot-child:has(.phi-search-box--icon-only):not(:has(.phi-slot-child)) {
|
|
842
873
|
width: auto !important;
|
|
843
874
|
flex: 0 0 auto !important;
|
|
844
|
-
min-width: var(--
|
|
875
|
+
min-width: var(--phi-control-height) !important;
|
|
845
876
|
}
|
|
846
877
|
|
|
847
878
|
/* Opened where it stands: the field grows out of the magnifier. */
|
|
@@ -854,7 +885,7 @@
|
|
|
854
885
|
|
|
855
886
|
@keyframes phi-search-box-expand {
|
|
856
887
|
from {
|
|
857
|
-
width: var(--
|
|
888
|
+
width: var(--phi-control-height);
|
|
858
889
|
opacity: 0.4;
|
|
859
890
|
}
|
|
860
891
|
}
|
|
@@ -867,7 +898,7 @@
|
|
|
867
898
|
|
|
868
899
|
@keyframes phi-search-box-collapse {
|
|
869
900
|
to {
|
|
870
|
-
width: var(--
|
|
901
|
+
width: var(--phi-control-height);
|
|
871
902
|
opacity: 0.4;
|
|
872
903
|
}
|
|
873
904
|
}
|
|
@@ -882,9 +913,9 @@
|
|
|
882
913
|
z-index: 60;
|
|
883
914
|
display: flex;
|
|
884
915
|
align-items: center;
|
|
885
|
-
gap: var(--
|
|
886
|
-
padding-inline: var(--
|
|
887
|
-
background: var(--
|
|
916
|
+
gap: var(--phi-padding-xs, 8px);
|
|
917
|
+
padding-inline: var(--phi-padding, 16px);
|
|
918
|
+
background: var(--phi-color-bg-container);
|
|
888
919
|
animation: phi-search-box-row 160ms ease-out;
|
|
889
920
|
}
|
|
890
921
|
|
|
@@ -925,7 +956,7 @@
|
|
|
925
956
|
.phi-slot-child:has(.phi-search-box--auto):not(:has(.phi-slot-child)) {
|
|
926
957
|
width: auto !important;
|
|
927
958
|
flex: 0 0 auto !important;
|
|
928
|
-
min-width: var(--
|
|
959
|
+
min-width: var(--phi-control-height) !important;
|
|
929
960
|
}
|
|
930
961
|
}
|
|
931
962
|
|
|
@@ -5,107 +5,113 @@
|
|
|
5
5
|
* `usePhiConfig().token` when they need the resolved value in JavaScript.
|
|
6
6
|
*/
|
|
7
7
|
export declare const PHI_COLOR: {
|
|
8
|
-
readonly primaryBg: "var(--
|
|
9
|
-
readonly primaryBgHover: "var(--
|
|
10
|
-
readonly primaryBorder: "var(--
|
|
11
|
-
readonly primaryBorderHover: "var(--
|
|
12
|
-
readonly primaryHover: "var(--
|
|
13
|
-
readonly primary: "var(--
|
|
14
|
-
readonly primaryActive: "var(--
|
|
15
|
-
readonly primaryTextHover: "var(--
|
|
16
|
-
readonly primaryText: "var(--
|
|
17
|
-
readonly primaryTextActive: "var(--
|
|
18
|
-
readonly link: "var(--
|
|
19
|
-
readonly linkHover: "var(--
|
|
20
|
-
readonly textBase: "var(--
|
|
21
|
-
readonly text: "var(--
|
|
22
|
-
readonly textSecondary: "var(--
|
|
23
|
-
readonly textTertiary: "var(--
|
|
24
|
-
readonly textQuaternary: "var(--
|
|
25
|
-
readonly textHeading: "var(--
|
|
26
|
-
readonly textLabel: "var(--
|
|
27
|
-
readonly textDescription: "var(--
|
|
28
|
-
readonly textPlaceholder: "var(--
|
|
29
|
-
readonly textDisabled: "var(--
|
|
30
|
-
readonly textLightSolid: "var(--
|
|
31
|
-
readonly bgContainer: "var(--
|
|
32
|
-
readonly bgLayout: "var(--
|
|
33
|
-
readonly bgElevated: "var(--
|
|
34
|
-
readonly bgSpotlight: "var(--
|
|
35
|
-
readonly fill: "var(--
|
|
36
|
-
readonly fillSecondary: "var(--
|
|
37
|
-
readonly fillTertiary: "var(--
|
|
38
|
-
readonly fillQuaternary: "var(--
|
|
39
|
-
readonly border: "var(--
|
|
40
|
-
readonly borderSecondary: "var(--
|
|
41
|
-
readonly linkActive: "var(--
|
|
42
|
-
readonly split: "var(--
|
|
43
|
-
readonly error: "var(--
|
|
44
|
-
readonly success: "var(--
|
|
45
|
-
readonly warning: "var(--
|
|
46
|
-
readonly custom1: "var(--
|
|
47
|
-
readonly custom2: "var(--
|
|
48
|
-
readonly custom3: "var(--
|
|
49
|
-
readonly custom4: "var(--
|
|
50
|
-
readonly custom5: "var(--
|
|
51
|
-
readonly custom6: "var(--
|
|
52
|
-
readonly custom7: "var(--
|
|
53
|
-
readonly custom8: "var(--
|
|
54
|
-
readonly custom9: "var(--
|
|
55
|
-
readonly custom10: "var(--
|
|
8
|
+
readonly primaryBg: "var(--phi-color-primary-bg)";
|
|
9
|
+
readonly primaryBgHover: "var(--phi-color-primary-bg-hover)";
|
|
10
|
+
readonly primaryBorder: "var(--phi-color-primary-border)";
|
|
11
|
+
readonly primaryBorderHover: "var(--phi-color-primary-border-hover)";
|
|
12
|
+
readonly primaryHover: "var(--phi-color-primary-hover)";
|
|
13
|
+
readonly primary: "var(--phi-color-primary)";
|
|
14
|
+
readonly primaryActive: "var(--phi-color-primary-active)";
|
|
15
|
+
readonly primaryTextHover: "var(--phi-color-primary-text-hover)";
|
|
16
|
+
readonly primaryText: "var(--phi-color-primary-text)";
|
|
17
|
+
readonly primaryTextActive: "var(--phi-color-primary-text-active)";
|
|
18
|
+
readonly link: "var(--phi-color-link)";
|
|
19
|
+
readonly linkHover: "var(--phi-color-link-hover)";
|
|
20
|
+
readonly textBase: "var(--phi-color-text-base)";
|
|
21
|
+
readonly text: "var(--phi-color-text)";
|
|
22
|
+
readonly textSecondary: "var(--phi-color-text-secondary)";
|
|
23
|
+
readonly textTertiary: "var(--phi-color-text-tertiary)";
|
|
24
|
+
readonly textQuaternary: "var(--phi-color-text-quaternary)";
|
|
25
|
+
readonly textHeading: "var(--phi-color-text-heading)";
|
|
26
|
+
readonly textLabel: "var(--phi-color-text-label)";
|
|
27
|
+
readonly textDescription: "var(--phi-color-text-description)";
|
|
28
|
+
readonly textPlaceholder: "var(--phi-color-text-placeholder)";
|
|
29
|
+
readonly textDisabled: "var(--phi-color-text-disabled)";
|
|
30
|
+
readonly textLightSolid: "var(--phi-color-text-light-solid)";
|
|
31
|
+
readonly bgContainer: "var(--phi-color-bg-container)";
|
|
32
|
+
readonly bgLayout: "var(--phi-color-bg-layout)";
|
|
33
|
+
readonly bgElevated: "var(--phi-color-bg-elevated)";
|
|
34
|
+
readonly bgSpotlight: "var(--phi-color-bg-spotlight)";
|
|
35
|
+
readonly fill: "var(--phi-color-fill)";
|
|
36
|
+
readonly fillSecondary: "var(--phi-color-fill-secondary)";
|
|
37
|
+
readonly fillTertiary: "var(--phi-color-fill-tertiary)";
|
|
38
|
+
readonly fillQuaternary: "var(--phi-color-fill-quaternary)";
|
|
39
|
+
readonly border: "var(--phi-color-border)";
|
|
40
|
+
readonly borderSecondary: "var(--phi-color-border-secondary)";
|
|
41
|
+
readonly linkActive: "var(--phi-color-link-active)";
|
|
42
|
+
readonly split: "var(--phi-color-split)";
|
|
43
|
+
readonly error: "var(--phi-color-error)";
|
|
44
|
+
readonly success: "var(--phi-color-success)";
|
|
45
|
+
readonly warning: "var(--phi-color-warning)";
|
|
46
|
+
readonly custom1: "var(--phi-custom-1)";
|
|
47
|
+
readonly custom2: "var(--phi-custom-2)";
|
|
48
|
+
readonly custom3: "var(--phi-custom-3)";
|
|
49
|
+
readonly custom4: "var(--phi-custom-4)";
|
|
50
|
+
readonly custom5: "var(--phi-custom-5)";
|
|
51
|
+
readonly custom6: "var(--phi-custom-6)";
|
|
52
|
+
readonly custom7: "var(--phi-custom-7)";
|
|
53
|
+
readonly custom8: "var(--phi-custom-8)";
|
|
54
|
+
readonly custom9: "var(--phi-custom-9)";
|
|
55
|
+
readonly custom10: "var(--phi-custom-10)";
|
|
56
56
|
};
|
|
57
57
|
/**
|
|
58
58
|
* Every distance a Phi surface states, inside a frame (`padding`) and between two things (`gap`), on the
|
|
59
|
-
* one scale (`theme/phi-tokens.ts`, `PHI_PADDING`). Ant Design's `--
|
|
59
|
+
* one scale (`theme/phi-tokens.ts`, `PHI_PADDING`). Ant Design's `--phi-margin-*` family carries the
|
|
60
60
|
* same values and stays Ant Design's own.
|
|
61
61
|
*/
|
|
62
62
|
export declare const PHI_SPACE: {
|
|
63
|
-
readonly xxs: "var(--
|
|
64
|
-
readonly xs: "var(--
|
|
65
|
-
readonly sm: "var(--
|
|
66
|
-
readonly base: "var(--
|
|
67
|
-
readonly md: "var(--
|
|
68
|
-
readonly lg: "var(--
|
|
69
|
-
readonly xl: "var(--
|
|
70
|
-
readonly xxl: "var(--
|
|
63
|
+
readonly xxs: "var(--phi-padding-xxs)";
|
|
64
|
+
readonly xs: "var(--phi-padding-xs)";
|
|
65
|
+
readonly sm: "var(--phi-padding-sm)";
|
|
66
|
+
readonly base: "var(--phi-padding)";
|
|
67
|
+
readonly md: "var(--phi-padding-md)";
|
|
68
|
+
readonly lg: "var(--phi-padding-lg)";
|
|
69
|
+
readonly xl: "var(--phi-padding-xl)";
|
|
70
|
+
readonly xxl: "var(--phi-padding-xxl)";
|
|
71
71
|
};
|
|
72
72
|
/**
|
|
73
|
-
* How wide a Page may get: the Theme's `
|
|
73
|
+
* How wide a Page may get: the Theme's `pageMax` (theme/phi-tokens.ts, `PHI_LAYOUT.pageMax`).
|
|
74
74
|
*
|
|
75
75
|
* A Page states this reference and not the number, so the Theme's answer reaches every Page, an edited
|
|
76
76
|
* copy included -- a number written into a preset tree stays what it was the day the copy was made.
|
|
77
77
|
*/
|
|
78
78
|
export declare const PHI_PAGE: {
|
|
79
|
-
readonly max: "var(--
|
|
79
|
+
readonly max: "var(--phi-page-max)";
|
|
80
|
+
readonly padding: {
|
|
81
|
+
readonly top: "var(--phi-page-inset-top, var(--phi-page-padding-top-desktop))";
|
|
82
|
+
readonly right: "var(--phi-page-inset-right, var(--phi-page-padding-right-desktop))";
|
|
83
|
+
readonly bottom: "var(--phi-page-inset-bottom, var(--phi-page-padding-bottom-desktop))";
|
|
84
|
+
readonly left: "var(--phi-page-inset-left, var(--phi-page-padding-left-desktop))";
|
|
85
|
+
};
|
|
80
86
|
};
|
|
81
87
|
export declare const PHI_RADIUS: {
|
|
82
|
-
readonly xxs: "var(--
|
|
83
|
-
readonly xs: "var(--
|
|
84
|
-
readonly sm: "var(--
|
|
85
|
-
readonly base: "var(--
|
|
86
|
-
readonly md: "var(--
|
|
87
|
-
readonly lg: "var(--
|
|
88
|
-
readonly xl: "var(--
|
|
89
|
-
readonly xxl: "var(--
|
|
88
|
+
readonly xxs: "var(--phi-border-radius-xs)";
|
|
89
|
+
readonly xs: "var(--phi-border-radius-sm)";
|
|
90
|
+
readonly sm: "var(--phi-border-radius)";
|
|
91
|
+
readonly base: "var(--phi-border-radius-lg)";
|
|
92
|
+
readonly md: "var(--phi-border-radius-lg)";
|
|
93
|
+
readonly lg: "var(--phi-border-radius-lg)";
|
|
94
|
+
readonly xl: "var(--phi-border-radius-outer)";
|
|
95
|
+
readonly xxl: "var(--phi-border-radius-outer)";
|
|
90
96
|
};
|
|
91
97
|
export declare const PHI_CONTROL: {
|
|
92
|
-
readonly sm: "var(--
|
|
93
|
-
readonly md: "var(--
|
|
94
|
-
readonly lg: "var(--
|
|
98
|
+
readonly sm: "var(--phi-control-height-sm)";
|
|
99
|
+
readonly md: "var(--phi-control-height)";
|
|
100
|
+
readonly lg: "var(--phi-control-height-lg)";
|
|
95
101
|
};
|
|
96
102
|
export declare const PHI_SHADOW: {
|
|
97
|
-
readonly primary: "var(--
|
|
98
|
-
readonly secondary: "var(--
|
|
99
|
-
readonly tertiary: "var(--
|
|
103
|
+
readonly primary: "var(--phi-box-shadow)";
|
|
104
|
+
readonly secondary: "var(--phi-box-shadow-secondary)";
|
|
105
|
+
readonly tertiary: "var(--phi-box-shadow-tertiary)";
|
|
100
106
|
};
|
|
101
107
|
export declare const PHI_FONT_SIZE: {
|
|
102
|
-
readonly base: "var(--
|
|
103
|
-
readonly sm: "var(--
|
|
104
|
-
readonly lg: "var(--
|
|
105
|
-
readonly xl: "var(--
|
|
106
|
-
readonly heading2: "var(--
|
|
107
|
-
readonly heading4: "var(--
|
|
108
|
-
readonly heading3: "var(--
|
|
108
|
+
readonly base: "var(--phi-font-size)";
|
|
109
|
+
readonly sm: "var(--phi-font-size-sm)";
|
|
110
|
+
readonly lg: "var(--phi-font-size-lg)";
|
|
111
|
+
readonly xl: "var(--phi-font-size-xl)";
|
|
112
|
+
readonly heading2: "var(--phi-font-size-heading-2)";
|
|
113
|
+
readonly heading4: "var(--phi-font-size-heading-4)";
|
|
114
|
+
readonly heading3: "var(--phi-font-size-heading-3)";
|
|
109
115
|
};
|
|
110
116
|
export declare const PHI_LINE_HEIGHT: {
|
|
111
117
|
readonly base: 1.5;
|