mirror of
https://github.com/joshua-walls/trailmark-theme.git
synced 2026-07-22 04:50:30 +00:00
release: v0.1.17
Merge release/0.1.17 into main
This commit is contained in:
commit
995b4ff270
3 changed files with 122 additions and 1 deletions
|
|
@ -4,6 +4,11 @@ This file is for maintainers.
|
|||
|
||||
## Changelog
|
||||
|
||||
### 0.1.17
|
||||
|
||||
- Separated adjacent heading levels with clearer warm, cool, and neutral color changes.
|
||||
- Added a subtle depth indent for H3-H6 while keeping H1 and H2 flush.
|
||||
|
||||
### 0.1.16
|
||||
|
||||
- Completed the H1/H2 underline swap by moving the full H2 rule to H1 and leaving H2 with the shorter trail underline.
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "Trailmark",
|
||||
"version": "0.1.16",
|
||||
"version": "0.1.17",
|
||||
"minAppVersion": "0.16.0",
|
||||
"author": "Joshua Walls"
|
||||
}
|
||||
|
|
|
|||
116
theme.css
116
theme.css
|
|
@ -5787,6 +5787,122 @@ body.is-mobile:not(.theme-dark):not([data-theme='dark']) .workspace-drawer-activ
|
|||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
/* Heading depth ramp: adjacent levels alternate color families and only h3-h6 step inward. */
|
||||
:is(#trailmark-heading-depth-ramp, .theme-dark, body[data-theme='dark']) {
|
||||
--h1-color: var(--trailmark-harvest-orange);
|
||||
--h2-color: var(--trailmark-seafoam);
|
||||
--h3-color: var(--trailmark-fog);
|
||||
--h4-color: var(--trailmark-campfire);
|
||||
--h5-color: var(--trailmark-route-soft);
|
||||
--h6-color: color-mix(in srgb, var(--trailmark-harvest-orange) 58%, var(--trailmark-dark-text-muted));
|
||||
}
|
||||
|
||||
:is(#trailmark-heading-depth-ramp, .theme-light, body[data-theme='light']) {
|
||||
--h1-color: var(--trailmark-copper);
|
||||
--h2-color: var(--trailmark-route);
|
||||
--h3-color: var(--trailmark-trail-olive);
|
||||
--h4-color: var(--trailmark-route-muted-base);
|
||||
--h5-color: var(--trailmark-canyon);
|
||||
--h6-color: var(--trailmark-light-text-muted);
|
||||
}
|
||||
|
||||
:is(#trailmark-heading-depth-ramp, .theme-dark, .theme-light) :is(
|
||||
.markdown-rendered h1,
|
||||
.markdown-preview-view h1,
|
||||
.markdown-source-view.mod-cm6 .cm-line.HyperMD-header-1,
|
||||
.markdown-source-view.mod-cm6 .cm-header-1
|
||||
) {
|
||||
color: var(--h1-color);
|
||||
}
|
||||
|
||||
:is(#trailmark-heading-depth-ramp, .theme-dark, .theme-light) :is(
|
||||
.markdown-rendered h2,
|
||||
.markdown-preview-view h2,
|
||||
.markdown-source-view.mod-cm6 .cm-line.HyperMD-header-2,
|
||||
.markdown-source-view.mod-cm6 .cm-header-2
|
||||
) {
|
||||
color: var(--h2-color);
|
||||
}
|
||||
|
||||
:is(#trailmark-heading-depth-ramp, .theme-dark, .theme-light) :is(
|
||||
.markdown-rendered h3,
|
||||
.markdown-preview-view h3,
|
||||
.markdown-source-view.mod-cm6 .cm-line.HyperMD-header-3,
|
||||
.markdown-source-view.mod-cm6 .cm-header-3
|
||||
) {
|
||||
color: var(--h3-color);
|
||||
}
|
||||
|
||||
:is(#trailmark-heading-depth-ramp, .theme-dark, .theme-light) :is(
|
||||
.markdown-rendered h4,
|
||||
.markdown-preview-view h4,
|
||||
.markdown-source-view.mod-cm6 .cm-line.HyperMD-header-4,
|
||||
.markdown-source-view.mod-cm6 .cm-header-4
|
||||
) {
|
||||
color: var(--h4-color);
|
||||
}
|
||||
|
||||
:is(#trailmark-heading-depth-ramp, .theme-dark, .theme-light) :is(
|
||||
.markdown-rendered h5,
|
||||
.markdown-preview-view h5,
|
||||
.markdown-source-view.mod-cm6 .cm-line.HyperMD-header-5,
|
||||
.markdown-source-view.mod-cm6 .cm-header-5
|
||||
) {
|
||||
color: var(--h5-color);
|
||||
}
|
||||
|
||||
:is(#trailmark-heading-depth-ramp, .theme-dark, .theme-light) :is(
|
||||
.markdown-rendered h6,
|
||||
.markdown-preview-view h6,
|
||||
.markdown-source-view.mod-cm6 .cm-line.HyperMD-header-6,
|
||||
.markdown-source-view.mod-cm6 .cm-header-6
|
||||
) {
|
||||
color: var(--h6-color);
|
||||
}
|
||||
|
||||
:is(#trailmark-heading-depth-ramp, .theme-dark, .theme-light) :is(
|
||||
.markdown-rendered h1,
|
||||
.markdown-preview-view h1,
|
||||
.markdown-rendered h2,
|
||||
.markdown-preview-view h2,
|
||||
.markdown-source-view.mod-cm6 .cm-line.HyperMD-header-1,
|
||||
.markdown-source-view.mod-cm6 .cm-line.HyperMD-header-2
|
||||
) {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
:is(#trailmark-heading-depth-ramp, .theme-dark, .theme-light) :is(
|
||||
.markdown-rendered h3,
|
||||
.markdown-preview-view h3,
|
||||
.markdown-source-view.mod-cm6 .cm-line.HyperMD-header-3
|
||||
) {
|
||||
padding-left: 0.28rem;
|
||||
}
|
||||
|
||||
:is(#trailmark-heading-depth-ramp, .theme-dark, .theme-light) :is(
|
||||
.markdown-rendered h4,
|
||||
.markdown-preview-view h4,
|
||||
.markdown-source-view.mod-cm6 .cm-line.HyperMD-header-4
|
||||
) {
|
||||
padding-left: 0.5rem;
|
||||
}
|
||||
|
||||
:is(#trailmark-heading-depth-ramp, .theme-dark, .theme-light) :is(
|
||||
.markdown-rendered h5,
|
||||
.markdown-preview-view h5,
|
||||
.markdown-source-view.mod-cm6 .cm-line.HyperMD-header-5
|
||||
) {
|
||||
padding-left: 0.72rem;
|
||||
}
|
||||
|
||||
:is(#trailmark-heading-depth-ramp, .theme-dark, .theme-light) :is(
|
||||
.markdown-rendered h6,
|
||||
.markdown-preview-view h6,
|
||||
.markdown-source-view.mod-cm6 .cm-line.HyperMD-header-6
|
||||
) {
|
||||
padding-left: 0.94rem;
|
||||
}
|
||||
|
||||
/* File explorer stability: active and hover cues must not change row width or folder text alignment. */
|
||||
:is(#trailmark-nav-stability, .theme-dark, .theme-light) .nav-files-container :is(
|
||||
.tree-item-self.nav-file-title,
|
||||
|
|
|
|||
Loading…
Reference in a new issue