Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtnvgr committed Oct 25, 2023
1 parent ae7010b commit 150e5e5
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
on:
push:

jobs:
main:
runs-on: ubuntu-latest

steps:
- name: Checkout repo
uses: actions/checkout@v4

- name: Install nix
uses: cachix/install-nix-action@v23
with:
nix_path: nixpkgs=channel:nixos-unstable

- name: Format files with nixpkgs-fmt
run: |
nix-shell -p nixpkgs-fmt
nixpkgs-fmt .
- name: Commit changes
uses: EndBug/add-and-commit@v9
with:
message: "chore: format"
default_author: user_info
committer_name: GitHub Actions
committer_email: 41898282+github-actions[bot]@users.noreply.github.com
31 changes: 31 additions & 0 deletions colorschemes/catppuccin.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
name = "Catppuccin";
slug = "catppuccin";
author = "https://github.com/catppuccin";

colors = rec {
base00 = "#1e1e2e"; # base
base01 = "#181825"; # mantle
base02 = "#313244"; # surface0
base03 = "#45475a"; # surface1
base04 = "#585b70"; # surface2
base05 = "#cdd6f4"; # text
base06 = "#f5e0dc"; # rosewater
base07 = "#b4befe"; # lavender
base08 = "#f38ba8"; # red
base09 = "#fab387"; # peach
base0A = "#f9e2af"; # yellow
base0B = "#a6e3a1"; # green
base0C = "#94e2d5"; # teal
base0D = "#89b4fa"; # blue
base0E = "#cba6f7"; # mauve
base0F = "#f2cdcd"; # flamingo

background = base00;
foreground = base05;

red = base08;
orange = base09;
yellow = base0A;
};
}
3 changes: 3 additions & 0 deletions colorschemes/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
catppuccin = import ./catppuccin.nix;
}

0 comments on commit 150e5e5

Please sign in to comment.