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

Allow to add custom CSS #38

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

leoditommaso
Copy link

With this simple change you can enable anyone to adjust styles by adding a custom_css array into the params file. Mine looks like this:

custom_css = ["css/custom.css"]

And then I just add the file into the static directory.

This would be most useful for many people.

With this simple change you can enable anyone to adjust styles by adding a custom_css array into the params file. Mine looks like this:

```
custom_css = ["css/custom.css"]
```

And the I just add the file into the static directory.

This would be most useful for many people.
@wangchucheng
Copy link
Owner

Eureka has a feature to add a custom-head.html in html head. So that you can write almost anything you want there.

You can just create layouts/partials/custom-head.html in your project's path and write anything you want. This partial will be add to html head.

I did not mention it in documentation for now, because I have not decided whether to add it or not (Like a dark launch ;-)). Do you think this feature is worth adding? I think this can at least solve the problem of adding custom css.

@KermanX
Copy link

KermanX commented Apr 16, 2022

I did not mention it in documentation for now, because I have not decided whether to add it or not (Like a dark launch ;-)). Do you think this feature is worth adding? I think this can at least solve the problem of adding custom css.

In my opinion, this feature is really worth adding.👍

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

Successfully merging this pull request may close these issues.

None yet

3 participants