ScrapboxのTheme
一覧
Default
default-light
default-dark
default-minimal
Paper
paper-light
paper-dark
paper-dark-dark
Stationary
blue
purple
green
orange
red
以前からあったThemes
Hacker
hacker1
hacker2
Seasons
winter
spring
summer
automn
Tropical
tropical
City
kyoto
newyork
paris
Game
mred
lgreen
code:script.js
export const defaults = [
default-light,
default-dark,
default-minimal,
];
export const papers = [
paper-light,
paper-dark-dark,
paper-dark,
];
export const stationaries = [
blue,
purple,
green,
orange,
red,
];
export const hackers = [
hacker1,
hacker2,
];
export const seasons = [
winter,
spring,
summer,
automn,
];
export const tropicals = [
tropical,
];
export const cities = [
kyoto,
newyork,
paris,
];
export const games = [
mred,
lgreen,
];
export const lightThemes = [
default-light,
default-minimal,
paper-light,
...stationaries,
...seasons,
...tropicals,
...cities,
...games,
];
export const darks = [
default-dark,
paper-dark,
paper-dark-dark,
...hackers,
];
export const darkDarks = [
default-dark,
paper-dark-dark,
];
export const themes = [
...defaults,
...papers,
...stationaries,
...hackers,
...seasons,
...tropicals,
...cities,
...games,
];
export const presentTheme = () => document.documentElement.dataset.projectTheme ?? 'default-light';