MoI & CSS Custom Properties

Next
 From:  Cody (ECHOLOCATING)
9254.1 
I was just curious if anybody knows if MoI's web browser engine supports something like CSS custom properties?

For example...

:root {
--main-color: #BBB;
}

html, body {
color: var(--main-color);
}

...I tried it, but it doesn't seem to work and I was curious if maybe there is another way to do it. This would be for the "moi.css" file ideally.

-- Cody
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
9254.2 In reply to 9254.1 
Hi Cody, no I don't think the version of WebKit MoI uses has CSS variables in it.

At some point I will probably be making a customized mechanism for that so that colors could be set up in a separate file and then that would be the main thing to tweak for custom skins.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Cody (ECHOLOCATING)
9254.3 In reply to 9254.2 
Thanks, Michael.

I'm stubborn though so I might figure out a way around it. ;-)

-- Cody
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All