Problem description
As described in the "Terminal shapes" section (currently section 4.12) of the circuitikz manual, the "open circuit" versions of bipole nodes are
[...] by default filled with the color specified by the key
open nodes fill(by defaultwhite), but you can override locally it [sic] with thefillparameter.
This default is not always desirable, specifically in situations where the background color itself is not white, such as illustrated in the MWE below.
Desired solution
I would like to not fill open circuit terminals at all (but instead only draw their contour). My hope is to use the fill=none option to redefine the key open nodes fill accordingly for the entire document, but I am - undoubtedly due to my only vague understanding of TikZ styles and PGF keys - not sure how to achieve this.
Minimal working example
Save to test.tex and compile via pdflatex test, then see TODO comments for things I already tried unsuccessfully.
\documentclass[tikz]{standalone}%
% Background color
\usepackage{pagecolor}%
\usetikzlibrary{decorations, decorations.text,backgrounds}%
\usepackage{circuitikz}%
\standaloneenv{circuitikz}% Correct image cropping with circuitikz & standalone
%%%% TODO: Some things I tried that do NOT work:
%\tikzset{open nodes fill/.style={none}}
%\tikzset{open nodes/.style={fill=none}}
%\tikzstyle{open nodes fill}=[none]
\begin{document}%
\begin{circuitikz}[background rectangle/.style={fill=gray}, show background rectangle]%
%%%%% TODO: Some alternatives that I tried that do NOT work:
%\begin{circuitikz}[background rectangle/.style={fill=gray}, show background rectangle, open nodes/.style={fill=none}]%
%\begin{circuitikz}[background rectangle/.style={fill=gray}, show background rectangle, open nodes fill/.style={none}]%
%\begin{circuitikz}[background rectangle/.style={fill=gray}, show background rectangle, open nodes fill/.style={fill=none}]%
% Test: Resistor with two open circuit ends that I'd like to not be filled
\draw (0,0) to[short, o-o, R] (3,0);%
%%%%% TODO: Not even a local change seems to work:
%\draw (0,0) to[short, o-o, R, fill=none] (3,0);%
\end{circuitikz}%
\end{document}%




