Skip to content

Commit

Permalink
Merge pull request #214 from ConductionNL/Feature/NDT-44/Gouda-theme
Browse files Browse the repository at this point in the history
Feature/NDT-44/Gouda-theme
  • Loading branch information
remko48 authored Dec 21, 2023
2 parents 8fb557e + d2ad7ef commit 820d7ef
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 10 deletions.
16 changes: 8 additions & 8 deletions pwa/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pwa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"prepare": "cd .. && husky install"
},
"dependencies": {
"@conduction/components": "2.2.42",
"@conduction/theme": "1.1.3",
"@conduction/components": "2.2.44",
"@conduction/theme": "1.1.5",
"@fortawesome/fontawesome-svg-core": "^6.5.0",
"@fortawesome/free-brands-svg-icons": "6.5.0",
"@fortawesome/free-regular-svg-icons": "6.5.0",
Expand Down
8 changes: 8 additions & 0 deletions pwa/src/services/getConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import HoekscheWaard from "./../../static/configFiles/hoeksche-waard.json";
import Texel from "./../../static/configFiles/texel.json";
import Zutphen from "./../../static/configFiles/zutphen.json";
import Sloterburg from "./../../static/configFiles/sloterburg.json";
import Gouda from "./../../static/configFiles/gouda.json";
import { TGroupedSelectOption } from "@conduction/components/lib/components/formFields/select/select";

export const getConfig = (themeOrDomainName: string): Record<string, any> | undefined => {
Expand Down Expand Up @@ -77,6 +78,12 @@ export const getConfig = (themeOrDomainName: string): Record<string, any> | unde
case "sloterburg-theme":
return Sloterburg;

case "open.gouda.nl":
case "gouda.koophulpje.nl":
case "gouda.openwoo.app":
case "gouda-theme":
return Gouda;

case "koophulpje.nl":
case "open-webconcept-theme":
case "openwoo.app":
Expand Down Expand Up @@ -155,6 +162,7 @@ export const availableThemes: TGroupedSelectOption[] = [
{ label: "Buren", value: "buren" },
{ label: "Dinkelland", value: "dinkelland-theme" },
{ label: "Epe", value: "epe-theme" },
{ label: "Gouda", value: "gouda-theme" },
{ label: "Hoeksche Waard", value: "hoeksche-waard" },
{ label: "Lansingerland", value: "lansingerland" },
{ label: "Noordwijk", value: "noordwijk-theme" },
Expand Down
1 change: 1 addition & 0 deletions pwa/src/styling/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
@import "../../node_modules/@conduction/theme/municipalities/opencatalogi-design-tokens/dist/index.css";
@import "../../node_modules/@conduction/theme/municipalities/zutphen-design-tokens/dist/index.css";
@import "../../node_modules/@conduction/theme/municipalities/sloterburg-design-tokens/dist/index.css";
@import "../../node_modules/@conduction/theme/municipalities/gouda-design-tokens/dist/index.css";

/* Design Tokens maintained by Frameless */
@import "../../node_modules/@utrecht/design-tokens/dist/theme.css";
Expand Down
14 changes: 14 additions & 0 deletions pwa/static/configFiles/gouda.json

Large diffs are not rendered by default.

0 comments on commit 820d7ef

Please sign in to comment.