Files
component-party/content/2-templating/2-styling/marko/CssStyle.marko
Taylor Hunt a01e903494 Add Marko (#149)
* WIP: add Marko

* WTF, vscode

* Consistent final newlines

* Apply suggestions from code review

Everything except for the TS declarations since I think Dylan ought to weigh in

Co-authored-by: Michael Rawlings <mirawlings@ebay.com>
Co-authored-by: Luke LaValva <lukelavalva@gmail.com>

* Feedback: no space before method parens, no TS, else-if, ColorSelect works now

* Pre-bugbash updates

* This is probably why they want us to provide a linter

* Finishing touches

* Argle

* @rturnq feedback

* Match examples to other frameworks

---------

Co-authored-by: Michael Rawlings <mirawlings@ebay.com>
Co-authored-by: Luke LaValva <lukelavalva@gmail.com>
Co-authored-by: tigt <tigt@mortropolis.com>
2023-04-03 22:36:25 +02:00

15 lines
273 B
Plaintext

<h1.title>I am red</h1>
<button style={ fontSize: "10rem" }>I am a button</button>
<button class=scopedButton>I am a style-scoped button</button>
<style>
.title {
color: red;
}
</style>
<style/{ scopedButton }>
.scopedButton {
font-size: 10rem;
}
</style>