Skip to content

Commit

Permalink
💄 - Change base theme to dark
Browse files Browse the repository at this point in the history
  • Loading branch information
adamphivo committed May 4, 2023
1 parent e92f5ef commit d360afa
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions packages/client/src/lib/stores.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
import { writable } from 'svelte/store';
import type { RealTimePrices } from '@brubeckscan/common/types/sockets';
import type { DUser } from '@brubeckscan/common/types/db';
import type { FavoritesOverview, FavoritesTotals } from '@brubeckscan/common/types/favoritesOverview';
import type {
FavoritesOverview,
FavoritesTotals
} from '@brubeckscan/common/types/favoritesOverview';
import type { BrubeckNodeStats } from '@brubeckscan/common/types/node';
import type { Notification } from "@brubeckscan/common/types/notification";
import type { Notification } from '@brubeckscan/common/types/notification';

export const usersCount = writable<number>(0);
export const prices = writable<RealTimePrices>({
Expand All @@ -16,7 +19,7 @@ export const prices = writable<RealTimePrices>({
export const user = writable<DUser | undefined>(undefined);
export const userOnNetwork = writable<BrubeckNodeStats | undefined>(undefined);
export const hasEthereumProvider = writable<boolean | undefined>(undefined);
export const selectedTheme = writable<'light' | 'dark'>('light');
export const selectedTheme = writable<'light' | 'dark'>('dark');

export const favoritesTotals = writable<FavoritesTotals>({
nodes: 0,
Expand All @@ -26,8 +29,8 @@ export const favoritesTotals = writable<FavoritesTotals>({
statuses: 0,
toBeReceived: 0,
nodesOk: 0,
nodesKo: 0,
nodesKo: 0
});

export const notifications = writable<Notification[]>([]);
export const selectedCurrency = writable<"data" | "usdt" | "eur">("data")
export const selectedCurrency = writable<'data' | 'usdt' | 'eur'>('data');

0 comments on commit d360afa

Please sign in to comment.