[data-scope="qr-code"][data-part="frame"] { width: 120px; height: 120px; background-color: white; } [data-scope="qr-code"][data-part="pattern"] { fill: green; } [data-scope="qr-code"][data-part="overlay"] { width: 25%; height: 25%; outline: 4px solid white; & img { width: 100%; height: 100%; } }