Merge branch 'dark' of github.com:xwiki-labs/cryptpad into dark

pull/1/head
yflory 4 years ago
commit 3c00111585

@ -327,6 +327,7 @@
// Code
@cp_preview-bg: @cryptpad_color_grey_900;
@cp_preview-fg: @cryptpad_text_col;
@cp_preview-link: @cryptpad_color_brand_300;
// Debug
@cp_debug-hover: fade(@cryptpad_color_black, 10%);

@ -327,6 +327,7 @@
// Code
@cp_preview-bg: @cryptpad_color_white;
@cp_preview-fg: @cryptpad_text_col;
@cp_preview-link: @cryptpad_color_brand;
// Debug
@cp_debug-hover: fade(@cryptpad_color_black, 10%);

@ -11,7 +11,6 @@
padding-top: 5px;
padding-bottom: 5px;
border: 1px solid transparent;
background: fade(@cryptpad_text_col, 5%);
.cp-icons-name {
width: 100%;

@ -112,6 +112,10 @@
media-tag > * {
margin-bottom: 1rem;
}
a {
color: @cp_preview-link;
text-decoration: underline;
}
}
.cp-splitter {

@ -381,7 +381,7 @@ define([
/* Remember the user's last choice of theme using localStorage */
var isDark = window.CryptPad_theme === "dark";
var themeKey = ['codemirror', isDark ? 'themedark' : 'theme'];
var defaultTheme = isDark ? 'ansuz' : 'default';
var defaultTheme = isDark ? 'dracula' : 'default';
var todo = function (err, lastTheme) {
lastTheme = lastTheme || defaultTheme;

@ -419,6 +419,7 @@ define([
Messages.settings_colortheme_light = "Light";
Messages.settings_colortheme_dark = "Dark";
Messages.settings_colortheme_custom = "Custom";
Messages.settings_cat_style = "Appearance";
makeBlock('colortheme', function (cb) {
var theme = window.cryptpadStore.store['colortheme'] || 'default';

Loading…
Cancel
Save