FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Styleguide doesn't port over css · Issue #42 · csstools/mdcss · GitHub

This repository was archived by the owner on May 5, 2024. It is now read-only.
/ mdcss Public archive
This repository was archived by the owner on May 5, 2024. It is now read-only.

Styleguide doesn't port over css #42

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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


      Back | FazBrowse Home | New Git URL