Skip to content

1. First Script

Yazid Slila edited this page Feb 1, 2022 · 1 revision

style.dye

open global
set mycolor #007BFF
style div color &mycolor
^ button backgroundColor ^

hints

open : open directory global in read and write mode

set : assign the value "#007BFF" to mycolor in global

style : set the color of div to "#007BFF"

^ : refers to the the value above.

compiled script

div {
  color: #007BFF;
} 
button {
  background-color: #007BFF;
}
Clone this wiki locally