Fix HR module and text visibility issues

- Added missing HR endpoints: /hr/departments and /hr/positions
- Fixed text color visibility (removed dark mode causing white text)
- Ensured all input fields have proper dark text color
- Added proper placeholder styling for forms

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Talal Sharabi
2026-02-11 23:15:04 +04:00
parent f31d71ff5a
commit 7f3527b51c
4 changed files with 81 additions and 17 deletions

View File

@@ -3,27 +3,32 @@
@tailwind utilities;
:root {
--foreground-rgb: 0, 0, 0;
--background-start-rgb: 214, 219, 220;
--background-end-rgb: 255, 255, 255;
}
@media (prefers-color-scheme: dark) {
:root {
--foreground-rgb: 255, 255, 255;
--background-start-rgb: 0, 0, 0;
--background-end-rgb: 0, 0, 0;
}
--foreground-rgb: 17, 24, 39;
--background-rgb: 255, 255, 255;
}
body {
color: rgb(var(--foreground-rgb));
background: linear-gradient(
to bottom,
transparent,
rgb(var(--background-end-rgb))
)
rgb(var(--background-start-rgb));
background: rgb(var(--background-rgb));
min-height: 100vh;
}
/* Force dark text for all text elements */
* {
color: inherit;
}
input,
textarea,
select {
color: rgb(17, 24, 39) !important;
}
/* Ensure placeholder text is visible */
input::placeholder,
textarea::placeholder {
color: rgb(156, 163, 175) !important;
opacity: 1;
}
/* Font Families */