index : gitrs
A lightweight web interface for browsing Git repositories, implemented in Rust
about summary refs log tree commit diff

Diffstat (limited to 'static/style.css')

-rw-r--r-- static/style.css 102
 1 file changed, 100 insertions(+), 2 deletions(-)

diff --git a/static/style.css b/static/style.css
index 08cf526..2e7440d 100644
--- a/static/style.css
+++ b/static/style.css
@@ -90,8 +90,8 @@
a:hover,
a:active,
a.active {
  color: var(--crust);
  background: var(--peach);
  color: var(--crust) !important;
  background: var(--peach) !important;
}

a:focus-visible,
@@ -276,6 +276,13 @@
  color: var(--text);
  padding: 0.25rem 0.6rem;
  margin-right: 0.15rem;
}

.tabs a:hover,
.tabs a:active,
.tabs a.active {
  color: var(--crust);
  background: var(--peach);
}

.tree-breadcrumb {
@@ -697,4 +704,95 @@
.readme hr {
  border: none;
  border-top: 1px solid var(--surface1);
}

/* ==========================================================================
   10. Syntax Highlighting (Catppuccin Mocha — ~/.config/nvim/lua/themes/)
   ========================================================================== */
.hl-comment {
  color: var(--surface2);
  font-style: italic;
}

.hl-keyword {
  color: var(--mauve);
  font-style: italic;
}

.hl-include {
  color: var(--blue);
  font-style: italic;
}

.hl-function {
  color: var(--blue);
  font-weight: bold;
}

.hl-function-builtin {
  color: var(--peach);
  font-weight: bold;
}

.hl-macro {
  color: var(--pink);
  font-weight: bold;
}

.hl-type {
  color: var(--yellow);
  font-weight: bold;
}

.hl-type-builtin {
  color: var(--mauve);
}

.hl-module {
  color: var(--yellow);
  font-style: italic;
}

.hl-constant,
.hl-number,
.hl-boolean,
.hl-attribute {
  color: var(--peach);
}

.hl-string {
  color: var(--green);
}

.hl-escape {
  color: var(--pink);
}

.hl-label {
  color: var(--yellow);
}

.hl-property {
  color: var(--lavender);
}

.hl-parameter {
  color: var(--maroon);
}

.hl-variable,
.hl-punctuation {
  color: var(--red);
}

.hl-operator {
  color: var(--sky);
}

.hl-tag {
  color: var(--blue);
}

.hl-tag-delimiter {
  color: var(--teal);
}