SassDoc / sassdoc-theme-default

Default theme for SassDoc.
MIT License
10 stars 30 forks source link

Adding simple support for plain css #98

Closed seveves closed 7 years ago

seveves commented 7 years ago

I know that sassdoc is for sass and not css but I still would prefer this output for css because it allows to add some css classes as usage examples.

Input

/// This class should be used for text with the default
/// font size, font weight and font family.
/// @group fonts
.default-text {
  font-family: $font-family-text;
  font-weight: $font-weight-regular;
  font-size: $font-size-regular;
}

Before Imgur After Imgur

pascalduez commented 7 years ago

@seveves Thanks for the PR. Could you update the screenshots uploads/links, they don't show up.

seveves commented 7 years ago

Are the images working now? I also made the css toggleable.

KittyGiraudel commented 7 years ago

@pascalduez Looks great, what do you think?

pascalduez commented 7 years ago

Available as of sassdoc-theme-default@2.6.0.