Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 15 additions & 8 deletions src/components/PRPromotions/DisplayBox.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -89,36 +89,43 @@
width: 24px;
height: 24px;
border-radius: 50%;
color: black;
font-size: 12px;
font-weight: bold;
}

/* VIBGYOR Colors with proper text contrast */
.color-0 {
background-color: #9400D3;
background-color: #9400D3; /* Violet - dark, use white text */
color: white;
}

.color-1 {
background-color: #4B0082;
background-color: #4B0082; /* Indigo - very dark, use white text */
color: white;
}

.color-2 {
background-color: #0000FF;
background-color: #0000FF; /* Blue - dark, use white text */
color: white;
}

.color-3 {
background-color: #00FF00;
background-color: #00FF00; /* Green - bright, use black text */
color: black;
}

.color-4 {
background-color: #FFFF00;
background-color: #FFFF00; /* Yellow - bright, use black text */
color: black;
}

.color-5 {
background-color: #FF7F00;
background-color: #FF7F00; /* Orange - medium, use black text for better contrast */
color: black;
}

.color-6 {
background-color: #FF0000;
background-color: #FF0000; /* Red - dark, use white text */
color: white;
}

3 changes: 3 additions & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,8 @@ export default defineConfig(({ mode }) => {
outDir: 'build',
},
plugins: [react()],
server: {
port: 3000,
},
};
});
Loading