matcornic / matcornic/hugo-theme-learn

Theming options missing.

Open
#435 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
1.6k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

While trying to create a dracula theme i ran into some issues.

  • normal background is missing. the fix for this is

:root{
    
    --MAIN-TEXT-color:#f8f8f2; /* Color of text by default */
    --MAIN-BG-color: #44475a;
body {
    color: var(--MAIN-TEXT-color) !important;
    background: var(--MAIN-BG-color) url("img_tree.gif") no-repeat fixed center; 
}
  • Page Title colour is missing

fied by

h1, h2, h3, h4, h5 {
    color: var(--MAIN-TITLES-TEXT-color) !important;
}

Or by adding a seperatevalue both in vars and in h1{color:var()}

  • The top navlink bg colour is missing.

fixed by

#top-bar {
    background-color: var(--MENU-SEARCH-BG-color)
}
  • Mermaid theming / colours are missing.
    theming options are hard for me to figure out.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the theme stylesheet and its :root variables, body, heading, and #top-bar rules; compare those selectors with the requested background, title, and navigation colors. Review the linked Mermaid theming options and identify the existing Mermaid configuration, then verify that custom theme variables apply consistently across the page and diagrams.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
design, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.