Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
strudelv2_spa
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hpc-team
strudelv2_spa
Commits
a625e3d2
Commit
a625e3d2
authored
2 years ago
by
Chris Hines
Browse files
Options
Downloads
Patches
Plain Diff
gerp theme
parent
f2b71757
No related branches found
No related tags found
3 merge requests
!110
Dev
,
!109
Dev
,
!107
Test
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/app/settings/settings.component.ts
+2
-1
2 additions, 1 deletion
src/app/settings/settings.component.ts
src/styles.scss
+52
-0
52 additions, 0 deletions
src/styles.scss
with
54 additions
and
1 deletion
src/app/settings/settings.component.ts
+
2
−
1
View file @
a625e3d2
...
...
@@ -21,7 +21,8 @@ export class SettingsComponent implements OnInit {
public
theme
:
string
;
public
themes
:
any
[]
=
[
{
'
name
'
:
'
Light
'
,
'
value
'
:
'
strudel-light-theme
'
},
{
'
name
'
:
'
Dark
'
,
'
value
'
:
'
strudel-dark-theme
'
},
{
'
name
'
:
'
MLeRP
'
,
'
value
'
:
'
strudel-mlerp-theme
'
}
{
'
name
'
:
'
MLeRP
'
,
'
value
'
:
'
strudel-mlerp-theme
'
},
{
'
name
'
:
'
GeRP
'
,
'
value
'
:
'
strudel-gerp-theme
'
}
]
public
apiservers
:
any
[]
public
selectedVal
:
string
;
...
...
This diff is collapsed.
Click to expand it.
src/styles.scss
+
52
−
0
View file @
a625e3d2
...
...
@@ -266,3 +266,55 @@ $custom-typography: mat.define-typography-config(
}
}
.strudel-gerp-theme
{
// Define an alternate gerp theme.
//$gerp-primary: mat-palette($mat-blue-grey);
$gerp-primary
:
mat
.
define-palette
(
mat
.
$purple-palette
);
$gerp-accent
:
mat
.
define-palette
(
mat
.
$green-palette
,
A200
,
A100
,
A400
);
$gerp-warn
:
mat
.
define-palette
(
mat
.
$lime-palette
);
$gerp-theme
:
mat
.
define-light-theme
(
$gerp-primary
,
$gerp-accent
,
$gerp-warn
);
// @include mat-base-typography($custom-typography);
@include
mat
.
all-component-typographies
(
$custom-typography
);
// @include mat-core($custom-typography);
@include
mat
.
all-component-themes
(
$gerp-theme
);
@include
health-warning-theme
(
$gerp-theme
);
.other-component
{
//about us our services, contact us have these styles appliec
.heading
{
h1
{
//color: var(--panel-header-color);
margin
:
30px
0px
;
display
:
inline-block
;
text-transform
:
uppercase
;
}
h2
{
//color: var(--header-text-color);
margin
:
16px
0px
16px
0px
;
text-transform
:
uppercase
;
}
}
.mat-divider
{
//border-top-color: var(--panel-border-color);
}
.content
{
max-width
:
800px
;
width
:
100%
;
}
.big-button
{
width
:
180px
;
}
p
{
//color: var(--header-text-color);
}
.vertical-line
{
border-left
:
1px
solid
;
//var(--panel-header-color);
height
:
80px
;
left
:
50%
;
margin-left
:
-3px
;
margin-top
:
40%
;
display
:
inline-block
;
}
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment