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

Add ability to import external css #920

Merged
merged 1 commit into from
Oct 21, 2016

Commits on Oct 16, 2016

  1. Add ability to import external css

    - Allows to import external css from node_modules (ref kriasoft#510, kriasoft#824)
    - Allows to properly process `url()` statements (ref kriasoft#825)
    - Allows to import css without css-modules prefixing (close kriasoft#771)
    
      ```css
      /* Example: MyTextEditorComponent.css */
      :global {
        @import 'draft-js/dist/Draft.css'; /* external style without prefixing */
      }
      .button { color: red; } /* keep the prefixes for your own style */
      ```
    
    Also closes kriasoft#375 and kriasoft#423
    frenzzy committed Oct 16, 2016
    Configuration menu
    Copy the full SHA
    762b796 View commit details
    Browse the repository at this point in the history