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