Foodtruck Order — TypeScript Reference - v0.1.0
    Preparing search index...
    setAppearance: ActionCreatorWithPayload<
        "light"
        | "dark"
        | "system",
        "preferences/setAppearance",
    > = preferencesSlice.actions.setAppearance

    Redux action updating the stored appearance preference.

    Dispatching it updates the store and, through the store subscription set up by createPreferencesStore, persists the new preference record.