From 86deb6ab8a23ab4e9a565516b9be0b8c3bab1602 Mon Sep 17 00:00:00 2001 From: Nayan Gautam Date: Tue, 12 Apr 2022 14:23:09 +0000 Subject: [PATCH 1/2] Rename folder --- .../{03-style-directive => 04-style-directive}/app-a/App.svelte | 0 .../{03-style-directive => 04-style-directive}/app-b/App.svelte | 0 .../{03-style-directive => 04-style-directive}/text.md | 0 3 files changed, 0 insertions(+), 0 deletions(-) rename site/content/tutorial/13-advanced-styling/{03-style-directive => 04-style-directive}/app-a/App.svelte (100%) rename site/content/tutorial/13-advanced-styling/{03-style-directive => 04-style-directive}/app-b/App.svelte (100%) rename site/content/tutorial/13-advanced-styling/{03-style-directive => 04-style-directive}/text.md (100%) diff --git a/site/content/tutorial/13-advanced-styling/03-style-directive/app-a/App.svelte b/site/content/tutorial/13-advanced-styling/04-style-directive/app-a/App.svelte similarity index 100% rename from site/content/tutorial/13-advanced-styling/03-style-directive/app-a/App.svelte rename to site/content/tutorial/13-advanced-styling/04-style-directive/app-a/App.svelte diff --git a/site/content/tutorial/13-advanced-styling/03-style-directive/app-b/App.svelte b/site/content/tutorial/13-advanced-styling/04-style-directive/app-b/App.svelte similarity index 100% rename from site/content/tutorial/13-advanced-styling/03-style-directive/app-b/App.svelte rename to site/content/tutorial/13-advanced-styling/04-style-directive/app-b/App.svelte diff --git a/site/content/tutorial/13-advanced-styling/03-style-directive/text.md b/site/content/tutorial/13-advanced-styling/04-style-directive/text.md similarity index 100% rename from site/content/tutorial/13-advanced-styling/03-style-directive/text.md rename to site/content/tutorial/13-advanced-styling/04-style-directive/text.md From 13ffe9d0c491ab9ededa55887feeae78bc49be40 Mon Sep 17 00:00:00 2001 From: Nayan Gautam Date: Tue, 12 Apr 2022 14:23:49 +0000 Subject: [PATCH 2/2] Split up paragraph --- .../tutorial/13-advanced-styling/04-style-directive/text.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/site/content/tutorial/13-advanced-styling/04-style-directive/text.md b/site/content/tutorial/13-advanced-styling/04-style-directive/text.md index 34fa9881a1..59b08741c7 100644 --- a/site/content/tutorial/13-advanced-styling/04-style-directive/text.md +++ b/site/content/tutorial/13-advanced-styling/04-style-directive/text.md @@ -13,4 +13,6 @@ Change the style attribute of the paragraph to the following: > ``` -Style directives share a few qualities with class directives. You can use a shorthand when the name of the property and the variable are the same. So `style:color="{color}"` can be written as just `style:color`. And just like class directives, the directives will take precedence if you set the same property through a style attribute. +The style directive shares a few qualities with the class directive. You can use a shorthand when the name of the property and the variable are the same. So `style:color="{color}"` can be written as just `style:color`. + +Similar to the class directive, the style directive will take precedence if you try to set the same property through a style attribute.