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

Way to apply css filter #105

Closed
chadyred opened this issue Sep 6, 2014 · 2 comments
Closed

Way to apply css filter #105

chadyred opened this issue Sep 6, 2014 · 2 comments

Comments

@chadyred
Copy link

chadyred commented Sep 6, 2014

Hello,

I try to config "components-font-awesome":"latest". I have add the plugin in my bower.json, I have update. I try this in configuration :

assetic:
        enabled: true
        nest_dependencies: true
        filters:
            css:
                - ?yui_css
            js:
                - ?uglifyjs
            packages:
                bootstrap:
                    css:
                        - cssembed
                        - cssrewrite 
                flat-ui-official:
                    css:
                        - cssrewrite

and I insert the package with the path in sp:bower:loist :

@components_font_awesome_css

But the filter dont apply to it, their is bad way in the css like ../bundles/me//../fonts/ etc.
...but with :

assetic:
  #...  
  assets:
        bootstrap:
            inputs:
                - "bundles/floriandemo/components/Flat-UI/bootstrap/css/bootstrap.css"
            filters:
                - cssrewrite 
        flat_ui:
            inputs:
                - "bundles/floriandemo/components/Flat-UI/css/flat-ui.css"
            filters:
                - cssrewrite      
        font_awesome:
            inputs:
                - "bundles/floriandemo/components/components-font-awesome/css/font-awesome.min.css"
            filters:
                - cssrewrite 

There is no problem, but....

  1. why the package filter don't apply to the bower package...

And why when i have had this plugin :

    "flat-ui-official":"latest"

I don't have any alias path to the css file, which are :

 - "bundles/floriandemo/components/Flat-UI/css/flat-ui.css"
- "bundles/floriandemo/components/Flat-UI/bootstrap/css/bootstrap.css"
  1. There's a way to have it ?

Thanks.

@Spea
Copy link
Owner

Spea commented May 29, 2015

is this still an issue? if so, can you add your bower.json?

@Spea
Copy link
Owner

Spea commented Jun 20, 2015

Closing for now until I get more feedback.

@Spea Spea closed this as completed Jun 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants