legacy-paperclip icon indicating copy to clipboard operation
legacy-paperclip copied to clipboard

use call triggers, variants?

Open crcn opened this issue 3 years ago • 0 comments

public variant mobile trigger {
  "@media screen and (max-width: 100px)"
}

public component Test {
  render div {
    style trigger mobile {
    
    }
  }
}

Alternatively:

public variant mobile when "@media screen and (max-width: 100px)"

public component Test {
  render div {
    style when mobile {
    
    }
  }
}

Need to consider +

crcn avatar Sep 21 '22 22:09 crcn