@slide-ng/theme-seriph
v1.0.0
Published
Serif fonts and a blue-grey accent: the seriph theme of Slidev, ported to slide.ng
Readme
seriph
A theme with serif fonts and a blue-grey accent. Install it with npm i -D @slide-ng/theme-seriph and use it with theme: seriph.
Original design: @slidev/theme-seriph by Anthony Fu, MIT License. The layout, CSS values and font settings are
ported to Angular; see the MIT notice in the NOTICE file at the root of this repository.
What is ported
- Fonts (
theme.json, loaded from the font provider like Slidev):PT Seriffor text and headings,PT Monofor code, italic, weights 400 and 700. - Colour:
--slidev-theme-primary: #5d8392, used for headings (h1), links on hover and the quote bar. - Layout
cover: centered title over a dimmedbackground(a picture address or a colour), as in the original. intro,section,statement,fact,quoteanddefaultare the built-in layouts; the original does not change them either, only the heading colour.
What is different
- The original's default cover is a random photo from an online collection. That photo is a licensed asset and is not used. A cover without
backgroundgets a blue-grey gradient drawn in CSS (.seriph-cover-plaininstyles/index.css). Setbackground:to use your own picture. themeConfig.primaryis not read (slide.ng has nothemeConfigyet): set--slidev-theme-primaryin a<style>block or in your own CSS instead.- Code colours come from Shiki, not from the original's Prism style sheet.
No image or other asset of the original theme is part of this folder.
