Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added custom scss and theme files #128

Merged
merged 6 commits into from
Jan 29, 2025
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions _quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,12 @@ website:
format:
html:
theme:
light: [cyborg, theme-dark.scss]
dark: [united, theme-light.scss]
dark: [cyborg,theme-dark.scss]
light: [united,theme-light.scss]
code-copy: true
highlight-style: printing
highlight-style:
dark: printing-dark.theme
light: printing-light.theme
code-overflow: wrap
toc: true

Expand Down
26 changes: 26 additions & 0 deletions _styles.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// _styles.scss


// Import roboto font

$web-font-path: "https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap" !default;
@if $web-font-path {
@import url($web-font-path);
}


// Fonts

// stylelint-disable-next-line value-keyword-case
$font-family-sans-serif: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif !default;

// Define the margin size for the line breaks
$line-break-margin: 20px;

// Apply the margin to headings
h1, h2, h3, h4, h5, h6 {
margin-top: $line-break-margin;
margin-bottom: $line-break-margin;
}


170 changes: 170 additions & 0 deletions printing-dark.theme
Original file line number Diff line number Diff line change
@@ -0,0 +1,170 @@
{
"background-color" : "#555555",
"text-styles": {
"Normal" : {
"text-color" : "#E0E0E0",
"selected-text-color" : "#ffffff",
"bold" : false,
"italic" : false,
"underline" : false,
"strike-through" : false
},
"Keyword" : {
"text-color" : "#39CCCC",
"selected-text-color" : "#ffffff",
"bold" : true
},
"Function" : {
"text-color" : "#FF862D",
"selected-text-color" : "#ffffff"
},
"Variable" : {
"text-color" : "#FFDC00",
"selected-text-color" : "#ffffff"
},
"ControlFlow" : {
"text-color" : "#E0E0E0",
"selected-text-color" : "#ffffff",
"bold" : true
},
"Operator" : {
"text-color" : "#007BFF",
"selected-text-color" : "#ffffff"
},
"BuiltIn" : {
"text-color" : "#39CCCC",
"selected-text-color" : "#ffffff"
},
"Extension" : {
"text-color" : "#FF4136",
"selected-text-color" : "#ffffff",
"bold" : true
},
"Preprocessor" : {
"text-color" : "#2ECC40",
"selected-text-color" : "#ffffff"
},
"Attribute" : {
"text-color" : "#FFDC00",
"selected-text-color" : "#ffffff"
},
"Char" : {
"text-color" : "#FF4136",
"selected-text-color" : "#ffffff"
},
"SpecialChar" : {
"text-color" : "#FF862D",
"selected-text-color" : "#ffffff"
},
"String" : {
"text-color" : "#2ECC40",
"selected-text-color" : "#ffffff"
},
"VerbatimString" : {
"text-color" : "#2ECC40",
"selected-text-color" : "#ffffff"
},
"SpecialString" : {
"text-color" : "#FF862D",
"selected-text-color" : "#ffffff"
},
"Import" : {
"text-color" : "#39CCCC",
"selected-text-color" : "#ffffff"
},
"DataType" : {
"text-color" : "#FFDC00",
"selected-text-color" : "#ffffff"
},
"DecVal" : {
"text-color" : "#01FF70",
"selected-text-color" : "#ffffff"
},
"BaseN" : {
"text-color" : "#01FF70",
"selected-text-color" : "#ffffff"
},
"Float" : {
"text-color" : "#01FF70",
"selected-text-color" : "#ffffff"
},
"Constant" : {
"text-color" : "#FF862D",
"selected-text-color" : "#ffffff"
},
"Comment" : {
"text-color" : "#AAAAAA",
"selected-text-color" : "#ffffff"
},
"Documentation" : {
"text-color" : "#AAAAAA",
"selected-text-color" : "#ffffff"
},
"Annotation" : {
"text-color" : "#FFDC00",
"selected-text-color" : "#ffffff"
},
"CommentVar" : {
"text-color" : "#39CCCC",
"selected-text-color" : "#ffffff"
},
"RegionMarker" : {
"text-color" : "#FFDC00",
"selected-text-color" : "#ffffff",
"background-color" : "#e0e9f8"
},
"Information" : {
"text-color" : "#01FF70",
"selected-text-color" : "#ffffff"
},
"Warning" : {
"text-color" : "#FF862D",
"selected-text-color" : "#ffffff"
},
"Alert" : {
"text-color" : "#FF4136",
"selected-text-color" : "#ffffff",
"background-color" : "#f7e6e6",
"bold" : true
},
"Error" : {
"text-color" : "#FF4136",
"selected-text-color" : "#ffffff",
"underline" : true
},
"Others" : {
"text-color" : "#2ECC40",
"selected-text-color" : "#ffffff"
}
},
"editor-colors": {
"BackgroundColor" : "#555555",
"CodeFolding" : "#94caef",
"BracketMatching" : "#edf9ff",
"CurrentLine" : "#f8f7f6",
"IconBorder" : "#d6d2d0",
"IndentationLine" : "#d2d2d2",
"LineNumbers" : "#E0E0E0",
"CurrentLineNumber" : "#E0E0E0",
"MarkBookmark" : "#0000ff",
"MarkBreakpointActive" : "#ff0000",
"MarkBreakpointReached" : "#ffff00",
"MarkBreakpointDisabled" : "#ff00ff",
"MarkExecution" : "#a0a0a4",
"MarkWarning" : "#00ff00",
"MarkError" : "#ff0000",
"ModifiedLines" : "#f6e6e6",
"ReplaceHighlight" : "#00ff00",
"SavedLines" : "#baf8ce",
"SearchHighlight" : "#ffff00",
"TextSelection" : "#94caef",
"Separator" : "#E0E0E0",
"SpellChecking" : "#2ECC40",
"TabMarker" : "#d2d2d2",
"TemplateBackground" : "#d6d2d0",
"TemplatePlaceholder" : "#baf8ce",
"TemplateFocusedPlaceholder" : "#76da98",
"TemplateReadOnlyPlaceholder" : "#f6e6e6",
"WordWrapMarker" : "#ededed"
}
}
170 changes: 170 additions & 0 deletions printing-light.theme
Original file line number Diff line number Diff line change
@@ -0,0 +1,170 @@
{
"background-color" : "#E9ECEF",
"text-styles": {
"Normal" : {
"text-color" : "#000000",
"selected-text-color" : "#ffffff",
"bold" : false,
"italic" : false,
"underline" : false,
"strike-through" : false
},
"Keyword" : {
"text-color" : "#8F3900",
"selected-text-color" : "#ffffff",
"bold" : true
},
"Function" : {
"text-color" : "#0056b3",
"selected-text-color" : "#ffffff"
},
"Variable" : {
"text-color" : "#4B0082",
"selected-text-color" : "#ffffff"
},
"ControlFlow" : {
"text-color" : "#000000",
"selected-text-color" : "#ffffff",
"bold" : true
},
"Operator" : {
"text-color" : "#0055FF",
"selected-text-color" : "#ffffff"
},
"BuiltIn" : {
"text-color" : "#D35400",
"selected-text-color" : "#ffffff"
},
"Extension" : {
"text-color" : "#0E5A6F",
"selected-text-color" : "#ffffff",
"bold" : true
},
"Preprocessor" : {
"text-color" : "#18641B",
"selected-text-color" : "#ffffff"
},
"Attribute" : {
"text-color" : "#4B0082",
"selected-text-color" : "#ffffff"
},
"Char" : {
"text-color" : "#C71585",
"selected-text-color" : "#ffffff"
},
"SpecialChar" : {
"text-color" : "#993500",
"selected-text-color" : "#ffffff"
},
"String" : {
"text-color" : "#18641B",
"selected-text-color" : "#ffffff"
},
"VerbatimString" : {
"text-color" : "#18641B",
"selected-text-color" : "#ffffff"
},
"SpecialString" : {
"text-color" : "#993500",
"selected-text-color" : "#ffffff"
},
"Import" : {
"text-color" : "#D35400",
"selected-text-color" : "#ffffff"
},
"DataType" : {
"text-color" : "#4B0082",
"selected-text-color" : "#ffffff"
},
"DecVal" : {
"text-color" : "#0E6655",
"selected-text-color" : "#ffffff"
},
"BaseN" : {
"text-color" : "#0E6655",
"selected-text-color" : "#ffffff"
},
"Float" : {
"text-color" : "#0E6655",
"selected-text-color" : "#ffffff"
},
"Constant" : {
"text-color" : "#8F3900",
"selected-text-color" : "#ffffff"
},
"Comment" : {
"text-color" : "#495057",
"selected-text-color" : "#ffffff"
},
"Documentation" : {
"text-color" : "#495057",
"selected-text-color" : "#ffffff"
},
"Annotation" : {
"text-color" : "#4B0082",
"selected-text-color" : "#ffffff"
},
"CommentVar" : {
"text-color" : "#0E5A6F",
"selected-text-color" : "#ffffff"
},
"RegionMarker" : {
"text-color" : "#4B0082",
"selected-text-color" : "#ffffff",
"background-color" : "#e0e9f8"
},
"Information" : {
"text-color" : "#0E6655",
"selected-text-color" : "#ffffff"
},
"Warning" : {
"text-color" : "#B8860B",
"selected-text-color" : "#ffffff"
},
"Alert" : {
"text-color" : "#A52A2A",
"selected-text-color" : "#ffffff",
"background-color" : "#f7e6e6",
"bold" : true
},
"Error" : {
"text-color" : "#A52A2A",
"selected-text-color" : "#ffffff",
"underline" : true
},
"Others" : {
"text-color" : "#18641B",
"selected-text-color" : "#ffffff"
}
},
"editor-colors": {
"BackgroundColor" : "#ffffff",
"CodeFolding" : "#94caef",
"BracketMatching" : "#edf9ff",
"CurrentLine" : "#f8f7f6",
"IconBorder" : "#d6d2d0",
"IndentationLine" : "#d2d2d2",
"LineNumbers" : "#221f1e",
"CurrentLineNumber" : "#221f1e",
"MarkBookmark" : "#0000ff",
"MarkBreakpointActive" : "#ff0000",
"MarkBreakpointReached" : "#ffff00",
"MarkBreakpointDisabled" : "#ff00ff",
"MarkExecution" : "#a0a0a4",
"MarkWarning" : "#00ff00",
"MarkError" : "#ff0000",
"ModifiedLines" : "#f6e6e6",
"ReplaceHighlight" : "#00ff00",
"SavedLines" : "#baf8ce",
"SearchHighlight" : "#ffff00",
"TextSelection" : "#94caef",
"Separator" : "#221f1e",
"SpellChecking" : "#005500",
"TabMarker" : "#d2d2d2",
"TemplateBackground" : "#d6d2d0",
"TemplatePlaceholder" : "#baf8ce",
"TemplateFocusedPlaceholder" : "#76da98",
"TemplateReadOnlyPlaceholder" : "#f6e6e6",
"WordWrapMarker" : "#ededed"
}
}
Loading
Loading