I exported the code for four inline SVGs via Sketch, with the same stroke-width and color, but one SVG behaves erratically across browsers & within browsers on Codepen.
-All SVGs have a stroke-width of '2', however, the twitter svg requires a stroke-width of '4' to get the same effect (Applies to Chrome, Firefox & Safari)
-All SVGs are the same color via stroke="#999999":
- My project viewed directly via Chrome & Firefox: the twitter svg stroke is the correct color
Codepen Example on Chrome & Firefox: the twitter icon is noticeably brighter, stroke appears as #c2c2c2
Personal Project & Codepen Example on Safari: twitter svg stroke is rendered as #c2c2c2 on both Codepen & my personal project
The 'Solution'...
By changing fill="#999999" to fill="#fff" in the twitter svg's 'rect' tag, the svg is displayed normally in Safari. Chrome & Firefox, which both rendered the correct color without this 'fix', are unaffected.
This fix works for Safari in my codepen example & when viewed from source. However, Chrome & Firefox don't render the codepen example correctly, with or without this fix applied, while both render the twitter svg correctly from source, fix or no fix.
My solution works for now, but I don't understand why it works. Any insight is much appreciated!
<rect x="29.984127" y="0.716535433" width="24.5015702" height="20.6298476" fill="#fff"></rect>