@sankhyatronics/sankhya-cms 0.0.0-stage → 0.0.9
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/LICENSE +21 -0
- package/README.md +34 -3
- package/custom-elements.json +4008 -0
- package/dist/bento-grid/index.d.ts +27 -0
- package/dist/bento-grid/index.js +10 -0
- package/dist/bento-grid/index.js.map +1 -0
- package/dist/card/index.d.ts +20 -0
- package/dist/card/index.js +9 -0
- package/dist/card/index.js.map +1 -0
- package/dist/carousel/index.d.ts +44 -0
- package/dist/carousel/index.js +10 -0
- package/dist/carousel/index.js.map +1 -0
- package/dist/chunk-23IHTBAB.js +557 -0
- package/dist/chunk-23IHTBAB.js.map +1 -0
- package/dist/chunk-2VZFHTBC.js +203 -0
- package/dist/chunk-2VZFHTBC.js.map +1 -0
- package/dist/chunk-3ERKQNZT.js +155 -0
- package/dist/chunk-3ERKQNZT.js.map +1 -0
- package/dist/chunk-3JU3R22O.js +193 -0
- package/dist/chunk-3JU3R22O.js.map +1 -0
- package/dist/chunk-3TCP25JG.js +347 -0
- package/dist/chunk-3TCP25JG.js.map +1 -0
- package/dist/chunk-3VE6VFJ4.js +87 -0
- package/dist/chunk-3VE6VFJ4.js.map +1 -0
- package/dist/chunk-4HKSA5UT.js +312 -0
- package/dist/chunk-4HKSA5UT.js.map +1 -0
- package/dist/chunk-5REZSZCK.js +266 -0
- package/dist/chunk-5REZSZCK.js.map +1 -0
- package/dist/chunk-5UFRGZWG.js +268 -0
- package/dist/chunk-5UFRGZWG.js.map +1 -0
- package/dist/chunk-74MILER4.js +215 -0
- package/dist/chunk-74MILER4.js.map +1 -0
- package/dist/chunk-7PSYCTEN.js +118 -0
- package/dist/chunk-7PSYCTEN.js.map +1 -0
- package/dist/chunk-E52WO7R7.js +279 -0
- package/dist/chunk-E52WO7R7.js.map +1 -0
- package/dist/chunk-EUXUH3YW.js +15 -0
- package/dist/chunk-EUXUH3YW.js.map +1 -0
- package/dist/chunk-IMACP7HN.js +156 -0
- package/dist/chunk-IMACP7HN.js.map +1 -0
- package/dist/chunk-LHU23TF6.js +273 -0
- package/dist/chunk-LHU23TF6.js.map +1 -0
- package/dist/chunk-OEX5FDMR.js +250 -0
- package/dist/chunk-OEX5FDMR.js.map +1 -0
- package/dist/chunk-RHAOQ6K4.js +138 -0
- package/dist/chunk-RHAOQ6K4.js.map +1 -0
- package/dist/chunk-RMIJVTFS.js +397 -0
- package/dist/chunk-RMIJVTFS.js.map +1 -0
- package/dist/chunk-TIU73O7I.js +221 -0
- package/dist/chunk-TIU73O7I.js.map +1 -0
- package/dist/chunk-USNFT4DU.js +125 -0
- package/dist/chunk-USNFT4DU.js.map +1 -0
- package/dist/chunk-VYON56QO.js +90 -0
- package/dist/chunk-VYON56QO.js.map +1 -0
- package/dist/chunk-WCO7JAIK.js +195 -0
- package/dist/chunk-WCO7JAIK.js.map +1 -0
- package/dist/chunk-XHBC23TV.js +254 -0
- package/dist/chunk-XHBC23TV.js.map +1 -0
- package/dist/chunk-XXPBFHWR.js +70 -0
- package/dist/chunk-XXPBFHWR.js.map +1 -0
- package/dist/chunk-YYK4GQUW.js +299 -0
- package/dist/chunk-YYK4GQUW.js.map +1 -0
- package/dist/cms-theme.css +15 -0
- package/dist/content-block/index.d.ts +25 -0
- package/dist/content-block/index.js +11 -0
- package/dist/content-block/index.js.map +1 -0
- package/dist/cookie-consent/index.d.ts +33 -0
- package/dist/cookie-consent/index.js +9 -0
- package/dist/cookie-consent/index.js.map +1 -0
- package/dist/dropdown/index.d.ts +89 -0
- package/dist/dropdown/index.js +9 -0
- package/dist/dropdown/index.js.map +1 -0
- package/dist/feature-split/index.d.ts +38 -0
- package/dist/feature-split/index.js +11 -0
- package/dist/feature-split/index.js.map +1 -0
- package/dist/features-section/index.d.ts +50 -0
- package/dist/features-section/index.js +14 -0
- package/dist/features-section/index.js.map +1 -0
- package/dist/footer/index.d.ts +64 -0
- package/dist/footer/index.js +9 -0
- package/dist/footer/index.js.map +1 -0
- package/dist/header/index.d.ts +112 -0
- package/dist/header/index.js +10 -0
- package/dist/header/index.js.map +1 -0
- package/dist/hero/index.d.ts +32 -0
- package/dist/hero/index.js +10 -0
- package/dist/hero/index.js.map +1 -0
- package/dist/icon-button/index.d.ts +23 -0
- package/dist/icon-button/index.js +9 -0
- package/dist/icon-button/index.js.map +1 -0
- package/dist/index.d.ts +22 -0
- package/dist/index.js +93 -0
- package/dist/index.js.map +1 -0
- package/dist/items-accordion/index.d.ts +31 -0
- package/dist/items-accordion/index.js +10 -0
- package/dist/items-accordion/index.js.map +1 -0
- package/dist/markdown/index.d.ts +33 -0
- package/dist/markdown/index.js +9 -0
- package/dist/markdown/index.js.map +1 -0
- package/dist/menu-grid/index.d.ts +21 -0
- package/dist/menu-grid/index.js +9 -0
- package/dist/menu-grid/index.js.map +1 -0
- package/dist/menu-grid-item/index.d.ts +53 -0
- package/dist/menu-grid-item/index.js +9 -0
- package/dist/menu-grid-item/index.js.map +1 -0
- package/dist/menu-item/index.d.ts +50 -0
- package/dist/menu-item/index.js +9 -0
- package/dist/menu-item/index.js.map +1 -0
- package/dist/promo-banner/index.d.ts +22 -0
- package/dist/promo-banner/index.js +10 -0
- package/dist/promo-banner/index.js.map +1 -0
- package/dist/schema/index.d.ts +72 -0
- package/dist/schema/index.js +75 -0
- package/dist/schema/index.js.map +1 -0
- package/dist/select/index.d.ts +77 -0
- package/dist/select/index.js +10 -0
- package/dist/select/index.js.map +1 -0
- package/dist/shared/icons.d.ts +77 -0
- package/dist/shared/icons.js +64 -0
- package/dist/shared/icons.js.map +1 -0
- package/dist/shared/styles.d.ts +90 -0
- package/dist/shared/styles.js +48 -0
- package/dist/shared/styles.js.map +1 -0
- package/dist/stats/index.d.ts +17 -0
- package/dist/stats/index.js +9 -0
- package/dist/stats/index.js.map +1 -0
- package/dist/testimonials/index.d.ts +25 -0
- package/dist/testimonials/index.js +10 -0
- package/dist/testimonials/index.js.map +1 -0
- package/dist/theme.css +292 -0
- package/dist/themes.css +65 -0
- package/dist/theming/index.d.ts +28 -0
- package/dist/theming/index.js +53 -0
- package/dist/theming/index.js.map +1 -0
- package/package.json +160 -3
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { TemplateResult } from 'lit';
|
|
2
|
+
|
|
3
|
+
/** Filled folder glyph (browse rows/tiles). Fixed 20x16 — folders don't resize per usage. */
|
|
4
|
+
declare function folderIcon(): TemplateResult;
|
|
5
|
+
/** Outlined folder glyph (breadcrumb crumb icon). `className` lets the caller hook its own layout class. */
|
|
6
|
+
declare function folderOutlineIcon(size?: number, className?: string): TemplateResult;
|
|
7
|
+
/** External-link/"open" glyph (open site/library actions in the Templates/Data/Save-location pickers). */
|
|
8
|
+
declare function externalLinkIcon(size?: number): TemplateResult;
|
|
9
|
+
/** Refresh/reload glyph (Templates/Data picker refresh buttons). */
|
|
10
|
+
declare function refreshIcon(size?: number): TemplateResult;
|
|
11
|
+
/** Clock glyph (the wizard's "Recent activity" history trigger button, Steps 1-3). */
|
|
12
|
+
declare function historyIcon(size?: number): TemplateResult;
|
|
13
|
+
/** Trash/delete glyph (clear-all button in the selected-chips summary badge). */
|
|
14
|
+
declare function trashIcon(size?: number): TemplateResult;
|
|
15
|
+
/** Chevron glyph (pager prev/next buttons, the select trigger's caret). */
|
|
16
|
+
declare function chevronIcon(direction: 'left' | 'right' | 'down', size?: number): TemplateResult;
|
|
17
|
+
/** Plus glyph ("New folder" action button). */
|
|
18
|
+
declare function plusIcon(size?: number): TemplateResult;
|
|
19
|
+
/** Cards-view glyph (2x2 grid — view-toggle button). */
|
|
20
|
+
declare function cardsViewIcon(size?: number): TemplateResult;
|
|
21
|
+
/** Checkmark glyph (completed-step marker in the step indicator). */
|
|
22
|
+
declare function checkIcon(size?: number): TemplateResult;
|
|
23
|
+
/** SharePoint site glyph (globe — root "All sites" browser rows). */
|
|
24
|
+
declare function siteIcon(size?: number): TemplateResult;
|
|
25
|
+
/** 3x3 dot-grid glyph (bento-menu app-switcher trigger). */
|
|
26
|
+
declare function bentoGridIcon(size?: number): TemplateResult;
|
|
27
|
+
/** List-view glyph (stacked rows — view-toggle button). */
|
|
28
|
+
declare function listViewIcon(size?: number): TemplateResult;
|
|
29
|
+
/**
|
|
30
|
+
* A small set of generic domain icons for `st-menu-grid-item`'s icon slot (nav "mega menu"
|
|
31
|
+
* entries — sales/purchase/accounting/settings items) — deliberately simple line glyphs rather
|
|
32
|
+
* than pixel-perfect illustrations, same fidelity level as the icons above.
|
|
33
|
+
*/
|
|
34
|
+
/** Shopping-cart glyph (sales/orders). */
|
|
35
|
+
declare function cartIcon(size?: number): TemplateResult;
|
|
36
|
+
/** Delivery-truck glyph (purchase orders / receiving). */
|
|
37
|
+
declare function truckIcon(size?: number): TemplateResult;
|
|
38
|
+
/** Package/box glyph (products, inventory). */
|
|
39
|
+
declare function boxIcon(size?: number): TemplateResult;
|
|
40
|
+
/** Map-pin glyph (stock locations). */
|
|
41
|
+
declare function mapPinIcon(size?: number): TemplateResult;
|
|
42
|
+
/** Two-person glyph (partners — customers/vendors/employees). */
|
|
43
|
+
declare function usersIcon(size?: number): TemplateResult;
|
|
44
|
+
/** Open-book glyph (journals). */
|
|
45
|
+
declare function bookIcon(size?: number): TemplateResult;
|
|
46
|
+
/** Document/invoice glyph. */
|
|
47
|
+
declare function documentIcon(size?: number): TemplateResult;
|
|
48
|
+
/** Receipt glyph, zig-zag bottom edge (credit/debit notes). */
|
|
49
|
+
declare function receiptIcon(size?: number): TemplateResult;
|
|
50
|
+
/** Percent glyph (taxes). */
|
|
51
|
+
declare function percentIcon(size?: number): TemplateResult;
|
|
52
|
+
/** Stacked-coins glyph (payment terms). */
|
|
53
|
+
declare function coinsIcon(size?: number): TemplateResult;
|
|
54
|
+
/** Padlock glyph (fiscal year closing / lock dates). */
|
|
55
|
+
declare function lockIcon(size?: number): TemplateResult;
|
|
56
|
+
/**
|
|
57
|
+
* Office file-type glyphs, ported from `PennyIcons` in `@sankhyatronics/sankhya-icons`
|
|
58
|
+
* (FileWordIcon/FileExcelIcon/FilePowerPointIcon) — this package is Lit, so it can't import
|
|
59
|
+
* the React components and carries the same path data instead. Filled, `currentColor`.
|
|
60
|
+
*/
|
|
61
|
+
declare const FILE_TYPE_ICON_PATHS: {
|
|
62
|
+
readonly word: "m19.95 5.54-3.48-3.49A6.96 6.96 0 0 0 11.52 0H7C4.24 0 2 2.24 2 5v14c0 2.76 2.24 5 5 5h10c2.76 0 5-2.24 5-5v-8.51c0-1.87-.73-3.63-2.05-4.95Zm-1.41 1.41c.32.32.59.67.81 1.05h-4.34c-.55 0-1-.45-1-1V2.66c.38.22.73.49 1.05.81l3.48 3.49ZM20 19c0 1.65-1.35 3-3 3H7c-1.65 0-3-1.35-3-3V5c0-1.65 1.35-3 3-3h4.51c.16 0 .33 0 .49.02V7c0 1.65 1.35 3 3 3h4.98c.02.16.02.32.02.49V19Zm-3.28-5.76L15.3 18.9c-.15.61-.68 1.05-1.31 1.09-.63.04-1.21-.32-1.44-.91L12 17.7l-.55 1.38c-.22.56-.75.91-1.34.91h-.1c-.63-.04-1.15-.48-1.31-1.1l-1.41-5.66a1 1 0 0 1 1.94-.48l1 4 .85-2.13a1 1 0 0 1 1.86 0l.84 2.13 1.01-4a1 1 0 0 1 1.94.48Z";
|
|
63
|
+
readonly excel: "M15.27 13.64 13.3 16l1.97 2.36a1.001 1.001 0 1 1-1.54 1.28L12 17.56l-1.73 2.08a.99.99 0 0 1-.77.36c-.23 0-.45-.08-.64-.23-.42-.35-.48-.98-.13-1.41L10.7 16l-1.97-2.36a1.001 1.001 0 1 1 1.54-1.28L12 14.44l1.73-2.08c.35-.42.98-.48 1.41-.13.42.35.48.98.13 1.41ZM22 10.49V19c0 2.76-2.24 5-5 5H7c-2.76 0-5-2.24-5-5V5c0-2.76 2.24-5 5-5h4.51c1.87 0 3.63.73 4.95 2.05l3.48 3.49a6.96 6.96 0 0 1 2.05 4.95Zm-6.95-7.03c-.32-.32-.67-.59-1.05-.81V7c0 .55.45 1 1 1h4.34c-.22-.38-.49-.73-.81-1.05l-3.48-3.49ZM20 10.48c0-.16 0-.33-.02-.49H15c-1.65 0-3-1.35-3-3V2.02C11.84 2 11.68 2 11.51 2H7C5.35 2 4 3.35 4 5v14c0 1.65 1.35 3 3 3h10c1.65 0 3-1.35 3-3v-8.51Z";
|
|
64
|
+
readonly powerpoint: "m19.95 5.54-3.49-3.49A6.96 6.96 0 0 0 11.51 0H7C4.24 0 2 2.24 2 5v14c0 2.76 2.24 5 5 5h10c2.76 0 5-2.24 5-5v-8.51c0-1.87-.73-3.63-2.05-4.95Zm-1.41 1.41c.32.32.59.67.81 1.05h-4.34c-.55 0-1-.45-1-1V2.66c.38.22.73.49 1.05.81l3.49 3.49ZM20 19c0 1.65-1.35 3-3 3H7c-1.65 0-3-1.35-3-3V5c0-1.65 1.35-3 3-3h4.51c.16 0 .33 0 .49.02V7c0 1.65 1.35 3 3 3h4.98c.02.16.02.32.02.49V19Zm-10 1c-.55 0-1-.45-1-1v-5c0-1.1.9-2 2-2h1c1.65 0 3 1.35 3 3s-1.35 3-3 3h-1v1c0 .55-.45 1-1 1Zm1-4h1c.55 0 1-.45 1-1s-.45-1-1-1h-1v2Z";
|
|
65
|
+
};
|
|
66
|
+
/** Word/Excel/PowerPoint file glyph (the document icon in front of template/file rows). */
|
|
67
|
+
declare function fileTypeIcon(type: keyof typeof FILE_TYPE_ICON_PATHS, size?: number): TemplateResult;
|
|
68
|
+
/** Hamburger glyph (`st-header`'s mobile nav toggle, closed state). */
|
|
69
|
+
declare function menuIcon(size?: number): TemplateResult;
|
|
70
|
+
/** X/close glyph (`st-header`'s mobile nav toggle, open state). */
|
|
71
|
+
declare function closeIcon(size?: number): TemplateResult;
|
|
72
|
+
/** Gear/cog glyph (company settings). */
|
|
73
|
+
declare function gearIcon(size?: number): TemplateResult;
|
|
74
|
+
/** Paint-palette glyph (theme/color-scheme switcher). */
|
|
75
|
+
declare function paletteIcon(size?: number): TemplateResult;
|
|
76
|
+
|
|
77
|
+
export { bentoGridIcon, bookIcon, boxIcon, cardsViewIcon, cartIcon, checkIcon, chevronIcon, closeIcon, coinsIcon, documentIcon, externalLinkIcon, fileTypeIcon, folderIcon, folderOutlineIcon, gearIcon, historyIcon, listViewIcon, lockIcon, mapPinIcon, menuIcon, paletteIcon, percentIcon, plusIcon, receiptIcon, refreshIcon, siteIcon, trashIcon, truckIcon, usersIcon };
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import {
|
|
2
|
+
bentoGridIcon,
|
|
3
|
+
bookIcon,
|
|
4
|
+
boxIcon,
|
|
5
|
+
cardsViewIcon,
|
|
6
|
+
cartIcon,
|
|
7
|
+
checkIcon,
|
|
8
|
+
chevronIcon,
|
|
9
|
+
closeIcon,
|
|
10
|
+
coinsIcon,
|
|
11
|
+
documentIcon,
|
|
12
|
+
externalLinkIcon,
|
|
13
|
+
fileTypeIcon,
|
|
14
|
+
folderIcon,
|
|
15
|
+
folderOutlineIcon,
|
|
16
|
+
gearIcon,
|
|
17
|
+
historyIcon,
|
|
18
|
+
listViewIcon,
|
|
19
|
+
lockIcon,
|
|
20
|
+
mapPinIcon,
|
|
21
|
+
menuIcon,
|
|
22
|
+
paletteIcon,
|
|
23
|
+
percentIcon,
|
|
24
|
+
plusIcon,
|
|
25
|
+
receiptIcon,
|
|
26
|
+
refreshIcon,
|
|
27
|
+
siteIcon,
|
|
28
|
+
trashIcon,
|
|
29
|
+
truckIcon,
|
|
30
|
+
usersIcon
|
|
31
|
+
} from "../chunk-3TCP25JG.js";
|
|
32
|
+
import "../chunk-EUXUH3YW.js";
|
|
33
|
+
export {
|
|
34
|
+
bentoGridIcon,
|
|
35
|
+
bookIcon,
|
|
36
|
+
boxIcon,
|
|
37
|
+
cardsViewIcon,
|
|
38
|
+
cartIcon,
|
|
39
|
+
checkIcon,
|
|
40
|
+
chevronIcon,
|
|
41
|
+
closeIcon,
|
|
42
|
+
coinsIcon,
|
|
43
|
+
documentIcon,
|
|
44
|
+
externalLinkIcon,
|
|
45
|
+
fileTypeIcon,
|
|
46
|
+
folderIcon,
|
|
47
|
+
folderOutlineIcon,
|
|
48
|
+
gearIcon,
|
|
49
|
+
historyIcon,
|
|
50
|
+
listViewIcon,
|
|
51
|
+
lockIcon,
|
|
52
|
+
mapPinIcon,
|
|
53
|
+
menuIcon,
|
|
54
|
+
paletteIcon,
|
|
55
|
+
percentIcon,
|
|
56
|
+
plusIcon,
|
|
57
|
+
receiptIcon,
|
|
58
|
+
refreshIcon,
|
|
59
|
+
siteIcon,
|
|
60
|
+
trashIcon,
|
|
61
|
+
truckIcon,
|
|
62
|
+
usersIcon
|
|
63
|
+
};
|
|
64
|
+
//# sourceMappingURL=icons.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import * as lit from 'lit';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Reusable `css` fragments shared across component `static styles` blocks.
|
|
5
|
+
*
|
|
6
|
+
* Lit's `css` tag allows interpolating another `CSSResult` anywhere inside a
|
|
7
|
+
* template, including mid-rule — `${fragment}` below expands to raw CSS
|
|
8
|
+
* text, so these compose into a component's own selectors without forcing a
|
|
9
|
+
* shared class name or touching `render()`. Each component keeps its own
|
|
10
|
+
* selectors; only the duplicated property lists move here. Layout details
|
|
11
|
+
* that genuinely vary per component (padding, gap, font-size, ...) stay
|
|
12
|
+
* local, declared after a fragment so the cascade lets them override it.
|
|
13
|
+
*
|
|
14
|
+
* Add a fragment here only once a pattern is byte-identical (or near enough
|
|
15
|
+
* that the deltas are better expressed as local overrides) across 3+
|
|
16
|
+
* components — see `packages/suite-components/README.md#shared-style-fragments`.
|
|
17
|
+
*/
|
|
18
|
+
/** Truncates overflowing text to a single line with an ellipsis. */
|
|
19
|
+
declare const truncateStyles: lit.CSSResult;
|
|
20
|
+
/**
|
|
21
|
+
* Base for an unstyled, click-through interactive element (icon buttons,
|
|
22
|
+
* menu triggers, link-like buttons) before component-specific padding,
|
|
23
|
+
* font-size, and color are layered on.
|
|
24
|
+
*/
|
|
25
|
+
declare const buttonResetStyles: lit.CSSResult;
|
|
26
|
+
/**
|
|
27
|
+
* The dark-filled primary-action button look (wizard Next/Generate/Run/Save,
|
|
28
|
+
* active toggle buttons, ...). Pair with `ctaButtonDisabledStyles` on the
|
|
29
|
+
* same selector's `:disabled` state.
|
|
30
|
+
*/
|
|
31
|
+
declare const ctaButtonStyles: lit.CSSResult;
|
|
32
|
+
declare const ctaButtonDisabledStyles: lit.CSSResult;
|
|
33
|
+
/**
|
|
34
|
+
* Just the fill (background + color) from `ctaButtonStyles`, for selectors
|
|
35
|
+
* that only need to swap an already-bordered/sized button into the CTA look
|
|
36
|
+
* on an active/pressed/selected state (`[aria-pressed='true']`, `.active`,
|
|
37
|
+
* ...) rather than defining the button from scratch.
|
|
38
|
+
*/
|
|
39
|
+
declare const ctaButtonFillStyles: lit.CSSResult;
|
|
40
|
+
/** Floating menu/dropdown panel chrome (user menu, language menu, ...). */
|
|
41
|
+
declare const dropdownPanelStyles: lit.CSSResult;
|
|
42
|
+
/** "No results" / "Nothing here." empty-state text. Padding stays local. */
|
|
43
|
+
declare const emptyStateStyles: lit.CSSResult;
|
|
44
|
+
/** Bordered, rounded shell wrapping a data table (browse/list views). */
|
|
45
|
+
declare const tableShellStyles: lit.CSSResult;
|
|
46
|
+
/** A single bordered result row with a name (truncated) + trailing link. */
|
|
47
|
+
declare const resultRowStyles: lit.CSSResult;
|
|
48
|
+
declare const resultNameStyles: lit.CSSResult;
|
|
49
|
+
declare const resultLinkStyles: lit.CSSResult;
|
|
50
|
+
/**
|
|
51
|
+
* Uppercase, letter-spaced section/field "eyebrow" label (card headings,
|
|
52
|
+
* table headers, field labels, ...). Font-size stays local since it varies
|
|
53
|
+
* (11–12px) by context.
|
|
54
|
+
*/
|
|
55
|
+
declare const eyebrowLabelStyles: lit.CSSResult;
|
|
56
|
+
/** Top border separating stacked rows in a list/table (folder rows, data rows, table rows, ...). */
|
|
57
|
+
declare const rowDividerStyles: lit.CSSResult;
|
|
58
|
+
/**
|
|
59
|
+
* Bordered, rounded surface shell for a card/tile/panel (as opposed to
|
|
60
|
+
* `tableShellStyles`, which additionally clips overflow for tabular content).
|
|
61
|
+
* Padding, gap, and cursor stay local since they vary by component.
|
|
62
|
+
*/
|
|
63
|
+
declare const cardShellStyles: lit.CSSResult;
|
|
64
|
+
/** A card/tile/row's bold primary name line (folder tiles/rows, template cards, ...). */
|
|
65
|
+
declare const itemNameStyles: lit.CSSResult;
|
|
66
|
+
/** A card/tile/row's muted secondary caption line, paired with `itemNameStyles`. */
|
|
67
|
+
declare const itemCaptionStyles: lit.CSSResult;
|
|
68
|
+
/**
|
|
69
|
+
* Whole rules (not a property list) every component's stylesheet starts
|
|
70
|
+
* with: routes keyboard focus rings and native checkbox/radio tint through
|
|
71
|
+
* `--st-focus-ring` / `--st-checkbox-color`, whose defaults (`auto`) keep
|
|
72
|
+
* the browser's own look until a host app themes them.
|
|
73
|
+
*/
|
|
74
|
+
declare const controlBaseStyles: lit.CSSResult;
|
|
75
|
+
/** Default font stack, used by nearly every component. */
|
|
76
|
+
declare const fontFamilyStyles: lit.CSSResult;
|
|
77
|
+
/**
|
|
78
|
+
* Font stack for page-root/chrome components (`st-template-hub`, the admin
|
|
79
|
+
* and configuration pages, `st-app-header`, ...). Identical to
|
|
80
|
+
* `fontFamilyStyles` now that `--st-font-family` always resolves via
|
|
81
|
+
* `theme.css` (no per-usage fallback) — kept as a separate export so those
|
|
82
|
+
* call sites stay semantically distinct if the two ever need to diverge
|
|
83
|
+
* again.
|
|
84
|
+
*/
|
|
85
|
+
declare const rootFontFamilyStyles: lit.CSSResult;
|
|
86
|
+
/** Canonical responsive breakpoints (px). Interpolate as `${BREAKPOINT_TABLET}px`. */
|
|
87
|
+
declare const BREAKPOINT_TABLET = 900;
|
|
88
|
+
declare const BREAKPOINT_MOBILE = 500;
|
|
89
|
+
|
|
90
|
+
export { BREAKPOINT_MOBILE, BREAKPOINT_TABLET, buttonResetStyles, cardShellStyles, controlBaseStyles, ctaButtonDisabledStyles, ctaButtonFillStyles, ctaButtonStyles, dropdownPanelStyles, emptyStateStyles, eyebrowLabelStyles, fontFamilyStyles, itemCaptionStyles, itemNameStyles, resultLinkStyles, resultNameStyles, resultRowStyles, rootFontFamilyStyles, rowDividerStyles, tableShellStyles, truncateStyles };
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import {
|
|
2
|
+
BREAKPOINT_MOBILE,
|
|
3
|
+
BREAKPOINT_TABLET,
|
|
4
|
+
buttonResetStyles,
|
|
5
|
+
cardShellStyles,
|
|
6
|
+
controlBaseStyles,
|
|
7
|
+
ctaButtonDisabledStyles,
|
|
8
|
+
ctaButtonFillStyles,
|
|
9
|
+
ctaButtonStyles,
|
|
10
|
+
dropdownPanelStyles,
|
|
11
|
+
emptyStateStyles,
|
|
12
|
+
eyebrowLabelStyles,
|
|
13
|
+
fontFamilyStyles,
|
|
14
|
+
itemCaptionStyles,
|
|
15
|
+
itemNameStyles,
|
|
16
|
+
resultLinkStyles,
|
|
17
|
+
resultNameStyles,
|
|
18
|
+
resultRowStyles,
|
|
19
|
+
rootFontFamilyStyles,
|
|
20
|
+
rowDividerStyles,
|
|
21
|
+
tableShellStyles,
|
|
22
|
+
truncateStyles
|
|
23
|
+
} from "../chunk-RHAOQ6K4.js";
|
|
24
|
+
import "../chunk-EUXUH3YW.js";
|
|
25
|
+
export {
|
|
26
|
+
BREAKPOINT_MOBILE,
|
|
27
|
+
BREAKPOINT_TABLET,
|
|
28
|
+
buttonResetStyles,
|
|
29
|
+
cardShellStyles,
|
|
30
|
+
controlBaseStyles,
|
|
31
|
+
ctaButtonDisabledStyles,
|
|
32
|
+
ctaButtonFillStyles,
|
|
33
|
+
ctaButtonStyles,
|
|
34
|
+
dropdownPanelStyles,
|
|
35
|
+
emptyStateStyles,
|
|
36
|
+
eyebrowLabelStyles,
|
|
37
|
+
fontFamilyStyles,
|
|
38
|
+
itemCaptionStyles,
|
|
39
|
+
itemNameStyles,
|
|
40
|
+
resultLinkStyles,
|
|
41
|
+
resultNameStyles,
|
|
42
|
+
resultRowStyles,
|
|
43
|
+
rootFontFamilyStyles,
|
|
44
|
+
rowDividerStyles,
|
|
45
|
+
tableShellStyles,
|
|
46
|
+
truncateStyles
|
|
47
|
+
};
|
|
48
|
+
//# sourceMappingURL=styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as lit from 'lit';
|
|
2
|
+
import { LitElement } from 'lit';
|
|
3
|
+
|
|
4
|
+
interface StatItem {
|
|
5
|
+
value: string;
|
|
6
|
+
label: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
}
|
|
9
|
+
/** Responsive grid of headline numbers with a label and optional description. Port of React `Stats`. */
|
|
10
|
+
declare class Stats extends LitElement {
|
|
11
|
+
static styles: lit.CSSResult;
|
|
12
|
+
items: StatItem[];
|
|
13
|
+
inverted: boolean;
|
|
14
|
+
render(): lit.TemplateResult<1>;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export { type StatItem, Stats };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as lit from 'lit';
|
|
2
|
+
import { LitElement } from 'lit';
|
|
3
|
+
|
|
4
|
+
interface TestimonialItem {
|
|
5
|
+
id?: string;
|
|
6
|
+
name: string;
|
|
7
|
+
role: string;
|
|
8
|
+
company?: string;
|
|
9
|
+
imageSrc?: string;
|
|
10
|
+
quote: string;
|
|
11
|
+
/** Number of stars, default 5. */
|
|
12
|
+
rating?: number;
|
|
13
|
+
}
|
|
14
|
+
/** Section heading plus a grid of quote cards with star rating and author. Port of React `Testimonials`. */
|
|
15
|
+
declare class Testimonials extends LitElement {
|
|
16
|
+
static styles: lit.CSSResult;
|
|
17
|
+
title: string;
|
|
18
|
+
subtitle: string;
|
|
19
|
+
items: TestimonialItem[];
|
|
20
|
+
inverted: boolean;
|
|
21
|
+
private renderItem;
|
|
22
|
+
render(): lit.TemplateResult<1>;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export { type TestimonialItem, Testimonials };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/theme.css
ADDED
|
@@ -0,0 +1,292 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Design tokens for @sankhyatronics/components.
|
|
3
|
+
*
|
|
4
|
+
* Every st-* component reads its styling exclusively via `var(--st-x)` — no
|
|
5
|
+
* fallback values anywhere — and custom properties inherit through Shadow
|
|
6
|
+
* DOM, so setting these at :root (or any ancestor of your st-* components)
|
|
7
|
+
* reskins/rescales the whole tree without forking any component.
|
|
8
|
+
*
|
|
9
|
+
* Import this file once. There are three layers, in cascade order:
|
|
10
|
+
* 1. PRIMARIES — the only literal color values in the system (5 seeds,
|
|
11
|
+
* plus the 3 independent file-type brand colors). Override these for a
|
|
12
|
+
* full rebrand — everything else follows.
|
|
13
|
+
* 2. SHADES — an internal color-mix() ramp derived from each primary,
|
|
14
|
+
* EXCEPT the neutral ramp: --st-neutral-50 through --st-neutral-950
|
|
15
|
+
* (the standard 11-step scale) is the one shade ramp meant to be
|
|
16
|
+
* overridden directly — every neutral text/background token below
|
|
17
|
+
* resolves to one of these 11 steps.
|
|
18
|
+
* 3. SEMANTIC TOKENS — what components actually consume
|
|
19
|
+
* (--st-color-text, --st-radius-md, --st-text-sm, ...), each pointing
|
|
20
|
+
* at one shade/scale step. Override a semantic token for a single
|
|
21
|
+
* exception, or override a whole scale (spacing/radius/size/type) for
|
|
22
|
+
* a density or typography change.
|
|
23
|
+
*
|
|
24
|
+
* Only reach for an individual token override (see component READMEs /
|
|
25
|
+
* source for the full list) when you need an exception the primaries,
|
|
26
|
+
* neutral palette, and scales below don't cover.
|
|
27
|
+
*/
|
|
28
|
+
:root {
|
|
29
|
+
/* =========================================================
|
|
30
|
+
PRIMARIES — override these for a rebrand.
|
|
31
|
+
========================================================= */
|
|
32
|
+
--st-primary-color: oklch(12.9% 0.042 264.695);
|
|
33
|
+
--st-primary-background: oklch(98.4% 0.003 247.858);
|
|
34
|
+
--st-neutral-50: var(--st-primary-background);
|
|
35
|
+
--st-neutral-950: var(--st-primary-color);
|
|
36
|
+
--st-neutral-100: oklch(from color-mix(in oklch, var(--st-neutral-950) 8%, var(--st-neutral-50)) l calc(c * 2.1) h);
|
|
37
|
+
--st-neutral-200: oklch(from color-mix(in oklch, var(--st-neutral-950) 15%, var(--st-neutral-50)) l calc(c * 3.0) h);
|
|
38
|
+
--st-neutral-300: oklch(from color-mix(in oklch, var(--st-neutral-950) 27%, var(--st-neutral-50)) l calc(c * 4.3) h);
|
|
39
|
+
--st-neutral-400: oklch(from color-mix(in oklch, var(--st-neutral-950) 36%, var(--st-neutral-50)) l calc(c * 5.2) h);
|
|
40
|
+
--st-neutral-500: oklch(from color-mix(in oklch, var(--st-neutral-950) 49%, var(--st-neutral-50)) l calc(c * 7.0) h);
|
|
41
|
+
--st-neutral-600: oklch(from color-mix(in oklch, var(--st-neutral-950) 69%, var(--st-neutral-50)) l calc(c * 5.4) h);
|
|
42
|
+
--st-neutral-700: oklch(from color-mix(in oklch, var(--st-neutral-950) 86%, var(--st-neutral-50)) l calc(c * 3.0) h);
|
|
43
|
+
--st-neutral-800: oklch(from color-mix(in oklch, var(--st-neutral-950) 93%, var(--st-neutral-50)) l calc(c * 2.3) h);
|
|
44
|
+
--st-neutral-900: oklch(from color-mix(in oklch, var(--st-neutral-950) 96%, var(--st-neutral-50)) l calc(c * 1.6) h);
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
/* Brand-like file-type colors are intentionally independent of the accent
|
|
48
|
+
seed (Word/Excel/PowerPoint have their own identity) — three extra,
|
|
49
|
+
narrowly-scoped primaries rather than derived shades. */
|
|
50
|
+
--st-primary-type-word: oklch(0.55 0.13 250);
|
|
51
|
+
--st-primary-type-excel: oklch(0.55 0.13 145);
|
|
52
|
+
--st-primary-type-powerpoint: oklch(0.55 0.13 40);
|
|
53
|
+
|
|
54
|
+
--st-primary-neutral: var(--st-neutral-50);
|
|
55
|
+
/* --st-brand-color is deliberately left undefined: set it (on :root) to
|
|
56
|
+
make the accent, the solid call-to-action buttons and checkboxes all
|
|
57
|
+
follow one host-app brand color. Unset, each keeps its own default. */
|
|
58
|
+
--st-primary-accent: var(--st-brand-color, var(--st-neutral-500));
|
|
59
|
+
--st-primary-danger: oklch(0.6 0.2 25);
|
|
60
|
+
--st-primary-warning: oklch(0.75 0.16 40);
|
|
61
|
+
--st-primary-success: oklch(0.55 0.13 145);
|
|
62
|
+
|
|
63
|
+
/* Pure white/black anchors for the color-mix() ramps below and the
|
|
64
|
+
"text/icon on a solid fill" token — not general-purpose literals. */
|
|
65
|
+
--st-primary-canvas: var(--st-neutral-50);
|
|
66
|
+
--st-primary-ink: var(--st-neutral-950);
|
|
67
|
+
|
|
68
|
+
--st-accent-subtle: color-mix(in oklch, var(--st-primary-accent) 8%, var(--st-primary-canvas));
|
|
69
|
+
--st-accent-border: color-mix(in oklch, var(--st-primary-accent) 22%, var(--st-primary-canvas));
|
|
70
|
+
--st-accent-muted: color-mix(in oklch, var(--st-primary-accent) 55%, var(--st-primary-canvas));
|
|
71
|
+
--st-accent-text: color-mix(in oklch, var(--st-primary-accent) 78%, var(--st-primary-ink));
|
|
72
|
+
|
|
73
|
+
--st-danger-subtle: color-mix(in oklch, var(--st-primary-danger) 10%, var(--st-primary-canvas));
|
|
74
|
+
--st-danger-border: color-mix(in oklch, var(--st-primary-danger) 28%, var(--st-primary-canvas));
|
|
75
|
+
--st-danger-text: color-mix(in oklch, var(--st-primary-danger) 70%, var(--st-primary-ink));
|
|
76
|
+
|
|
77
|
+
--st-warning-subtle: color-mix(in oklch, var(--st-primary-warning) 10%, var(--st-primary-canvas));
|
|
78
|
+
--st-warning-border: color-mix(in oklch, var(--st-primary-warning) 28%, var(--st-primary-canvas));
|
|
79
|
+
--st-warning-text: color-mix(in oklch, var(--st-primary-warning) 70%, var(--st-primary-ink));
|
|
80
|
+
|
|
81
|
+
--st-success-subtle: color-mix(in oklch, var(--st-primary-success) 20%, var(--st-primary-canvas));
|
|
82
|
+
--st-success-text: color-mix(in oklch, var(--st-primary-success) 70%, var(--st-primary-ink));
|
|
83
|
+
|
|
84
|
+
/* =========================================================
|
|
85
|
+
SEMANTIC TOKENS — what components actually consume.
|
|
86
|
+
========================================================= */
|
|
87
|
+
|
|
88
|
+
/* ---- Neutral surfaces & text ---- */
|
|
89
|
+
--st-color-page: var(--st-neutral-50);
|
|
90
|
+
--st-color-surface: var(--st-primary-canvas);
|
|
91
|
+
--st-color-subtle: var(--st-neutral-100);
|
|
92
|
+
--st-color-divider: var(--st-neutral-200);
|
|
93
|
+
--st-color-hover: var(--st-neutral-200);
|
|
94
|
+
--st-color-border: var(--st-neutral-300);
|
|
95
|
+
--st-color-skeleton: var(--st-neutral-300);
|
|
96
|
+
--st-color-folder-icon-bg: var(--st-neutral-300);
|
|
97
|
+
--st-color-border-strong: var(--st-neutral-400);
|
|
98
|
+
--st-color-text-faint: var(--st-neutral-600);
|
|
99
|
+
--st-color-text-muted: var(--st-neutral-600);
|
|
100
|
+
--st-color-text: var(--st-neutral-600);
|
|
101
|
+
--st-color-text-strong: var(--st-neutral-900);
|
|
102
|
+
|
|
103
|
+
/* Text/icon color for content sitting on a solid/dark fill (buttons,
|
|
104
|
+
avatars, active pills) — never hardcode "white" at the point of use. */
|
|
105
|
+
--st-color-on-solid: var(--st-primary-canvas);
|
|
106
|
+
|
|
107
|
+
/* ---- Accent ramp — derived from --st-primary-accent ---- */
|
|
108
|
+
--st-color-accent: var(--st-primary-accent);
|
|
109
|
+
--st-color-accent-subtle: var(--st-accent-subtle);
|
|
110
|
+
--st-color-accent-border: var(--st-accent-border);
|
|
111
|
+
--st-color-accent-muted: var(--st-accent-muted);
|
|
112
|
+
--st-color-accent-text: var(--st-accent-text);
|
|
113
|
+
|
|
114
|
+
/* ---- Semantic state ramps — derived from --st-primary-danger/warning/success ---- */
|
|
115
|
+
--st-color-danger: var(--st-primary-danger);
|
|
116
|
+
--st-color-danger-subtle: var(--st-danger-subtle);
|
|
117
|
+
--st-color-danger-border: var(--st-danger-border);
|
|
118
|
+
--st-color-danger-text: var(--st-danger-text);
|
|
119
|
+
|
|
120
|
+
--st-color-warning: var(--st-primary-warning);
|
|
121
|
+
--st-color-warning-subtle: var(--st-warning-subtle);
|
|
122
|
+
--st-color-warning-border: var(--st-warning-border);
|
|
123
|
+
--st-color-warning-text: var(--st-warning-text);
|
|
124
|
+
|
|
125
|
+
--st-color-success: var(--st-primary-success);
|
|
126
|
+
--st-color-success-subtle: var(--st-success-subtle);
|
|
127
|
+
--st-color-success-text: var(--st-success-text);
|
|
128
|
+
|
|
129
|
+
/* ---- File-type badge colors ---- */
|
|
130
|
+
--st-color-type-word: var(--st-primary-type-word);
|
|
131
|
+
--st-color-type-excel: var(--st-primary-type-excel);
|
|
132
|
+
--st-color-type-powerpoint: var(--st-primary-type-powerpoint);
|
|
133
|
+
|
|
134
|
+
/* ---- Standalone brand accent (favorites/star marker) ---- */
|
|
135
|
+
--st-favorite-accent: #f0b429;
|
|
136
|
+
|
|
137
|
+
/* ---- <st-status-pill> override points. Consumers set --st-status-hue
|
|
138
|
+
(or --st-status-bg/--st-status-color directly) on the host element;
|
|
139
|
+
these root defaults mean the token always resolves, so call sites
|
|
140
|
+
never need a fallback. ---- */
|
|
141
|
+
--st-status-hue: var(--st-neutral-hue);
|
|
142
|
+
--st-status-bg: oklch(0.95 0.05 var(--st-status-hue));
|
|
143
|
+
--st-status-color: oklch(0.4 0.13 var(--st-status-hue));
|
|
144
|
+
|
|
145
|
+
/* ---- Shadow tint — box-shadows are colors too, so they get tokens. ---- */
|
|
146
|
+
--st-shadow-color-subtle: var(--st-neutral-300);
|
|
147
|
+
--st-shadow-color-sm: var(--st-neutral-300);
|
|
148
|
+
--st-shadow-color-md: var(--st-neutral-300);
|
|
149
|
+
--st-shadow-color-lg: var(--st-neutral-300);
|
|
150
|
+
--st-shadow-color-xl: var(--st-neutral-300);
|
|
151
|
+
|
|
152
|
+
/* =========================================================
|
|
153
|
+
SPACING SCALE — padding/margin/gap/inset. Named by their px
|
|
154
|
+
value for exactness; override one step or the whole scale.
|
|
155
|
+
========================================================= */
|
|
156
|
+
--st-space-0: 0;
|
|
157
|
+
--st-space-2: 2px;
|
|
158
|
+
--st-space-3: 3px;
|
|
159
|
+
--st-space-4: 4px;
|
|
160
|
+
--st-space-5: 5px;
|
|
161
|
+
--st-space-6: 6px;
|
|
162
|
+
--st-space-7: 7px;
|
|
163
|
+
--st-space-8: 8px;
|
|
164
|
+
--st-space-9: 9px;
|
|
165
|
+
--st-space-10: 10px;
|
|
166
|
+
--st-space-11: 11px;
|
|
167
|
+
--st-space-12: 12px;
|
|
168
|
+
--st-space-14: 14px;
|
|
169
|
+
--st-space-16: 16px;
|
|
170
|
+
--st-space-18: 18px;
|
|
171
|
+
--st-space-20: 20px;
|
|
172
|
+
--st-space-22: 22px;
|
|
173
|
+
--st-space-24: 24px;
|
|
174
|
+
--st-space-28: 28px;
|
|
175
|
+
--st-space-30: 30px;
|
|
176
|
+
--st-space-32: 32px;
|
|
177
|
+
--st-space-40: 40px;
|
|
178
|
+
--st-space-44: 44px;
|
|
179
|
+
--st-space-48: 48px;
|
|
180
|
+
|
|
181
|
+
/* =========================================================
|
|
182
|
+
RADIUS SCALE
|
|
183
|
+
========================================================= */
|
|
184
|
+
--st-radius-none: 0;
|
|
185
|
+
--st-radius-xs: 4px;
|
|
186
|
+
--st-radius-sm: 8px;
|
|
187
|
+
--st-radius-md: 10px;
|
|
188
|
+
--st-radius-lg: 12px;
|
|
189
|
+
--st-radius-full: 999px;
|
|
190
|
+
--st-radius-circle: 50%;
|
|
191
|
+
|
|
192
|
+
/* =========================================================
|
|
193
|
+
CONTROL-SIZE SCALE — square-ish UI controls (checkboxes,
|
|
194
|
+
icon buttons, avatars, badges, table icon columns).
|
|
195
|
+
========================================================= */
|
|
196
|
+
--st-size-14: 14px;
|
|
197
|
+
--st-size-16: 16px;
|
|
198
|
+
--st-size-18: 18px;
|
|
199
|
+
--st-size-20: 20px;
|
|
200
|
+
--st-size-24: 24px;
|
|
201
|
+
--st-size-26: 26px;
|
|
202
|
+
--st-size-28: 28px;
|
|
203
|
+
--st-size-30: 30px;
|
|
204
|
+
--st-size-32: 32px;
|
|
205
|
+
--st-size-36: 36px;
|
|
206
|
+
--st-size-38: 38px;
|
|
207
|
+
--st-size-40: 40px;
|
|
208
|
+
|
|
209
|
+
/* =========================================================
|
|
210
|
+
TYPOGRAPHY TOKENS
|
|
211
|
+
========================================================= */
|
|
212
|
+
--st-font-family: system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
213
|
+
|
|
214
|
+
--st-text-2xs: 10px;
|
|
215
|
+
--st-text-xs: 11px;
|
|
216
|
+
--st-text-sm: 12px;
|
|
217
|
+
--st-text-base: 13px;
|
|
218
|
+
--st-text-md: 14px;
|
|
219
|
+
--st-text-lg: 15px;
|
|
220
|
+
--st-text-xl: 16px;
|
|
221
|
+
--st-text-2xl: 20px;
|
|
222
|
+
|
|
223
|
+
--st-font-weight-regular: 400;
|
|
224
|
+
--st-font-weight-medium: 500;
|
|
225
|
+
--st-font-weight-semibold: 600;
|
|
226
|
+
--st-font-weight-bold: 700;
|
|
227
|
+
--st-font-weight-extrabold: 800;
|
|
228
|
+
|
|
229
|
+
--st-leading-none: 1;
|
|
230
|
+
--st-leading-snug: 1.35;
|
|
231
|
+
--st-leading-normal: 1.4;
|
|
232
|
+
|
|
233
|
+
--st-tracking-tight: -0.2px;
|
|
234
|
+
--st-tracking-normal: 0;
|
|
235
|
+
--st-tracking-wide: 0.3px;
|
|
236
|
+
--st-tracking-wider: 0.4px;
|
|
237
|
+
|
|
238
|
+
/* =========================================================
|
|
239
|
+
COMPONENT TOKENS — narrowly-scoped overrides for one piece
|
|
240
|
+
of chrome, each defaulting to a scale step above. Set them
|
|
241
|
+
on :root or on the component's host element, the same way
|
|
242
|
+
as --st-primary-color.
|
|
243
|
+
========================================================= */
|
|
244
|
+
|
|
245
|
+
/* ---- Wizard step heading/description (<st-template-hub>) ---- */
|
|
246
|
+
--st-step-heading-font-size: var(--st-text-2xl);
|
|
247
|
+
--st-step-heading-font-weight: var(--st-font-weight-bold);
|
|
248
|
+
--st-step-heading-color: var(--st-color-text-strong);
|
|
249
|
+
--st-step-description-font-size: var(--st-text-base);
|
|
250
|
+
--st-step-description-color: var(--st-color-text-muted);
|
|
251
|
+
|
|
252
|
+
/* ---- Buttons. --st-button-font-size sizes the wizard footer
|
|
253
|
+
(Back/Next/Finish/...); --st-button-font-size-sm the in-content
|
|
254
|
+
action buttons (Generate/Regenerate). The primary fill applies
|
|
255
|
+
to every solid call-to-action button. ---- */
|
|
256
|
+
--st-button-font-size: var(--st-text-md);
|
|
257
|
+
--st-button-font-size-sm: var(--st-text-base);
|
|
258
|
+
--st-button-font-weight: var(--st-font-weight-semibold);
|
|
259
|
+
--st-button-height: var(--st-size-40);
|
|
260
|
+
--st-button-radius: var(--st-radius-sm);
|
|
261
|
+
--st-button-primary-bg: var(--st-brand-color, var(--st-color-text-strong));
|
|
262
|
+
--st-button-primary-color: var(--st-color-on-solid);
|
|
263
|
+
--st-button-primary-font-weight: var(--st-font-weight-bold);
|
|
264
|
+
|
|
265
|
+
/* ---- Checkboxes/radios (native controls, tinted via accent-color).
|
|
266
|
+
`auto` = the browser's own color. ---- */
|
|
267
|
+
--st-checkbox-color: var(--st-brand-color, auto);
|
|
268
|
+
|
|
269
|
+
/* ---- Keyboard focus ring, an `outline` shorthand. `auto` = the
|
|
270
|
+
browser's own ring; e.g. `2px solid #0b5cff` for a custom one. ---- */
|
|
271
|
+
--st-focus-ring: auto;
|
|
272
|
+
--st-focus-ring-offset: 0px;
|
|
273
|
+
|
|
274
|
+
/* ---- Text inputs (search boxes, file names, new folder, pattern) ---- */
|
|
275
|
+
--st-input-font-family: var(--st-font-family);
|
|
276
|
+
--st-input-mono-font-family: ui-monospace, monospace;
|
|
277
|
+
--st-input-font-size: var(--st-text-base);
|
|
278
|
+
--st-input-color: var(--st-color-text-strong);
|
|
279
|
+
--st-input-bg: var(--st-color-surface);
|
|
280
|
+
--st-input-border-color: var(--st-color-border);
|
|
281
|
+
--st-input-radius: var(--st-radius-sm);
|
|
282
|
+
|
|
283
|
+
/* ---- Wizard frame (<st-template-hub>). Set --st-wizard-bg to
|
|
284
|
+
`transparent` to sit on the host app's own card/page. ---- */
|
|
285
|
+
--st-wizard-bg: var(--st-color-page);
|
|
286
|
+
--st-wizard-subheader-bg: var(--st-color-subtle);
|
|
287
|
+
--st-wizard-footer-bg: var(--st-color-surface);
|
|
288
|
+
--st-wizard-footer-height: 64px;
|
|
289
|
+
--st-wizard-border-color: var(--st-color-border);
|
|
290
|
+
--st-wizard-content-padding: var(--st-space-24) var(--st-space-32);
|
|
291
|
+
--st-wizard-content-padding-compact: var(--st-space-16) var(--st-space-18);
|
|
292
|
+
}
|