forked from directus-labs/agency-os
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.config.ts
108 lines (106 loc) · 2.25 KB
/
app.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
import { theme } from '~/theme';
export default defineAppConfig({
theme,
ui: {
strategy: 'override',
primary: theme.primary,
gray: theme.gray,
notifications: {
// Show toasts at the top right of the screen
position: 'top-0 right-0 bottom-auto left-auto',
},
card: {
base: 'transition duration-200',
shadow: 'shadow-none',
body: {
base: 'h-full flex flex-col',
},
rounded: `rounded-card`,
},
button: {
// base: 'hover:scale-105 active:hover:scale-95 transition duration-150',
font: 'font-bold',
rounded: 'rounded-button',
default: {
loadingIcon: 'material-symbols:sync-rounded',
},
},
badge: {
rounded: 'rounded-button',
},
input: {
default: {
loadingIcon: 'material-symbols:sync-rounded',
},
rounded: `rounded-${theme.borderRadius}`,
},
select: {
rounded: 'rounded-input',
default: {
loadingIcon: 'material-symbols:sync-rounded',
trailingIcon: 'material-symbols:expand-more-rounded',
},
},
textarea: {
rounded: 'rounded-input',
},
selectMenu: {
rounded: 'rounded-input',
default: {
selectedIcon: 'material-symbols:fitbit-check-small-rounded',
},
},
notification: {
default: {
closeButton: {
icon: 'i-octicon-x-24',
},
},
},
commandPalette: {
default: {
icon: 'material-symbols:search-rounded',
loadingIcon: 'material-symbols:sync-rounded',
selectedIcon: 'material-symbols:fitbit-check-small-rounded',
emptyState: {
icon: 'material-symbols:search-rounded',
},
},
},
table: {
default: {
sortAscIcon: 'octicon:sort-asc-24',
sortDescIcon: 'octicon:sort-desc-24',
// sortButton: {
// icon: 'octicon-arrow-switch-24',
// },
loadingState: {
icon: 'material-symbols:sync-rounded',
},
emptyState: {
icon: 'material-symbols:database-outline',
},
},
},
avatar: {
default: {},
rounded: 'rounded-button',
},
breadcrumb: {
default: {
divider: 'material-symbols:chevron-right',
},
},
pagination: {
rounded: 'first:rounded-l-button last:rounded-r-button',
default: {
prevButton: {
icon: 'material-symbols:arrow-back-rounded',
},
nextButton: {
icon: 'material-symbols:arrow-forward-rounded',
},
},
},
},
});