mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-09-02 16:52:31 +00:00
embedding theme option, closes #57
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user