Compare commits

...

2 Commits

Author SHA1 Message Date
sebseb7
b5256d6597 feat: add Outfit Variable font and update global typography settings 2026-04-01 15:13:29 +02:00
sebseb7
18c528302d correct ai assy language 2026-03-31 10:19:47 +02:00
10 changed files with 19 additions and 8 deletions

10
package-lock.json generated
View File

@@ -11,6 +11,7 @@
"dependencies": {
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.0",
"@fontsource-variable/outfit": "^5.2.8",
"@mui/icons-material": "^7.1.1",
"@mui/material": "^7.1.1",
"@stripe/react-stripe-js": "^3.7.0",
@@ -2222,6 +2223,15 @@
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
}
},
"node_modules/@fontsource-variable/outfit": {
"version": "5.2.8",
"resolved": "https://registry.npmjs.org/@fontsource-variable/outfit/-/outfit-5.2.8.tgz",
"integrity": "sha512-4oUDCZx/Tcz6HZP423w/niqEH31Gks5IsqHV2ZZz1qKHaVIZdj2f0/S1IK2n8jl6Xo0o3N+3RjNHlV9R73ozQA==",
"license": "OFL-1.1",
"funding": {
"url": "https://github.com/sponsors/ayuhito"
}
},
"node_modules/@humanfs/core": {
"version": "0.19.1",
"resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.1.tgz",

View File

@@ -30,6 +30,7 @@
"dependencies": {
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.0",
"@fontsource-variable/outfit": "^5.2.8",
"@mui/icons-material": "^7.1.1",
"@mui/material": "^7.1.1",
"@stripe/react-stripe-js": "^3.7.0",

View File

@@ -551,7 +551,7 @@ class PrerenderProduct extends React.Component {
})
},
style: {
fontFamily: '"Roboto","Helvetica","Arial",sans-serif',
fontFamily: '"Outfit Variable","Roboto","Helvetica","Arial",sans-serif',
fontSize: '1rem',
lineHeight: '1.7',
color: '#333'

View File

@@ -385,7 +385,7 @@ class AddToCartButton extends Component {
startIcon={<ShoppingCartIcon />}
sx={{
borderRadius: 2,
fontWeight: "bold",
whiteSpace: "nowrap",
backgroundColor: "#9ccc65", // yellowish green
color: "#000000",
"&:hover": {
@@ -539,7 +539,6 @@ class AddToCartButton extends Component {
startIcon={<ShoppingCartIcon />}
sx={{
borderRadius: 2,
fontWeight: "bold",
whiteSpace: "nowrap",
"&:hover": {
backgroundColor: "primary.dark",

View File

@@ -228,7 +228,7 @@ class ChatAssistant extends Component {
}, () => {
// Emit message to socket server after state is updated
if (userMessage.trim()) {
window.socketManager.emit('aiassyMessage', userMessage);
window.socketManager.emit('aiassyMessage', { message: userMessage, lang: this.props.i18n?.language });
}
});
}

View File

@@ -85,7 +85,7 @@ class Stripe extends Component {
colorWarning: '#FF9800', // Orange for warnings
// Typography matching your Roboto setup
fontFamily: "'Roboto', 'Helvetica', 'Arial', sans-serif",
fontFamily: "'Outfit Variable', 'Roboto', 'Helvetica', 'Arial', sans-serif",
fontSizeBase: '16px', // Base font size for mobile compatibility
fontWeightNormal: '400', // Normal Roboto weight
fontWeightMedium: '500', // Medium Roboto weight

View File

@@ -71,7 +71,7 @@ const ThemeCustomizerDialog = ({ open, onClose, theme, onThemeChange }) => {
},
},
typography: {
fontFamily: "'Roboto', 'Helvetica', 'Arial', sans-serif",
fontFamily: "'Outfit Variable', 'Roboto', 'Helvetica', 'Arial', sans-serif",
h4: {
fontWeight: 600,
color: '#33691E',

View File

@@ -41,7 +41,7 @@
body {
margin: 0;
padding: 0;
font-family: Roboto, Helvetica, Arial, sans-serif;
font-family: 'Outfit Variable', Roboto, Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
overflow-y: scroll; /* Always show vertical scrollbar */

View File

@@ -1,5 +1,6 @@
import React from "react";
import ReactDOM from "react-dom/client";
import "@fontsource-variable/outfit";
import "./index.css";
import App from "./App.js";
import { BrowserRouter } from "react-router-dom";

View File

@@ -29,7 +29,7 @@ const theme = createTheme({
},
},
typography: {
fontFamily: "'Roboto', 'Helvetica', 'Arial', sans-serif",
fontFamily: "'Outfit Variable', 'Roboto', 'Helvetica', 'Arial', sans-serif",
h4: {
fontWeight: 600,
color: '#33691E',