css - Working with Semantic UI's Stub Files -
i starting development based on semantic ui. in semantic ui's customization guide, use of empty stub files, contained in delivery.
as kind of "proof of concept" me, try modify variables of button-element.
if understand principle of customizing correctly, shall customize these variable within these stub files. edit /site/elements/button.variables to
@defaultborderradius: 3rem;
which leads more rounded button corners.
also able define definition within /themes/default/globals/site.variables, yielding same effect. no stub file.
if try implement definition in /site/globals/site.variables, effect doesn't take place.
assuming no bug in semantic ui, think must have misunderstood theming concept.
can clarify me?
thanks in advance, sascha.
i found out root of problem:
since working according semantic ui's build guidelines (learnsemantic.com/guide/expert.html#gulp-commands), running watch task in background.
if changing /site/globals/site.variables, gulp watch
apparently doesn't recompile button.css. file compiled anew, need change in button.less, in order notify semantic ui rebuild button element.
Comments
Post a Comment