rect01.svg<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
<g>
<style type="text/css">
#f01{
stroke: #333;
stroke-width: 2;
fill-opacity: 0;
}
#f02{
stroke: white;
stroke-width: 2;
fill-opacity: 0;
}
@media (prefers-color-scheme: light) { /* */
/*@media (prefers-color-scheme: dark) { /* */
#f01{
stroke: #333;
}
#f02{
stroke: white;
}
}
</style>
<rect id="f01" x="5" y="5" width="90" height="90" rx="12" ry="12" />
<rect id="f02" x="7" y="7" width="86" height="86" rx="10" ry="10" />
</g>
</svg>