So I suppose I should customize the theme using npm and grunt, then pack it and upload in the theme panel? Should I forget bundles, resources and so on?
As @alert said, the custom.css is thought for quick and dirty customizations.
If you're planning to work with a less compiler anyhow, probably better create an add-on package with https://pypi.org/project/plonecli and add a theme_barceloneta inside that package.
With theme_barceloneta you have all files set up to create/customize a theme based on plonetheme.barceloneta.
There is a quick and dirty way that could be an option in some cases:
Duplicate the barceloneta theme in the control panel and name it the exact same, then just edit the css file.
You can always compile that CSS file from less 'manually' if you prefer that, just install lesscss, change the colors and run 'lesscss theme.less theme.css (if I remember the syntax correctly)
I am not taking about custom css, but editing the barceloneta.css file.
The Less files generate the CSS, but if one don't want to work with Less, one can edit the css directly.
Of course, it might make things a little more complicated when upgrading and one needs to take a backup of the css file, but apart from that, it is 'much easier'.
What can be done is this:
Duplicate the barceloneta theme with the exact same name in the control panel (then one does not need to edit any other files)
Go to the theming control panel and open the 'LESS-folder'
Edit the CSS-file inside it
Disable and enable the theme
I use CSSEditor, then one can see the updates 'live', there are probabably other editors too
Sometimes it can be a bit confusing (where the styles come from), though…
Slightly related: I have Mosaic fragments that do the same (write your own CSS) and also some that 'does specific things', for example 'Hide Breadcrumbs', but that is more for 'designing layout' than 'everyday use' ( I make templates that can be reused by customer)
Find this fantastic. Is this code published somewhere?
About less, I think that exposing the variables in the bundle/resources panel si wrong if changing them does not change anything. It is confusing and can break the site for the tipical users.