Skip to content

Commit a7532f4

Browse files
committed
feat: news better color for
1 parent 4ce9585 commit a7532f4

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/config/colors.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ module.exports = {
2828
'food-light': '#FFC780',
2929
'websites-light': '#FFF8DC',
3030
'tools-light': '#F0DFFF',
31+
'newspaper-background': '#fdfdf5',
3132
'sidebar-highlight': '#FA8072', // Duplicated from article
3233
'sidebar-highlight-light': '#FFB6C1', // Duplicated from article-light
3334
'sidebar-highlight-alpha-10': 'rgba(250, 128, 114, 0.1)', // Duplicated from article-alpha-10

src/pages/NewsPage.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ const getItemClasses = (type, isFeatured = false) => {
3434
hoverBgColorClass = 'hover:bg-secondary-400/20'; // Hover with more orange transparency
3535
break;
3636
case 'Log Entry':
37-
bgColorClass = 'bg-music/10'; // Purple with transparency
38-
borderColorClass = 'border-green-500';
39-
hoverBgColorClass = 'hover:bg-music/20'; // Hover with more purple transparency
37+
bgColorClass = 'bg-violet-200/10'; // Purple with transparency
38+
borderColorClass = 'border-violet-500';
39+
hoverBgColorClass = 'hover:bg-violet-400/40'; // Hover with more purple transparency
4040
break;
4141
default:
4242
bgColorClass = 'bg-gray-800'; // Default background

0 commit comments

Comments
 (0)