Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 975ec45

Browse files
committed
fix(client): remove pre background
1 parent a36cb77 commit 975ec45

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

packages/client/assets/style/code.css

+1-7
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
11
@import url('https://fonts.googleapis.com/css?family=Source+Code+Pro');
22

3-
:root {
4-
--color-white: #f5f5f5;
5-
}
6-
73
pre[class*='language-'] {
8-
background: var(--color-white);
94
border: 1px solid rgba(0, 20, 80, 0.1);
10-
-webkit-box-shadow: 0 8px 16px rgba(0, 20, 80, 0.04), 0 4px 16px rgba(0, 0, 0, 0.08);
115
box-shadow: 0 8px 16px rgba(0, 20, 80, 0.04), 0 4px 16px rgba(0, 0, 0, 0.08);
12-
border-radius: 10px;
6+
border-radius: 8px;
137
min-width: 50%;
148
max-width: 100%;
159
width: fit-content;

packages/fusuma/src/configs/fusumarc.js

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ const config = {
1616
meta: {
1717
url: null,
1818
title: null,
19+
siteName: null,
1920
thumbnail: null,
2021
description: null,
2122
sns: ['twitter'], // twitter

packages/fusuma/src/configs/templates/fusumarc.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@ slide:
88
loop: false
99
ui:
1010
sidebar: true
11+
vertical: false
1112
pagination: # bullets | progressbar | fraction
1213
effect: # fade | cube | flip
1314
code:
15+
# https://prismjs.com/
1416
plugins: []
15-
theme: default
17+
theme: default # coy | dark | funky | okaidia | solarizedlight | tomorrow | twilight

samples/intro/.fusumarc.yml

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ meta:
77
slide:
88
ui:
99
pagination:
10+
code:
11+
theme: tomorrow
1012
extends:
1113
js: index.js
1214
build:

0 commit comments

Comments
 (0)