Skip to content

Commit

Permalink
graphical/launchers/anyrun: scss -> css
Browse files Browse the repository at this point in the history
compileSCSS causing cross system check errors
  • Loading branch information
khaneliman committed Sep 28, 2024
1 parent 60b4be6 commit 8495a12
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 54 deletions.
14 changes: 3 additions & 11 deletions modules/home/programs/graphical/launchers/anyrun/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
config,
inputs,
pkgs,
lib,
namespace,
system,
Expand All @@ -10,7 +9,7 @@
}:
let
inherit (lib) mkIf;
inherit (lib.${namespace}) compileSCSS mkBoolOpt;
inherit (lib.${namespace}) mkBoolOpt;
inherit (inputs) anyrun anyrun-nixos-options;

cfg = config.${namespace}.programs.graphical.launchers.anyrun;
Expand Down Expand Up @@ -122,19 +121,12 @@ in
"websearch.ron".text = ''
Config(
prefix: "?",
engines: [DuckDuckGo]
engines: [DuckDuckGo]
)
'';
};

# this compiles the SCSS file from the given path into CSS
# by default, `-t expanded` as the args to the sass compiler
extraCss = builtins.readFile (
compileSCSS pkgs {
name = "style-dark";
source = ./styles/dark.scss;
}
);
extraCss = builtins.readFile ./styles/dark.css;
};
};
}
35 changes: 35 additions & 0 deletions modules/home/programs/graphical/launchers/anyrun/styles/dark.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
* {
transition: 200ms ease;
font-family: Lexend;
font-size: 1.3rem;
}

#window,
#match,
#entry,
#plugin,
#main {
background: transparent;
}

#match:selected {
background: rgba(203, 166, 247, 0.7);

}

#match {
padding: 3px;
border-radius: 16px;
}

#entry,
#plugin:hover {
border-radius: 16px;
}

box#main {
background: rgba(30, 30, 46, 1);
border: 2px solid #494d64;
border-radius: 16px;
padding: 8px;
}
43 changes: 0 additions & 43 deletions modules/home/programs/graphical/launchers/anyrun/styles/dark.scss

This file was deleted.

0 comments on commit 8495a12

Please sign in to comment.