writemonkey / wm3

165 stars 5 forks source link

Can't change active line font color #362

Open SLDonk64 opened 4 years ago

SLDonk64 commented 4 years ago

I'm trying inverse the "highlight current paragraph feature" so the text appears darker, so I can have a "fade inactive sentence mode" alongside "sentence break."

`

/ B. EDITOR STYLES /

$wm-editor { color: var(--main-text-color)!important; background: transparent; }

$wm-formatting { color: var(--mark-color) !important; text-decoration: none !important; font-weight: normal !important; font-style: normal !important; border: none !important; letter-spacing: 0em !important; }

$wm-selection { background-color: var(--mark-color); opacity: .5; border-radius: 1px; }

$wm-active-line { color: #310eaf!important; background: rgba(0, 0, 0, .07); opacity: 0.1; border-radius: 0px; border-right: 0px solid var(--mark-color); }

$wm-active-sentence {
color: green; background-color: rgba(0, 0, 0, 0.03)!important;

}`

writemonkey commented 4 years ago

I see what you are trying to achieve, alas you can't set font color via $wm-active-line. Only background. i.