-
Notifications
You must be signed in to change notification settings - Fork 0
feat(builder): redesign CV creator UI for typing comfort and optimize ATS PDF template #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
79142b9
74290ef
b73184e
dfb9ea9
5a0e0ee
4ace1cf
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -2,11 +2,11 @@ | |||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| @theme inline { | ||||||||||||||||||||||||
| --color-black: #000000; | ||||||||||||||||||||||||
| --color-white: #FFFFFF; | ||||||||||||||||||||||||
| --color-gray-100: #F5F5F5; | ||||||||||||||||||||||||
| --color-gray-200: #E5E5E5; | ||||||||||||||||||||||||
| --color-gray-300: #D4D4D4; | ||||||||||||||||||||||||
| --color-gray-400: #A3A3A3; | ||||||||||||||||||||||||
| --color-white: #ffffff; | ||||||||||||||||||||||||
| --color-gray-100: #f5f5f5; | ||||||||||||||||||||||||
| --color-gray-200: #e5e5e5; | ||||||||||||||||||||||||
| --color-gray-300: #d4d4d4; | ||||||||||||||||||||||||
| --color-gray-400: #a3a3a3; | ||||||||||||||||||||||||
| --color-gray-500: #737373; | ||||||||||||||||||||||||
| --color-gray-600: #525252; | ||||||||||||||||||||||||
| --color-gray-700: #404040; | ||||||||||||||||||||||||
|
|
@@ -33,27 +33,29 @@ | |||||||||||||||||||||||
| } | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| html { | ||||||||||||||||||||||||
| background-color: #FFFFFF; | ||||||||||||||||||||||||
| background-color: #ffffff; | ||||||||||||||||||||||||
| color: #000000; | ||||||||||||||||||||||||
| scroll-behavior: smooth; | ||||||||||||||||||||||||
| -webkit-text-size-adjust: 100%; | ||||||||||||||||||||||||
| text-size-adjust: 100%; | ||||||||||||||||||||||||
| font-feature-settings: "kern" 1, "liga" 1; | ||||||||||||||||||||||||
| font-feature-settings: | ||||||||||||||||||||||||
| "kern" 1, | ||||||||||||||||||||||||
| "liga" 1; | ||||||||||||||||||||||||
| text-rendering: optimizeLegibility; | ||||||||||||||||||||||||
| } | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| body { | ||||||||||||||||||||||||
| font-family: var(--font-sans), system-ui, sans-serif; | ||||||||||||||||||||||||
| -webkit-font-smoothing: antialiased; | ||||||||||||||||||||||||
| -moz-osx-font-smoothing: grayscale; | ||||||||||||||||||||||||
| background-color: #FFFFFF; | ||||||||||||||||||||||||
| background-color: #ffffff; | ||||||||||||||||||||||||
| color: #000000; | ||||||||||||||||||||||||
| } | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| /* Brutalist selection */ | ||||||||||||||||||||||||
| ::selection { | ||||||||||||||||||||||||
| background-color: #000000; | ||||||||||||||||||||||||
| color: #FFFFFF; | ||||||||||||||||||||||||
| color: #ffffff; | ||||||||||||||||||||||||
| } | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| /* Brutalist focus states */ | ||||||||||||||||||||||||
|
|
@@ -69,7 +71,7 @@ body { | |||||||||||||||||||||||
| } | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| ::-webkit-scrollbar-track { | ||||||||||||||||||||||||
| background: #FFFFFF; | ||||||||||||||||||||||||
| background: #ffffff; | ||||||||||||||||||||||||
| border-left: 1px solid #000000; | ||||||||||||||||||||||||
| } | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
|
|
@@ -78,7 +80,9 @@ body { | |||||||||||||||||||||||
| } | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| /* Brutalist input reset */ | ||||||||||||||||||||||||
| input, textarea, select { | ||||||||||||||||||||||||
| input, | ||||||||||||||||||||||||
| textarea, | ||||||||||||||||||||||||
| select { | ||||||||||||||||||||||||
| border: 1px solid #000000; | ||||||||||||||||||||||||
| background: transparent; | ||||||||||||||||||||||||
| color: #000000; | ||||||||||||||||||||||||
|
|
@@ -87,13 +91,18 @@ input, textarea, select { | |||||||||||||||||||||||
| transition: all 0.15s ease; | ||||||||||||||||||||||||
| } | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| input:focus, textarea:focus, select:focus { | ||||||||||||||||||||||||
| background-color: #000000; | ||||||||||||||||||||||||
| color: #FFFFFF; | ||||||||||||||||||||||||
| input:focus, | ||||||||||||||||||||||||
| textarea:focus, | ||||||||||||||||||||||||
| select:focus { | ||||||||||||||||||||||||
| background-color: #ffffff; | ||||||||||||||||||||||||
| color: #000000; | ||||||||||||||||||||||||
| border-color: #000000; | ||||||||||||||||||||||||
| box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1); | ||||||||||||||||||||||||
| outline: none; | ||||||||||||||||||||||||
| } | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| input::placeholder, textarea::placeholder { | ||||||||||||||||||||||||
| input::placeholder, | ||||||||||||||||||||||||
| textarea::placeholder { | ||||||||||||||||||||||||
| color: #737373; | ||||||||||||||||||||||||
| text-transform: uppercase; | ||||||||||||||||||||||||
| font-size: 0.75rem; | ||||||||||||||||||||||||
|
|
@@ -123,8 +132,9 @@ textarea::-moz-selection { | |||||||||||||||||||||||
| color: #000000 !important; | ||||||||||||||||||||||||
| } | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| input:focus::placeholder, textarea:focus::placeholder { | ||||||||||||||||||||||||
| color: #A3A3A3; | ||||||||||||||||||||||||
| input:focus::placeholder, | ||||||||||||||||||||||||
| textarea:focus::placeholder { | ||||||||||||||||||||||||
| color: #a3a3a3; | ||||||||||||||||||||||||
| } | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| input[type="text"]:focus::selection, | ||||||||||||||||||||||||
|
|
@@ -177,15 +187,17 @@ select { | |||||||||||||||||||||||
| background-position: | ||||||||||||||||||||||||
| calc(100% - 16px) calc(50% - 2px), | ||||||||||||||||||||||||
| calc(100% - 10px) calc(50% - 2px); | ||||||||||||||||||||||||
| background-size: 6px 6px, 6px 6px; | ||||||||||||||||||||||||
| background-size: | ||||||||||||||||||||||||
| 6px 6px, | ||||||||||||||||||||||||
| 6px 6px; | ||||||||||||||||||||||||
| background-repeat: no-repeat; | ||||||||||||||||||||||||
| padding-right: 2.25rem; | ||||||||||||||||||||||||
| } | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| select:focus { | ||||||||||||||||||||||||
| background-image: | ||||||||||||||||||||||||
| linear-gradient(45deg, transparent 50%, #FFFFFF 50%), | ||||||||||||||||||||||||
| linear-gradient(135deg, #FFFFFF 50%, transparent 50%); | ||||||||||||||||||||||||
| linear-gradient(45deg, transparent 50%, #ffffff 50%), | ||||||||||||||||||||||||
| linear-gradient(135deg, #ffffff 50%, transparent 50%); | ||||||||||||||||||||||||
|
Comment on lines
197
to
+200
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win Focused select caret becomes invisible on the new white focus background. With white focus background (Lines 97-98), keeping white caret gradients at Line 199-200 removes the visible dropdown indicator. Suggested fix select:focus {
background-image:
- linear-gradient(45deg, transparent 50%, `#ffffff` 50%),
- linear-gradient(135deg, `#ffffff` 50%, transparent 50%);
+ linear-gradient(45deg, transparent 50%, `#000000` 50%),
+ linear-gradient(135deg, `#000000` 50%, transparent 50%);
}📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||||||||||||
| } | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| /* macOS/Safari: custom checkbox styling (Safari ignores border-radius without appearance reset) */ | ||||||||||||||||||||||||
|
|
@@ -214,7 +226,7 @@ input[type="checkbox"]:checked::after { | |||||||||||||||||||||||
| top: 0px; | ||||||||||||||||||||||||
| width: 5px; | ||||||||||||||||||||||||
| height: 9px; | ||||||||||||||||||||||||
| border: 2px solid #FFFFFF; | ||||||||||||||||||||||||
| border: 2px solid #ffffff; | ||||||||||||||||||||||||
| border-top: none; | ||||||||||||||||||||||||
| border-left: none; | ||||||||||||||||||||||||
| transform: rotate(45deg); | ||||||||||||||||||||||||
|
|
@@ -250,7 +262,7 @@ button { | |||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| button:hover { | ||||||||||||||||||||||||
| background-color: #000000; | ||||||||||||||||||||||||
| color: #FFFFFF; | ||||||||||||||||||||||||
| color: #ffffff; | ||||||||||||||||||||||||
| } | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| /* Monospace label utility */ | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
Fix the lint-breaking keyword casing.
Line 44 will keep stylelint failing under
value-keyword-case.Suggested fix
📝 Committable suggestion
🧰 Tools
🪛 Stylelint (17.13.0)
[error] 44-44: Expected "optimizeLegibility" to be "optimizelegibility" (value-keyword-case)
(value-keyword-case)
🤖 Prompt for AI Agents
Source: Linters/SAST tools