mirror of
https://github.com/RPCSX/RPCSX.github.io.git
synced 2026-01-31 01:05:21 +01:00
Change gradient
This commit is contained in:
30
src/App.vue
30
src/App.vue
@@ -33,9 +33,14 @@ const lightMenu: Partial<MenuThemeVars> = {
|
||||
itemIconColorHoverHorizontal: '#1D5DEC',
|
||||
}
|
||||
|
||||
// const gradientTextOverrides: Partial<GradientTextThemeVars> = {
|
||||
// colorEndInfo: '#1D5DEC',
|
||||
// colorStartInfo: '#4C3E9C',
|
||||
// }
|
||||
const gradientTextOverrides: Partial<GradientTextThemeVars> = {
|
||||
colorEndInfo: '#1D5DEC',
|
||||
colorStartInfo: '#4C3E9C',
|
||||
rotate: '2deg',
|
||||
colorEndInfo: '#150fff',
|
||||
colorStartInfo: '#9600ff',
|
||||
}
|
||||
|
||||
const typographyOverrides: Partial<TypographyThemeVars> = {
|
||||
@@ -56,7 +61,7 @@ const lightTypography: Partial<TypographyThemeVars> = {
|
||||
textColor: '#121420'
|
||||
}
|
||||
|
||||
const cardOverrides : Partial<CardThemeVars> = {
|
||||
const cardOverrides: Partial<CardThemeVars> = {
|
||||
titleFontWeight: 'bold',
|
||||
titleFontSizeHuge: '16pt',
|
||||
titleFontSizeMedium: '16pt',
|
||||
@@ -65,7 +70,7 @@ const cardOverrides : Partial<CardThemeVars> = {
|
||||
borderRadius: '20px'
|
||||
}
|
||||
|
||||
const lightCard : Partial<CardThemeVars> = {
|
||||
const lightCard: Partial<CardThemeVars> = {
|
||||
...cardOverrides,
|
||||
borderColor: '#1D5DEC'
|
||||
}
|
||||
@@ -110,7 +115,7 @@ const darkThemeOverrides: GlobalThemeOverrides = {
|
||||
<div id="main-column" class="column">
|
||||
<div class="top-main">
|
||||
<Suspense>
|
||||
<Hook :themex="theme"/>
|
||||
<Hook :themex="theme" />
|
||||
</Suspense>
|
||||
</div>
|
||||
|
||||
@@ -162,7 +167,7 @@ const darkThemeOverrides: GlobalThemeOverrides = {
|
||||
</div>
|
||||
<div id="right-column" class="column">
|
||||
<div class="top-right">
|
||||
<MainCard :themex="theme"/>
|
||||
<MainCard :themex="theme" />
|
||||
</div>
|
||||
<div class="column-content">
|
||||
<!-- <iframe src="https://discord.com/widget?id=252023769500090368&theme=dark" width="250" height="400" allowtransparency="true" frameborder="0" sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"></iframe> -->
|
||||
@@ -222,7 +227,8 @@ const darkThemeOverrides: GlobalThemeOverrides = {
|
||||
}
|
||||
|
||||
.top-portion-wrapper {
|
||||
display: flex; /* enables flex content for its children */
|
||||
display: flex;
|
||||
/* enables flex content for its children */
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
@@ -242,12 +248,15 @@ const darkThemeOverrides: GlobalThemeOverrides = {
|
||||
}
|
||||
|
||||
.column {
|
||||
height: 100%; /* allows both columns to span the full height of the browser window */
|
||||
height: 100%;
|
||||
/* allows both columns to span the full height of the browser window */
|
||||
display: flex;
|
||||
flex-direction: column; /* stacks the left and right headers above the bottom content */
|
||||
flex-direction: column;
|
||||
/* stacks the left and right headers above the bottom content */
|
||||
flex-wrap: nowrap;
|
||||
margin: 8px;
|
||||
}
|
||||
|
||||
.column-content {
|
||||
display: flex;
|
||||
flex-flow: column nowrap;
|
||||
@@ -256,7 +265,8 @@ const darkThemeOverrides: GlobalThemeOverrides = {
|
||||
}
|
||||
|
||||
#main-column {
|
||||
/* flex-shrink: 0; /* makes sure that content is not cut off in a smaller browser window */ /* [OCDkirby: so that was a fucking lie.] */
|
||||
/* flex-shrink: 0; /* makes sure that content is not cut off in a smaller browser window */
|
||||
/* [OCDkirby: so that was a fucking lie.] */
|
||||
flex-shrink: 1;
|
||||
flex-grow: 2;
|
||||
align-self: center;
|
||||
|
||||
Reference in New Issue
Block a user