Skip to content

Commit

Permalink
renamed monocolor to mono-color
Browse files Browse the repository at this point in the history
  • Loading branch information
asvvvad committed May 24, 2020
1 parent 398e582 commit aeca007
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
vendor/
composer.phar
mono-only-*.zip
monocolor-*.zip
mono-color-*.zip
6 changes: 3 additions & 3 deletions build
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ foreach ($files as $file) {
}

# combine mono and color into a single css file for better gzipping
echo "Making monocolor.min.css ...\n";
file_put_contents("monocolor.min.css", file_get_contents("mono.min.css").file_get_contents("color.min.css"));
echo "Making mono-color.min.css ...\n";
file_put_contents("mono-color.min.css", file_get_contents("mono.min.css").file_get_contents("color.min.css"));

# create the release zip files
echo "Creating release archives ...\n";
`zip mono-only-$version.zip mono.min.css light.min.css dark.min.css template-mono-only.html`;
`zip monocolor-$version.zip mono.min.css light.min.css dark.min.css color.min.css template.html`;
`zip mono-color-$version.zip mono.min.css light.min.css dark.min.css color.min.css template.html`;

echo "Done.\n";
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ <h1 id="usage">Usage: </h1>
&lt;!-- or any of these methods: https://asvvvad.github.io/mono-color/#switching-theme --&gt;
&lt;link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/asvvvad/[email protected]/light.min.css" media=""&gt;
&lt;link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/asvvvad/[email protected]/dark.min.css" media="(prefers-color-scheme: dark)"&gt;
&lt;link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/asvvvad/[email protected]/monocolor.min.css"&gt;
&lt;link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/asvvvad/[email protected]/mono-color.min.css"&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;div class="container"&gt;
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion template.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<!-- or any of these methods: https://asvvvad.github.io/mono-color/#switching-theme -->
<link rel="stylesheet" href="light.min.css" media="">
<link rel="stylesheet" href="dark.min.css" media="(prefers-color-scheme: dark)">
<link rel="stylesheet" href="monocolor.min.css">
<link rel="stylesheet" href="mono-color.min.css">
</head>

<body>
Expand Down

0 comments on commit aeca007

Please sign in to comment.