From cd67d134107aa7984fa1d15942b77e1f8a1c935d Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sun, 30 Apr 2017 12:57:10 +0100 Subject: [PATCH] Switch prism theme to twilight --- assets/sass/base/_code.sass | 4 ++++ gulpfile.js | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/assets/sass/base/_code.sass b/assets/sass/base/_code.sass index 6dd23cea..b673dc10 100644 --- a/assets/sass/base/_code.sass +++ b/assets/sass/base/_code.sass @@ -4,6 +4,10 @@ pre word-break: normal word-wrap: no-wrap +pre[class*="language-"] + border: 0 + border-radius: 0 + pre code white-space: pre word-break: normal diff --git a/gulpfile.js b/gulpfile.js index a0354a33..9664f32f 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -23,7 +23,7 @@ var config = { gulp.task('styles', function () { return gulp.src([ config.bowerDir + '/font-awesome/css/font-awesome.css', - config.bowerDir + '/prism/themes/prism-tomorrow.css', + config.bowerDir + '/prism/themes/prism-twilight.css', config.sass.sourceDir + config.sass.pattern ]) .pipe(plugins.plumber())