diff --git a/config.toml b/config.toml index 3891a5d..b4efadf 100644 --- a/config.toml +++ b/config.toml @@ -20,6 +20,8 @@ taxonomies = [ # Whether to do syntax highlighting # Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola highlight_code = true +extra_syntaxes_and_themes = ["highlight_themes", "highlight_themes/rose-pine"] +highlight_theme = "rosepine" [extra] diff --git a/content/index.md b/content/index.md index 1cfef9b..eb3fb61 100644 --- a/content/index.md +++ b/content/index.md @@ -5,3 +5,15 @@ title = "Hello there!" Hi, I'm Sammy. Welcome to my little website :3 + +```Rust +///I like to meow +fn main() { + loop { + println!("Meow!"); + } +} + + +// Honestly I just wanted to have some kind of code block somewhere to see how pretty the syntax highlighting is +``` diff --git a/highlight_themes/rose-pine/rosepine.tmTheme b/highlight_themes/rose-pine/rosepine.tmTheme new file mode 100644 index 0000000..fc3479b --- /dev/null +++ b/highlight_themes/rose-pine/rosepine.tmTheme @@ -0,0 +1,301 @@ + + + + + + + + + name + Rosé Pine + settings + + + settings + + background + #1F1D29 + caret + #FAEBD7 + foreground + #FFFFFF + invisibles + #3B3A32 + lineHighlight + #3E3D32 + selection + #FAEBD791 + + + + name + Comment + scope + comment + settings + + foreground + #403C58 + + + + name + String + scope + string + settings + + foreground + #F1CA93 + + + + name + Number + scope + constant.numeric + settings + + foreground + #C3A5E6 + + + + name + Built-in constant + scope + constant.language + settings + + foreground + #C3A5E6 + + + + name + User-defined constant + scope + constant.character, constant.other + settings + + foreground + #C3A5E6 + + + + name + Variable + scope + variable + settings + + fontStyle + + + + + name + Keyword + scope + keyword + settings + + foreground + #EA6F91 + + + + name + Storage + scope + storage + settings + + fontStyle + + foreground + #EA6F91 + + + + name + Storage type + scope + storage.type + settings + + fontStyle + italic + foreground + #9BCED7 + + + + name + Class name + scope + entity.name.class + settings + + fontStyle + bold + foreground + #34738E + + + + name + Inherited class + scope + entity.other.inherited-class + settings + + fontStyle + italic + foreground + #34738E + + + + name + Function name + scope + entity.name.function + settings + + fontStyle + + foreground + #34738E + + + + name + Function argument + scope + variable.parameter + settings + + fontStyle + italic + foreground + #F1CA93 + + + + name + Tag name + scope + entity.name.tag + settings + + fontStyle + + foreground + #EA6F91 + + + + name + Tag attribute + scope + entity.other.attribute-name + settings + + fontStyle + + foreground + #34738E + + + + name + Library function + scope + support.function + settings + + fontStyle + + foreground + #66D9EF + + + + name + Library constant + scope + support.constant + settings + + fontStyle + + foreground + #66D9EF + + + + name + Library class/type + scope + support.type, support.class + settings + + fontStyle + italic + foreground + #66D9EF + + + + name + Library variable + scope + support.other.variable + settings + + fontStyle + + + + + name + Invalid + scope + invalid + settings + + background + #EB5E57 + fontStyle + + foreground + #F8F8F0 + + + + name + Invalid deprecated + scope + invalid.deprecated + settings + + background + #BB96E6 + foreground + #F8F8F0 + + + + uuid + D8D5E82E-3D5B-46B5-B38E-8C841C21347D + colorSpaceName + sRGB + semanticClass + theme.dark.rose_pine + author + ThatOneCalculator + comment + soho vibes + + diff --git a/public/contact/index.html b/public/contact/index.html index 732ad96..64ce928 100644 --- a/public/contact/index.html +++ b/public/contact/index.html @@ -77,7 +77,7 @@
  • Codeberg - For code and stuff but cooler than GitHub
  • PGP-Key:

    -
    -----BEGIN PGP PUBLIC KEY BLOCK-----
    +
    -----BEGIN PGP PUBLIC KEY BLOCK-----
     
     xsFNBGPVZRwBEACkodGr9qcM6vD+uVhIgGSWPs1wuUgvpyfavZFkRse2IkHgKdVt
     2mBwWzY5XZTrBuGyaK6WebjVo3wCS77ixeRLbziS9/WZ+XEKGIxGIbIgIERnto36
    diff --git a/public/content/index.html b/public/content/index.html
    index 56a6368..3a908f0 100644
    --- a/public/content/index.html
    +++ b/public/content/index.html
    @@ -70,6 +70,16 @@
             

    Hi, I'm Sammy.

    Welcome to my little website :3

    +
    ///I like to meow
    +fn main() {
    +    loop {
    +        println!("Meow!");
    +    }
    +}
    +    
    +    
    +// Honestly I just wanted to have some kind of code block somewhere to see how pretty the syntax highlighting is
    +
    diff --git a/public/impressum/index.html b/public/impressum/index.html index bbca8c4..123978a 100644 --- a/public/impressum/index.html +++ b/public/impressum/index.html @@ -70,7 +70,7 @@

    Because I live in germany, I'm legally obligated to have this on here 🙄

    Angaben gemäß § 5 TMG

    -
    Samantha Yilmaz
    +
    Samantha Yilmaz
     c/o Postflex #3050
     Emsdettener Str. 10
     48268 Greven
    diff --git a/public/index.html b/public/index.html
    index 901364c..c73b1dd 100644
    --- a/public/index.html
    +++ b/public/index.html
    @@ -71,6 +71,16 @@
             

    Hi, I'm Sammy.

    Welcome to my little website :3

    +
    ///I like to meow
    +fn main() {
    +    loop {
    +        println!("Meow!");
    +    }
    +}
    +    
    +    
    +// Honestly I just wanted to have some kind of code block somewhere to see how pretty the syntax highlighting is
    +