Skip to content

🐛 Dark theme doesn't seem to be working #1713

@Radrahil

Description

@Radrahil
  • Please include the raw text output from git, so that we can reproduce the problem.
❯ git --no-pager blame smallestmultiple/src/main.rs
47d46703 (Rahil Prakash 2024-05-21 00:15:37 +0530  1) // Done using formula a * b = lcm(a*b)*gcd(a*b)
47d46703 (Rahil Prakash 2024-05-21 00:15:37 +0530  2) 
47d46703 (Rahil Prakash 2024-05-21 00:15:37 +0530  3) fn gcd(mut a: i64, mut b: i64) -> i64 {
47d46703 (Rahil Prakash 2024-05-21 00:15:37 +0530  4)     while b != 0 {
47d46703 (Rahil Prakash 2024-05-21 00:15:37 +0530  5)         let temp = b;
47d46703 (Rahil Prakash 2024-05-21 00:15:37 +0530  6)         b = a % b;
47d46703 (Rahil Prakash 2024-05-21 00:15:37 +0530  7)         a = temp;
47d46703 (Rahil Prakash 2024-05-21 00:15:37 +0530  8)     }
47d46703 (Rahil Prakash 2024-05-21 00:15:37 +0530  9)     a
47d46703 (Rahil Prakash 2024-05-21 00:15:37 +0530 10) }
47d46703 (Rahil Prakash 2024-05-21 00:15:37 +0530 11) 
47d46703 (Rahil Prakash 2024-05-21 00:15:37 +0530 12) fn main() {
47d46703 (Rahil Prakash 2024-05-21 00:15:37 +0530 13)     let mut lcm: i64 = 1;
47d46703 (Rahil Prakash 2024-05-21 00:15:37 +0530 14)     for i in 1..=20 {
47d46703 (Rahil Prakash 2024-05-21 00:15:37 +0530 15)         lcm = lcm * i / gcd(lcm, i);
47d46703 (Rahil Prakash 2024-05-21 00:15:37 +0530 16)     }
47d46703 (Rahil Prakash 2024-05-21 00:15:37 +0530 17)     println!("{}", lcm);
47d46703 (Rahil Prakash 2024-05-21 00:15:37 +0530 18) }

image

Delta doesn't seem to be respecting the manually set theme. I've tried this both on tmux and base kitty.
gitconfig for reference

[user]
	name = Rahil Prakash
	email = 54015030+Radrahil@users.noreply.github.com

[init]
	defaultBranch = main

[pull]
	rebase = false

[core]
	editor = nvim
  pager = delta

[interactive]
    diffFilter = delta --color-only

[delta]
    dark = true
    navigate = true

[merge]
    conflictstyle = diff3

[diff]
    colorMoved = default

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions