Skip to content
This repository has been archived by the owner on Jun 2, 2024. It is now read-only.

Commit

Permalink
fix: actually apply our accents (#199)
Browse files Browse the repository at this point in the history
* fix: actually apply our accents

* chore: remove unused patches
  • Loading branch information
nullishamy committed May 20, 2024
1 parent 084c3ac commit 5c3ec52
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 51 deletions.
7 changes: 3 additions & 4 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def build(ctx: BuildContext):
)


def tweaks_temp():
def init_tweaks_temp():
shutil.copyfile(f"{SRC_DIR}/sass/_tweaks.scss", f"{SRC_DIR}/sass/_tweaks-temp.scss")


Expand Down Expand Up @@ -262,7 +262,7 @@ def write_tweak(key, default, value):


def apply_tweaks(ctx: BuildContext):
write_tweak("theme", "'default'", translate_accent(ctx.accent))
write_tweak("theme", "'default'", f"'{translate_accent(ctx.accent)}'")

if ctx.size == "compact":
write_tweak("compact", "'false'", "'true'")
Expand Down Expand Up @@ -477,7 +477,6 @@ def apply_colloid_patches():
for patch in [
"plank-dark.patch",
"plank-light.patch",
"sass-colors.patch",
"sass-palette-frappe.patch",
"sass-palette-mocha.patch",
"sass-palette-latte.patch",
Expand Down Expand Up @@ -644,7 +643,7 @@ def main():
output_format=output_format,
)
logger.info("Building temp tweaks file")
tweaks_temp()
init_tweaks_temp()
logger.info("Inserting gnome-shell imports")
gnome_shell_version()
logger.info("Building main theme")
Expand Down
47 changes: 0 additions & 47 deletions patches/colloid/sass-colors.patch

This file was deleted.

0 comments on commit 5c3ec52

Please sign in to comment.