@multiplatform.one/theme 7.50.0 → 7.50.2
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 +5 -5
- package/src/theme/chartPalette.spec.ts +3 -1
- package/src/theme/chartPalette.ts +3 -1
- package/src/theme/createDefaultThemeConfig.spec.ts +36 -2
- package/src/theme/createThemes.ts +37 -6
- package/src/theme/recipes.ts +9 -2
- package/src/theme/resolveKnobs.spec.ts +37 -3
- package/src/theme/resolveKnobs.ts +30 -6
- package/types/theme/chartPalette.d.ts.map +1 -1
- package/types/theme/createThemes.d.ts +415 -3
- package/types/theme/createThemes.d.ts.map +1 -1
- package/types/theme/recipes.d.ts +8 -2
- package/types/theme/recipes.d.ts.map +1 -1
- package/types/theme/resolveKnobs.d.ts +1 -0
- package/types/theme/resolveKnobs.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@multiplatform.one/theme",
|
|
3
|
-
"version": "7.50.
|
|
3
|
+
"version": "7.50.2",
|
|
4
4
|
"description": "Tamagui theme system for multiplatform.one",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"multiplatform",
|
|
@@ -72,8 +72,8 @@
|
|
|
72
72
|
"access": "public"
|
|
73
73
|
},
|
|
74
74
|
"dependencies": {
|
|
75
|
-
"@multiplatform.one/platform": "^7.50.
|
|
76
|
-
"@multiplatform.one/store": "^7.50.
|
|
75
|
+
"@multiplatform.one/platform": "^7.50.2",
|
|
76
|
+
"@multiplatform.one/store": "^7.50.2",
|
|
77
77
|
"@tamagui/animations-react-native": "2.7.6",
|
|
78
78
|
"@tamagui/colors": "2.7.6",
|
|
79
79
|
"@tamagui/config": "2.7.6",
|
|
@@ -89,8 +89,8 @@
|
|
|
89
89
|
},
|
|
90
90
|
"devDependencies": {
|
|
91
91
|
"@expo/prebuild-config": "55.0.18",
|
|
92
|
-
"@multiplatform.one/config": "7.50.
|
|
93
|
-
"@multiplatform.one/test-utils": "7.50.
|
|
92
|
+
"@multiplatform.one/config": "7.50.2",
|
|
93
|
+
"@multiplatform.one/test-utils": "7.50.2",
|
|
94
94
|
"@tamagui/animations-css": "2.7.6",
|
|
95
95
|
"@tamagui/animations-reanimated": "2.7.6",
|
|
96
96
|
"@tamagui/font-inter": "2.7.6",
|
|
@@ -187,7 +187,9 @@ describe("resolveChartPalette", () => {
|
|
|
187
187
|
it("steps the identity down when it misses the tint's Card fill", () => {
|
|
188
188
|
const tint = builtThemes.light_gray;
|
|
189
189
|
const card = builtThemes.light_gray_Card.background;
|
|
190
|
-
|
|
190
|
+
// LC-151: the tint's Card is its grouped white step; color3 stays a real
|
|
191
|
+
// surface (tracks, menu rows), so the resolver still clears it.
|
|
192
|
+
expect(card).toBe(tint.color1);
|
|
191
193
|
const onCard = resolveChartPalette({
|
|
192
194
|
scheme: "light",
|
|
193
195
|
identitySolid: tint.color9,
|
|
@@ -271,7 +271,9 @@ export function useChartPalette(): ChartPalette {
|
|
|
271
271
|
const color9 = theme.color9?.val;
|
|
272
272
|
const accent = theme.accentBackground?.val;
|
|
273
273
|
const page = theme.color2?.val;
|
|
274
|
-
|
|
274
|
+
// The Card fill on the LC-151 ladder: the grouped white step in light, one
|
|
275
|
+
// step above the page in dark.
|
|
276
|
+
const card = (scheme === "light" ? theme.color1 : theme.color3)?.val;
|
|
275
277
|
const identitySolid = isTint ? (color9 ?? accent) : (accent ?? color9);
|
|
276
278
|
const color10 = theme.color10?.val;
|
|
277
279
|
const color11 = theme.color11?.val;
|
|
@@ -330,6 +330,38 @@ describe("the v5 theme matrix", () => {
|
|
|
330
330
|
const config = createDefaultThemeConfig();
|
|
331
331
|
const themes = config.tamagui.themes as unknown as RawThemes;
|
|
332
332
|
|
|
333
|
+
// LC-151 SURFACE-LADDER: the grouped step. Light lifts cards, list items
|
|
334
|
+
// and fields to white on the grey page; dark keeps them one step lighter
|
|
335
|
+
// than the page (the LC-85 pair). The grouped step is light surface1 itself,
|
|
336
|
+
// so it costs no CSS; tracks move to surface2 to stay off a white card.
|
|
337
|
+
it("puts cards, list items and fields on the grouped step", () => {
|
|
338
|
+
for (const component of [
|
|
339
|
+
"Card",
|
|
340
|
+
"ListItem",
|
|
341
|
+
"Input",
|
|
342
|
+
"TextArea",
|
|
343
|
+
"InputContainerFrame",
|
|
344
|
+
"SelectTrigger",
|
|
345
|
+
"SelectItem",
|
|
346
|
+
]) {
|
|
347
|
+
expect(themes[`light_${component}`].background, `light_${component}`).toBe(
|
|
348
|
+
themes.light.color1,
|
|
349
|
+
);
|
|
350
|
+
expect(themes[`dark_${component}`].background, `dark_${component}`).toBe(themes.dark.color3);
|
|
351
|
+
expect(themes[`light_${component}`].backgroundPress, `light_${component} press`).toBe(
|
|
352
|
+
themes.light.color3,
|
|
353
|
+
);
|
|
354
|
+
}
|
|
355
|
+
for (const component of ["Progress", "Slider"]) {
|
|
356
|
+
for (const scheme of ["light", "dark"] as const) {
|
|
357
|
+
expect(themes[`${scheme}_${component}`].background, `${scheme}_${component}`).toBe(
|
|
358
|
+
themes[`${scheme}_Button`].background,
|
|
359
|
+
);
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
expect(themes.light_orange_Card.background).toBe(themes.light_orange.color1);
|
|
363
|
+
});
|
|
364
|
+
|
|
333
365
|
it("binds the v5 shadow3 alpha in both schemes", () => {
|
|
334
366
|
for (const [scheme, alphas] of [
|
|
335
367
|
["light", [0.04, 0.08, 0.12, 0.22, 0.33, 0.44]],
|
|
@@ -345,7 +377,6 @@ describe("the v5 theme matrix", () => {
|
|
|
345
377
|
it("uses v5 surface templates for pages and components", () => {
|
|
346
378
|
for (const scheme of ["light", "dark"] as const) {
|
|
347
379
|
expect(themes[scheme].background).toBe(themes[scheme].color2);
|
|
348
|
-
expect(themes[`${scheme}_Card`].background).toBe(themes[scheme].color3);
|
|
349
380
|
}
|
|
350
381
|
const button = themes.light_Button;
|
|
351
382
|
expect(relativeLuminance(normalizeToHex(button.backgroundHover)!)).toBeGreaterThan(
|
|
@@ -382,7 +413,10 @@ describe("the v5 theme matrix", () => {
|
|
|
382
413
|
}).tamagui.themes as unknown as RawThemes;
|
|
383
414
|
for (const scheme of ["light", "dark"] as const) {
|
|
384
415
|
expect(custom[`${scheme}_brand`].background).toBe(custom[`${scheme}_brand`].color2);
|
|
385
|
-
|
|
416
|
+
// surface1 is the LC-151 grouped step: white in light, one step up in dark.
|
|
417
|
+
expect(custom[`${scheme}_Custom`].background).toBe(
|
|
418
|
+
custom[scheme][scheme === "light" ? "color1" : "color3"],
|
|
419
|
+
);
|
|
386
420
|
expect(custom).not.toHaveProperty(`${scheme}_Button`);
|
|
387
421
|
}
|
|
388
422
|
});
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import * as Colors from "@tamagui/colors";
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
PALETTE_BACKGROUND_OFFSET,
|
|
4
|
+
createThemes as tamaguiCreateThemes,
|
|
5
|
+
} from "@tamagui/theme-builder";
|
|
3
6
|
import { defaultChildrenThemes, v5Templates } from "@tamagui/themes/v5";
|
|
4
7
|
import {
|
|
5
8
|
aaTextContrastRatio,
|
|
@@ -40,15 +43,43 @@ function withIntentInkFloor(palette: string[], ink: string): string[] {
|
|
|
40
43
|
return stepped;
|
|
41
44
|
}
|
|
42
45
|
|
|
46
|
+
/**
|
|
47
|
+
* LC-151 SURFACE-LADDER. Cards, list items and fields sit on the grey page as
|
|
48
|
+
* the white `$color1` step in light, the inset-grouped ladder. v5's surface1
|
|
49
|
+
* is one step DARKER than the page in light (`$color3` on `$color2`), which
|
|
50
|
+
* left every card a grey slab ten points off a grey page. White cannot
|
|
51
|
+
* lighten on hover, so hover and press step down the ramp. Dark keeps
|
|
52
|
+
* surface1 as shipped: one step lighter than the page, the LC-85 pair.
|
|
53
|
+
*
|
|
54
|
+
* The grouped step replaces light surface1 rather than joining it as a
|
|
55
|
+
* template of its own: every template is one more full theme body per palette
|
|
56
|
+
* in the CSS (+10.7 KB measured), and the CSS budget is a ratchet. Tracks,
|
|
57
|
+
* which surface1 also painted, move to surface2 so they stay a step off a
|
|
58
|
+
* white card, and the slider thumb takes the white step.
|
|
59
|
+
*/
|
|
60
|
+
const lightSurfaceGrouped = {
|
|
61
|
+
...v5Templates.light_surface1,
|
|
62
|
+
background: PALETTE_BACKGROUND_OFFSET,
|
|
63
|
+
backgroundHover: PALETTE_BACKGROUND_OFFSET + 1,
|
|
64
|
+
backgroundPress: PALETTE_BACKGROUND_OFFSET + 2,
|
|
65
|
+
backgroundFocus: PALETTE_BACKGROUND_OFFSET,
|
|
66
|
+
backgroundActive: PALETTE_BACKGROUND_OFFSET,
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
export const houseTemplates = {
|
|
70
|
+
...v5Templates,
|
|
71
|
+
light_surface1: lightSurfaceGrouped,
|
|
72
|
+
};
|
|
73
|
+
|
|
43
74
|
export const houseComponentThemes = {
|
|
44
75
|
Button: { template: "surface2" },
|
|
45
76
|
Input: { template: "surface1" },
|
|
46
77
|
TextArea: { template: "surface1" },
|
|
47
|
-
Progress: { template: "
|
|
78
|
+
Progress: { template: "surface2" },
|
|
48
79
|
ProgressIndicator: { template: "surface3" },
|
|
49
|
-
Slider: { template: "
|
|
80
|
+
Slider: { template: "surface2" },
|
|
50
81
|
SliderActive: { template: "surface3" },
|
|
51
|
-
SliderThumb: { template: "
|
|
82
|
+
SliderThumb: { template: "surface1" },
|
|
52
83
|
Switch: { template: "surface2" },
|
|
53
84
|
Card: { template: "surface1" },
|
|
54
85
|
ListItem: { template: "surface1" },
|
|
@@ -714,7 +745,7 @@ export function createThemesBuilder(
|
|
|
714
745
|
},
|
|
715
746
|
};
|
|
716
747
|
const createThemesProps: Record<string, unknown> = {
|
|
717
|
-
templates:
|
|
748
|
+
templates: houseTemplates,
|
|
718
749
|
componentThemes: options?.componentThemes ?? houseComponentThemes,
|
|
719
750
|
grandChildrenThemes: options?.grandChildrenThemes ?? houseGrandChildrenThemes,
|
|
720
751
|
base,
|
|
@@ -749,7 +780,7 @@ export function createThemesBuilder(
|
|
|
749
780
|
},
|
|
750
781
|
addTheme<K extends string>(name: K, theme: ThemeBuilderDefinition) {
|
|
751
782
|
const addThemeProps: Record<string, unknown> = {
|
|
752
|
-
templates:
|
|
783
|
+
templates: houseTemplates,
|
|
753
784
|
componentThemes: options?.componentThemes ?? houseComponentThemes,
|
|
754
785
|
grandChildrenThemes: options?.grandChildrenThemes ?? houseGrandChildrenThemes,
|
|
755
786
|
base,
|
package/src/theme/recipes.ts
CHANGED
|
@@ -210,12 +210,19 @@ export interface KnobProps {
|
|
|
210
210
|
/** Resolved scheme the fragments were built for (LC-85). */
|
|
211
211
|
scheme: "light" | "dark";
|
|
212
212
|
surface: { backgroundColor: string; borderColor: string; borderWidth: number };
|
|
213
|
-
/**
|
|
213
|
+
/**
|
|
214
|
+
* Content tier (LC-151 SURFACE-LADDER): the grouped white step with a
|
|
215
|
+
* hairline edge and a hair of lift; under a painted ancestor a plain fill one
|
|
216
|
+
* step off the parent. Radius carries the container cap.
|
|
217
|
+
*/
|
|
214
218
|
cardSurface: {
|
|
215
219
|
backgroundColor: string;
|
|
220
|
+
borderColor?: string;
|
|
221
|
+
borderWidth?: number;
|
|
216
222
|
borderRadius: string | number;
|
|
217
223
|
padding: string;
|
|
218
|
-
} &
|
|
224
|
+
} & ElevationChromeProps &
|
|
225
|
+
CornerSmoothingCarrier;
|
|
219
226
|
/** Elevated/overlay tier (popovers, dropdowns): border + elevation. */
|
|
220
227
|
elevatedSurface: {
|
|
221
228
|
backgroundColor: string;
|
|
@@ -22,6 +22,7 @@ import {
|
|
|
22
22
|
capContainerRadius,
|
|
23
23
|
capFieldRadius,
|
|
24
24
|
containerCapProps,
|
|
25
|
+
edgeColorAt,
|
|
25
26
|
labelFontSizeFor,
|
|
26
27
|
nestedControlPx,
|
|
27
28
|
paintedCardFill,
|
|
@@ -664,15 +665,44 @@ describe("resolveKnobs", () => {
|
|
|
664
665
|
// ── surface tiers ─────────────────────────────────────────
|
|
665
666
|
|
|
666
667
|
describe("surface tier recipes", () => {
|
|
667
|
-
it("cardSurface =
|
|
668
|
+
it("cardSurface = grouped fill + hairline edge + a hair of lift (LC-151)", () => {
|
|
668
669
|
const { knobProps } = resolveKnobs(defaultKnobs);
|
|
670
|
+
const { offsetY, radius, android } = sizedElevation(getActiveScaleTokens().size["$0.25"]);
|
|
669
671
|
expect(knobProps.cardSurface).toEqual({
|
|
670
672
|
backgroundColor: "$background",
|
|
673
|
+
borderColor: edgeColorAt("$borderColor", "small"),
|
|
674
|
+
borderWidth: hairlineBorderWidth,
|
|
671
675
|
borderRadius: "$6",
|
|
672
676
|
padding: "$4",
|
|
677
|
+
shadowColor: "$shadowColor",
|
|
678
|
+
shadowOffset: { width: 0, height: offsetY },
|
|
679
|
+
shadowOpacity: 1,
|
|
680
|
+
shadowRadius: radius,
|
|
681
|
+
elevation: android,
|
|
682
|
+
style: { boxShadow: `0px ${offsetY}px ${radius}px var(--shadowColor)` },
|
|
673
683
|
});
|
|
674
|
-
expect(
|
|
675
|
-
|
|
684
|
+
expect(offsetY).toBeLessThanOrEqual(2);
|
|
685
|
+
});
|
|
686
|
+
|
|
687
|
+
it("cardSurface lift is lower than every overlay stop and gone at elevation none", () => {
|
|
688
|
+
const card = resolveKnobs(defaultKnobs).knobProps.cardSurface;
|
|
689
|
+
const overlay = resolveKnobs(defaultKnobs).knobProps.elevatedSurface;
|
|
690
|
+
expect(card.shadowRadius!).toBeLessThan(overlay.shadowRadius!);
|
|
691
|
+
const flat = resolveKnobs(knobsWith({ elevation: "none" })).knobProps.cardSurface;
|
|
692
|
+
expect(flat).not.toHaveProperty("shadowColor");
|
|
693
|
+
expect(flat).not.toHaveProperty("elevation");
|
|
694
|
+
expect(flat.borderWidth).toBe(hairlineBorderWidth);
|
|
695
|
+
});
|
|
696
|
+
|
|
697
|
+
it("cardSurface edge follows borderWidth none (Axiom 3) and stays a hairline otherwise", () => {
|
|
698
|
+
expect(
|
|
699
|
+
resolveKnobs(knobsWith({ borderWidth: "none" })).knobProps.cardSurface.borderWidth,
|
|
700
|
+
).toBe(0);
|
|
701
|
+
for (const borderWidth of ["small", "medium", "large"] as const) {
|
|
702
|
+
expect(resolveKnobs(knobsWith({ borderWidth })).knobProps.cardSurface.borderWidth).toBe(
|
|
703
|
+
hairlineBorderWidth,
|
|
704
|
+
);
|
|
705
|
+
}
|
|
676
706
|
});
|
|
677
707
|
|
|
678
708
|
it("cardSurface tracks the borderRadius knob (cap bites at full: 44px > the 16px panelPadding)", () => {
|
|
@@ -1449,6 +1479,10 @@ describe("painted ancestor (WP-c2: nested surfaces stop re-elevating)", () => {
|
|
|
1449
1479
|
expect(knobProps.elevatedSurface.borderColor).toBe("$borderColor");
|
|
1450
1480
|
expect(knobProps.cardSurface.backgroundColor).toBe(paintedCardFill);
|
|
1451
1481
|
expect(paintedCardFill).toBe("$color2");
|
|
1482
|
+
// A card on a card never stacks a second shadow or a second edge (LC-151).
|
|
1483
|
+
expect(knobProps.cardSurface).not.toHaveProperty("shadowColor");
|
|
1484
|
+
expect(knobProps.cardSurface).not.toHaveProperty("elevation");
|
|
1485
|
+
expect(knobProps.cardSurface).not.toHaveProperty("borderWidth");
|
|
1452
1486
|
});
|
|
1453
1487
|
|
|
1454
1488
|
it("border only survives borderWidth none: the hairline floor still draws the box", () => {
|
|
@@ -347,6 +347,16 @@ export const elevationMap: Record<Elevation, SizeKey | undefined> = {
|
|
|
347
347
|
large: "$4",
|
|
348
348
|
};
|
|
349
349
|
|
|
350
|
+
// LC-151 SURFACE-LADDER: a content card lifts off the grey page by a hair,
|
|
351
|
+
// the inset-grouped card shadow, on the same size formula as every other
|
|
352
|
+
// shadow (LC-85). Below the control ladder's first raised stop.
|
|
353
|
+
export const cardElevationMap: Record<Elevation, SizeKey | undefined> = {
|
|
354
|
+
none: undefined,
|
|
355
|
+
small: "$0.25",
|
|
356
|
+
medium: "$0.5",
|
|
357
|
+
large: "$0.75",
|
|
358
|
+
};
|
|
359
|
+
|
|
350
360
|
export const overlayElevationMap: Record<Elevation, SizeKey | undefined> = {
|
|
351
361
|
none: undefined,
|
|
352
362
|
small: "$4",
|
|
@@ -659,12 +669,26 @@ export function resolveKnobs(
|
|
|
659
669
|
borderColor: edge("$borderColor", borderWidthValue),
|
|
660
670
|
borderWidth: borderWidthValue,
|
|
661
671
|
},
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
672
|
+
// LC-151: a top-level card is the grouped white step ($background inside
|
|
673
|
+
// the Card template) with a hairline edge and a hair of lift. Under a
|
|
674
|
+
// painted ancestor it is one fill step off its parent, edge and lift off,
|
|
675
|
+
// so a card on a card never stacks a second shadow (WP-c2).
|
|
676
|
+
cardSurface: painted
|
|
677
|
+
? {
|
|
678
|
+
backgroundColor: paintedCardFill,
|
|
679
|
+
borderRadius: containerRadiusValue,
|
|
680
|
+
padding: paddingToken,
|
|
681
|
+
...containerSmoothing,
|
|
682
|
+
}
|
|
683
|
+
: {
|
|
684
|
+
backgroundColor: "$background",
|
|
685
|
+
borderColor: edgeColorAt("$borderColor", "small"),
|
|
686
|
+
borderWidth: knobs.borderWidth === "none" ? 0 : borderWidthMap.small,
|
|
687
|
+
borderRadius: containerRadiusValue,
|
|
688
|
+
padding: paddingToken,
|
|
689
|
+
...elevationChromeFor(cardElevationMap[knobs.elevation]),
|
|
690
|
+
...containerSmoothing,
|
|
691
|
+
},
|
|
668
692
|
elevatedSurface: painted
|
|
669
693
|
? {
|
|
670
694
|
backgroundColor: "$background",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chartPalette.d.ts","sourceRoot":"","sources":["../../src/theme/chartPalette.ts"],"names":[],"mappings":"AAMA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,WAAW,YAAY;IAC3B,uCAAuC;IACvC,MAAM,EAAE,OAAO,GAAG,MAAM,CAAC;IACzB,wEAAwE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,EAAE,MAAM,CAAA;KAAE,CAAC;CAC/D;AAED,MAAM,WAAW,wBAAwB;IACvC,MAAM,EAAE,OAAO,GAAG,MAAM,CAAC;IACzB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,kFAAkF;IAClF,kBAAkB,CAAC,EAAE,SAAS,CAAC,MAAM,GAAG,SAAS,CAAC,EAAE,CAAC;IACrD;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC,MAAM,GAAG,SAAS,CAAC,EAAE,CAAC;CAC5C;AA6ID;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,wBAAwB,GAAG,YAAY,CAyBjF;AAED;;;;;;GAMG;AACH,wBAAgB,wBAAwB,CACtC,QAAQ,EAAE,MAAM,GAAG,SAAS,EAC5B,MAAM,EAAE,SAAS,CAAC,MAAM,GAAG,SAAS,CAAC,EAAE,GACtC,MAAM,EAAE,CAaV;AAED;;;;;;;;GAQG;AACH,wBAAgB,eAAe,IAAI,YAAY,CAgC9C"}
|
|
@@ -1,4 +1,416 @@
|
|
|
1
1
|
import { createThemes as tamaguiCreateThemes } from "@tamagui/theme-builder";
|
|
2
|
+
export declare const houseTemplates: {
|
|
3
|
+
light_surface1: {
|
|
4
|
+
background: number;
|
|
5
|
+
backgroundHover: number;
|
|
6
|
+
backgroundPress: number;
|
|
7
|
+
backgroundFocus: number;
|
|
8
|
+
backgroundActive: number;
|
|
9
|
+
placeholderColor: number;
|
|
10
|
+
colorTransparent: number;
|
|
11
|
+
color: number;
|
|
12
|
+
colorHover: number;
|
|
13
|
+
colorPress: number;
|
|
14
|
+
colorFocus: number;
|
|
15
|
+
borderColor: number;
|
|
16
|
+
borderColorHover: number;
|
|
17
|
+
borderColorFocus: number;
|
|
18
|
+
borderColorPress: number;
|
|
19
|
+
accentBackground: number;
|
|
20
|
+
accentColor: number;
|
|
21
|
+
background0: number;
|
|
22
|
+
background02: number;
|
|
23
|
+
background04: number;
|
|
24
|
+
background06: number;
|
|
25
|
+
background08: number;
|
|
26
|
+
color1: number;
|
|
27
|
+
color2: number;
|
|
28
|
+
color3: number;
|
|
29
|
+
color4: number;
|
|
30
|
+
color5: number;
|
|
31
|
+
color6: number;
|
|
32
|
+
color7: number;
|
|
33
|
+
color8: number;
|
|
34
|
+
color9: number;
|
|
35
|
+
color10: number;
|
|
36
|
+
color11: number;
|
|
37
|
+
color12: number;
|
|
38
|
+
color0: number;
|
|
39
|
+
color02: number;
|
|
40
|
+
color04: number;
|
|
41
|
+
color06: number;
|
|
42
|
+
color08: number;
|
|
43
|
+
};
|
|
44
|
+
light_base: {
|
|
45
|
+
placeholderColor: number;
|
|
46
|
+
colorTransparent: number;
|
|
47
|
+
color: number;
|
|
48
|
+
colorHover: number;
|
|
49
|
+
colorPress: number;
|
|
50
|
+
colorFocus: number;
|
|
51
|
+
background: number;
|
|
52
|
+
backgroundHover: number;
|
|
53
|
+
backgroundPress: number;
|
|
54
|
+
backgroundFocus: number;
|
|
55
|
+
backgroundActive: number;
|
|
56
|
+
borderColor: number;
|
|
57
|
+
borderColorHover: number;
|
|
58
|
+
borderColorFocus: number;
|
|
59
|
+
borderColorPress: number;
|
|
60
|
+
accentBackground: number;
|
|
61
|
+
accentColor: number;
|
|
62
|
+
background0: number;
|
|
63
|
+
background02: number;
|
|
64
|
+
background04: number;
|
|
65
|
+
background06: number;
|
|
66
|
+
background08: number;
|
|
67
|
+
color1: number;
|
|
68
|
+
color2: number;
|
|
69
|
+
color3: number;
|
|
70
|
+
color4: number;
|
|
71
|
+
color5: number;
|
|
72
|
+
color6: number;
|
|
73
|
+
color7: number;
|
|
74
|
+
color8: number;
|
|
75
|
+
color9: number;
|
|
76
|
+
color10: number;
|
|
77
|
+
color11: number;
|
|
78
|
+
color12: number;
|
|
79
|
+
color0: number;
|
|
80
|
+
color02: number;
|
|
81
|
+
color04: number;
|
|
82
|
+
color06: number;
|
|
83
|
+
color08: number;
|
|
84
|
+
};
|
|
85
|
+
light_surface2: {
|
|
86
|
+
placeholderColor: number;
|
|
87
|
+
colorTransparent: number;
|
|
88
|
+
color: number;
|
|
89
|
+
colorHover: number;
|
|
90
|
+
colorPress: number;
|
|
91
|
+
colorFocus: number;
|
|
92
|
+
background: number;
|
|
93
|
+
backgroundHover: number;
|
|
94
|
+
backgroundPress: number;
|
|
95
|
+
backgroundFocus: number;
|
|
96
|
+
backgroundActive: number;
|
|
97
|
+
borderColor: number;
|
|
98
|
+
borderColorHover: number;
|
|
99
|
+
borderColorFocus: number;
|
|
100
|
+
borderColorPress: number;
|
|
101
|
+
accentBackground: number;
|
|
102
|
+
accentColor: number;
|
|
103
|
+
background0: number;
|
|
104
|
+
background02: number;
|
|
105
|
+
background04: number;
|
|
106
|
+
background06: number;
|
|
107
|
+
background08: number;
|
|
108
|
+
color1: number;
|
|
109
|
+
color2: number;
|
|
110
|
+
color3: number;
|
|
111
|
+
color4: number;
|
|
112
|
+
color5: number;
|
|
113
|
+
color6: number;
|
|
114
|
+
color7: number;
|
|
115
|
+
color8: number;
|
|
116
|
+
color9: number;
|
|
117
|
+
color10: number;
|
|
118
|
+
color11: number;
|
|
119
|
+
color12: number;
|
|
120
|
+
color0: number;
|
|
121
|
+
color02: number;
|
|
122
|
+
color04: number;
|
|
123
|
+
color06: number;
|
|
124
|
+
color08: number;
|
|
125
|
+
};
|
|
126
|
+
light_surface3: {
|
|
127
|
+
placeholderColor: number;
|
|
128
|
+
colorTransparent: number;
|
|
129
|
+
color: number;
|
|
130
|
+
colorHover: number;
|
|
131
|
+
colorPress: number;
|
|
132
|
+
colorFocus: number;
|
|
133
|
+
background: number;
|
|
134
|
+
backgroundHover: number;
|
|
135
|
+
backgroundPress: number;
|
|
136
|
+
backgroundFocus: number;
|
|
137
|
+
backgroundActive: number;
|
|
138
|
+
borderColor: number;
|
|
139
|
+
borderColorHover: number;
|
|
140
|
+
borderColorFocus: number;
|
|
141
|
+
borderColorPress: number;
|
|
142
|
+
accentBackground: number;
|
|
143
|
+
accentColor: number;
|
|
144
|
+
background0: number;
|
|
145
|
+
background02: number;
|
|
146
|
+
background04: number;
|
|
147
|
+
background06: number;
|
|
148
|
+
background08: number;
|
|
149
|
+
color1: number;
|
|
150
|
+
color2: number;
|
|
151
|
+
color3: number;
|
|
152
|
+
color4: number;
|
|
153
|
+
color5: number;
|
|
154
|
+
color6: number;
|
|
155
|
+
color7: number;
|
|
156
|
+
color8: number;
|
|
157
|
+
color9: number;
|
|
158
|
+
color10: number;
|
|
159
|
+
color11: number;
|
|
160
|
+
color12: number;
|
|
161
|
+
color0: number;
|
|
162
|
+
color02: number;
|
|
163
|
+
color04: number;
|
|
164
|
+
color06: number;
|
|
165
|
+
color08: number;
|
|
166
|
+
};
|
|
167
|
+
light_accent: {
|
|
168
|
+
placeholderColor: number;
|
|
169
|
+
colorTransparent: number;
|
|
170
|
+
color: number;
|
|
171
|
+
colorHover: number;
|
|
172
|
+
colorPress: number;
|
|
173
|
+
colorFocus: number;
|
|
174
|
+
background: number;
|
|
175
|
+
backgroundHover: number;
|
|
176
|
+
backgroundPress: number;
|
|
177
|
+
backgroundFocus: number;
|
|
178
|
+
backgroundActive: number;
|
|
179
|
+
borderColor: number;
|
|
180
|
+
borderColorHover: number;
|
|
181
|
+
borderColorFocus: number;
|
|
182
|
+
borderColorPress: number;
|
|
183
|
+
accentBackground: number;
|
|
184
|
+
accentColor: number;
|
|
185
|
+
background0: number;
|
|
186
|
+
background02: number;
|
|
187
|
+
background04: number;
|
|
188
|
+
background06: number;
|
|
189
|
+
background08: number;
|
|
190
|
+
color1: number;
|
|
191
|
+
color2: number;
|
|
192
|
+
color3: number;
|
|
193
|
+
color4: number;
|
|
194
|
+
color5: number;
|
|
195
|
+
color6: number;
|
|
196
|
+
color7: number;
|
|
197
|
+
color8: number;
|
|
198
|
+
color9: number;
|
|
199
|
+
color10: number;
|
|
200
|
+
color11: number;
|
|
201
|
+
color12: number;
|
|
202
|
+
color0: number;
|
|
203
|
+
color02: number;
|
|
204
|
+
color04: number;
|
|
205
|
+
color06: number;
|
|
206
|
+
color08: number;
|
|
207
|
+
};
|
|
208
|
+
dark_base: {
|
|
209
|
+
placeholderColor: number;
|
|
210
|
+
colorTransparent: number;
|
|
211
|
+
color: number;
|
|
212
|
+
colorHover: number;
|
|
213
|
+
colorPress: number;
|
|
214
|
+
colorFocus: number;
|
|
215
|
+
background: number;
|
|
216
|
+
backgroundHover: number;
|
|
217
|
+
backgroundPress: number;
|
|
218
|
+
backgroundFocus: number;
|
|
219
|
+
backgroundActive: number;
|
|
220
|
+
borderColor: number;
|
|
221
|
+
borderColorHover: number;
|
|
222
|
+
borderColorFocus: number;
|
|
223
|
+
borderColorPress: number;
|
|
224
|
+
accentBackground: number;
|
|
225
|
+
accentColor: number;
|
|
226
|
+
background0: number;
|
|
227
|
+
background02: number;
|
|
228
|
+
background04: number;
|
|
229
|
+
background06: number;
|
|
230
|
+
background08: number;
|
|
231
|
+
color1: number;
|
|
232
|
+
color2: number;
|
|
233
|
+
color3: number;
|
|
234
|
+
color4: number;
|
|
235
|
+
color5: number;
|
|
236
|
+
color6: number;
|
|
237
|
+
color7: number;
|
|
238
|
+
color8: number;
|
|
239
|
+
color9: number;
|
|
240
|
+
color10: number;
|
|
241
|
+
color11: number;
|
|
242
|
+
color12: number;
|
|
243
|
+
color0: number;
|
|
244
|
+
color02: number;
|
|
245
|
+
color04: number;
|
|
246
|
+
color06: number;
|
|
247
|
+
color08: number;
|
|
248
|
+
};
|
|
249
|
+
dark_surface1: {
|
|
250
|
+
placeholderColor: number;
|
|
251
|
+
colorTransparent: number;
|
|
252
|
+
color: number;
|
|
253
|
+
colorHover: number;
|
|
254
|
+
colorPress: number;
|
|
255
|
+
colorFocus: number;
|
|
256
|
+
background: number;
|
|
257
|
+
backgroundHover: number;
|
|
258
|
+
backgroundPress: number;
|
|
259
|
+
backgroundFocus: number;
|
|
260
|
+
backgroundActive: number;
|
|
261
|
+
borderColor: number;
|
|
262
|
+
borderColorHover: number;
|
|
263
|
+
borderColorFocus: number;
|
|
264
|
+
borderColorPress: number;
|
|
265
|
+
accentBackground: number;
|
|
266
|
+
accentColor: number;
|
|
267
|
+
background0: number;
|
|
268
|
+
background02: number;
|
|
269
|
+
background04: number;
|
|
270
|
+
background06: number;
|
|
271
|
+
background08: number;
|
|
272
|
+
color1: number;
|
|
273
|
+
color2: number;
|
|
274
|
+
color3: number;
|
|
275
|
+
color4: number;
|
|
276
|
+
color5: number;
|
|
277
|
+
color6: number;
|
|
278
|
+
color7: number;
|
|
279
|
+
color8: number;
|
|
280
|
+
color9: number;
|
|
281
|
+
color10: number;
|
|
282
|
+
color11: number;
|
|
283
|
+
color12: number;
|
|
284
|
+
color0: number;
|
|
285
|
+
color02: number;
|
|
286
|
+
color04: number;
|
|
287
|
+
color06: number;
|
|
288
|
+
color08: number;
|
|
289
|
+
};
|
|
290
|
+
dark_surface2: {
|
|
291
|
+
placeholderColor: number;
|
|
292
|
+
colorTransparent: number;
|
|
293
|
+
color: number;
|
|
294
|
+
colorHover: number;
|
|
295
|
+
colorPress: number;
|
|
296
|
+
colorFocus: number;
|
|
297
|
+
background: number;
|
|
298
|
+
backgroundHover: number;
|
|
299
|
+
backgroundPress: number;
|
|
300
|
+
backgroundFocus: number;
|
|
301
|
+
backgroundActive: number;
|
|
302
|
+
borderColor: number;
|
|
303
|
+
borderColorHover: number;
|
|
304
|
+
borderColorFocus: number;
|
|
305
|
+
borderColorPress: number;
|
|
306
|
+
accentBackground: number;
|
|
307
|
+
accentColor: number;
|
|
308
|
+
background0: number;
|
|
309
|
+
background02: number;
|
|
310
|
+
background04: number;
|
|
311
|
+
background06: number;
|
|
312
|
+
background08: number;
|
|
313
|
+
color1: number;
|
|
314
|
+
color2: number;
|
|
315
|
+
color3: number;
|
|
316
|
+
color4: number;
|
|
317
|
+
color5: number;
|
|
318
|
+
color6: number;
|
|
319
|
+
color7: number;
|
|
320
|
+
color8: number;
|
|
321
|
+
color9: number;
|
|
322
|
+
color10: number;
|
|
323
|
+
color11: number;
|
|
324
|
+
color12: number;
|
|
325
|
+
color0: number;
|
|
326
|
+
color02: number;
|
|
327
|
+
color04: number;
|
|
328
|
+
color06: number;
|
|
329
|
+
color08: number;
|
|
330
|
+
};
|
|
331
|
+
dark_surface3: {
|
|
332
|
+
placeholderColor: number;
|
|
333
|
+
colorTransparent: number;
|
|
334
|
+
color: number;
|
|
335
|
+
colorHover: number;
|
|
336
|
+
colorPress: number;
|
|
337
|
+
colorFocus: number;
|
|
338
|
+
background: number;
|
|
339
|
+
backgroundHover: number;
|
|
340
|
+
backgroundPress: number;
|
|
341
|
+
backgroundFocus: number;
|
|
342
|
+
backgroundActive: number;
|
|
343
|
+
borderColor: number;
|
|
344
|
+
borderColorHover: number;
|
|
345
|
+
borderColorFocus: number;
|
|
346
|
+
borderColorPress: number;
|
|
347
|
+
accentBackground: number;
|
|
348
|
+
accentColor: number;
|
|
349
|
+
background0: number;
|
|
350
|
+
background02: number;
|
|
351
|
+
background04: number;
|
|
352
|
+
background06: number;
|
|
353
|
+
background08: number;
|
|
354
|
+
color1: number;
|
|
355
|
+
color2: number;
|
|
356
|
+
color3: number;
|
|
357
|
+
color4: number;
|
|
358
|
+
color5: number;
|
|
359
|
+
color6: number;
|
|
360
|
+
color7: number;
|
|
361
|
+
color8: number;
|
|
362
|
+
color9: number;
|
|
363
|
+
color10: number;
|
|
364
|
+
color11: number;
|
|
365
|
+
color12: number;
|
|
366
|
+
color0: number;
|
|
367
|
+
color02: number;
|
|
368
|
+
color04: number;
|
|
369
|
+
color06: number;
|
|
370
|
+
color08: number;
|
|
371
|
+
};
|
|
372
|
+
dark_accent: {
|
|
373
|
+
placeholderColor: number;
|
|
374
|
+
colorTransparent: number;
|
|
375
|
+
color: number;
|
|
376
|
+
colorHover: number;
|
|
377
|
+
colorPress: number;
|
|
378
|
+
colorFocus: number;
|
|
379
|
+
background: number;
|
|
380
|
+
backgroundHover: number;
|
|
381
|
+
backgroundPress: number;
|
|
382
|
+
backgroundFocus: number;
|
|
383
|
+
backgroundActive: number;
|
|
384
|
+
borderColor: number;
|
|
385
|
+
borderColorHover: number;
|
|
386
|
+
borderColorFocus: number;
|
|
387
|
+
borderColorPress: number;
|
|
388
|
+
accentBackground: number;
|
|
389
|
+
accentColor: number;
|
|
390
|
+
background0: number;
|
|
391
|
+
background02: number;
|
|
392
|
+
background04: number;
|
|
393
|
+
background06: number;
|
|
394
|
+
background08: number;
|
|
395
|
+
color1: number;
|
|
396
|
+
color2: number;
|
|
397
|
+
color3: number;
|
|
398
|
+
color4: number;
|
|
399
|
+
color5: number;
|
|
400
|
+
color6: number;
|
|
401
|
+
color7: number;
|
|
402
|
+
color8: number;
|
|
403
|
+
color9: number;
|
|
404
|
+
color10: number;
|
|
405
|
+
color11: number;
|
|
406
|
+
color12: number;
|
|
407
|
+
color0: number;
|
|
408
|
+
color02: number;
|
|
409
|
+
color04: number;
|
|
410
|
+
color06: number;
|
|
411
|
+
color08: number;
|
|
412
|
+
};
|
|
413
|
+
};
|
|
2
414
|
export declare const houseComponentThemes: {
|
|
3
415
|
readonly Button: {
|
|
4
416
|
readonly template: "surface2";
|
|
@@ -10,19 +422,19 @@ export declare const houseComponentThemes: {
|
|
|
10
422
|
readonly template: "surface1";
|
|
11
423
|
};
|
|
12
424
|
readonly Progress: {
|
|
13
|
-
readonly template: "
|
|
425
|
+
readonly template: "surface2";
|
|
14
426
|
};
|
|
15
427
|
readonly ProgressIndicator: {
|
|
16
428
|
readonly template: "surface3";
|
|
17
429
|
};
|
|
18
430
|
readonly Slider: {
|
|
19
|
-
readonly template: "
|
|
431
|
+
readonly template: "surface2";
|
|
20
432
|
};
|
|
21
433
|
readonly SliderActive: {
|
|
22
434
|
readonly template: "surface3";
|
|
23
435
|
};
|
|
24
436
|
readonly SliderThumb: {
|
|
25
|
-
readonly template: "
|
|
437
|
+
readonly template: "surface1";
|
|
26
438
|
};
|
|
27
439
|
readonly Switch: {
|
|
28
440
|
readonly template: "surface2";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createThemes.d.ts","sourceRoot":"","sources":["../../src/theme/createThemes.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"createThemes.d.ts","sourceRoot":"","sources":["../../src/theme/createThemes.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,YAAY,IAAI,mBAAmB,EACpC,MAAM,wBAAwB,CAAC;AAgEhC,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAG1B,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAevB,CAAC;AAEX,eAAO,MAAM,wBAAwB;;;;;;;;;;CAI3B,CAAC;AAEX,MAAM,WAAW,OAAO;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,sBAAsB,CACrC,WAAW,SAAS,MAAM,EAAE,GAAG,MAAM,EAAE,EACvC,YAAY,SAAS,MAAM,EAAE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AA0B;;aAiFzB,CAAC,SAAS,MAAM,QAAQ,CAAC,SAAS,sBAAsB,GAuB1D,MAAM,CAAC,QAAQ,CAAC,EAAE,GAAG,SAAS,CAAC,EAAE;;+BAAkC;EAG7E"}
|
package/types/theme/recipes.d.ts
CHANGED
|
@@ -207,12 +207,18 @@ export interface KnobProps {
|
|
|
207
207
|
borderColor: string;
|
|
208
208
|
borderWidth: number;
|
|
209
209
|
};
|
|
210
|
-
/**
|
|
210
|
+
/**
|
|
211
|
+
* Content tier (LC-151 SURFACE-LADDER): the grouped white step with a
|
|
212
|
+
* hairline edge and a hair of lift; under a painted ancestor a plain fill one
|
|
213
|
+
* step off the parent. Radius carries the container cap.
|
|
214
|
+
*/
|
|
211
215
|
cardSurface: {
|
|
212
216
|
backgroundColor: string;
|
|
217
|
+
borderColor?: string;
|
|
218
|
+
borderWidth?: number;
|
|
213
219
|
borderRadius: string | number;
|
|
214
220
|
padding: string;
|
|
215
|
-
} & CornerSmoothingCarrier;
|
|
221
|
+
} & ElevationChromeProps & CornerSmoothingCarrier;
|
|
216
222
|
/** Elevated/overlay tier (popovers, dropdowns): border + elevation. */
|
|
217
223
|
elevatedSurface: {
|
|
218
224
|
backgroundColor: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recipes.d.ts","sourceRoot":"","sources":["../../src/theme/recipes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC3D,OAAO,KAAK,EACV,WAAW,EACX,uBAAuB,EACvB,oBAAoB,EACpB,cAAc,EACd,cAAc,EACf,MAAM,SAAS,CAAC;AACjB,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEpD;;;;GAIG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAAE,cAAc,CAAC;IACrB,SAAS,CA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IACtB,aAAa,EAAE,MAAM,CAAC;CACvB;AAID;;;;;;GAMG;AACH,MAAM,WAAW,cAAc;IAC7B,6DAA6D;IAC7D,gBAAgB,EAAE;QAAE,eAAe,EAAE,MAAM,CAAA;KAAE,CAAC;IAC9C,mCAAmC;IACnC,aAAa,EAAE;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;CAClC;AAED,sDAAsD;AACtD,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,cAAc,CAAC;CAC1B;AAID,MAAM,WAAW,aAAa;IAC5B,SAAS,EAAE,SAAS,CAAC;IACrB,OAAO,EAAE,UAAU,CAAC,iBAAiB,CAAC,CAAC;IACvC,IAAI,EAAE,UAAU,CAAC,cAAc,CAAC,CAAC;IACjC,SAAS,EAAE,UAAU,CAAC,mBAAmB,CAAC,CAAC;IAC3C,mFAAmF;IACnF,aAAa,EAAE,cAAc,CAAC;IAC9B,uDAAuD;IACvD,KAAK,EAAE,YAAY,CAAC;CACrB;AAED,MAAM,MAAM,iBAAiB,GAAG,CAAC,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,KAAK,OAAO,CAAC,SAAS,CAAC,CAAC"}
|
|
@@ -93,6 +93,7 @@ export declare function sizeKeyBelow(sizeToken: string): `$${number}`;
|
|
|
93
93
|
export declare function labelFontSizeFor(sizeToken: string): FontSizeTokens;
|
|
94
94
|
export declare function getHeadingFontFamily(category: Knobs["headingFont"]): string;
|
|
95
95
|
export declare const elevationMap: Record<Elevation, SizeKey | undefined>;
|
|
96
|
+
export declare const cardElevationMap: Record<Elevation, SizeKey | undefined>;
|
|
96
97
|
export declare const overlayElevationMap: Record<Elevation, SizeKey | undefined>;
|
|
97
98
|
export type ColorScheme = "light" | "dark";
|
|
98
99
|
export declare function sizedElevation(px: number): {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolveKnobs.d.ts","sourceRoot":"","sources":["../../src/theme/resolveKnobs.ts"],"names":[],"mappings":"AAGA,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