To make a theme I need to compile all scss into > all.css every time a change it's made.
Also I can't edit vars from developer-tools ( because its get compiled to css values ), so
this make a tedious process for testing / creating new themes.
scss styles.scss > all.cssEnable editing themes (vars) inside developer-tools
To make a theme I need to compile all scss into >
all.cssevery time a change it's made.
Also I can't edit vars fromdeveloper-tools( because its get compiled to css values ), so
this make a tedious process for testing / creating new themes.
Configuration | Version
-- | --
App | 0.14.3
Daemon (lbrynet) | 0.14.2
Wallet (lbryum) | 3.1.4
Platform | Linux (Linux-4.10.0-28-generic-x86_64-with-elementary-0.4.1-loki)
CSS Variables are entities defined by CSS authors which contain specific values to be reused throughout a document. They are set using custom property notation (e.g. --main-color: black;) and are accessed using the var() function (e.g. color: var(--main-color);) .
https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_variables
Example Adding vars to CSS:
:root {
--red: #b00;
--blue: #4679bd;
--grey: #ddd;
}
body {
color: var(--red);
background: var(--grey);
}
We can override the current scss vars like this:
$color-main: var(--color-main);
$color-bg: var(--color-bg);
whipped one for an example and tester for people to use
https://spee.ch/9/Custum-Create-Your-Own.png
Merged in branch v16, to be next release.
Most helpful comment
Merged in branch
v16, to be next release.