@ezpg/app-ui 0.11.0 → 0.12.0
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/CHANGELOG.md +10 -0
- package/lib/module/blocks/bulk-ship-list/bulk-ship-list.js +1 -1
- package/lib/module/blocks/bulk-ship-list/bulk-ship-list.js.map +1 -1
- package/lib/module/blocks/color-swatch-picker/color-swatch-picker.js +1 -1
- package/lib/module/blocks/color-swatch-picker/color-swatch-picker.js.map +1 -1
- package/lib/module/blocks/copy-variant-picker/copy-variant-picker.js +1 -1
- package/lib/module/blocks/copy-variant-picker/copy-variant-picker.js.map +1 -1
- package/lib/module/blocks/internal/card.js +1 -1
- package/lib/module/blocks/internal/card.js.map +1 -1
- package/lib/module/blocks/option-editor/option-editor.js +1 -1
- package/lib/module/blocks/option-editor/option-editor.js.map +1 -1
- package/lib/module/blocks/product-list-empty/product-list-empty.js +1 -1
- package/lib/module/blocks/product-list-empty/product-list-empty.js.map +1 -1
- package/lib/module/blocks/product-row/product-row.js +1 -1
- package/lib/module/blocks/product-row/product-row.js.map +1 -1
- package/lib/module/blocks/selection-bar/selection-bar.js +1 -1
- package/lib/module/blocks/selection-bar/selection-bar.js.map +1 -1
- package/lib/module/blocks/site-preview-frame/site-preview-frame.js +1 -1
- package/lib/module/blocks/site-preview-frame/site-preview-frame.js.map +1 -1
- package/lib/module/blocks/site-summary/site-summary.js +1 -1
- package/lib/module/blocks/site-summary/site-summary.js.map +1 -1
- package/lib/module/blocks/stage-bar/stage-bar.js +3 -4
- package/lib/module/blocks/stage-bar/stage-bar.js.map +1 -1
- package/lib/module/blocks/task-tiles/task-tiles.js +3 -2
- package/lib/module/blocks/task-tiles/task-tiles.js.map +1 -1
- package/lib/module/components/avatar/avatar.js +1 -1
- package/lib/module/components/avatar/avatar.js.map +1 -1
- package/lib/module/components/button/button.js +1 -1
- package/lib/module/components/button/button.js.map +1 -1
- package/lib/module/components/checkbox/checkbox.js +1 -1
- package/lib/module/components/checkbox/checkbox.js.map +1 -1
- package/lib/module/components/dialog/dialog.js +1 -1
- package/lib/module/components/dialog/dialog.js.map +1 -1
- package/lib/module/components/field/field.js +1 -1
- package/lib/module/components/field/field.js.map +1 -1
- package/lib/module/components/list-row/list-row.js +6 -3
- package/lib/module/components/list-row/list-row.js.map +1 -1
- package/lib/module/components/segmented-tabs/segmented-tabs.js +1 -1
- package/lib/module/components/segmented-tabs/segmented-tabs.js.map +1 -1
- package/lib/module/components/sheet/sheet.js +1 -1
- package/lib/module/components/sheet/sheet.js.map +1 -1
- package/lib/module/components/text/text.js +3 -0
- package/lib/module/components/text/text.js.map +1 -1
- package/lib/module/templates/editor-template.js +2 -2
- package/lib/module/templates/editor-template.js.map +1 -1
- package/lib/module/templates/parts.js +2 -2
- package/lib/module/templates/parts.js.map +1 -1
- package/lib/module/templates/scroll-templates.js +1 -0
- package/lib/module/templates/scroll-templates.js.map +1 -1
- package/lib/module/theme/base.js +19 -15
- package/lib/module/theme/base.js.map +1 -1
- package/lib/typescript/src/blocks/task-tiles/task-tiles.d.ts.map +1 -1
- package/lib/typescript/src/components/list-row/list-row.d.ts.map +1 -1
- package/lib/typescript/src/components/text/text.d.ts +1 -1
- package/lib/typescript/src/components/text/text.d.ts.map +1 -1
- package/lib/typescript/src/templates/scroll-templates.d.ts.map +1 -1
- package/lib/typescript/src/theme/base.d.ts +19 -15
- package/lib/typescript/src/theme/base.d.ts.map +1 -1
- package/lib/typescript/src/types/index.d.ts +2 -0
- package/lib/typescript/src/types/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/blocks/bulk-ship-list/bulk-ship-list.tsx +1 -1
- package/src/blocks/color-swatch-picker/color-swatch-picker.tsx +1 -1
- package/src/blocks/copy-variant-picker/copy-variant-picker.tsx +1 -1
- package/src/blocks/internal/card.tsx +1 -1
- package/src/blocks/option-editor/option-editor.tsx +1 -1
- package/src/blocks/product-list-empty/product-list-empty.tsx +1 -1
- package/src/blocks/product-row/product-row.tsx +1 -1
- package/src/blocks/selection-bar/selection-bar.tsx +1 -1
- package/src/blocks/site-preview-frame/site-preview-frame.tsx +1 -1
- package/src/blocks/site-summary/site-summary.tsx +1 -1
- package/src/blocks/stage-bar/stage-bar.tsx +3 -3
- package/src/blocks/task-tiles/task-tiles.tsx +7 -3
- package/src/components/avatar/avatar.tsx +1 -1
- package/src/components/button/button.tsx +1 -1
- package/src/components/checkbox/checkbox.tsx +1 -1
- package/src/components/dialog/dialog.tsx +1 -1
- package/src/components/field/field.tsx +1 -1
- package/src/components/list-row/list-row.tsx +4 -3
- package/src/components/segmented-tabs/segmented-tabs.tsx +1 -1
- package/src/components/sheet/sheet.tsx +1 -1
- package/src/components/text/text.tsx +2 -1
- package/src/templates/editor-template.tsx +2 -2
- package/src/templates/parts.tsx +2 -2
- package/src/templates/scroll-templates.tsx +5 -1
- package/src/theme/base.ts +19 -15
- package/src/types/index.ts +2 -0
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
export declare const semantic: {
|
|
2
2
|
readonly light: {
|
|
3
|
-
readonly background: "#
|
|
4
|
-
readonly
|
|
5
|
-
readonly
|
|
6
|
-
readonly
|
|
7
|
-
readonly
|
|
8
|
-
readonly
|
|
3
|
+
readonly background: "#f5f5f4";
|
|
4
|
+
readonly surface: "#ffffff";
|
|
5
|
+
readonly foreground: "#2a2622";
|
|
6
|
+
readonly muted: "#ebebea";
|
|
7
|
+
readonly mutedForeground: "#605f5e";
|
|
8
|
+
readonly border: "#dededc";
|
|
9
|
+
readonly input: "#c2c2c1";
|
|
9
10
|
readonly ring: "#a3a3a3";
|
|
10
|
-
readonly primary: "#
|
|
11
|
+
readonly primary: "#c2410c";
|
|
11
12
|
readonly primaryForeground: "#ffffff";
|
|
12
|
-
readonly primaryTint: "#
|
|
13
|
-
readonly primaryContainer: "#
|
|
14
|
-
readonly primaryEdge: "#
|
|
13
|
+
readonly primaryTint: "#efe3dd";
|
|
14
|
+
readonly primaryContainer: "#e6cabd";
|
|
15
|
+
readonly primaryEdge: "#b8430e";
|
|
16
|
+
readonly point: "#b8430e";
|
|
15
17
|
readonly danger: "#b91c1c";
|
|
16
18
|
readonly dangerForeground: "#ffffff";
|
|
17
19
|
readonly success: "#15803d";
|
|
@@ -24,17 +26,19 @@ export declare const semantic: {
|
|
|
24
26
|
};
|
|
25
27
|
readonly dark: {
|
|
26
28
|
readonly background: "#0a0a0a";
|
|
29
|
+
readonly surface: "#171717";
|
|
27
30
|
readonly foreground: "#fafafa";
|
|
28
31
|
readonly muted: "#262626";
|
|
29
32
|
readonly mutedForeground: "#a3a3a3";
|
|
30
33
|
readonly border: "#262626";
|
|
31
34
|
readonly input: "#404040";
|
|
32
35
|
readonly ring: "#737373";
|
|
33
|
-
readonly primary: "#
|
|
34
|
-
readonly primaryForeground: "#
|
|
35
|
-
readonly primaryTint: "#
|
|
36
|
-
readonly primaryContainer: "#
|
|
37
|
-
readonly primaryEdge: "#
|
|
36
|
+
readonly primary: "#fdba8c";
|
|
37
|
+
readonly primaryForeground: "#431407";
|
|
38
|
+
readonly primaryTint: "#431407";
|
|
39
|
+
readonly primaryContainer: "#7c2d12";
|
|
40
|
+
readonly primaryEdge: "#d9764a";
|
|
41
|
+
readonly point: "#fdba8c";
|
|
38
42
|
readonly danger: "#f87171";
|
|
39
43
|
readonly dangerForeground: "#0a0a0a";
|
|
40
44
|
readonly success: "#4ade80";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../src/theme/base.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../src/theme/base.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmDX,CAAC;AAEX,eAAO,MAAM,IAAI,kEAMP,CAAC;AAEX,eAAO,MAAM,KAAK;;;;;;;;;;;;CAYR,CAAC;AAEX,eAAO,MAAM,MAAM;;;;;CAKT,CAAC;AAEX,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoCb,CAAC;AAEX,eAAO,MAAM,MAAM;;;CAGT,CAAC;AAEX,eAAO,MAAM,MAAM;;CAET,CAAC;AAEX,eAAO,MAAM,OAAO;;;CAGV,CAAC;AAEX,eAAO,MAAM,QAAQ;;;CAGX,CAAC;AAEX,eAAO,MAAM,KAAK;;;CAGR,CAAC;AAEX,eAAO,MAAM,MAAM;;;;;;;;;CAST,CAAC;AAEX,eAAO,MAAM,WAAW;;;;CAId,CAAC;AAEX,eAAO,MAAM,KAAK;;;;;CAKR,CAAC"}
|
|
@@ -2,6 +2,7 @@ import type { TextStyle } from 'react-native';
|
|
|
2
2
|
export type ColorScheme = 'light' | 'dark';
|
|
3
3
|
export type ThemeColors = {
|
|
4
4
|
background: string;
|
|
5
|
+
surface: string;
|
|
5
6
|
foreground: string;
|
|
6
7
|
muted: string;
|
|
7
8
|
mutedForeground: string;
|
|
@@ -13,6 +14,7 @@ export type ThemeColors = {
|
|
|
13
14
|
primaryTint: string;
|
|
14
15
|
primaryContainer: string;
|
|
15
16
|
primaryEdge: string;
|
|
17
|
+
point: string;
|
|
16
18
|
danger: string;
|
|
17
19
|
dangerForeground: string;
|
|
18
20
|
success: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,MAAM,CAAC;AAE3C,MAAM,MAAM,WAAW,GAAG;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,eAAe,EAAE,MAAM,CAAC;IACxB,MAAM,EAAE,MAAM,C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AChE,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,WAAW,CAAC,WAAW,CAAC,GAAG;IACtD,MAAM,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC;IAC9B,IAAI,CAAC,EAAE;QAAE,MAAM,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,CAAA;KAAE,CAAC;CAC1C,CAAC"}
|
package/package.json
CHANGED
|
@@ -81,7 +81,7 @@ const useStyles = makeStyles((t) => ({
|
|
|
81
81
|
borderRadius: t.radius.md,
|
|
82
82
|
borderWidth: 1,
|
|
83
83
|
borderColor: t.colors.input,
|
|
84
|
-
backgroundColor: t.colors.
|
|
84
|
+
backgroundColor: t.colors.surface,
|
|
85
85
|
},
|
|
86
86
|
pressed: { backgroundColor: t.colors.muted },
|
|
87
87
|
}));
|
|
@@ -14,7 +14,7 @@ const useStyles = makeStyles((t) => ({
|
|
|
14
14
|
borderRadius: t.radius.lg,
|
|
15
15
|
borderWidth: 1,
|
|
16
16
|
borderColor: t.colors.border,
|
|
17
|
-
backgroundColor: t.colors.
|
|
17
|
+
backgroundColor: t.colors.surface,
|
|
18
18
|
},
|
|
19
19
|
pressed: { backgroundColor: t.colors.muted },
|
|
20
20
|
selected: {
|
|
@@ -39,7 +39,7 @@ const useStyles = makeStyles((t) => ({
|
|
|
39
39
|
gap: t.space[3],
|
|
40
40
|
minHeight: Math.max(t.minTouchSize, 56),
|
|
41
41
|
paddingHorizontal: t.space[4],
|
|
42
|
-
backgroundColor: t.colors.
|
|
42
|
+
backgroundColor: t.colors.surface,
|
|
43
43
|
},
|
|
44
44
|
separator: { borderTopWidth: 1, borderTopColor: t.colors.border },
|
|
45
45
|
pressed: { backgroundColor: t.colors.muted },
|
|
@@ -45,7 +45,7 @@ const useStyles = makeStyles((t) => ({
|
|
|
45
45
|
borderWidth: 1.5,
|
|
46
46
|
borderStyle: 'dashed',
|
|
47
47
|
borderColor: t.colors.mutedForeground,
|
|
48
|
-
backgroundColor: t.colors.
|
|
48
|
+
backgroundColor: t.colors.surface,
|
|
49
49
|
},
|
|
50
50
|
pressed: { backgroundColor: t.colors.muted },
|
|
51
51
|
card: {
|
|
@@ -31,7 +31,7 @@ const useStyles = makeStyles((t) => ({
|
|
|
31
31
|
minHeight: t.listRow.threeLine,
|
|
32
32
|
paddingVertical: t.space[2],
|
|
33
33
|
paddingHorizontal: t.layout.screenX,
|
|
34
|
-
backgroundColor:
|
|
34
|
+
backgroundColor: 'transparent',
|
|
35
35
|
},
|
|
36
36
|
pressed: { backgroundColor: t.colors.muted },
|
|
37
37
|
thumb: { width: t.listRow.oneLine },
|
|
@@ -22,7 +22,7 @@ const useStyles = makeStyles((t) => ({
|
|
|
22
22
|
paddingHorizontal: t.space[4],
|
|
23
23
|
borderTopWidth: 1,
|
|
24
24
|
borderTopColor: t.colors.border,
|
|
25
|
-
backgroundColor: t.colors.
|
|
25
|
+
backgroundColor: t.colors.surface,
|
|
26
26
|
boxShadow: t.shadow.md,
|
|
27
27
|
},
|
|
28
28
|
info: { flex: 1, gap: t.space[1] },
|
|
@@ -37,7 +37,7 @@ const useStyles = makeStyles((t) => ({
|
|
|
37
37
|
borderColor: t.colors.foreground,
|
|
38
38
|
borderRadius: t.radius.lg,
|
|
39
39
|
overflow: 'hidden',
|
|
40
|
-
backgroundColor: t.colors.
|
|
40
|
+
backgroundColor: t.colors.surface,
|
|
41
41
|
},
|
|
42
42
|
body: { flex: 1, gap: t.space[1], paddingTop: t.space[2] },
|
|
43
43
|
actions: {
|
|
@@ -27,7 +27,7 @@ const useStyles = makeStyles((t) => ({
|
|
|
27
27
|
marginHorizontal: t.layout.screenX,
|
|
28
28
|
padding: t.space[1],
|
|
29
29
|
borderRadius: t.radius.lg,
|
|
30
|
-
backgroundColor: t.colors.
|
|
30
|
+
backgroundColor: t.colors.surface,
|
|
31
31
|
},
|
|
32
32
|
stage: {
|
|
33
33
|
flex: 1,
|
|
@@ -36,7 +36,7 @@ const useStyles = makeStyles((t) => ({
|
|
|
36
36
|
paddingVertical: t.space[2],
|
|
37
37
|
borderRadius: t.radius.md,
|
|
38
38
|
},
|
|
39
|
-
on: { backgroundColor: t.colors.
|
|
39
|
+
on: { backgroundColor: t.colors.primaryTint },
|
|
40
40
|
count: {
|
|
41
41
|
fontSize: t.typography.title.fontSize,
|
|
42
42
|
lineHeight: t.typography.title.lineHeight,
|
|
@@ -75,7 +75,7 @@ export function StageBar<T extends string>({
|
|
|
75
75
|
>
|
|
76
76
|
<Text
|
|
77
77
|
weight="bold"
|
|
78
|
-
tone={live ? '
|
|
78
|
+
tone={live ? 'point' : 'muted'}
|
|
79
79
|
style={s.count}
|
|
80
80
|
>
|
|
81
81
|
{item.count ?? 0}
|
|
@@ -31,7 +31,7 @@ const useStyles = makeStyles((t) => ({
|
|
|
31
31
|
paddingVertical: t.space[3],
|
|
32
32
|
paddingHorizontal: t.space[3],
|
|
33
33
|
borderRadius: t.radius.lg,
|
|
34
|
-
backgroundColor: t.colors.
|
|
34
|
+
backgroundColor: t.colors.surface,
|
|
35
35
|
},
|
|
36
36
|
pressed: { backgroundColor: t.colors.border },
|
|
37
37
|
count: {
|
|
@@ -56,13 +56,17 @@ export function TaskTiles({ items, style }: TaskTilesProps) {
|
|
|
56
56
|
pressedStyle={s.pressed}
|
|
57
57
|
>
|
|
58
58
|
{renderIcon(item.icon, {
|
|
59
|
-
color: t.colors.
|
|
59
|
+
color: item.count > 0 ? t.colors.point : t.colors.mutedForeground,
|
|
60
60
|
size: t.iconSize.md,
|
|
61
61
|
})}
|
|
62
62
|
<Text variant="label" numberOfLines={1}>
|
|
63
63
|
{item.label}
|
|
64
64
|
</Text>
|
|
65
|
-
<Text
|
|
65
|
+
<Text
|
|
66
|
+
weight="bold"
|
|
67
|
+
tone={item.count > 0 ? 'point' : 'muted'}
|
|
68
|
+
style={s.count}
|
|
69
|
+
>
|
|
66
70
|
{item.count}
|
|
67
71
|
</Text>
|
|
68
72
|
<Text variant="caption" tone="muted" numberOfLines={1}>
|
|
@@ -51,7 +51,7 @@ const useStyles = makeStyles((t) => ({
|
|
|
51
51
|
primary: { backgroundColor: t.colors.primary },
|
|
52
52
|
secondary: { backgroundColor: t.colors.muted },
|
|
53
53
|
outline: {
|
|
54
|
-
backgroundColor:
|
|
54
|
+
backgroundColor: 'transparent',
|
|
55
55
|
borderColor: t.colors.input,
|
|
56
56
|
},
|
|
57
57
|
ghost: { backgroundColor: 'transparent' },
|
|
@@ -40,7 +40,7 @@ const useStyles = makeStyles((t) => ({
|
|
|
40
40
|
minHeight: t.listRow.oneLine,
|
|
41
41
|
paddingVertical: t.space[2],
|
|
42
42
|
paddingHorizontal: t.layout.screenX,
|
|
43
|
-
backgroundColor:
|
|
43
|
+
backgroundColor: 'transparent',
|
|
44
44
|
},
|
|
45
45
|
twoLine: { minHeight: t.listRow.twoLine },
|
|
46
46
|
threeLine: { minHeight: t.listRow.threeLine },
|
|
@@ -51,7 +51,7 @@ const useStyles = makeStyles((t) => ({
|
|
|
51
51
|
value: {
|
|
52
52
|
...t.typography.bodyLg,
|
|
53
53
|
fontFamily: t.fontFamily,
|
|
54
|
-
color: t.colors.
|
|
54
|
+
color: t.colors.foreground,
|
|
55
55
|
fontVariant: ['tabular-nums'],
|
|
56
56
|
},
|
|
57
57
|
meta: {
|
|
@@ -65,6 +65,7 @@ const useStyles = makeStyles((t) => ({
|
|
|
65
65
|
fontFamily: t.fontFamily,
|
|
66
66
|
fontWeight: '600',
|
|
67
67
|
},
|
|
68
|
+
money: { color: t.colors.point },
|
|
68
69
|
muted: { color: t.colors.mutedForeground },
|
|
69
70
|
warning: { color: t.colors.warningText },
|
|
70
71
|
danger: { color: t.colors.danger },
|
|
@@ -155,7 +156,7 @@ export function ListRow({
|
|
|
155
156
|
{value ? (
|
|
156
157
|
<Text
|
|
157
158
|
maxFontSizeMultiplier={t.maxFontScale}
|
|
158
|
-
style={[s.value, strong && s.strong]}
|
|
159
|
+
style={[s.value, strong && s.strong, strong && s.money]}
|
|
159
160
|
>
|
|
160
161
|
{value}
|
|
161
162
|
</Text>
|
|
@@ -29,7 +29,7 @@ const useStyles = makeStyles((t) => ({
|
|
|
29
29
|
justifyContent: 'center',
|
|
30
30
|
borderRadius: t.radius.sm,
|
|
31
31
|
},
|
|
32
|
-
selected: { backgroundColor: t.colors.
|
|
32
|
+
selected: { backgroundColor: t.colors.surface, boxShadow: t.shadow.sm },
|
|
33
33
|
label: {
|
|
34
34
|
fontFamily: t.fontFamily,
|
|
35
35
|
fontSize: t.typography.label.fontSize,
|
|
@@ -5,7 +5,7 @@ import { useTheme } from '../../theme/theme-provider';
|
|
|
5
5
|
import { makeStyles } from '../../utils/styles';
|
|
6
6
|
|
|
7
7
|
export type TextTone =
|
|
8
|
-
'default' | 'muted' | 'primary' | 'warning' | 'danger' | 'success';
|
|
8
|
+
'default' | 'muted' | 'primary' | 'point' | 'warning' | 'danger' | 'success';
|
|
9
9
|
|
|
10
10
|
export type TextProps = RNTextProps & {
|
|
11
11
|
ref?: Ref<ComponentRef<typeof RNText>>;
|
|
@@ -27,6 +27,7 @@ const useStyles = makeStyles((t) => ({
|
|
|
27
27
|
default: { color: t.colors.foreground },
|
|
28
28
|
muted: { color: t.colors.mutedForeground },
|
|
29
29
|
primary: { color: t.colors.primary },
|
|
30
|
+
point: { color: t.colors.point },
|
|
30
31
|
warning: { color: t.colors.warningText },
|
|
31
32
|
danger: { color: t.colors.danger },
|
|
32
33
|
success: { color: t.colors.success },
|
|
@@ -41,7 +41,7 @@ const useStyles = makeStyles((t) => ({
|
|
|
41
41
|
overflow: 'hidden',
|
|
42
42
|
borderTopLeftRadius: t.radius.lg,
|
|
43
43
|
borderTopRightRadius: t.radius.lg,
|
|
44
|
-
backgroundColor: t.colors.
|
|
44
|
+
backgroundColor: t.colors.surface,
|
|
45
45
|
},
|
|
46
46
|
tools: {
|
|
47
47
|
flexDirection: 'row',
|
|
@@ -63,7 +63,7 @@ const useStyles = makeStyles((t) => ({
|
|
|
63
63
|
borderTopRightRadius: t.radius.lg,
|
|
64
64
|
borderTopWidth: 1,
|
|
65
65
|
borderColor: t.colors.border,
|
|
66
|
-
backgroundColor: t.colors.
|
|
66
|
+
backgroundColor: t.colors.surface,
|
|
67
67
|
},
|
|
68
68
|
grab: {
|
|
69
69
|
alignSelf: 'center',
|
package/src/templates/parts.tsx
CHANGED
|
@@ -52,7 +52,7 @@ const useStyles = makeStyles((t) => ({
|
|
|
52
52
|
borderColor: t.colors.border,
|
|
53
53
|
borderRadius: t.radius.lg,
|
|
54
54
|
overflow: 'hidden',
|
|
55
|
-
backgroundColor: t.colors.
|
|
55
|
+
backgroundColor: t.colors.surface,
|
|
56
56
|
},
|
|
57
57
|
cardHead: {
|
|
58
58
|
flexDirection: 'row',
|
|
@@ -163,7 +163,7 @@ export function ListSection({
|
|
|
163
163
|
<View style={s.sectionHead}>
|
|
164
164
|
<Text
|
|
165
165
|
variant="label"
|
|
166
|
-
tone="
|
|
166
|
+
tone="point"
|
|
167
167
|
weight="semibold"
|
|
168
168
|
accessibilityRole="header"
|
|
169
169
|
>
|
|
@@ -92,7 +92,11 @@ function ScrollTemplate({
|
|
|
92
92
|
/>
|
|
93
93
|
) : null}
|
|
94
94
|
<View style={s.headingText}>
|
|
95
|
-
<Text
|
|
95
|
+
<Text
|
|
96
|
+
variant="screenTitle"
|
|
97
|
+
tone="point"
|
|
98
|
+
accessibilityRole="header"
|
|
99
|
+
>
|
|
96
100
|
{heading.title}
|
|
97
101
|
</Text>
|
|
98
102
|
{heading.caption ? (
|
package/src/theme/base.ts
CHANGED
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
export const semantic = {
|
|
2
2
|
light: {
|
|
3
|
-
background: '#
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
background: '#f5f5f4',
|
|
4
|
+
surface: '#ffffff',
|
|
5
|
+
foreground: '#2a2622',
|
|
6
|
+
muted: '#ebebea',
|
|
7
|
+
mutedForeground: '#605f5e',
|
|
8
|
+
border: '#dededc',
|
|
9
|
+
input: '#c2c2c1',
|
|
9
10
|
ring: '#a3a3a3',
|
|
10
|
-
primary: '#
|
|
11
|
+
primary: '#c2410c',
|
|
11
12
|
primaryForeground: '#ffffff',
|
|
12
|
-
primaryTint: '#
|
|
13
|
-
primaryContainer: '#
|
|
14
|
-
primaryEdge: '#
|
|
13
|
+
primaryTint: '#efe3dd',
|
|
14
|
+
primaryContainer: '#e6cabd',
|
|
15
|
+
primaryEdge: '#b8430e',
|
|
16
|
+
point: '#b8430e',
|
|
15
17
|
danger: '#b91c1c',
|
|
16
18
|
dangerForeground: '#ffffff',
|
|
17
19
|
success: '#15803d',
|
|
@@ -24,17 +26,19 @@ export const semantic = {
|
|
|
24
26
|
},
|
|
25
27
|
dark: {
|
|
26
28
|
background: '#0a0a0a',
|
|
29
|
+
surface: '#171717',
|
|
27
30
|
foreground: '#fafafa',
|
|
28
31
|
muted: '#262626',
|
|
29
32
|
mutedForeground: '#a3a3a3',
|
|
30
33
|
border: '#262626',
|
|
31
34
|
input: '#404040',
|
|
32
35
|
ring: '#737373',
|
|
33
|
-
primary: '#
|
|
34
|
-
primaryForeground: '#
|
|
35
|
-
primaryTint: '#
|
|
36
|
-
primaryContainer: '#
|
|
37
|
-
primaryEdge: '#
|
|
36
|
+
primary: '#fdba8c',
|
|
37
|
+
primaryForeground: '#431407',
|
|
38
|
+
primaryTint: '#431407',
|
|
39
|
+
primaryContainer: '#7c2d12',
|
|
40
|
+
primaryEdge: '#d9764a',
|
|
41
|
+
point: '#fdba8c',
|
|
38
42
|
danger: '#f87171',
|
|
39
43
|
dangerForeground: '#0a0a0a',
|
|
40
44
|
success: '#4ade80',
|
package/src/types/index.ts
CHANGED
|
@@ -4,6 +4,7 @@ export type ColorScheme = 'light' | 'dark';
|
|
|
4
4
|
|
|
5
5
|
export type ThemeColors = {
|
|
6
6
|
background: string;
|
|
7
|
+
surface: string;
|
|
7
8
|
foreground: string;
|
|
8
9
|
muted: string;
|
|
9
10
|
mutedForeground: string;
|
|
@@ -15,6 +16,7 @@ export type ThemeColors = {
|
|
|
15
16
|
primaryTint: string;
|
|
16
17
|
primaryContainer: string;
|
|
17
18
|
primaryEdge: string;
|
|
19
|
+
point: string;
|
|
18
20
|
danger: string;
|
|
19
21
|
dangerForeground: string;
|
|
20
22
|
success: string;
|