Skip to content

Commit 140ac98

Browse files
committed
colors
1 parent a54e2ef commit 140ac98

File tree

2 files changed

+38
-38
lines changed

2 files changed

+38
-38
lines changed

src/components/LogCard.js

Lines changed: 2 additions & 2 deletions
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-gray-400 text-lg font-semibold">
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 }}>
120120
#{totalLogs - index}
121121
</div>
122122
<div
@@ -128,7 +128,7 @@ const LogCard = ({ log, index, totalLogs }) => {
128128
}}
129129
></div>
130130
<div>
131-
<div className="flex items-center justify-between mb-4">
131+
<div className="flex items-center justify-between mb-4 pr-8">
132132
<div className="flex items-center">
133133
<div className="text-2xl mr-4" style={{ color: detailTextColor }}>{categoryIcons[category]}</div>
134134
<h2

src/config/colors.js

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,24 @@ module.exports = {
77
secondary: {
88
400: '#fb923c', // orange-400
99
},
10-
book: '#3b82f6', // blue-500
11-
movie: '#ef4444', // red-500
12-
game: '#22c55e', // green-500
13-
article: '#ff8934', // orange-500
14-
music: '#a855f7', // purple-500
15-
series: '#ec4899', // pink-500
16-
food: '#84cc16', // lime-500
17-
websites: '#f472b6', // pink-400
18-
tools: '#facc15', // yellow-400
19-
'book-light': '#93c5fd', // blue-300
20-
'movie-light': '#fca5a5', // red-300
21-
'game-light': '#86efac', // green-300
22-
'article-light': '#fdba74', // orange-300
23-
'music-light': '#d8b4fe', // purple-300
24-
'series-light': '#fbcfe8', // pink-300
25-
'food-light': '#bef264', // lime-300
26-
'websites-light': '#f9a8d4', // pink-300
27-
'tools-light': '#fde047', // yellow-300
10+
book: '#9EC5AB',
11+
movie: '#c75146',
12+
game: '#80ed99',
13+
article: '#FA8072', // Salmon
14+
music: '#A07B90',
15+
series: '#edc531',
16+
food: '#F4A259',
17+
websites: '#f5dd90',
18+
tools: '#e0aaff',
19+
'book-light': '#FFF8F00',
20+
'movie-light': '#E08070',
21+
'game-light': '#B2F5C2',
22+
'article-light': '#FFB6C1', // Light Pink
23+
'music-light': '#C0A0B0',
24+
'series-light': '#F5E080',
25+
'food-light': '#FFC780',
26+
'websites-light': '#FFF8DC',
27+
'tools-light': '#F0DFFF',
2828
'title-hover': '#fdd4a6', // orange-200
2929
'markdown-title-color': '#fed7aa', // orange-200
3030
'markdown-hx-color': '#ffedd5', // orange-100
@@ -40,24 +40,24 @@ module.exports = {
4040
'color-takes-badge': '#f97316', // orange-500
4141
'color-series-badge': '#ec4899', // pink-500
4242
'color-dnd-badge': '#a78bfa', // violet-400
43-
'book-alpha-10': 'rgba(59, 130, 246, 0.1)',
44-
'book-alpha-50': 'rgba(59, 130, 246, 0.5)',
45-
'movie-alpha-10': 'rgba(239, 68, 68, 0.1)',
46-
'movie-alpha-50': 'rgba(239, 68, 68, 0.5)',
47-
'game-alpha-10': 'rgba(34, 197, 94, 0.1)',
48-
'game-alpha-50': 'rgba(34, 197, 94, 0.5)',
49-
'article-alpha-10': 'rgba(249, 115, 22, 0.1)',
50-
'article-alpha-50': 'rgba(249, 115, 22, 0.5)',
51-
'music-alpha-10': 'rgba(168, 85, 247, 0.1)',
52-
'music-alpha-50': 'rgba(168, 85, 247, 0.5)',
53-
'series-alpha-10': 'rgba(236, 72, 153, 0.1)',
54-
'series-alpha-50': 'rgba(236, 72, 153, 0.5)',
55-
'food-alpha-10': 'rgba(132, 204, 22, 0.1)',
56-
'food-alpha-50': 'rgba(132, 204, 22, 0.5)',
57-
'websites-alpha-10': 'rgba(244, 114, 182, 0.1)',
58-
'websites-alpha-50': 'rgba(244, 114, 182, 0.5)',
59-
'tools-alpha-10': 'rgba(250, 204, 21, 0.1)',
60-
'tools-alpha-50': 'rgba(250, 204, 21, 0.5)',
43+
'book-alpha-10': 'rgba(158, 197, 171, 0.1)',
44+
'book-alpha-50': 'rgba(158, 197, 171, 0.5)',
45+
'movie-alpha-10': 'rgba(199, 81, 70, 0.1)',
46+
'movie-alpha-50': 'rgba(199, 81, 70, 0.5)',
47+
'game-alpha-10': 'rgba(0, 255, 127, 0.1)',
48+
'game-alpha-50': 'rgba(0, 255, 127, 0.5)',
49+
'article-alpha-10': 'rgba(250, 128, 114, 0.1)',
50+
'article-alpha-50': 'rgba(250, 128, 114, 0.5)',
51+
'music-alpha-10': 'rgba(160, 123, 144, 0.1)',
52+
'music-alpha-50': 'rgba(160, 123, 144, 0.5)',
53+
'series-alpha-10': 'rgba(237, 197, 49, 0.1)',
54+
'series-alpha-50': 'rgba(237, 197, 49, 0.5)',
55+
'food-alpha-10': 'rgba(244, 162, 89, 0.1)',
56+
'food-alpha-50': 'rgba(244, 162, 89, 0.5)',
57+
'websites-alpha-10': 'rgba(245, 221, 144, 0.1)',
58+
'websites-alpha-50': 'rgba(245, 221, 144, 0.5)',
59+
'tools-alpha-10': 'rgba(224, 170, 255, 0.1)',
60+
'tools-alpha-50': 'rgba(224, 170, 255, 0.5)',
6161

6262
// Toast colors
6363
'toast-background': 'rgba(68, 64, 59, 0.8)',

0 commit comments

Comments
 (0)