diff --git a/packages/examples/simple-blog/@global/layout.html b/packages/examples/simple-blog/@global/layout.html index 9a39bb02..993e3808 100644 --- a/packages/examples/simple-blog/@global/layout.html +++ b/packages/examples/simple-blog/@global/layout.html @@ -4,4 +4,4 @@ \ No newline at end of file + diff --git a/packages/examples/simple-blog/README.md b/packages/examples/simple-blog/README.md index ebfef6b6..eb8cd1ba 100644 --- a/packages/examples/simple-blog/README.md +++ b/packages/examples/simple-blog/README.md @@ -3,7 +3,8 @@ The default website template for `nue create` command: - + + ## Links diff --git a/packages/examples/simple-blog/blog/blog.yaml b/packages/examples/simple-blog/blog/blog.yaml index 85fee40c..1d05f34d 100644 --- a/packages/examples/simple-blog/blog/blog.yaml +++ b/packages/examples/simple-blog/blog/blog.yaml @@ -1,2 +1,2 @@ -include: [ content, cards, motion ] \ No newline at end of file +include: [ content, cards, motion ] diff --git a/packages/examples/simple-blog/blog/class-naming-strategies.md b/packages/examples/simple-blog/blog/class-naming-strategies.md index 4f6151e3..3979914b 100644 --- a/packages/examples/simple-blog/blog/class-naming-strategies.md +++ b/packages/examples/simple-blog/blog/class-naming-strategies.md @@ -14,7 +14,7 @@ When designing for the web, keeping CSS in mind from the start prevents frustrat Designers should have a strong handle on core CSS concepts like the box model, selectors, specificity and inheritance. -> When designing for the web, keeping CSS in mind from the start prevents frustration down the road. For example, **typography and color schemes are heavily influenced by CSS** and layered graphical elements must be broken down into achievable HTML components. +> When designing for the web, keeping CSS in mind from the start prevents frustration down the road. For example, **typography and color schemes are heavily influenced by CSS** and layered graphical elements must be broken down into achievable HTML components. ``` js.blue function toggleAttr(el, name, flag) { @@ -33,7 +33,7 @@ function restoreTabs(flags) { ## Exploit the power of selectors -On the development side, CSS itself involves visual design skills.Bringing a layout to life requires not just coding, but typographic, spacing and color sensibilities. CSS skills give developers control over the final look and feel. +On the development side, CSS itself involves visual design skills. Bringing a layout to life requires not just coding, but typographic, spacing and color sensibilities. CSS skills give developers control over the final look and feel. [! img/dashboard-1.png] @@ -56,7 +56,7 @@ Overall, CSS is a uniquely visual language, with a direct impact on user-facing ## Conclusion -In conclusion, thoughtfully naming CSS classes, IDs, and other selectors is an important part of keeping stylesheets scalable and maintainable. Use semantic, descriptive names that communicate what a selector is styling. Implement methodical naming conventions and structures for better organization +In conclusion, thoughtfully naming CSS classes, IDs, and other selectors is an important part of keeping stylesheets scalable and maintainable. Use semantic, descriptive names that communicate what a selector is styling. Implement methodical naming conventions and structures for better organization. [! img/dashboard-2.png] diff --git a/packages/examples/simple-blog/blog/color-strategies.md b/packages/examples/simple-blog/blog/color-strategies.md index 651165a0..d00f0d25 100644 --- a/packages/examples/simple-blog/blog/color-strategies.md +++ b/packages/examples/simple-blog/blog/color-strategies.md @@ -30,21 +30,21 @@ Working with color is one of the most fun parts of web design. But if you don't Choosing the right colors for a website can be tricky. Get one wrong and your entire design can feel off. Luckily, there are some simple strategies to create a foolproof web color palette: -- **Limit your palette** - Stick to just 2-4 core colors for most sites. Too many colors look disjointed. +- **Limit your palette** — Stick to just 2-4 core colors for most sites. Too many colors look disjointed. -- **Focus on one dominant hue** - Pick one main color and derive the rest of the palette from it. This creates cohesion. +- **Focus on one dominant hue** — Pick one main color and derive the rest of the palette from it. This creates cohesion. -- **Use color wheel relationships** - Choose adjacent or complementary colors on the wheel for built-in harmony. +- **Use color wheel relationships** — Choose adjacent or complementary colors on the wheel for built-in harmony. -- **Consider tone and contrast** - Include light, medium and dark tones for visual interest. Test contrast for accessibility. +- **Consider tone and contrast** — Include light, medium and dark tones for visual interest. Test contrast for accessibility. [image img/colors-1.png] -Considering the different formatting options, you can optimize CSS color usage for any need. Use hex for one-off values, RGBA where you need opacity control, HSL for color adjustments, variables for theming, and preprocessor operations for transformations. With the right format, implementing colors in CSS becomes much more flexible and manageable. +Considering the different formatting options, you can optimize CSS color usage for any need. Use hex for one-off values, RGBA where you require opacity control, HSL for color adjustments, variables for theming, and preprocessor operations for transformations. With the right format, implementing colors in CSS becomes much more flexible and manageable. Following these simple tips will ensure you have a tightly edited, flexible, and foolproof palette ready for your next web project. -> Focus on one dominant hue - Pick one main color and derive the rest of the palette from it. This creates cohesion. +> Focus on one dominant hue — Pick one main color and derive the rest of the palette from it. This creates cohesion. ``` .pink /* Tab styling */ diff --git a/packages/examples/simple-blog/blog/hero.html b/packages/examples/simple-blog/blog/hero.html index 58ddcd2d..b77acabf 100644 --- a/packages/examples/simple-blog/blog/hero.html +++ b/packages/examples/simple-blog/blog/hero.html @@ -6,4 +6,4 @@