Skip to content

Commit

Permalink
chore(samples): update
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroppy committed Jan 31, 2021
1 parent a9665f6 commit ff076a6
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 56 deletions.
1 change: 0 additions & 1 deletion packages/client/assets/style/code.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ pre[class*='language-'] {
max-width: 100%;
width: fit-content;
margin: var(--code-align, auto);
margin-bottom: 4px;
}

code {
Expand Down
26 changes: 3 additions & 23 deletions packages/fusuma/src/configs/templates/style.css
Original file line number Diff line number Diff line change
@@ -1,39 +1,19 @@
/* themes */
@import '@fusuma/client/assets/style/themes/default.css';
/* If nothing is loaded, the default theme will be applied. */
/* @import '@fusuma/client/assets/style/themes/pop.css'; */
/* @import '@fusuma/client/assets/style/themes/babel.css'; */
/* @import '@fusuma/client/assets/style/themes/webpack.css'; */
/* @import '@fusuma/client/assets/style/themes/node.css'; */

/* the default variables */
/* TODO: add the url */
/* :root { */
/* --base-font-size: 62.5%; */
/* --base-font-weight: 300; */
/* --code-align: auto; */
/* --code-font-size: 1.8rem; */
/* } */

h1,
h2 {
color: var(--title-color);
}

a {
color: var(--link-color);
}

.slide-background {
/* set the default background */
background: var(--background-color);
}

.slide-box {
/* set the default align */
text-align: center;

/* set the default font-color */
color: var(--base-color);
}

.title {
}

Expand Down
46 changes: 15 additions & 31 deletions samples/plain/style.css
Original file line number Diff line number Diff line change
@@ -1,38 +1,22 @@
/* themes */
@import '../../packages/client/assets/style/themes/default.css';
/* @import '../../packages/client/assets/style/themes/webpack.css'; */
/* @import '../../packages/client/assets/style/themes/babel.css'; */
/* @import '../../packages/client/assets/style/themes/node.css'; */
/* If nothing is loaded, the default theme will be applied. */
/* @import '@fusuma/client/assets/style/themes/pop.css'; */
/* @import '@fusuma/client/assets/style/themes/babel.css'; */
/* @import '@fusuma/client/assets/style/themes/webpack.css'; */
/* @import '@fusuma/client/assets/style/themes/node.css'; */

/* the default variables */
/* TODO: add the url */
/* :root { */
/* --base-font-size: 62.5%; */
/* --base-font-weight: 300; */
/* --code-align: auto; */
/* --code-font-size: 1.8rem; */
/* } */

/* set custom colors */
/* :root {
} */

html {
/* set the base font-size */
font-size: 62.5%;
}

h1,
h2 {
color: var(--title-color);
}

a {
color: var(--link-color);
}

.slide-background {
/* set the default background */
background: var(--background-color);

/* set the default font-color */
color: var(--base-color);
.title {
}

/* https://hiroppy.github.io/fusuma/docs/guides/slide-syntax#declaring-section-title */
.section-title {
}

.title {
}
1 change: 0 additions & 1 deletion samples/themes/style.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* themes */
@import '../../packages/client/assets/style/themes/default.css';
/* @import '../../packages/client/assets/style/themes/webpack.css'; */
/* @import '../../packages/client/assets/style/themes/babel.css'; */
/* @import '../../packages/client/assets/style/themes/node.css'; */
Expand Down

0 comments on commit ff076a6

Please sign in to comment.