Styling SVG with CSS 

.text-box rect {
  fill: var(--box-fill-color);
  stroke: var(--box-border-color);
  stroke-width: 2;
}