move container max-width configuration to theme

This commit is contained in:
jeffvli
2025-11-22 14:12:02 -08:00
parent 6a0b36cfa6
commit 2b70adc1f6
5 changed files with 6 additions and 1 deletions
@@ -81,6 +81,8 @@
.title-wrapper { .title-wrapper {
position: absolute; position: absolute;
display: flex; display: flex;
align-items: center;
justify-content: center;
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
@@ -1,7 +1,7 @@
.container { .container {
position: relative; position: relative;
width: 100%; width: 100%;
max-width: 1600px; max-width: var(--theme-content-max-width);
margin: 0 auto; margin: 0 auto;
} }
@@ -4,6 +4,7 @@
gap: 1rem; gap: 1rem;
align-items: center; align-items: center;
width: 100%; width: 100%;
max-width: var(--theme-content-max-width);
height: 100%; height: 100%;
padding: 0 1rem; padding: 0 1rem;
} }
+1
View File
@@ -11,6 +11,7 @@ export type AppThemeConfiguration = Partial<BaseAppThemeConfiguration>;
export interface BaseAppThemeConfiguration { export interface BaseAppThemeConfiguration {
app: { app: {
'content-max-width'?: CSSProperties['maxWidth'];
'overlay-header'?: CSSProperties['background']; 'overlay-header'?: CSSProperties['background'];
'overlay-subheader'?: CSSProperties['background']; 'overlay-subheader'?: CSSProperties['background'];
'root-font-size'?: CSSProperties['fontSize']; 'root-font-size'?: CSSProperties['fontSize'];
+1
View File
@@ -2,6 +2,7 @@ import { AppThemeConfiguration } from './app-theme-types';
export const defaultTheme: AppThemeConfiguration = { export const defaultTheme: AppThemeConfiguration = {
app: { app: {
'content-max-width': '1600px',
'overlay-header': 'overlay-header':
'linear-gradient(transparent 0%, rgb(0 0 0 / 85%) 100%), var(--theme-background-noise)', 'linear-gradient(transparent 0%, rgb(0 0 0 / 85%) 100%), var(--theme-background-noise)',
'overlay-subheader': 'overlay-subheader':