diff --git a/.config/swaync/style.css b/.config/swaync/style.css index 9c908e1..0a3c759 100644 --- a/.config/swaync/style.css +++ b/.config/swaync/style.css @@ -54,7 +54,7 @@ color: rgb(212, 190, 152); border: none; border-top: 1px solid rgb(80, 73, 69); - border-radius: 0px; + border-radius: 0; border-right: 1px solid rgb(80, 73, 69); } @@ -104,7 +104,7 @@ background: rgba(80, 73, 69, 0.95); } -/* Notification close button*/ +/* Notification close button */ .close-button { background: transparent; color: rgb(212, 190, 152); @@ -144,7 +144,6 @@ font-weight: bold; background: transparent; color: rgb(212, 190, 152); - /* margin-right: 10px; */ } .body { @@ -162,15 +161,17 @@ -gtk-icon-effect: none; } -/* Control-center panel which contains the old notifications + widgets*/ +/* Control-center panel which contains the old notifications + widgets */ .control-center { background: rgba(37, 36, 35, 0.85); color: rgb(212, 190, 152); border-radius: 12px; } + .control-center-list-placeholder { opacity: 0.5; } + .control-center-list { background: transparent; } @@ -195,6 +196,7 @@ } /*** Widgets ***/ + /* Title widget */ .widget-title { color: rgb(212, 190, 152); diff --git a/.config/waybar/style.css b/.config/waybar/style.css index 0e86649..f7d3809 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.css @@ -20,7 +20,7 @@ #workspaces button:first-child { background: #32302f; - border-left: 0px; + border-left: 0; } #workspaces button.focused { @@ -79,7 +79,7 @@ #tray, #custom-weather { background: #32302f; - padding: 0 3 0 3; + padding: 0 3; } #cpu, @@ -90,7 +90,7 @@ #custom-crypto, #custom-updates { background: #3c3836; - padding: 0 3 0 3; + padding: 0 3; } /* @@ -126,7 +126,7 @@ color: #7daea3; } -tooltip { +#tooltip { background: #32302f; border: 1px solid #252423; } diff --git a/.github/workflows/prettier.yaml b/.github/workflows/prettier.yaml new file mode 100644 index 0000000..a3e0a3a --- /dev/null +++ b/.github/workflows/prettier.yaml @@ -0,0 +1,21 @@ +--- +name: prettier +# yamllint disable-line rule:truthy +on: + push: + branches: + - master + pull_request: + branches: + - master +jobs: + format_check: + name: Check CSS/json/etc files with prettier + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + - name: Run prettier + uses: creyD/prettier_action@v4.3 + with: + prettier_options: --check diff --git a/.github/workflows/stylelint.yaml b/.github/workflows/stylelint.yaml new file mode 100644 index 0000000..4dd752a --- /dev/null +++ b/.github/workflows/stylelint.yaml @@ -0,0 +1,19 @@ +--- +name: stylelint +# yamllint disable-line rule:truthy +on: + push: + branches: + - master + pull_request: + branches: + - master +jobs: + lint: + name: Check CSS with stylelint + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + - name: Run stylelint + uses: actions-hub/stylelint@master diff --git a/.gitignore b/.gitignore index 4d2d4d3..caa172a 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,9 @@ !.gitmodules !.gtkrc-2.0 !.ripgreprc +!.stylelintrc.json +!.yamlfmt.yaml +!.yamllint.yaml !.icons !LICENSE !README.md diff --git a/.stylelintrc.json b/.stylelintrc.json new file mode 100644 index 0000000..323cc1e --- /dev/null +++ b/.stylelintrc.json @@ -0,0 +1,9 @@ +{ + "extends": "stylelint-config-standard", + "rules": { + "color-function-notation": "legacy", + "alpha-value-notation": null, + "selector-type-no-unknown": null, + "font-family-no-missing-generic-family-keyword": null + } +} diff --git a/.github/.yamlfmt.yaml b/.yamlfmt.yaml similarity index 100% rename from .github/.yamlfmt.yaml rename to .yamlfmt.yaml diff --git a/.github/.yamllint.yaml b/.yamllint.yaml similarity index 100% rename from .github/.yamllint.yaml rename to .yamllint.yaml