embedding theme option, closes #57

This commit is contained in:
vcoppe
2024-08-11 18:19:03 +02:00
parent ad22ad8caa
commit f4d7a45191
4 changed files with 32 additions and 2 deletions

View File

@@ -20,6 +20,7 @@ export type EmbeddingOptions = {
distanceUnits: 'metric' | 'imperial',
velocityUnits: 'speed' | 'pace',
temperatureUnits: 'celsius' | 'fahrenheit',
theme: 'system' | 'light' | 'dark',
};
export const defaultEmbeddingOptions = {
@@ -42,6 +43,7 @@ export const defaultEmbeddingOptions = {
distanceUnits: 'metric',
velocityUnits: 'speed',
temperatureUnits: 'celsius',
theme: 'system',
};
export function getDefaultEmbeddingOptions(): EmbeddingOptions {