Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1" />
%sveltekit.head%
</head>
<body data-sveltekit-preload-data="hover">
<body data-sveltekit-preload-data="hover" class="bg-neutral-800">
<div style="display: contents">%sveltekit.body%</div>
</body>
</html>
3 changes: 2 additions & 1 deletion src/routes/components/Grid.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
ValidationModule,
themeBalham,
ColumnAutoSizeModule,
colorSchemeDark,
} from 'ag-grid-community'
import { onMount } from 'svelte'

Expand All @@ -38,7 +39,7 @@
onMount(() => {
const gridOptions: GridOptions<RowData> = {
columnDefs,
theme: themeBalham,
theme: themeBalham.withPart(colorSchemeDark),
rowData: Array.isArray(rowData) ? rowData : [],
defaultColDef: {
sortable: true,
Expand Down
4 changes: 2 additions & 2 deletions src/routes/components/ServerPartsGrid.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
let filterMenuOpen = $state(true)

const filterDivClass =
'm-1 w-46 rounded-sm border-1 bg-gray-50 px-1 drop-shadow-md'
'm-1 w-46 rounded-sm border-1 border-neutral-500 bg-gray-50 px-1 drop-shadow-md bg-neutral-700 text-neutral-100'

let gridApi: GridApi | undefined = $state()

Expand Down Expand Up @@ -149,7 +149,7 @@
>
<button
onclick={() => (filterMenuOpen = !filterMenuOpen)}
class="m-0 w-full drop-shadow-sm hover:bg-sky-50 hover:drop-shadow-md {filterMenuOpen
class="m-0 w-full bg-neutral-700 text-neutral-400 drop-shadow-sm hover:bg-cyan-900 hover:drop-shadow-md {filterMenuOpen
? ''
: 'h-screen'}"
>
Expand Down