Commit 65db25aa authored by Curtis Adam's avatar Curtis Adam

Add sass variables for markdeep inline code

parent 041ff1e4
......@@ -214,7 +214,10 @@ $themes: (
$card_header_second_row: map-get($map, "card_header_second_row");
$card_header_subject: map-get($map, "card_header_subject");
$card_header_subject_placeholder: map-get($map, "card_header_subject_placeholder");
//markdeep editor
//markdeep colors
$markdeep_inline_code_background: map-get($map, "markdeep_inline_code_background");
$markdeep_inline_code_text: map-get($map, "markdeep_inline_code_text");
//markdeep editor colors
$markdeep_help_text: map-get($map, "markdeep_help_text");
$markdeep_help_background: map-get($map, "markdeep_help_background");
$markdeep_help_border: map-get($map, "markdeep_help_border");
......@@ -1660,5 +1663,13 @@ $themes: (
color: $card_list_number_text !important;
background-color: $card_list_number_background !important;
}
//markdeep colors
.md {
code {
color: $markdeep_inline_code_text !important;
background-color: $markdeep_inline_code_background !important;
}
}
}
}
......@@ -235,7 +235,10 @@
"cardset_markdeep_text": $thm_gray,
"cardset_markdeep_link": $thm_orange,
"cardset_markdeep_placeholder": $thm_green,
//markdeep editor
//markdeep colors
"markdeep_inline_code_background": $wild_sand_approx,
"markdeep_inline_code_text": $thm_orange,
//markdeep editor colors
"markdeep_help_text": $white,
"markdeep_help_background": $thm_orange,
"markdeep_help_border": $thm_orange,
......
......@@ -237,7 +237,10 @@
"cardset_markdeep_text": $thm_gray,
"cardset_markdeep_link": $thm_orange,
"cardset_markdeep_placeholder": $thm_green,
//markdeep editor
//markdeep colors
"markdeep_inline_code_background": $wild_sand_approx,
"markdeep_inline_code_text": $thm_orange,
//markdeep editor colors
"markdeep_help_text": $white,
"markdeep_help_background": $thm_orange,
"markdeep_help_border": $thm_orange,
......
......@@ -236,7 +236,7 @@ img.cardside {
.cardContent {
padding: $padding_card_content_vertical $padding_card_content_horizontal !important;
line-height: 28px;
font-size: $font_size_card_content;
font-size: $font_size_card_content !important;
}
#subjectEditor {
......
......@@ -41,6 +41,7 @@ $font_size_navigation_arrows: 10pt;
$padding_card_content_horizontal: 40pt;
$padding_card_content_vertical: 13pt;
$padding_card_conntent_horizontal_fullscreen_desktop: 100px;
$font_size_card_header_first_row: 12px;
$font_size_card_header_second_row: 10px;
$font_size_card_header_subject: 18px;
......@@ -59,6 +60,9 @@ $font_size_cardset_content: 12pt;
$padding_cardset_content_horizontal: 25pt;
$padding_cardset_content_vertical: 5pt;
//markdeep
$padding_inline_code: 3px;
//markdeep editor
$font_family_markdeep_help: $default_font;
$font_family_markdeep_editor_content: 'Roboto Mono', monospace;
......
......@@ -5,11 +5,11 @@
}
code {
color: unset;
background-color: unset;
padding: unset;
padding: $padding_inline_code !important;
white-space: pre-wrap;
word-break: keep-all;
font-size: $font_size_card_content !important;
font-family: $default_font !important;
}
code > .output{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment