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

Styleguide doesn't port over css #42

@Risto-Stevcev

Description

@Risto-Stevcev

I just followed the basic example

/* index.css */

/*---
title:   Buttons
section: Base CSS
---

Button styles can be applied to any element. Typically you'll want to use
either a `<button>` or an `<a>` element:

\```example:html
<button class="btn">Click</button>
<a class="btn" href="/some-page">Some Page</a>
\```
*/

.btn {
	background-color: black;
	color: white;
}

And tried it with postcss:

// postcss.config.js
const postcssPresetEnv = require('postcss-preset-env')

module.exports = {
  plugins: [
    postcssPresetEnv({ browsers: '> 3%, ie 11' }),
    require('mdcss')({}),
  ]
}
cat css/index.css | yarn postcss > output.css

It generated the styleguide but it doesn't port over the styles from index.css

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions