Removed extra dict + onedark palette
This commit is contained in:
parent
83c9c72688
commit
739be5f9ae
3 changed files with 18 additions and 3 deletions
4
home.nix
4
home.nix
|
|
@ -2,7 +2,8 @@
|
||||||
|
|
||||||
let
|
let
|
||||||
callPackage = pkgs.lib.callPackageWith pkgs;
|
callPackage = pkgs.lib.callPackageWith pkgs;
|
||||||
nord = import ./configs/themes/nord.nix;
|
nord = import ./themes/nord.nix;
|
||||||
|
onedark = import ./themes/onedark.nix;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
fonts.fontconfig = {
|
fonts.fontconfig = {
|
||||||
|
|
@ -15,7 +16,6 @@ in
|
||||||
(
|
(
|
||||||
final: prev: {
|
final: prev: {
|
||||||
extra = prev.extra // {
|
extra = prev.extra // {
|
||||||
colorTheme = import ./configs/themes/nord.nix;
|
|
||||||
colorPalette = with pkgs.extra; palette.palette {
|
colorPalette = with pkgs.extra; palette.palette {
|
||||||
black = color.hexToRgba nord.n0;
|
black = color.hexToRgba nord.n0;
|
||||||
red = color.hexToRgba nord.n11;
|
red = color.hexToRgba nord.n11;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Nord palette
|
# Nord palette (https://www.nordtheme.com)
|
||||||
{
|
{
|
||||||
n0 = "#2e3440";
|
n0 = "#2e3440";
|
||||||
n1 = "#3b4252";
|
n1 = "#3b4252";
|
||||||
15
themes/onedark.nix
Normal file
15
themes/onedark.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
# Onedark palette (https://github.com/joshdick/onedark.vim)
|
||||||
|
{
|
||||||
|
black = "#282c34";
|
||||||
|
white = "#abb2bf";
|
||||||
|
lightRed = "#e06c75";
|
||||||
|
darkRed = "#be5046";
|
||||||
|
green = "#98c379";
|
||||||
|
lightYellow = "#e5c07b";
|
||||||
|
darkYellow = "#d19a66";
|
||||||
|
blue = "#61afef";
|
||||||
|
magenta = "#c678dd";
|
||||||
|
cyan = "#56b6c2";
|
||||||
|
gutterGrey = "#4b5263";
|
||||||
|
commentGrey = "#5c6370";
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue