Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added 'text-shadow'-property and improved 'text-box' #25

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Onatcer
Copy link

@Onatcer Onatcer commented Aug 27, 2017

I added the 'text-shadow'-property because i think it's an important one and used a lot. Also i changed the comment that was included with the completion of the 'text-box'-property to another comment Form because sometimes CSS breaks with "//"-Commets.

Gregor added 2 commits August 27, 2017 04:44
“//“ comments broke my (S)CSS Rendering. “/* */“-comments are safer
added text-shadow attribute with properties in the CSS-Comment
Copy link
Owner

@dsandstrom dsandstrom left a comment

Choose a reason for hiding this comment

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

Thanks for the PR

@@ -102,7 +102,7 @@
'box-shadow':
'prefix': 'bs'
'body': """
// h-length, v-length, blur, spread, colour
Copy link
Owner

Choose a reason for hiding this comment

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

Don't change the sass comment. I and scss-lint prefer // comments.

@@ -543,7 +549,7 @@
'box-shadow':
'prefix': 'bs'
'body': """
// h-length, v-length, blur, spread, colour
Copy link
Owner

Choose a reason for hiding this comment

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

Use // for scss, sass, and less. For css, use /* */. This will mean we will have to break out the shadow snippets to a third section.

'text-shadow':
'prefix': 'ts'
'body': """
/* h-shadow, v-shadow, blur, colour */
Copy link
Owner

Choose a reason for hiding this comment

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

The comment is not necessary. Feel free to leave out if desired.

'text-shadow':
'prefix': 'ts'
'body': """
/* h-shadow, v-shadow, blur, colour */
Copy link
Owner

Choose a reason for hiding this comment

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

Likewise, use // for scss, /* */ for css.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants