Skip to content

Commit

Permalink
added more comments to scss theme files.
Browse files Browse the repository at this point in the history
changed boolean text in light theme to more accessible colours.
changed colours of toc.
  • Loading branch information
mzayeddfe committed Dec 9, 2024
1 parent 4895d69 commit 6db0f24
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 28 deletions.
6 changes: 3 additions & 3 deletions _styles.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
// _styles.scss

/*-- scss:rules --*/


// Variables
// Import roboto font

$web-font-path: "https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap" !default;
@if $web-font-path {
Expand All @@ -24,3 +22,5 @@ h1, h2, h3, h4, h5, h6 {
margin-top: $line-break-margin;
margin-bottom: $line-break-margin;
}


8 changes: 4 additions & 4 deletions printing-light.theme
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"strike-through" : false
},
"Keyword" : {
"text-color" : "#D35400",
"text-color" : "#8F3900",
"selected-text-color" : "#ffffff",
"bold" : true
},
Expand Down Expand Up @@ -53,7 +53,7 @@
"selected-text-color" : "#ffffff"
},
"SpecialChar" : {
"text-color" : "#B43F00",
"text-color" : "#993500",
"selected-text-color" : "#ffffff"
},
"String" : {
Expand All @@ -65,7 +65,7 @@
"selected-text-color" : "#ffffff"
},
"SpecialString" : {
"text-color" : "#B43F00",
"text-color" : "#993500",
"selected-text-color" : "#ffffff"
},
"Import" : {
Expand All @@ -89,7 +89,7 @@
"selected-text-color" : "#ffffff"
},
"Constant" : {
"text-color" : "#D35400",
"text-color" : "#8F3900",
"selected-text-color" : "#ffffff"
},
"Comment" : {
Expand Down
19 changes: 10 additions & 9 deletions theme-dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,38 +10,39 @@ $sidebar-fg: #31a3d8;
// customise link colours

a {
color: #46ADDD !important; // Default link color

&:visited {
color: #31a3d8 !important; // Default link color
&:visited {
color: #F269EE !important; // Color for visited links
}

&:hover {
color: #57B215 !important; // Color when hovering over the link
}

}


// Change the background color for breadcrumbs
.breadcrumb {
a {
color: #C4D6CE !important; // Replace with your desired breadcrumb link and list item color
color: #C4D6CE !important; // breadcrumb link item color
}

li{
color: #ffffff !important ;
color: #ffffff !important ; // breadcrumb list item color
}
}

.nav-page {
a {
color: #C4D6CE !important; // Replace with your desired breadcrumb link color
color: #C4D6CE !important; // bottom navigation link color
}
}


/* Background color for inline code */
$code-bg:#222222;
$code-bg:#555555;
/* Font color for inline code */
$code-color: #ffffff;
/* Background color for code blocks */

18 changes: 6 additions & 12 deletions theme-light.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,23 @@
@import 'styles';

$sidebar-fg: #9c3815;
$toc-color: #9c3815;

// Customise link colours
a {
color: #9c3815 !important;

&:visited {
color: #6F0B63 !important;
}

&:hover {
color: #30600B !important;

&:visited {
color: #790C6E !important; // Color for visited links
}

&:active{
color: #9c3815 !important;
&:hover {
color: #274E09 !important; // Color when hovering over the link
}

}



/* Background color for inline code */
$code-bg: #E9ECEF;
/* Font color for inline code */
$code-color: #333333;
/* Background color for code blocks */

0 comments on commit 6db0f24

Please sign in to comment.