I have to create new theme that looks the default Magento Blank theme (other colors, other font). That's why I created a new theme with 1 file less css/source/_theme.less.
This file _theme.less looks like:
// first overwrite all variables
@font-family__base: "Times";
// @etc.
// mobile first
body {
background-color: green;
font-family: @font-family__base;
}
// desktop
@media only screen and (min-width: 768px) {
body {
background-color: red;
}
}
Technical it works, but it looks not nice :(
In addition, I often have to "!important" many rules, to overrule the Blank Theme, and I hate important-rules.
What is the most correct way to create a proper responsive theme (as tiny as possible)?