In this case, polarity matters only for LEDs.
If you’re unsure, search Google Images for — many verified community photos exist. When in doubt, a multimeter in continuity mode can identify which case wires correspond to the power button and LEDs. foxconn n15235 front panel connectors google verified
For most Foxconn N15235 boards, the 9-pin header follows a standard layout where the top row has 4 pins and the bottom row has 5 (with one "key" pin missing): Bottom Row (Left to Right) Pins 1 & 3: HDD LED In this case, polarity matters only for LEDs
Lights up when the PC is on. Red/Green (+) and Black/White (-). Power Switch Connects to the case button to turn the system on/off. HDLED (+ / -) HDD LED Blinks when the hard drive is active. RESETSW Reset Switch Connects to the case's reset button. NC / Key Empty Pin For most Foxconn N15235 boards, the 9-pin header