Skip to content

Commit e505766

Browse files
committed
colors
1 parent 140ac98 commit e505766

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

src/components/LogCard.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ const LogCard = ({ log, index, totalLogs }) => {
116116
className="group bg-transparent border rounded-lg shadow-lg p-6 flex flex-col justify-between relative transform transition-all duration-300 ease-in-out hover:scale-105 hover:shadow-2xl overflow-hidden h-full"
117117
style={cardStyle}
118118
>
119-
<div className="absolute top-2 right-2 text-lg font-semibold px-2 py-1 rounded-md border overflow-hidden whitespace-nowrap" style={{ color: cardStyle.textColor, borderColor: cardStyle.borderColor }}>
119+
<div className="absolute top-2 right-2 text-lg font-semibold px-2 py-1 rounded-md border overflow-hidden whitespace-nowrap" style={{ backgroundColor: 'rgba(0, 0, 0, 0.2)', color: cardStyle.textColor, borderColor: cardStyle.borderColor }}>
120120
#{totalLogs - index}
121121
</div>
122122
<div

src/index.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,18 @@ code {
8181
--fzcdx-spanner: #e89b5d;
8282
}
8383

84+
.codex-color {
85+
color: #ff8fab !important; /* Placeholder color for 'codex' */
86+
}
87+
88+
.separator-color {
89+
color: #f4acb7 !important; /* Placeholder color for '::' */
90+
}
91+
92+
.logs-color {
93+
color: #bc4749 !important; /* Placeholder color for 'logs' */
94+
}
95+
8496
@media (max-width: 768px) {
8597
body {
8698
font-family: serif !important;

src/pages/LogsPage.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,10 @@ const LogsPage = () => {
109109
>
110110
<ArrowLeftIcon size={24} /> Back to Home
111111
</Link>
112-
<h1 className="text-4xl font-bold tracking-tight text-primary-400 sm:text-6xl mb-4 flex items-center">
113-
Logs
112+
<h1 className="text-4xl font-bold tracking-tight sm:text-6xl mb-4 flex items-center">
113+
<span className="codex-color">codex</span>
114+
<span className="separator-color">::</span>
115+
<span className="logs-color">logs</span>
114116
</h1>
115117
<div
116118
className="relative flex justify-center items-center w-full cursor-pointer"

0 commit comments

Comments
 (0)