From 99c40c597172229447557fb6c4edd088e4534cae Mon Sep 17 00:00:00 2001 From: zzossig <52706977+zzossig@users.noreply.github.com> Date: Wed, 6 Nov 2019 12:33:41 +0900 Subject: [PATCH] Update README.md --- README.md | 78 +------------------------------------------------------ 1 file changed, 1 insertion(+), 77 deletions(-) diff --git a/README.md b/README.md index ba619d2..2bd003a 100644 --- a/README.md +++ b/README.md @@ -394,83 +394,7 @@ other = "태그" ## Sub Theme -If you don't like the color that I choose, you can make your own sub theme. - -1. Make your theme file - -```bash -root -├── assets -│   ├── sass -│   │   ├── themes -│   │   │ ├── _yourtheme.scss -``` - -```scss -assets/sass/themes/_yourtheme.scss -$yourtheme: ( - footer-background-color: #403E41, - footer-color: #bdbdbd, - link: #FFD866, - link-hover: #FF6188, - title-color: #ffd866, - meta-color: #FCFCFA, - .... -); -``` - -2. Import your theme file inside _theme.scss file - -```scss -@import 'dark'; -@import 'light'; -@import 'hacker'; -@import 'solarized'; -@import 'yourtheme'; - -$themes: ( - dark: $dark, - light: $light, - hacker: $hacker, - solarized: $solarized, - yourtheme: $yourtheme, -); -``` - -3. Edit config file to expose your theme in dropdown component. - -```bash -config/_default/params.toml -... -themeOptions = ["yourtheme", "dark", "light", "hacker", "solarized"] -... -``` - -4. [optional] Add prism file for highlighting code - -```bash -root -├── assets -│   ├── sass -│   │   ├── prism -│   │   │ ├── _yourtheme.scss -``` - -```scss -// assets/sass/prism/_yourtheme.scss - -.theme__yourtheme { - ... -} - -// assets/sass/prism/_prism.scss - -@import 'dark'; -@import 'light'; -@import 'hacker'; -@import 'solarized'; -@import 'yourtheme'; -``` +I'm editing this part ## Shortcodes