Skip to content

Address issues #19, #24, #25, #29, #30#33

Open
it-publisher wants to merge 7 commits into
krios2146:masterfrom
it-publisher:master
Open

Address issues #19, #24, #25, #29, #30#33
it-publisher wants to merge 7 commits into
krios2146:masterfrom
it-publisher:master

Conversation

@it-publisher
Copy link
Copy Markdown

Summary

Bundle of fixes and enhancements addressing 5 open issues.

  • fix Headers underline not working #30 — Headers underline now applies in both Reading view and Live Preview. The previous selector body.h1-underline.markdown-rendered h1 was invalid (.markdown-rendered is never on body); replaced with body.h1-underline h1 + body.h1-underline .HyperMD-header-1 (same for H2).
  • fix Disabled buttons still showing cursor as pointer #29 — Disabled buttons no longer show cursor: pointer. Changed button:hover to button:not(:disabled):hover and added explicit cursor: not-allowed for :disabled.
  • feat <kbd> tag #24<kbd> tag styled in GitHub style: mono font, border, inset shadow, themed via existing CSS vars.
  • fix Table font size inconsistent on external window #25 — Table font size in pop-out windows. Added explicit font-size: var(--font-text-size) on table and inherit on td/th so the size is preserved when the table renders in a detached window.
  • feat Add Dark dimmed #19 — GitHub Dark Dimmed variant as a Style Settings class-toggle. Applies on .theme-dark only; palette based on Primer's dark_dimmed.
  • chore: bump manifest.json to 1.2.0 (matches the milestone on Add Dark dimmed #19).

Test plan

  • Headers underline toggles work in Reading view and Live Preview
  • Disabled buttons show not-allowed, enabled buttons still show pointer
  • <kbd> renders with border + inset shadow in Reading view
  • Table font size is consistent between main window and pop-out window
  • Dark Dimmed toggle: palette switches; toggling off restores GitHub Dark; toggle has no effect on .theme-light
  • Regression: existing Style Settings toggles (callouts, kanban variants, header colors, colorblind variants) still work

🤖 Generated with Claude Code

it-publisher and others added 7 commits June 3, 2026 23:01
krios2146#29, krios2146#30

- fix(krios2146#30): headers underline now applies in both Reading view and Live
  Preview (.HyperMD-header-1/-2); replaced invalid body.h1-underline.markdown-rendered selector
- fix(krios2146#29): disabled buttons no longer show cursor:pointer on hover;
  added explicit cursor:not-allowed
- feat(krios2146#24): style <kbd> tag in GitHub style (mono font, border, inset shadow)
- fix(krios2146#25): table font size now follows --font-text-size, fixes
  inconsistent sizing in pop-out windows
- feat(krios2146#19): add GitHub Dark Dimmed variant as a class-toggle in Style
  Settings (applies on .theme-dark)
- chore: bump version to 1.2.0

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- Add kbd tag and Dark Dimmed to Features
- Add Headers underline and Dark Dimmed toggle to Theme Settings

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Adopt the broader theme rework (palette refresh, data-task checkbox
icons, Vimrc plugin styling) while preserving the issue fixes from
1.2.0.

Reapplied on top:
- fix(krios2146#30): headers underline selectors (.HyperMD-header-1/-2)
- fix(krios2146#29): button:not(:disabled):hover + cursor:not-allowed
- fix(krios2146#25): font-size: var(--font-text-size) on tables
- feat(krios2146#24): kbd tag in GitHub style
- feat(krios2146#19): Dark Dimmed class-toggle and palette

Quality fixes on incoming code:
- --bold-color: moved from body (hardcoded #7ee787) into .theme-dark
  as var(--color-green); avoids ugly green bold on light theme and
  keeps bold in sync when palette changes
- --callout-quote: var(--color-cyan-rgb) instead of hardcoded RGB

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Pull a few accents from brand.github.com/foundations/color to bring
the theme closer to current GitHub brand identity:

- .theme-dark btn-primary: #08872B → #0FBF3E (Green 5 → Green 4 hover)
- .theme-dark --color-purple: #d2a8ff → #B870FF (Purple 2)
- .theme-light --color-purple: #876be0 → #8534F3 (Copilot Purple)
- .theme-dark --color-orange: #c9510c → #F08A3A (Orange 2)
- .theme-light --color-orange: #d96c00 → #C53211 (Orange 4)
- --text-highlight-bg: 255,208,0 → 216,189,14 (Lime 3) in all schemes

Colorblind variants and Dark Dimmed keep their own palettes.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Two Style Settings class-toggles that spot-highlight notes by topic,
following GitHub brand guidance to use vibrant colors sparingly.

- copilot-accent: callouts [!ai|copilot|gpt|llm|prompt] and matching
  tags get Copilot Purple (#8534F3)
- security-accent: callouts [!security|secret|encrypted|private|vault]
  and matching tags get Security Blue (#3094FF)

Tag highlighting works in Reading view; Live Preview doesn't expose
tag names via CSS selectors so it falls back to default styling there.

Bump to 1.3.0.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Apply font-feature-settings: "calt", "liga", "ss01" to code, pre,
.cm-editor, .cm-line, .HyperMD-codeblock and rendered code blocks.

Enables ligatures in fonts that support them (Monaspace, JetBrains
Mono, Fira Code, Cascadia Code) without affecting fonts that don't.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Headers underline not working Disabled buttons still showing cursor as pointer Table font size inconsistent on external window

1 participant