Skip to content

Commit

Permalink
revealjs: fix non-professional theme
Browse files Browse the repository at this point in the history
  • Loading branch information
nzbr committed Jan 1, 2024
1 parent 08d6794 commit 38eef1f
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 4 deletions.
2 changes: 2 additions & 0 deletions css/fonts/heading.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,7 @@ $font-family: null !default;
@include roboto-slab.roboto-slab;
} @else {
@include perfect-dos-vga.perfect-dos-vga;
font-weight: normal;
text-shadow: none;
}
}
15 changes: 11 additions & 4 deletions css/revealjs/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,14 @@ $sh: calc($segment * 9);
font-size: calc(5 * $sw);
}

h1, h2, h3, h4, h5, h6 {
@if not config.$professional {
font-weight: normal;
text-shadow: none;
color: colors.$highlight;
}
}

.section-content {
font-size: calc(2.25 * $sw);

Expand Down Expand Up @@ -150,10 +158,9 @@ $headingTextShadow: none;
$headingLetterSpacing: normal;
$headingTextTransform: uppercase;
$headingFontWeight: 600;
//$linkColor: #2a76dd;
$linkColor: colors.$baseF4;
$linkColorHover: colors.$baseF6;
$selectionBackgroundColor: colors.$baseF5;
$linkColor: darken(colors.$highlight, 20%);
$linkColorHover: colors.$highlight;
$selectionBackgroundColor: colors.$highlight;

$heading1Size: 1.5em;
$heading2Size: 1.25em;
Expand Down
2 changes: 2 additions & 0 deletions parcel/transformer-pandoc/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules/
dist/
13 changes: 13 additions & 0 deletions parcel/transformer-pandoc/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Copyright (c) 2023-2024 nzbr

Permission to use, copy, modify, and/or distribute this software for any purpose
with or without fee is hereby granted, provided that the above copyright notice
and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
THIS SOFTWARE.
2 changes: 2 additions & 0 deletions parcel/transformer-revealjs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules/
dist/
13 changes: 13 additions & 0 deletions parcel/transformer-revealjs/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Copyright (c) 2023-2024 nzbr

Permission to use, copy, modify, and/or distribute this software for any purpose
with or without fee is hereby granted, provided that the above copyright notice
and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
THIS SOFTWARE.

0 comments on commit 38eef1f

Please sign in to comment.