mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
move container max-width configuration to theme
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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'];
|
||||
|
||||
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user