Skip to content
This repository was archived by the owner on Aug 5, 2025. It is now read-only.

Conversation

baderj
Copy link
Contributor

@baderj baderj commented Aug 7, 2023

The tutorial on Component styles uses background-color in the README.md, while the app uses the shorthand background. This could be confusing:

  1. The text tells us to

    change background-color ...

    but actually changes the background in Box.svelte.

  2. The first snippet uses background-color to overwrite background in App.svelte.

I replaced the shorthand background in the app with background-color to make it consistent with the tutorial text.

Fixes potential confusion by the tutorial using `background-color`
to overwrite `background` and referencing `background-color`
instead of the shorthand `background` used by the app.
@vercel
Copy link

vercel bot commented Aug 7, 2023

@baderj is attempting to deploy a commit to the Svelte Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Member

@dummdidumm dummdidumm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@dummdidumm dummdidumm merged commit 3fe7f04 into sveltejs:main Aug 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants