From 0c8fa3a2a270747f3dbb54fe8792f3f0aec997e3 Mon Sep 17 00:00:00 2001 From: Ryan Schanzenbacher Date: Mon, 3 Aug 2026 01:22:44 -0400 Subject: Initial commit: combined darwin + guix-linux home-manager flake Supersedes nix-dotfiles (darwin) and guix-dotfiles' ad-hoc nix-home-manager flake (linux). See README.md/MIGRATION.md. --- .../lib/styles/components/spaces/spaces.js | 50 ++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100755 users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/spaces/spaces.js (limited to 'users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/spaces/spaces.js') diff --git a/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/spaces/spaces.js b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/spaces/spaces.js new file mode 100755 index 0000000..8657b9c --- /dev/null +++ b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/spaces/spaces.js @@ -0,0 +1,50 @@ +// Styles for /lib/components/{yabai|aerospace}/*.jsx components +import { spaceStyles } from "./space"; +import { spaceOptionsStyles } from "./space-options"; + +export const styles = /* css */ ` +.spaces { + flex: 0 0 auto; + display: flex; + align-items: stretch; +} +.simple-bar--no-bar-background .spaces { + padding: 4px 5px; + background-color: var(--background); + box-shadow: var(--light-shadow); + border-radius: var(--bar-radius); +} +.simple-bar--no-bar-background.simple-bar--no-shadow .spaces { + box-shadow: none; +} +.simple-bar--process-aligned-to-left .spaces { + margin-right: 4px; +} +.spaces__separator { + align-self: center; + flex: 0 0 5px; + width: 5px; + height: 5px; + margin: var(--item-outer-margin); + background-color: var(--foreground); + border-radius: 50%; + opacity: 0.35; +} +${spaceStyles} +${spaceOptionsStyles} +.spaces__add > svg { + width: 10px; + height: 10px; + fill: currentColor; +} +.spaces__end-separator { + align-self: center; + flex: 0 0 4px; + width: 4px; + height: 4px; + margin: var(--item-outer-margin); + background-color: var(--main-alt); + border-radius: 50%; + opacity: 0.35; +} +`; -- cgit v1.3.1