Not all custom .css files are used by apiclone #1

Open
opened 2026-01-25 01:45:15 -05:00 by chipmunkmc · 2 comments
Owner

Enabling custom styles merely uses the custom imports.css file from what I see. Adding modified versions of files such as project_base.css does nothing for now... Solutions:

  • Move all related edits to files imported in imports.css and use !important when needed (maybe simplest?)
  • Add a bunch more checks for if custom css is enabled, for every page where stylesheets are used (doesn't sound like a good solution though
  • Have my fork do the above but only for the files I need to modify (half-done I guess)
  • Add a template tag like static but with custom support
  • Perhaps more...

I'll wait for input on this.

Enabling custom styles merely uses the custom `imports.css` file from what I see. Adding modified versions of files such as `project_base.css` does nothing for now... Solutions: * Move all related edits to files imported in `imports.css` and use `!important` when needed (maybe simplest?) * Add a bunch more checks for if custom css is enabled, for every page where stylesheets are used (doesn't sound like a good solution though * Have my fork do the above but only for the files I need to modify (half-done I guess) * Add a template tag like `static` but with custom support * Perhaps more... I'll wait for input on this.

For now at least, just use custom/css/_override.css to override the colors and stuff. However, the custom template tag sounds like a great idea, I may implement it eventually. But maybe we should just give up on the custom thing and directly replace the CSS instead?

For now at least, just use [`custom/css/_override.css`](https://code.chipmunk.land/scr.chipmunk.land/apiclone-theme/src/branch/main/css/_override.css) to override the colors and stuff. However, the custom template tag sounds like a great idea, I may implement it eventually. But maybe we should just give up on the `custom` thing and directly replace the CSS instead?
Author
Owner

@Heathercat123 wrote in #1 (comment):

For now at least, just use custom/css/_override.css to override the colors and stuff. However, the custom template tag sounds like a great idea, I may implement it eventually. But maybe we should just give up on the custom thing and directly replace the CSS instead?

Maybe we should

@Heathercat123 wrote in https://code.chipmunk.land/scr.chipmunk.land/apiclone-theme/issues/1#issuecomment-833: > For now at least, just use [`custom/css/_override.css`](https://code.chipmunk.land/scr.chipmunk.land/apiclone-theme/src/branch/main/css/_override.css) to override the colors and stuff. However, the custom template tag sounds like a great idea, I may implement it eventually. But maybe we should just give up on the `custom` thing and directly replace the CSS instead? Maybe we should
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
scr.chipmunk.land/apiclone-theme#1
No description provided.