Skip to content

Commit 30e3e7b

Browse files
author
Gérard Collin
committed
fix: bad background of main div
1 parent 0fea429 commit 30e3e7b

3 files changed

Lines changed: 9 additions & 88 deletions

File tree

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +0,0 @@
1-
.main-area {
2-
background: var( --p-content-background);
3-
}

apps/xt-host/projects/host/src/app/app.config.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ const AppPreset = definePreset(Aura, {
4040
800: '#2a2f3c',
4141
900: '#171a22',
4242
950: '#0b0d12'
43+
},
44+
content: {
45+
background: '{ surface.50}'
4346
}
4447
},
4548
dark: {
@@ -56,7 +59,11 @@ const AppPreset = definePreset(Aura, {
5659
100: '#f3f5fa',
5760
50: '#fafbfe',
5861
0: '#ffffff'
62+
},
63+
content: {
64+
background: '{ surface.950}'
5965
}
66+
6067
}
6168
}
6269
},

apps/xt-host/projects/host/src/styles.css

Lines changed: 2 additions & 85 deletions
Original file line numberDiff line numberDiff line change
@@ -9,91 +9,8 @@ body {
99
min-height: 100%;
1010
margin: 0;
1111
padding: 0;
12-
font-family:
13-
Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
14-
sans-serif;
1512
}
1613

17-
.app-dark body {
14+
.main-area {
15+
background: var( --p-form-field-background)
1816
}
19-
20-
.app-toolbar {
21-
backdrop-filter: blur(14px);
22-
}
23-
24-
.p-card {
25-
border-radius: 1.25rem;
26-
box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
27-
}
28-
29-
.app-dark .p-card {
30-
box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
31-
}
32-
33-
/* Toolbar */
34-
.p-toolbar {
35-
}
36-
37-
.app-dark .p-toolbar {
38-
}
39-
40-
/* Menu */
41-
.p-menu {
42-
border-radius: 1rem;
43-
}
44-
45-
.app-dark .p-menu {
46-
}
47-
48-
.p-menu .p-menuitem-link {
49-
}
50-
51-
.app-dark .p-menu .p-menuitem-link,
52-
.app-dark .p-menu .p-menuitem-text,
53-
.app-dark .p-menu .p-menuitem-icon {
54-
}
55-
56-
/* Tabs / TabMenu / TabView / Tabs */
57-
.p-tabmenu,
58-
.p-tabview,
59-
.p-tabs {
60-
}
61-
62-
.app-dark .p-tabmenu,
63-
.app-dark .p-tabview,
64-
.app-dark .p-tabs {
65-
}
66-
67-
.app-dark .p-tabmenu .p-tabmenu-nav,
68-
.app-dark .p-tabview .p-tabview-nav {
69-
}
70-
71-
.app-dark .p-tabmenu .p-tabmenu-nav .p-menuitem-link,
72-
.app-dark .p-tabview .p-tabview-nav .p-tab,
73-
.app-dark .p-tabs .p-tab {
74-
}
75-
76-
.p-button {
77-
border-radius: 0.9rem;
78-
font-weight: 600;
79-
}
80-
81-
.p-inputtext,
82-
.p-dropdown,
83-
.p-select,
84-
.p-multiselect,
85-
.p-password input,
86-
.p-textarea {
87-
border-radius: 0.9rem;
88-
}
89-
90-
.p-datatable .p-datatable-header,
91-
.p-datatable .p-datatable-footer {
92-
border-radius: 1rem;
93-
}
94-
95-
.p-dialog .p-dialog-content,
96-
.p-dialog .p-dialog-header {
97-
border-radius: 1.25rem;
98-
}
99-

0 commit comments

Comments
 (0)