diff --git a/text/0000-local-styles.md b/text/0000-local-styles.md new file mode 100644 index 0000000..9df9967 --- /dev/null +++ b/text/0000-local-styles.md @@ -0,0 +1,136 @@ + +- Start Date: (fill me in with today's date, 2020-09-09) +- RFC PR: [#32](https://github.com/sveltejs/rfcs/pull/32) +- Svelte Issue: (leave this empty) + +# Local styles + +## Summary + +Allow components to contain ` + + + +``` + +This would be roughly equivalent to the following... + +```svelte + +
some red text
+ +some bold red text
+some red text
+ +some bold red text
+some red text
+ +some bold red text
+condition green
+{:else} + +condition red
+{/if} +``` + +For now, adding the `scoped` attribute is necessary for this to not be a breaking change, since non-top-level `