mirror of
https://github.com/danth/stylix
synced 2024-11-21 19:53:10 +00:00
forge: init (#573)
Link: https://github.com/danth/stylix/pull/573 Approved-by: Daniel Thwaites <danthwaites30@btinternet.com> Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
This commit is contained in:
parent
087198964d
commit
63426a59e7
2 changed files with 153 additions and 0 deletions
13
modules/forge/hm.nix
Normal file
13
modules/forge/hm.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{ config, lib, ... }:
|
||||
|
||||
{
|
||||
options.stylix.targets.forge.enable =
|
||||
config.lib.stylix.mkEnableTarget "Forge" true;
|
||||
|
||||
config = lib.mkIf (config.stylix.enable && config.stylix.targets.forge.enable) {
|
||||
xdg.configFile."forge/stylesheet/forge/stylesheet.css".source = config.lib.stylix.colors {
|
||||
template = ./stylesheet.css.mustache;
|
||||
extension = ".css";
|
||||
};
|
||||
};
|
||||
}
|
140
modules/forge/stylesheet.css.mustache
Normal file
140
modules/forge/stylesheet.css.mustache
Normal file
|
@ -0,0 +1,140 @@
|
|||
.tiled {
|
||||
color: #{{base0D-hex}};
|
||||
opacity: 1;
|
||||
border-width: 3px;
|
||||
}
|
||||
|
||||
.split {
|
||||
color: #{{base0D-hex}};
|
||||
opacity: 1;
|
||||
border-width: 3px;
|
||||
}
|
||||
|
||||
.stacked {
|
||||
color: #{{base0D-hex}};
|
||||
opacity: 1;
|
||||
border-width: 3px;
|
||||
}
|
||||
|
||||
.tabbed {
|
||||
color: #{{base0D-hex}};
|
||||
opacity: 1;
|
||||
border-width: 3px;
|
||||
}
|
||||
|
||||
.floated {
|
||||
color: #{{base0D-hex}};
|
||||
border-width: 3px;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.window-tiled-border {
|
||||
border-width: 3px;
|
||||
border-color: #{{base0D-hex}};
|
||||
border-style: solid;
|
||||
border-radius: 14px;
|
||||
}
|
||||
|
||||
.window-split-border {
|
||||
border-width: 3px;
|
||||
border-color: #{{base0D-hex}};
|
||||
border-style: solid;
|
||||
border-radius: 14px;
|
||||
}
|
||||
|
||||
.window-split-horizontal {
|
||||
border-left-width: 0;
|
||||
border-top-width: 0;
|
||||
border-bottom-width: 0;
|
||||
}
|
||||
|
||||
.window-split-vertical {
|
||||
border-left-width: 0;
|
||||
border-top-width: 0;
|
||||
border-right-width: 0;
|
||||
}
|
||||
|
||||
.window-stacked-border {
|
||||
border-width: 3px;
|
||||
border-color: #{{base0D-hex}};
|
||||
border-style: solid;
|
||||
border-radius: 14px;
|
||||
}
|
||||
|
||||
.window-tabbed-border {
|
||||
border-width: 3px;
|
||||
border-color: #{{base0D-hex}};
|
||||
border-style: solid;
|
||||
border-radius: 14px;
|
||||
}
|
||||
|
||||
.window-tabbed-bg {
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.window-tabbed-tab {
|
||||
background-color: rgba(54, 47, 45, 1);
|
||||
border-color: #{{base0D-hex}}9A;
|
||||
border-width: 1px;
|
||||
border-radius: 8px;
|
||||
color: white;
|
||||
margin: 1px;
|
||||
box-shadow: 0 0 0 1px rgba(1px 0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.window-tabbed-tab-active {
|
||||
background-color: #{{base0D-hex}};
|
||||
color: black;
|
||||
box-shadow: 0 0 0 1px rgba(1px 0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.window-tabbed-tab-close {
|
||||
padding: 3px;
|
||||
margin: 4px;
|
||||
border-radius: 16px;
|
||||
width: 16px;
|
||||
background-color: #{{base08-hex}};
|
||||
}
|
||||
|
||||
.window-tabbed-tab-icon {
|
||||
margin: 3px;
|
||||
}
|
||||
|
||||
.window-floated-border {
|
||||
border-width: 3px;
|
||||
border-color: #{{base0D-hex}};
|
||||
border-style: solid;
|
||||
border-radius: 14px;
|
||||
}
|
||||
|
||||
.window-tilepreview-tiled {
|
||||
border-width: 1px;
|
||||
border-color: #{{base0D-hex}}4D;
|
||||
border-style: solid;
|
||||
border-radius: 14px;
|
||||
background-color: #{{base0D-hex}}33;
|
||||
}
|
||||
|
||||
.window-tilepreview-stacked {
|
||||
border-width: 1px;
|
||||
border-color: #{{base0D-hex}}66;
|
||||
border-style: solid;
|
||||
border-radius: 14px;
|
||||
background-color: #{{base0D-hex}}4D;
|
||||
}
|
||||
|
||||
.window-tilepreview-swap {
|
||||
border-width: 1px;
|
||||
border-color: #{{base0D-hex}}4D;
|
||||
border-style: solid;
|
||||
border-radius: 14px;
|
||||
background-color: #{{base0D-hex}}4D;
|
||||
}
|
||||
|
||||
.window-tilepreview-tabbed {
|
||||
border-width: 1px;
|
||||
border-color: #{{base0D-hex}}4D;
|
||||
border-style: solid;
|
||||
border-radius: 14px;
|
||||
background-color: #{{base0D-hex}}4D;
|
||||
}
|
Loading…
Reference in a new issue