diff --git a/frontend/index.html b/frontend/index.html index cce14c3..b4cdc0c 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -5,6 +5,7 @@ HTWKalender + diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 799c9ff..26d126a 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -16,6 +16,7 @@ "@tanstack/vue-query": "^5.28.9", "@tanstack/vue-query-devtools": "^5.28.10", "@vueuse/core": "^10.9.0", + "country-flag-emoji-polyfill": "^0.1.8", "pinia": "^2.1.7", "primeflex": "^3.3.1", "primeicons": "^6.0.1", @@ -4465,6 +4466,11 @@ "url": "https://opencollective.com/core-js" } }, + "node_modules/country-flag-emoji-polyfill": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/country-flag-emoji-polyfill/-/country-flag-emoji-polyfill-0.1.8.tgz", + "integrity": "sha512-Mbah52sADS3gshUYhK5142gtUuJpHYOXlXtLFI3Ly4RqgkmPMvhX9kMZSTqDM8P7UqtSW99eHKFphhQSGXA3Cg==" + }, "node_modules/cross-spawn": { "version": "7.0.3", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", diff --git a/frontend/package.json b/frontend/package.json index 9c4e16b..c001738 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -21,6 +21,7 @@ "@tanstack/vue-query": "^5.28.9", "@tanstack/vue-query-devtools": "^5.28.10", "@vueuse/core": "^10.9.0", + "country-flag-emoji-polyfill": "^0.1.8", "pinia": "^2.1.7", "primeflex": "^3.3.1", "primeicons": "^6.0.1", diff --git a/frontend/public/primevue-sass-theme/themes/lara/lara-dark/_variables.scss b/frontend/public/primevue-sass-theme/themes/lara/lara-dark/_variables.scss index e8f4aec..77e2815 100644 --- a/frontend/public/primevue-sass-theme/themes/lara/lara-dark/_variables.scss +++ b/frontend/public/primevue-sass-theme/themes/lara/lara-dark/_variables.scss @@ -49,7 +49,7 @@ $shade900: rgba(map-get($colors, "htwk-schwarz"), 1) !default; //ground surface $hoverBg: rgba(255, 255, 255, 0.03) !default; //global -$fontFamily: "Source Sans Pro", -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol !default; +$fontFamily: "Source Sans Pro", -apple-system, BlinkMacSystemFont, Segoe UI, Twemoji Country Flags, Roboto, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol !default; $fontSize: 1rem !default; $fontWeight: normal !default; $textColor: $shade000 !default; @@ -887,10 +887,10 @@ $imagePreviewActionIconFontSize: 1.5rem !default; $imagePreviewActionIconBorderRadius: 50% !default; :root { - font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol; + font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, Segoe UI, Twemoji Country Flags, Roboto, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol; font-feature-settings: "cv02", "cv03", "cv04", "cv11"; font-variation-settings: normal; - --font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol; + --font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, Segoe UI, Twemoji Country Flags, Roboto, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol; --font-feature-settings: "cv02", "cv03", "cv04", "cv11"; --surface-a: #{$shade800}; --surface-b: #{$shade900}; diff --git a/frontend/public/primevue-sass-theme/themes/lara/lara-light/_variables.scss b/frontend/public/primevue-sass-theme/themes/lara/lara-light/_variables.scss index f1f25dc..3017dd1 100644 --- a/frontend/public/primevue-sass-theme/themes/lara/lara-light/_variables.scss +++ b/frontend/public/primevue-sass-theme/themes/lara/lara-light/_variables.scss @@ -51,7 +51,7 @@ $shade800:#374151 !default; //unused $shade900:#1f2937 !default; //unused //global -$fontFamily:"Source Sans Pro", -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol !default; +$fontFamily:"Source Sans Pro", -apple-system, BlinkMacSystemFont, Segoe UI, Twemoji Country Flags, Roboto, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol !default; $fontSize:1rem !default; $fontWeight:normal !default; $textColor:$shade700 !default; @@ -881,10 +881,10 @@ $imagePreviewActionIconFontSize:1.5rem !default; $imagePreviewActionIconBorderRadius:50% !default; :root { - font-family:"Source Sans Pro", -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol; + font-family:"Source Sans Pro", -apple-system, BlinkMacSystemFont, Segoe UI, Twemoji Country Flags, Roboto, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol; font-feature-settings: "cv02","cv03","cv04","cv11"; font-variation-settings: normal; - --font-family:"Source Sans Pro", -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol; + --font-family:"Source Sans Pro", -apple-system, BlinkMacSystemFont, Segoe UI, Twemoji Country Flags, Roboto, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol; --font-feature-settings: "cv02","cv03","cv04","cv11"; --surface-a:#{$shade000}; --surface-b:#{$shade100}; diff --git a/frontend/public/themes/lara-dark-blue/theme.css b/frontend/public/themes/lara-dark-blue/theme.css index 35ccec6..020e019 100644 --- a/frontend/public/themes/lara-dark-blue/theme.css +++ b/frontend/public/themes/lara-dark-blue/theme.css @@ -1,8 +1,8 @@ :root { - font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol; + font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, Segoe UI, Twemoji Country Flags, Roboto, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol; font-feature-settings: "cv02", "cv03", "cv04", "cv11"; font-variation-settings: normal; - --font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol; + --font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, Segoe UI, Twemoji Country Flags, Roboto, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol; --font-feature-settings: "cv02", "cv03", "cv04", "cv11"; --surface-a: #2e3639; --surface-b: black; diff --git a/frontend/public/themes/lara-light-blue/theme.css b/frontend/public/themes/lara-light-blue/theme.css index cfd7a20..5e19193 100644 --- a/frontend/public/themes/lara-light-blue/theme.css +++ b/frontend/public/themes/lara-light-blue/theme.css @@ -1,8 +1,8 @@ :root { - font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol; + font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, Segoe UI, Twemoji Country Flags, Roboto, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol; font-feature-settings: "cv02", "cv03", "cv04", "cv11"; font-variation-settings: normal; - --font-family:"Source Sans Pro", -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol; + --font-family:"Source Sans Pro", -apple-system, BlinkMacSystemFont, Segoe UI, Twemoji Country Flags, Roboto, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol; --font-feature-settings: "cv02","cv03","cv04","cv11"; --surface-a:#ffffff; --surface-b:#f9fafb; diff --git a/frontend/src/components/LocaleSwitcher.vue b/frontend/src/components/LocaleSwitcher.vue index caa03ae..4762e6e 100644 --- a/frontend/src/components/LocaleSwitcher.vue +++ b/frontend/src/components/LocaleSwitcher.vue @@ -64,7 +64,7 @@ updateLocale(localeStore().locale);