#903 Customize blog theme / css

Open
opened 1 month ago by pwFoo · 3 comments
pwFoo commented 1 month ago

Hi,
before I start using my new plume blog I’d like to customize some colors. Searched documentation, but haven’t found an example how to change background / text colors with custom blog css?
https://docs.joinplu.me/guide/manage-a-blog/

Would it possible to get a listing of some css attributes to change the base color schema?

Hi, before I start using my new plume blog I'd like to customize some colors. Searched documentation, but haven't found an example how to change background / text colors with custom blog css? https://docs.joinplu.me/guide/manage-a-blog/ Would it possible to get a listing of some css attributes to change the base color schema?
KitaitiMakoto commented 1 month ago
Owner

Sorry, there’s no listing neither examples. But documentation is here: https://docs.joinplu.me/guide/creating-themes/

Copying default theme from static directory is a good start point.

Sorry, there's no listing neither examples. But documentation is here: https://docs.joinplu.me/guide/creating-themes/ Copying default theme from static directory is a good start point.
pwFoo commented 1 month ago
Poster

Tried with a simple theme.css in the following directories, but it’s ignored as blog theme?

  • ./css/blog-<BLOG_NAME>/theme.css
  • ./css/<BLOG_NAME>/theme.css
  • ./css/<BLOG_NAME>-<THEME_NAME>/theme.css
  • ./css/blog-<THEME_NAME>/theme.css (don’t make sense because wouldn’t belong to a defined blog?!)

So how to name directory and file to get it work?

Tried with a simple theme.css in the following directories, but it's ignored as blog theme? - `./css/blog-<BLOG_NAME>/theme.css` - `./css/<BLOG_NAME>/theme.css` - `./css/<BLOG_NAME>-<THEME_NAME>/theme.css` - `./css/blog-<THEME_NAME>/theme.css` (don't make sense because wouldn't belong to a defined blog?!) So how to name directory and file to get it work?
KitaitiMakoto commented 2 weeks ago
Owner

Can you try:

  1. cp -r static/css/default-light static/css/myblog
  2. edit static/css/myblog/theme.css

And choose the theme myblog in env var DEFAULT_THEME or blog setting at /~/<BLOG_NAME>/edit.

Can you try: 1. `cp -r static/css/default-light static/css/myblog` 2. edit `static/css/myblog/theme.css` And choose the theme `myblog` in env var `DEFAULT_THEME` or blog setting at `/~/<BLOG_NAME>/edit`.
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.