fix client creation
This commit is contained in:
parent
0d7976b140
commit
0c1bb52f1b
9 changed files with 305 additions and 161 deletions
|
|
@ -1,15 +1,17 @@
|
|||
import { defineStore } from "pinia";
|
||||
|
||||
const themeMap = {
|
||||
SprinklersNW: {
|
||||
primary: "#0f7ac7",
|
||||
primaryStrong: "#0c639f",
|
||||
"Sprinklers Northwest": {
|
||||
primary: "#75bdf1ff",
|
||||
primaryStrong: "#068ee9ff",
|
||||
secondary: "#2ca66f",
|
||||
accent: "#8fd9a8",
|
||||
primaryGradientStart: "#0c639f",
|
||||
primaryGradientStart: "#70b9e9ff",
|
||||
primaryGradientEnd: "#1390e0",
|
||||
primaryGradient: "linear-gradient(90deg, #a6d2f0ff 0%, #a1d7f8ff 100%)",
|
||||
secondaryGradientStart: "#2c9b64",
|
||||
secondaryGradientEnd: "#38c487",
|
||||
secondaryGradient: "linear-gradient(90deg, #2c9b64 0%, #38c487 100%)",
|
||||
surface: "#cadcf1ff",
|
||||
surfaceAlt: "#dbfdefff",
|
||||
border: "#cfe5f7",
|
||||
|
|
@ -26,8 +28,10 @@ const themeMap = {
|
|||
accent: "#f7de6d",
|
||||
primaryGradientStart: "#2f6425",
|
||||
primaryGradientEnd: "#4a9f3a",
|
||||
primaryGradient: "linear-gradient(90deg, #2f6425 0%, #4a9f3a 100%)",
|
||||
secondaryGradientStart: "#d2a106",
|
||||
secondaryGradientEnd: "#f7de6d",
|
||||
secondaryGradient: "linear-gradient(90deg, #d2a106 0%, #f7de6d 100%)",
|
||||
surface: "#f7fbe9",
|
||||
surfaceAlt: "#f1f4d6",
|
||||
border: "#dfe8b5",
|
||||
|
|
@ -44,8 +48,10 @@ const themeMap = {
|
|||
accent: "#9cc6ff",
|
||||
primaryGradientStart: "#232d3f",
|
||||
primaryGradientEnd: "#375073",
|
||||
primaryGradient: "linear-gradient(90deg, #232d3f 0%, #375073 100%)",
|
||||
secondaryGradientStart: "#4f8ee5",
|
||||
secondaryGradientEnd: "#5fa4ff",
|
||||
secondaryGradient: "linear-gradient(90deg, #4f8ee5 0%, #5fa4ff 100%)",
|
||||
surface: "#f5f7fb",
|
||||
surfaceAlt: "#e7ecf5",
|
||||
border: "#ced6e5",
|
||||
|
|
@ -62,8 +68,10 @@ const themeMap = {
|
|||
accent: "#d8d0c5",
|
||||
primaryGradientStart: "#5e564d",
|
||||
primaryGradientEnd: "#8a8073",
|
||||
primaryGradient: "linear-gradient(90deg, #5e564d 0%, #8a8073 100%)",
|
||||
secondaryGradientStart: "#b2a89c",
|
||||
secondaryGradientEnd: "#cfc6b8",
|
||||
secondaryGradient: "linear-gradient(90deg, #b2a89c 0%, #cfc6b8 100%)",
|
||||
surface: "#f7f5f2",
|
||||
surfaceAlt: "#ebe6df",
|
||||
border: "#d8d0c5",
|
||||
|
|
@ -73,15 +81,17 @@ const themeMap = {
|
|||
textDark: "#231c16",
|
||||
textLight: "#ffffff",
|
||||
},
|
||||
"Daniel's Landscape Supplies": {
|
||||
"Daniels Landscape Supplies": {
|
||||
primary: "#2f6b2f",
|
||||
primaryStrong: "#245224",
|
||||
secondary: "#f28c28",
|
||||
accent: "#ffc174",
|
||||
primaryGradientStart: "#245224",
|
||||
primaryGradientEnd: "#3a8a3a",
|
||||
primaryGradient: "linear-gradient(90deg, #245224 0%, #3a8a3a 100%)",
|
||||
secondaryGradientStart: "#f28c28",
|
||||
secondaryGradientEnd: "#ffc174",
|
||||
secondaryGradient: "linear-gradient(90deg, #f28c28 0%, #ffc174 100%)",
|
||||
surface: "#f8fbf4",
|
||||
surfaceAlt: "#f2f1e9",
|
||||
border: "#d9e5cc",
|
||||
|
|
@ -109,8 +119,10 @@ export const useThemeStore = defineStore("theme", {
|
|||
root.style.setProperty("--theme-accent", theme.accent);
|
||||
root.style.setProperty("--theme-gradient-start", theme.primaryGradientStart);
|
||||
root.style.setProperty("--theme-gradient-end", theme.primaryGradientEnd);
|
||||
root.style.setProperty("--theme-gradient", theme.primaryGradient);
|
||||
root.style.setProperty("--theme-secondary-gradient-start", theme.secondaryGradientStart);
|
||||
root.style.setProperty("--theme-secondary-gradient-end", theme.secondaryGradientEnd);
|
||||
root.style.setProperty("--theme-secondary-gradient", theme.secondaryGradient);
|
||||
root.style.setProperty("--theme-surface", theme.surface);
|
||||
root.style.setProperty("--theme-surface-alt", theme.surfaceAlt);
|
||||
root.style.setProperty("--theme-border", theme.border);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue