src/store/index.ts
import { HavenOptions } from "../types";
import translations from "../translations";
const store: HavenOptions = {
prefix: "cookies",
cookieAttributes: { expires: 365 },
domains: [],
cookies: {},
lang: "en",
type: "opt-in",
services: [],
notification: {
position: "bottom",
policyUrl: "/cookie-policy",
styles: {
background: "#3C366B",
textColor: "#FFF",
linkColor: "#F7FAFC",
buttonBackgroundColor: "#F1D600",
buttonBackgroundColorHover: "#F6E05E",
buttonTextColor: "#1A202C"
}
},
preferences: {
styles: {
textColor: "#666666",
toggleBorder: "#666666",
toggleBackground: "#9FD6AE"
}
},
translations: translations
};
export default store;