← All requests
5

Add custom CSS & JS

OpenCustomizationkosssi (GitHub) · · edited

Problem Statement

I wish I could easily add CSS and JS. Whether it's to make micro-arrangements or add a menu like LaGaufre

Proposed Solution

Add KANEO_CUSTOM_CSS_URL and KANEO_CUSTOM_JS_URL environment variables and load this files only if it's defined.

Alternative Solutions

Compile my own Kaneo 🙃

Relevant Context

Here are some applications that have implemented this type of functionality:

  • Grist :
    • APP_STATIC_INCLUDE_CUSTOM_CSS: set to "true" to include custom.css (from APP_STATIC_URL) in static pages
    • GRIST_INCLUDE_CUSTOM_SCRIPT_URL: if set, will load the referenced URL in a

Issue #1354

Discussion 3

LatestRose1436

Awesome idea. Really hope this gets implemented!

Sign in to comment.

Keyboard shortcuts

Anywhere

Go to requests
gh
Go to changelog
gc
Go to notifications
gn
Next or previous page
norp
Leave a text field or close a menu
Esc
Show this list
?

Requests

Move to the next or previous request
jork
Open the selected request
oorEnter
Vote on the selected request
v
Search
/
New request
c

Request

Vote
v
Write a comment
c
Edit
e