From 4d91a8c3ebcf8d0539954c217801bde8910041b8 Mon Sep 17 00:00:00 2001 From: Travis Fischer Date: Fri, 25 Mar 2022 10:58:53 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=8F=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- readme.md | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/readme.md b/readme.md index 6ea1dc5..47f5110 100644 --- a/readme.md +++ b/readme.md @@ -85,7 +85,7 @@ REDIS_PASSWORD='TODO' Note that support for preview images and redis caching are both optional. If you’d rather not deal with them, just disable them in your site config. -## Theming +## Styles All CSS styles that customize Notion content are located in [styles/notion.css](./styles/notion.css). @@ -93,7 +93,7 @@ They mainly target global CSS classes exported by react-notion-x [styles.css](ht It should be pretty easy to customize most styling-related things, especially with local development and hot reload. -### Dark Mode +## Dark Mode

Light Mode @@ -103,19 +103,7 @@ It should be pretty easy to customize most styling-related things, especially wi Dark mode is fully supported and can be toggled via the sun / moon icon in the footer. -## Extras - -All extra dependencies are optional -- the project should work just fine out of the box. - -If you want to copy some of the fancier elements of my site, then you'll have to set up a few extras. - -### Fathom Analytics - -[Fathom](https://usefathom.com/ref/42TFOZ) provides a lightweight alternative to Google Analytics. - -To enable the optional analytics feature, just add a `NEXT_PUBLIC_FATHOM_ID` environment variable, which will only be taken into account in production. - -### Automatic Table of Contents +## Automatic Table of Contents

Smooth ToC Scrollspy @@ -133,6 +121,14 @@ This table of contents uses the same logic that Notion uses for its built-in Tab Mobile article page

+## Fathom Analytics + +[Fathom](https://usefathom.com/ref/42TFOZ) provides a lightweight alternative to Google Analytics. + +To enable analytics, just add a `NEXT_PUBLIC_FATHOM_ID` environment variable, which will only be taken into account in production. + +Note that this feature is completely optional. + ## License MIT © [Travis Fischer](https://transitivebullsh.it)