Skip to content

Commit 40d9743

Browse files
committed
fixes
1 parent 947272d commit 40d9743

File tree

3 files changed

+29
-15
lines changed

3 files changed

+29
-15
lines changed

src/config/colors.js

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,14 @@ module.exports = {
3434
'title-hover': '#fdd4a6', // orange-200
3535
'markdown-title-color': '#fed7aa', // orange-200
3636
'markdown-hx-color': '#ffedd5', // orange-100
37-
'dev-card-bg': 'rgba(68, 64, 59, 0.3)', // stone-700
38-
'dev-card-bg-hover': 'rgba(68, 64, 59, 0.55)', // stone-700/20
39-
'takes-card-bg': 'rgba(6, 95, 70, 0.175)', // emerald-900/15
40-
'takes-card-bg-hover': 'rgba(16, 185, 129, 0.275)', // emerald-500/20
41-
'series-card-bg': 'rgba(225, 29, 72, 0.1)', // rose-600/10
42-
'series-card-bg-hover': 'rgba(225, 29, 72, 0.2)', // rose-600/20
43-
'dnd-card-bg': 'rgba(139, 92, 246, 0.1)', // violet-500/10
44-
'dnd-card-bg-hover': 'rgba(139, 92, 246, 0.2)', // violet-500/20
45-
'color-dev-badge': '#10b981', // emerald-500
46-
'color-takes-badge': '#f97316', // orange-500
47-
'color-series-badge': '#ec4899', // pink-500
48-
'color-dnd-badge': '#a78bfa', // violet-400
37+
'dev-card-bg': 'var(--bg-dev-card)',
38+
'dev-card-bg-hover': 'var(--bg-dev-card-hover)',
39+
'takes-card-bg': 'var(--bg-takes-card)',
40+
'takes-card-bg-hover': 'var(--bg-takes-card-hover)',
41+
'series-card-bg': 'var(--bg-series-card)',
42+
'series-card-bg-hover': 'var(--bg-series-card-hover)',
43+
'dnd-card-bg': 'var(--bg-dnd-card)',
44+
'dnd-card-bg-hover': 'var(--bg-dnd-card-hover)',
4945
'book-alpha-10': 'rgba(158, 197, 171, 0.1)',
5046
'book-alpha-50': 'rgba(158, 197, 171, 0.5)',
5147
'movie-alpha-10': 'rgba(199, 81, 70, 0.1)',
@@ -122,4 +118,4 @@ module.exports = {
122118
'line-highlight-start': '#3c526d5f',
123119
'line-highlight-end': '#3c526d55',
124120
},
125-
};
121+
};

src/index.css

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,17 +68,35 @@ code {
6868
}
6969

7070
:root {
71-
--color-dev-badge: #44403c; /* stone-700 */
71+
/*dev card*/
72+
--color-dev-badge: #345995;
73+
--bg-dev-card: rgba(52, 89, 149, 0.3);
74+
--bg-dev-card-hover: rgba(52, 89, 149, 0.55);
75+
76+
/*rant card*/
7277
--color-takes-badge: #065f46; /* emerald-800 */
78+
--bg-takes-card: rgba(6, 95, 70, 0.175);
79+
--bg-takes-card-hover: rgba(16, 185, 129, 0.275);
80+
81+
/*series card*/
7382
--color-series-badge: #e11d48; /* rose-600 */
83+
--bg-series-card: rgba(225, 29, 72, 0.1);
84+
--bg-series-card-hover: rgba(225, 29, 72, 0.2);
85+
86+
/*dnd card*/
7487
--color-dnd-badge: #583fa3; /* violet-400 */
88+
--bg-dnd-card: rgba(139, 92, 246, 0.1);
89+
--bg-dnd-card-hover: rgba(139, 92, 246, 0.2);
90+
91+
/*fezccode colors*/
7592
--fzcdx-background: #ffffff;
7693
--fzcdx-text-primary: #2d2d2d;
7794
--fzcdx-text-secondary: #4b5563;
7895
--fzcdx-primary: #f87171;
7996
--fzcdx-secondary: #fb923c;
8097
--fzcdx-accent: #34d399;
8198
--fzcdx-spanner: #e89b5d;
99+
82100
}
83101

84102
.codex-color {

src/pages/apps/IpPage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ function IpPage() {
102102
backgroundColor: 'rgba(0, 0, 0, 0.2)',
103103
color: cardStyle.color,
104104
borderColor: cardStyle.borderColor,
105-
'--hover-bg-color': colors['article-alpha-50'],
105+
'--hover-bg-color': colors['app-alpha-50'],
106106
}}
107107
onMouseEnter={(e) => e.currentTarget.style.backgroundColor = 'var(--hover-bg-color)'}
108108
onMouseLeave={(e) => e.currentTarget.style.backgroundColor = 'rgba(0, 0, 0, 0.2)'}

0 commit comments

Comments
 (0)