Skip to content

Commit cd8ddf9

Browse files
committed
Removed code enforcing header to be sentence case because we had too many edge cases, which would require list of words to ignore
1 parent af1e1b4 commit cd8ddf9

File tree

2 files changed

+16
-8
lines changed

2 files changed

+16
-8
lines changed

_quarto.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,5 @@ format:
6767

6868
brand: _brand.yml
6969
profile:
70-
default: local
70+
default: local
71+

theme.scss

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,8 @@ $dark: $gs-grey-dark-color;
151151
// Control the color of the active tab in a tabset
152152
$nav-tabs-link-active-color: $gs-secondary-alt-color;
153153

154+
$card-title-color: $gs-secondary-alt-color;
155+
154156
// ---------------------------------------------------------------------------
155157
// Quarto Variables
156158
// ---------------------------------------------------------------------------
@@ -316,6 +318,11 @@ $important: false) {
316318
&::first-letter {
317319
text-transform: uppercase;
318320
}
321+
// Insterted by Lua filter protect-terms
322+
.no-transform,
323+
span.no-transform {
324+
text-transform: none !important;
325+
}
319326
}
320327

321328
/*-- scss:rules --*/
@@ -329,7 +336,7 @@ h1 {
329336
font-size: 2.25em;
330337
line-height: 1.3;
331338
margin: 0 0 1em;
332-
@include sentence-case;
339+
// @include sentence-case;
333340
}
334341

335342
h2 {
@@ -338,7 +345,7 @@ h2 {
338345
font-size: 2em;
339346
line-height: 1.4;
340347
margin: .64em 0 .64em;
341-
@include sentence-case;
348+
// @include sentence-case;
342349
}
343350

344351
h3 {
@@ -348,12 +355,12 @@ h3 {
348355
letter-spacing: -.01em;
349356
line-height: 1.5;
350357
margin: 1.6em 0 .8em;
351-
@include sentence-case;
358+
// @include sentence-case;
352359
}
353360

354-
h4, h5, h6 {
355-
@include sentence-case;
356-
}
361+
// h4, h5, h6 {
362+
// @include sentence-case;
363+
// }
357364

358365
/* Code Styles
359366
If we want more control the next step would be to create a custom theme
@@ -604,7 +611,6 @@ ul.pagination li.active a {
604611
color: $gs-secondary-alt-color;
605612
}
606613

607-
608614
/* Table of Contents
609615
-----------------------------------------------------------------------------*/
610616
.sidebar nav[role=doc-toc]>h2 {
@@ -653,6 +659,7 @@ ul.pagination li.active a {
653659
.card {
654660
.card-body {
655661
background-color: $gs-white-base-color;
662+
color: $gs-black-color;
656663
}
657664
}
658665

0 commit comments

Comments
 (0)