mal-ui 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +244 -0
- package/dist/carousel/extensions.d.ts +1 -0
- package/dist/carousel/index.d.ts +2 -0
- package/dist/carousel/index.js +424 -0
- package/dist/carousel/index.js.map +15 -0
- package/dist/charts/extensions.d.ts +1 -0
- package/dist/charts/index.d.ts +2 -0
- package/dist/charts/index.js +3499 -0
- package/dist/charts/index.js.map +53 -0
- package/dist/chunks/index-3ffbn0gc.js +29976 -0
- package/dist/chunks/index-3ffbn0gc.js.map +637 -0
- package/dist/chunks/index-6b5mapr4.js +2 -0
- package/dist/chunks/index-6b5mapr4.js.map +9 -0
- package/dist/chunks/index-6tm93gww.js +38 -0
- package/dist/chunks/index-6tm93gww.js.map +10 -0
- package/dist/chunks/index-cg10ezdx.js +2 -0
- package/dist/chunks/index-cg10ezdx.js.map +9 -0
- package/dist/chunks/index-mc01z7m9.js +48 -0
- package/dist/chunks/index-mc01z7m9.js.map +9 -0
- package/dist/chunks/index-rz8zh7g4.js +5015 -0
- package/dist/chunks/index-rz8zh7g4.js.map +113 -0
- package/dist/chunks/index-syjq3515.js +4893 -0
- package/dist/chunks/index-syjq3515.js.map +101 -0
- package/dist/chunks/index-w9ekv5h5.js +733 -0
- package/dist/chunks/index-w9ekv5h5.js.map +17 -0
- package/dist/code-highlight/extensions.d.ts +1 -0
- package/dist/code-highlight/index.d.ts +2 -0
- package/dist/code-highlight/index.js +1685 -0
- package/dist/code-highlight/index.js.map +25 -0
- package/dist/core/extensions.d.ts +2 -0
- package/dist/core/index.d.ts +2 -0
- package/dist/core/index.js +844 -0
- package/dist/core/index.js.map +9 -0
- package/dist/dates/extensions.d.ts +1 -0
- package/dist/dates/index.d.ts +2 -0
- package/dist/dates/index.js +107 -0
- package/dist/dates/index.js.map +9 -0
- package/dist/dropzone/extensions.d.ts +1 -0
- package/dist/dropzone/index.d.ts +2 -0
- package/dist/dropzone/index.js +2681 -0
- package/dist/dropzone/index.js.map +21 -0
- package/dist/form/extensions.d.ts +1 -0
- package/dist/form/index.d.ts +2 -0
- package/dist/form/index.js +1605 -0
- package/dist/form/index.js.map +51 -0
- package/dist/hooks/extensions.d.ts +1 -0
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/index.js +214 -0
- package/dist/hooks/index.js.map +9 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1052 -0
- package/dist/index.js.map +9 -0
- package/dist/modals/extensions.d.ts +1 -0
- package/dist/modals/index.d.ts +2 -0
- package/dist/modals/index.js +387 -0
- package/dist/modals/index.js.map +15 -0
- package/dist/notifications/extensions.d.ts +1 -0
- package/dist/notifications/index.d.ts +2 -0
- package/dist/notifications/index.js +1122 -0
- package/dist/notifications/index.js.map +28 -0
- package/dist/nprogress/extensions.d.ts +1 -0
- package/dist/nprogress/index.d.ts +2 -0
- package/dist/nprogress/index.js +207 -0
- package/dist/nprogress/index.js.map +12 -0
- package/dist/schedule/extensions.d.ts +1 -0
- package/dist/schedule/index.d.ts +2 -0
- package/dist/schedule/index.js +8569 -0
- package/dist/schedule/index.js.map +135 -0
- package/dist/spotlight/extensions.d.ts +1 -0
- package/dist/spotlight/index.d.ts +2 -0
- package/dist/spotlight/index.js +666 -0
- package/dist/spotlight/index.js.map +24 -0
- package/dist/styles.css +1 -0
- package/dist/theme/index.d.ts +13 -0
- package/dist/theme/index.js +202 -0
- package/dist/theme/index.js.map +11 -0
- package/dist/theme/tokens.d.ts +65 -0
- package/dist/tiptap/extensions.d.ts +1 -0
- package/dist/tiptap/index.d.ts +2 -0
- package/dist/tiptap/index.js +1549 -0
- package/dist/tiptap/index.js.map +25 -0
- package/package.json +163 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type MantineThemeOverride } from '@mantine/core';
|
|
2
|
+
import { malBreakpoints, malColorTokens, malColors, malFontSizes, malLineHeights, malRadiusTokens, malShadows, malSpacingTokens } from './tokens';
|
|
3
|
+
export { malBreakpoints, malColors, malColorTokens, malFontSizes, malLineHeights, malRadiusTokens, malShadows, malSpacingTokens, };
|
|
4
|
+
/**
|
|
5
|
+
* Default MAL UI theme. Pass to MantineProvider:
|
|
6
|
+
*
|
|
7
|
+
* import { MantineProvider } from 'mal-ui/core';
|
|
8
|
+
* import { malTheme } from 'mal-ui/theme';
|
|
9
|
+
*
|
|
10
|
+
* <MantineProvider theme={malTheme}>...</MantineProvider>
|
|
11
|
+
*/
|
|
12
|
+
export declare const malTheme: MantineThemeOverride;
|
|
13
|
+
export type MalTheme = typeof malTheme;
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
import {
|
|
2
|
+
createTheme,
|
|
3
|
+
virtualColor
|
|
4
|
+
} from "../chunks/index-3ffbn0gc.js";
|
|
5
|
+
import"../chunks/index-syjq3515.js";
|
|
6
|
+
import"../chunks/index-mc01z7m9.js";
|
|
7
|
+
|
|
8
|
+
// src/theme/tokens.ts
|
|
9
|
+
var malBrand = [
|
|
10
|
+
"#f5eeff",
|
|
11
|
+
"#e5dbf7",
|
|
12
|
+
"#c6b4e8",
|
|
13
|
+
"#a68bd9",
|
|
14
|
+
"#8b68cc",
|
|
15
|
+
"#7a51c5",
|
|
16
|
+
"#6f42c1",
|
|
17
|
+
"#6138ac",
|
|
18
|
+
"#56319a",
|
|
19
|
+
"#4a2889"
|
|
20
|
+
];
|
|
21
|
+
var malSecondary = [
|
|
22
|
+
"#f9f0ff",
|
|
23
|
+
"#efdbff",
|
|
24
|
+
"#d3adf7",
|
|
25
|
+
"#b37feb",
|
|
26
|
+
"#9254de",
|
|
27
|
+
"#722ed1",
|
|
28
|
+
"#531dab",
|
|
29
|
+
"#391085",
|
|
30
|
+
"#22075e",
|
|
31
|
+
"#120338"
|
|
32
|
+
];
|
|
33
|
+
var malSuccess = [
|
|
34
|
+
"#f6ffed",
|
|
35
|
+
"#d9f7be",
|
|
36
|
+
"#b7eb8f",
|
|
37
|
+
"#95de64",
|
|
38
|
+
"#73d13d",
|
|
39
|
+
"#52c41a",
|
|
40
|
+
"#389e0d",
|
|
41
|
+
"#237804",
|
|
42
|
+
"#135200",
|
|
43
|
+
"#092b00"
|
|
44
|
+
];
|
|
45
|
+
var malWarning = [
|
|
46
|
+
"#fffbe6",
|
|
47
|
+
"#fff1b8",
|
|
48
|
+
"#ffe58f",
|
|
49
|
+
"#ffd666",
|
|
50
|
+
"#ffc53d",
|
|
51
|
+
"#faad14",
|
|
52
|
+
"#d48806",
|
|
53
|
+
"#ad6800",
|
|
54
|
+
"#874d00",
|
|
55
|
+
"#613400"
|
|
56
|
+
];
|
|
57
|
+
var malError = [
|
|
58
|
+
"#fff1f0",
|
|
59
|
+
"#ffccc7",
|
|
60
|
+
"#ffa39e",
|
|
61
|
+
"#ff7875",
|
|
62
|
+
"#ff4d4f",
|
|
63
|
+
"#f5222d",
|
|
64
|
+
"#cf1322",
|
|
65
|
+
"#a8071a",
|
|
66
|
+
"#820014",
|
|
67
|
+
"#5c0011"
|
|
68
|
+
];
|
|
69
|
+
var malNeutral = [
|
|
70
|
+
"#fafafa",
|
|
71
|
+
"#f5f5f5",
|
|
72
|
+
"#e8e8e8",
|
|
73
|
+
"#d9d9d9",
|
|
74
|
+
"#bfbfbf",
|
|
75
|
+
"#8c8c8c",
|
|
76
|
+
"#595959",
|
|
77
|
+
"#434343",
|
|
78
|
+
"#262626",
|
|
79
|
+
"#141414"
|
|
80
|
+
];
|
|
81
|
+
var malColors = {
|
|
82
|
+
"mal-brand": malBrand,
|
|
83
|
+
"mal-secondary": malSecondary,
|
|
84
|
+
"mal-success": malSuccess,
|
|
85
|
+
"mal-warning": malWarning,
|
|
86
|
+
"mal-error": malError,
|
|
87
|
+
"mal-neutral": malNeutral
|
|
88
|
+
};
|
|
89
|
+
var malColorTokens = {
|
|
90
|
+
primary: "mal-brand",
|
|
91
|
+
secondary: "mal-secondary",
|
|
92
|
+
success: "mal-success",
|
|
93
|
+
warning: "mal-warning",
|
|
94
|
+
error: "mal-error",
|
|
95
|
+
neutral: "mal-neutral"
|
|
96
|
+
};
|
|
97
|
+
var malRadiusTokens = {
|
|
98
|
+
xs: "2px",
|
|
99
|
+
sm: "4px",
|
|
100
|
+
md: "8px",
|
|
101
|
+
lg: "12px",
|
|
102
|
+
xl: "16px"
|
|
103
|
+
};
|
|
104
|
+
var malSpacingTokens = {
|
|
105
|
+
xs: "4px",
|
|
106
|
+
sm: "8px",
|
|
107
|
+
md: "16px",
|
|
108
|
+
lg: "24px",
|
|
109
|
+
xl: "32px"
|
|
110
|
+
};
|
|
111
|
+
var malFontSizes = {
|
|
112
|
+
xs: "12px",
|
|
113
|
+
sm: "14px",
|
|
114
|
+
md: "16px",
|
|
115
|
+
lg: "18px",
|
|
116
|
+
xl: "20px"
|
|
117
|
+
};
|
|
118
|
+
var malLineHeights = {
|
|
119
|
+
xs: "1.4",
|
|
120
|
+
sm: "1.45",
|
|
121
|
+
md: "1.55",
|
|
122
|
+
lg: "1.6",
|
|
123
|
+
xl: "1.65"
|
|
124
|
+
};
|
|
125
|
+
var malShadows = {
|
|
126
|
+
xs: "0 1px 2px rgba(0, 0, 0, 0.05)",
|
|
127
|
+
sm: "0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06)",
|
|
128
|
+
md: "0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06)",
|
|
129
|
+
lg: "0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05)",
|
|
130
|
+
xl: "0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04)"
|
|
131
|
+
};
|
|
132
|
+
var malBreakpoints = {
|
|
133
|
+
xs: "36em",
|
|
134
|
+
sm: "48em",
|
|
135
|
+
md: "62em",
|
|
136
|
+
lg: "75em",
|
|
137
|
+
xl: "88em"
|
|
138
|
+
};
|
|
139
|
+
|
|
140
|
+
// src/theme/index.ts
|
|
141
|
+
var malTheme = createTheme({
|
|
142
|
+
colors: {
|
|
143
|
+
...malColors,
|
|
144
|
+
primary: virtualColor({
|
|
145
|
+
name: "primary",
|
|
146
|
+
light: "mal-brand",
|
|
147
|
+
dark: "mal-brand"
|
|
148
|
+
})
|
|
149
|
+
},
|
|
150
|
+
primaryColor: "mal-brand",
|
|
151
|
+
primaryShade: { light: 5, dark: 7 },
|
|
152
|
+
autoContrast: true,
|
|
153
|
+
luminanceThreshold: 0.3,
|
|
154
|
+
fontFamily: '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif',
|
|
155
|
+
fontFamilyMonospace: 'ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace',
|
|
156
|
+
fontSizes: malFontSizes,
|
|
157
|
+
lineHeights: malLineHeights,
|
|
158
|
+
headings: {
|
|
159
|
+
fontFamily: '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif',
|
|
160
|
+
fontWeight: "600",
|
|
161
|
+
sizes: {
|
|
162
|
+
h1: { fontSize: "2.125rem", lineHeight: "1.3" },
|
|
163
|
+
h2: { fontSize: "1.625rem", lineHeight: "1.35" },
|
|
164
|
+
h3: { fontSize: "1.375rem", lineHeight: "1.4" },
|
|
165
|
+
h4: { fontSize: "1.125rem", lineHeight: "1.45" },
|
|
166
|
+
h5: { fontSize: "1rem", lineHeight: "1.5" },
|
|
167
|
+
h6: { fontSize: "0.875rem", lineHeight: "1.5" }
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
radius: malRadiusTokens,
|
|
171
|
+
defaultRadius: "md",
|
|
172
|
+
spacing: malSpacingTokens,
|
|
173
|
+
shadows: malShadows,
|
|
174
|
+
breakpoints: malBreakpoints,
|
|
175
|
+
cursorType: "pointer",
|
|
176
|
+
focusRing: "auto",
|
|
177
|
+
respectReducedMotion: true,
|
|
178
|
+
defaultGradient: { from: "mal-brand", to: "mal-secondary", deg: 135 },
|
|
179
|
+
components: {
|
|
180
|
+
Button: { defaultProps: { radius: "md" } },
|
|
181
|
+
ActionIcon: { defaultProps: { radius: "md" } },
|
|
182
|
+
TextInput: { defaultProps: { radius: "md" } },
|
|
183
|
+
Select: { defaultProps: { radius: "md" } },
|
|
184
|
+
Card: { defaultProps: { radius: "md", shadow: "sm" } },
|
|
185
|
+
Paper: { defaultProps: { radius: "md", shadow: "xs" } },
|
|
186
|
+
Modal: { defaultProps: { radius: "lg" } },
|
|
187
|
+
Notification: { defaultProps: { radius: "md" } }
|
|
188
|
+
}
|
|
189
|
+
});
|
|
190
|
+
export {
|
|
191
|
+
malTheme,
|
|
192
|
+
malSpacingTokens,
|
|
193
|
+
malShadows,
|
|
194
|
+
malRadiusTokens,
|
|
195
|
+
malLineHeights,
|
|
196
|
+
malFontSizes,
|
|
197
|
+
malColors,
|
|
198
|
+
malColorTokens,
|
|
199
|
+
malBreakpoints
|
|
200
|
+
};
|
|
201
|
+
|
|
202
|
+
//# debugId=15CD5B8830808D7F64756E2164756E21
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../src/theme/tokens.ts", "../src/theme/index.ts"],
|
|
4
|
+
"sourcesContent": [
|
|
5
|
+
"import type { MantineColorsTuple } from '@mantine/core';\n\n// ─── Brand Colors ────────────────────────────────────────────────────────────\n\nexport const malBrand: MantineColorsTuple = [\n '#f5eeff',\n '#e5dbf7',\n '#c6b4e8',\n '#a68bd9',\n '#8b68cc',\n '#7a51c5',\n '#6f42c1',\n '#6138ac',\n '#56319a',\n '#4a2889',\n];\n\nexport const malSecondary: MantineColorsTuple = [\n '#f9f0ff',\n '#efdbff',\n '#d3adf7',\n '#b37feb',\n '#9254de',\n '#722ed1',\n '#531dab',\n '#391085',\n '#22075e',\n '#120338',\n];\n\nexport const malSuccess: MantineColorsTuple = [\n '#f6ffed',\n '#d9f7be',\n '#b7eb8f',\n '#95de64',\n '#73d13d',\n '#52c41a',\n '#389e0d',\n '#237804',\n '#135200',\n '#092b00',\n];\n\nexport const malWarning: MantineColorsTuple = [\n '#fffbe6',\n '#fff1b8',\n '#ffe58f',\n '#ffd666',\n '#ffc53d',\n '#faad14',\n '#d48806',\n '#ad6800',\n '#874d00',\n '#613400',\n];\n\nexport const malError: MantineColorsTuple = [\n '#fff1f0',\n '#ffccc7',\n '#ffa39e',\n '#ff7875',\n '#ff4d4f',\n '#f5222d',\n '#cf1322',\n '#a8071a',\n '#820014',\n '#5c0011',\n];\n\nexport const malNeutral: MantineColorsTuple = [\n '#fafafa',\n '#f5f5f5',\n '#e8e8e8',\n '#d9d9d9',\n '#bfbfbf',\n '#8c8c8c',\n '#595959',\n '#434343',\n '#262626',\n '#141414',\n];\n\n// ─── Color token map (keys usable as primaryColor / color prop) ──────────────\n\nexport const malColors = {\n 'mal-brand': malBrand,\n 'mal-secondary': malSecondary,\n 'mal-success': malSuccess,\n 'mal-warning': malWarning,\n 'mal-error': malError,\n 'mal-neutral': malNeutral,\n} as const;\n\nexport const malColorTokens = {\n primary: 'mal-brand',\n secondary: 'mal-secondary',\n success: 'mal-success',\n warning: 'mal-warning',\n error: 'mal-error',\n neutral: 'mal-neutral',\n} as const;\n\n// ─── Radius ──────────────────────────────────────────────────────────────────\n\nexport const malRadiusTokens = {\n xs: '2px',\n sm: '4px',\n md: '8px',\n lg: '12px',\n xl: '16px',\n} as const;\n\n// ─── Spacing ─────────────────────────────────────────────────────────────────\n\nexport const malSpacingTokens = {\n xs: '4px',\n sm: '8px',\n md: '16px',\n lg: '24px',\n xl: '32px',\n} as const;\n\n// ─── Font Sizes ──────────────────────────────────────────────────────────────\n\nexport const malFontSizes = {\n xs: '12px',\n sm: '14px',\n md: '16px',\n lg: '18px',\n xl: '20px',\n} as const;\n\n// ─── Line Heights ────────────────────────────────────────────────────────────\n\nexport const malLineHeights = {\n xs: '1.4',\n sm: '1.45',\n md: '1.55',\n lg: '1.6',\n xl: '1.65',\n} as const;\n\n// ─── Shadows ─────────────────────────────────────────────────────────────────\n\nexport const malShadows = {\n xs: '0 1px 2px rgba(0, 0, 0, 0.05)',\n sm: '0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06)',\n md: '0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06)',\n lg: '0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05)',\n xl: '0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04)',\n} as const;\n\n// ─── Breakpoints ─────────────────────────────────────────────────────────────\n\nexport const malBreakpoints = {\n xs: '36em',\n sm: '48em',\n md: '62em',\n lg: '75em',\n xl: '88em',\n} as const;\n",
|
|
6
|
+
"import { type MantineThemeOverride, createTheme, virtualColor } from '@mantine/core';\nimport {\n malBreakpoints,\n malColorTokens,\n malColors,\n malFontSizes,\n malLineHeights,\n malRadiusTokens,\n malShadows,\n malSpacingTokens,\n} from './tokens';\n\nexport {\n malBreakpoints,\n malColors,\n malColorTokens,\n malFontSizes,\n malLineHeights,\n malRadiusTokens,\n malShadows,\n malSpacingTokens,\n};\n\n/**\n * Default MAL UI theme. Pass to MantineProvider:\n *\n * import { MantineProvider } from 'mal-ui/core';\n * import { malTheme } from 'mal-ui/theme';\n *\n * <MantineProvider theme={malTheme}>...</MantineProvider>\n */\nexport const malTheme: MantineThemeOverride = createTheme({\n // ─── Colors ──────────────────────────────────────────────────────────\n colors: {\n ...malColors,\n // Virtual color: adapts to color scheme automatically\n primary: virtualColor({\n name: 'primary',\n light: 'mal-brand',\n dark: 'mal-brand',\n }),\n },\n primaryColor: 'mal-brand',\n primaryShade: { light: 5, dark: 7 },\n autoContrast: true,\n luminanceThreshold: 0.3,\n\n // ─── Typography ──────────────────────────────────────────────────────\n fontFamily: '-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen, Ubuntu, sans-serif',\n fontFamilyMonospace:\n 'ui-monospace, SFMono-Regular, \"SF Mono\", Menlo, Consolas, \"Liberation Mono\", monospace',\n fontSizes: malFontSizes,\n lineHeights: malLineHeights,\n headings: {\n fontFamily: '-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen, Ubuntu, sans-serif',\n fontWeight: '600',\n sizes: {\n h1: { fontSize: '2.125rem', lineHeight: '1.3' },\n h2: { fontSize: '1.625rem', lineHeight: '1.35' },\n h3: { fontSize: '1.375rem', lineHeight: '1.4' },\n h4: { fontSize: '1.125rem', lineHeight: '1.45' },\n h5: { fontSize: '1rem', lineHeight: '1.5' },\n h6: { fontSize: '0.875rem', lineHeight: '1.5' },\n },\n },\n\n // ─── Spacing & Radius ────────────────────────────────────────────────\n radius: malRadiusTokens,\n defaultRadius: 'md',\n spacing: malSpacingTokens,\n\n // ─── Shadows ─────────────────────────────────────────────────────────\n shadows: malShadows,\n\n // ─── Breakpoints ─────────────────────────────────────────────────────\n breakpoints: malBreakpoints,\n\n // ─── Interaction ─────────────────────────────────────────────────────\n cursorType: 'pointer',\n focusRing: 'auto',\n respectReducedMotion: true,\n\n // ─── Default gradient (for variant=\"gradient\") ───────────────────────\n defaultGradient: { from: 'mal-brand', to: 'mal-secondary', deg: 135 },\n\n // ─── Global component defaults ───────────────────────────────────────\n components: {\n Button: { defaultProps: { radius: 'md' } },\n ActionIcon: { defaultProps: { radius: 'md' } },\n TextInput: { defaultProps: { radius: 'md' } },\n Select: { defaultProps: { radius: 'md' } },\n Card: { defaultProps: { radius: 'md', shadow: 'sm' } },\n Paper: { defaultProps: { radius: 'md', shadow: 'xs' } },\n Modal: { defaultProps: { radius: 'lg' } },\n Notification: { defaultProps: { radius: 'md' } },\n },\n});\n\nexport type MalTheme = typeof malTheme;\n"
|
|
7
|
+
],
|
|
8
|
+
"mappings": ";;;;;;;;AAIO,IAAM,WAA+B;AAAA,EAC1C;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAA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,aAAa;AAAA,EAGb,YAAY;AAAA,EACZ,WAAW;AAAA,EACX,sBAAsB;AAAA,EAGtB,iBAAiB,EAAE,MAAM,aAAa,IAAI,iBAAiB,KAAK,IAAI;AAAA,EAGpE,YAAY;AAAA,IACV,QAAQ,EAAE,cAAc,EAAE,QAAQ,KAAK,EAAE;AAAA,IACzC,YAAY,EAAE,cAAc,EAAE,QAAQ,KAAK,EAAE;AAAA,IAC7C,WAAW,EAAE,cAAc,EAAE,QAAQ,KAAK,EAAE;AAAA,IAC5C,QAAQ,EAAE,cAAc,EAAE,QAAQ,KAAK,EAAE;AAAA,IACzC,MAAM,EAAE,cAAc,EAAE,QAAQ,MAAM,QAAQ,KAAK,EAAE;AAAA,IACrD,OAAO,EAAE,cAAc,EAAE,QAAQ,MAAM,QAAQ,KAAK,EAAE;AAAA,IACtD,OAAO,EAAE,cAAc,EAAE,QAAQ,KAAK,EAAE;AAAA,IACxC,cAAc,EAAE,cAAc,EAAE,QAAQ,KAAK,EAAE;AAAA,EACjD;AACF,CAAC;",
|
|
9
|
+
"debugId": "15CD5B8830808D7F64756E2164756E21",
|
|
10
|
+
"names": []
|
|
11
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import type { MantineColorsTuple } from '@mantine/core';
|
|
2
|
+
export declare const malBrand: MantineColorsTuple;
|
|
3
|
+
export declare const malSecondary: MantineColorsTuple;
|
|
4
|
+
export declare const malSuccess: MantineColorsTuple;
|
|
5
|
+
export declare const malWarning: MantineColorsTuple;
|
|
6
|
+
export declare const malError: MantineColorsTuple;
|
|
7
|
+
export declare const malNeutral: MantineColorsTuple;
|
|
8
|
+
export declare const malColors: {
|
|
9
|
+
readonly 'mal-brand': MantineColorsTuple;
|
|
10
|
+
readonly 'mal-secondary': MantineColorsTuple;
|
|
11
|
+
readonly 'mal-success': MantineColorsTuple;
|
|
12
|
+
readonly 'mal-warning': MantineColorsTuple;
|
|
13
|
+
readonly 'mal-error': MantineColorsTuple;
|
|
14
|
+
readonly 'mal-neutral': MantineColorsTuple;
|
|
15
|
+
};
|
|
16
|
+
export declare const malColorTokens: {
|
|
17
|
+
readonly primary: "mal-brand";
|
|
18
|
+
readonly secondary: "mal-secondary";
|
|
19
|
+
readonly success: "mal-success";
|
|
20
|
+
readonly warning: "mal-warning";
|
|
21
|
+
readonly error: "mal-error";
|
|
22
|
+
readonly neutral: "mal-neutral";
|
|
23
|
+
};
|
|
24
|
+
export declare const malRadiusTokens: {
|
|
25
|
+
readonly xs: "2px";
|
|
26
|
+
readonly sm: "4px";
|
|
27
|
+
readonly md: "8px";
|
|
28
|
+
readonly lg: "12px";
|
|
29
|
+
readonly xl: "16px";
|
|
30
|
+
};
|
|
31
|
+
export declare const malSpacingTokens: {
|
|
32
|
+
readonly xs: "4px";
|
|
33
|
+
readonly sm: "8px";
|
|
34
|
+
readonly md: "16px";
|
|
35
|
+
readonly lg: "24px";
|
|
36
|
+
readonly xl: "32px";
|
|
37
|
+
};
|
|
38
|
+
export declare const malFontSizes: {
|
|
39
|
+
readonly xs: "12px";
|
|
40
|
+
readonly sm: "14px";
|
|
41
|
+
readonly md: "16px";
|
|
42
|
+
readonly lg: "18px";
|
|
43
|
+
readonly xl: "20px";
|
|
44
|
+
};
|
|
45
|
+
export declare const malLineHeights: {
|
|
46
|
+
readonly xs: "1.4";
|
|
47
|
+
readonly sm: "1.45";
|
|
48
|
+
readonly md: "1.55";
|
|
49
|
+
readonly lg: "1.6";
|
|
50
|
+
readonly xl: "1.65";
|
|
51
|
+
};
|
|
52
|
+
export declare const malShadows: {
|
|
53
|
+
readonly xs: "0 1px 2px rgba(0, 0, 0, 0.05)";
|
|
54
|
+
readonly sm: "0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06)";
|
|
55
|
+
readonly md: "0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06)";
|
|
56
|
+
readonly lg: "0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05)";
|
|
57
|
+
readonly xl: "0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04)";
|
|
58
|
+
};
|
|
59
|
+
export declare const malBreakpoints: {
|
|
60
|
+
readonly xs: "36em";
|
|
61
|
+
readonly sm: "48em";
|
|
62
|
+
readonly md: "62em";
|
|
63
|
+
readonly lg: "75em";
|
|
64
|
+
readonly xl: "88em";
|
|
65
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|