Skip to content

Instantly share code, notes, and snippets.

@diogotito
Last active February 5, 2025 17:37
Show Gist options
  • Select an option

  • Save diogotito/d532637ad75f2f1bd2495f4b98ce2e7e to your computer and use it in GitHub Desktop.

Select an option

Save diogotito/d532637ad75f2f1bd2495f4b98ce2e7e to your computer and use it in GitHub Desktop.
Obsidian CSS snippet to make some CSS color variables from the default theme match the color scheme of my i3 setup
.theme-dark.mod-linux {
--azul-i3-1: #262a32;
--azul-i3-2: #32343d;
--azul-i3-3: #3d4150;
--azul-i3-4: #4d586e;
--color-base-00: #1e1e1e; /* #1e1e1e; */
--color-base-10: #242424; /* #242424; */
--color-base-20: var(--azul-i3-1); /* #262626; */
--color-base-25: #2a2a2a; /* #2a2a2a; */
--color-base-30: var(--azul-i3-2); /* #363636; */
--color-base-35: var(--azul-i3-3); /* #3F3F3F; */
--color-base-40: var(--azul-i3-4); /* #555; */
--color-base-50: #666; /* #666; */
--color-base-60: #999; /* #999; */
--color-base-70: #bababa; /* #bababa; */
--color-base-100: #dadada; /* #dadada; */
--background-secondary-alt: var(--azul-i3-1);
--interactive-normal: var(--azul-i3-1);
--interactive-hover: var(--azul-i3-1);
}
/* 3c3c3c */
/* 363636 --> 262a32 (azul i3bar) ou 4d586e (azul ativo) */
/* 262626 */
/* 161616 */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment