Skip to content

Commit

Permalink
Update generator.py
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisgoddard authored Mar 14, 2024
1 parent 6069421 commit ed6fe55
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions utils/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ def save_css(path, slug, suffix, css):
save_css(path, slug, '.min.css', css_min)

# Step 3. Combine and minify into main files
slug = 'colors'
css_all_title = '/*! Colors.css ' + version + ' | All Palettes | MIT License | https://github.com/eustasy/colors.css */\n'
css_min = css_all_title + re.sub(r'[\s\n]+', '', css_all).lower()
css = css_all_title + css_all
Expand Down

0 comments on commit ed6fe55

Please sign in to comment.