I have written a custom circuitikz style file but it doesn't apply the option line width specified in the tikz-level settings block in line 7.
My style file ctikzstyle-mystyle.tex with the name mystyle:
% Do not use LaTeX commands if you want it to be compatible with ConTeXt!
% Do not add spurious spaces!
%
\tikzset{mystyle circuit style/.style={%
% generic tikz-level settings
american,%
line width=1pt,% PROBLEM HERE
%
\circuitikzbasekey/.cd,%
% circutikz-level settings
%
% RESISTORS
resistors/scale=0.7,
resistors/thickness=1.0,
%
% CAPACITORS
capacitors/scale=0.7,
capacitors/thickness=1.0,
bipoles/capacitor/width/.initial=.13,
%
% GROUND
grounds/scale=1.0,
grounds/thickness=1.0,
%
% SOURCES (the round ones)
sources/scale=0.7,
sources/thickness=1.0,
%
% OTHER OPTIONS
bipoles/thickness=1,
nodes width/.initial=.03,
%
},% end .style
}% end \tikzset
\endinput
Here an example circuit:
\documentclass[border = 1cm, tikz]{standalone}
\usepackage{circuitikz}
\ctikzsetstyle{mystyle}
\begin{document}
%
\begin{tikzpicture}
\draw (0,0) to[short, o-] ++(1, 0)
to[R] ++(0, -2)
to[short] ++(1, 0) coordinate(e)
to[short, *-o] ++(0, -1);
\draw(4,0) to[short, o-] ++(-1, 0)
to[isource] ++( 0, -2)
to[short] (e);
\end{tikzpicture}
%
\end{document}
Both files, the example and the style file are in the same folder.
In principle the style file works but the line width doesn't change as expected. It has still the default value of 0.4pt instead of 1pt.

--in diagrams. – Rmano Feb 24 '21 at 14:15\begin{tikzpicture}[line width=1pt]out of laziness and i don't want to modify the line width in other tikzpictures. The solution in your link doesn't seem to save me from typing. – molybdän Feb 24 '21 at 15:53\begin{tikzpicture}[mystyle circuit style] ...with your original style --- it should work. – Rmano Feb 24 '21 at 16:06