Giter Site home page Giter Site logo

Offer Sass file over CSS about vue-plyr HOT 4 CLOSED

redxtech avatar redxtech commented on July 19, 2024
Offer Sass file over CSS

from vue-plyr.

Comments (4)

redxtech avatar redxtech commented on July 19, 2024

I don't use a sass file here. I just import the dist/plyr.css from plyr. You can get the same file from putting the following code in your sass file after npm install plyr or yarn add plyr.

@import '~plyr/src/scss/plyr

from vue-plyr.

rebz avatar rebz commented on July 19, 2024

That actually makes more sense. Thank you.

from vue-plyr.

mortensassi avatar mortensassi commented on July 19, 2024

Like other Plugin Devs it would be preferable to just let the user import the sass in order to modify the appearance. now if you additionally import the scss file you get twice the css in your app and the overrides won't even work since they get overridden by your imported css file

from vue-plyr.

maximelebreton avatar maximelebreton commented on July 19, 2024

Hello.
Please Repoen this issue, and add the ability to disable css style import, or like @mortensassi said, let the dev import the css.
Currently we have no way import our own Sass style, because the default style overrides our custom Sass stylesheet.

Thanks,

from vue-plyr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.