Skip to content

Commit

Permalink
fix(CSS): typo; double dash
Browse files Browse the repository at this point in the history
  • Loading branch information
unseen-ninja committed May 3, 2024
1 parent f062737 commit e2b9f34
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
20 changes: 10 additions & 10 deletions dist/palette.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/templates/css.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
%CSS%
--primary: var(--grape); --primary-tint: var(--grape-tint); --primary-shade: var(--grape-shade); --primary--gradient: linear-gradient(120deg, var(--primary-tint), var(--primary-shade));
--secondary: var(--raspberry); --secondary-tint: var(--raspberry-tint); --secondary-shade: var(--raspberry-shade); --secondary--gradient: linear-gradient(120deg, var(--secondary-tint), var(--secondary-shade));
--tertiary: var(--lemon); --tertiary-tint: var(--lemon-tint); --tertiary-shade: var(--lemon-shade); --tertiary--gradient: linear-gradient(120deg, var(--tertiary-tint), var(--tertiary-shade));
--primary: var(--grape); --primary-tint: var(--grape-tint); --primary-shade: var(--grape-shade); --primary-gradient: linear-gradient(120deg, var(--primary-tint), var(--primary-shade));
--secondary: var(--raspberry); --secondary-tint: var(--raspberry-tint); --secondary-shade: var(--raspberry-shade); --secondary-gradient: linear-gradient(120deg, var(--secondary-tint), var(--secondary-shade));
--tertiary: var(--lemon); --tertiary-tint: var(--lemon-tint); --tertiary-shade: var(--lemon-shade); --tertiary-gradient: linear-gradient(120deg, var(--tertiary-tint), var(--tertiary-shade));
--lemonade-gradient: linear-gradient(120deg, var(--lemon), var(--peach) 40%, var(--raspberry));
Expand Down
2 changes: 1 addition & 1 deletion src/workflows/build_css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function buildColourBlock (colour: Colour, settings: Settings): string {
}

block += `
--${id}--gradient: linear-gradient(
--${id}-gradient: linear-gradient(
120deg,
var(--${id}-${variants[0]}),
var(--${id}-${variants[1]})
Expand Down

0 comments on commit e2b9f34

Please sign in to comment.