Skip to content

Commit 9c3e2b6

Browse files
committed
Refactored color into own property to allow easier theming
1 parent 219fe12 commit 9c3e2b6

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

src/LinkDotNet.Blog.Web/Features/AboutMe/Components/Profile.razor.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
}
1313

1414
.profile-name:first-child {
15-
background: var(--trout);
15+
background: var(--tag-background);
1616
}
1717

1818
.profile-image {
1919
padding: 30px;
20-
background: var(--trout);
20+
background: var(--tag-background);
2121
}
2222

2323
.profile-image img {
@@ -28,7 +28,7 @@
2828
}
2929

3030
.profile-keypoints {
31-
background-color: var(--trout);
31+
background-color: var(--tag-background);
3232
padding-top: 10px;
3333
padding-left: 2.5em;
3434
padding-right: 1.5em;

src/LinkDotNet.Blog.Web/Features/AboutMe/Components/Skill/SkillTag.razor.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.skill-tag {
22
padding: 8px;
33
border-radius: 5px;
4-
background-color: var(--trout);
4+
background-color: var(--tag-background);
55
display: inline-block;
66
white-space: nowrap;
77
overflow: hidden;

src/LinkDotNet.Blog.Web/wwwroot/css/basic.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
/* Usages */
1212
--background: var(--jaguar);
13+
--tag-background: var(--trout);
1314

1415
--background-gradient-start: var(--jaguar);
1516
--background-gradient-end: var(--shark);

0 commit comments

Comments
 (0)