diff --git a/customize.dist/src/less2/include/colortheme-dark.less b/customize.dist/src/less2/include/colortheme-dark.less index 75c51ef6c..4ca59b4b8 100644 --- a/customize.dist/src/less2/include/colortheme-dark.less +++ b/customize.dist/src/less2/include/colortheme-dark.less @@ -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%); diff --git a/customize.dist/src/less2/include/colortheme.less b/customize.dist/src/less2/include/colortheme.less index 92f0ab85c..6dab44aaa 100644 --- a/customize.dist/src/less2/include/colortheme.less +++ b/customize.dist/src/less2/include/colortheme.less @@ -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%); diff --git a/www/code/app-code.less b/www/code/app-code.less index 138741919..a6ccd864d 100644 --- a/www/code/app-code.less +++ b/www/code/app-code.less @@ -112,6 +112,10 @@ media-tag > * { margin-bottom: 1rem; } + a { + color: @cp_preview-link; + text-decoration: underline; + } } .cp-splitter {