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 {
position: absolute;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
}
@@ -1,7 +1,7 @@
.container {
position: relative;
width: 100%;
max-width: 1600px;
max-width: var(--theme-content-max-width);
margin: 0 auto;
}
@@ -4,6 +4,7 @@
gap: 1rem;
align-items: center;
width: 100%;
max-width: var(--theme-content-max-width);
height: 100%;
padding: 0 1rem;
}
+1
View File
@@ -11,6 +11,7 @@ export type AppThemeConfiguration = Partial<BaseAppThemeConfiguration>;
export interface BaseAppThemeConfiguration {
app: {
'content-max-width'?: CSSProperties['maxWidth'];
'overlay-header'?: CSSProperties['background'];
'overlay-subheader'?: CSSProperties['background'];
'root-font-size'?: CSSProperties['fontSize'];
+1
View File
@@ -2,6 +2,7 @@ import { AppThemeConfiguration } from './app-theme-types';
export const defaultTheme: AppThemeConfiguration = {
app: {
'content-max-width': '1600px',
'overlay-header':
'linear-gradient(transparent 0%, rgb(0 0 0 / 85%) 100%), var(--theme-background-noise)',
'overlay-subheader':