axodotdev / axodotdev/oranda

Unclear how to overwrite theme CSS files

Open
#712 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
543
Forks
34
PR merge metrics
No merged PRs in 30d

Description

Hi,

Thanks for the project! I'm trying to use it to make a landing page for my project, except I already made the landing page in HTML/CSS, but would still like to take advantage of the changelog and mdbook features.

This part of the docs has me confused:

> Currently, to create a new theme, you need to follow the directions above in "Customizing Themes" and overwrite the given CSS.

Does this mean I should run `oranda build` and then do `mv public/custom.css public/oranda-v0.6.1.css` (or something else) to overwrite the CSS?

Or is it saying I should surround my custom CSS with `@layer overrides { ... }`? I tried that and the page still includes `oranda-v0.6.1.css` and its directives still override mine (eg, it changes the default body `height`, its body `font-family` overrides mine, etc.)

Thanks for any help!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.