Skip to content

Commit

Permalink
Release 0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tbolt authored Nov 8, 2022
1 parent 47c881d commit 8ca42af
Show file tree
Hide file tree
Showing 7 changed files with 60 additions and 10 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/minifycss.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Minify CSS
on:
push

jobs:
minify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Auto Minify
uses: nizarmah/[email protected]

# Auto commits minified files to the repository
# Ignore it if you don't want to commit the files to the repository
- name: Auto committing minified files
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "Github Action: Auto Minified JS and CSS files"
branch: ${{ github.ref }}
25 changes: 25 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: NPM Publish
on:
push:
branches:
- main
jobs:
npm-publish:
name: npm-publish
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Publish if version has been updated
uses: pascalgn/[email protected]
with:
tag_name: "v%s"
tag_message: "v%s"
create_tag: "true"
commit_pattern: "^Release (\\S+)"
workspace: "."
publish_command: "yarn"
publish_args: "--non-interactive"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
11 changes: 8 additions & 3 deletions bolt.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Bolt.css
* Version 0.4.0
* Version 0.5.0
* https://github.com/tbolt/boltcss
*
* Sections
Expand Down Expand Up @@ -206,6 +206,12 @@ a {
color: var(--links);
}

a:active,
a:hover,
a:focus {
text-decoration: none;
}

mark,
samp,
kbd,
Expand Down Expand Up @@ -240,8 +246,7 @@ code,
pre {
font-size: 1em;
padding: 2px 4px;
background-color: whitesmoke;
color: black;
background: var(--background-main);
border: 1px solid darkgray;
max-width: fit-content;
overflow-x: auto;
Expand Down
1 change: 1 addition & 0 deletions bolt.min.css

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

1 change: 1 addition & 0 deletions demo-support.min.css

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

10 changes: 4 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,7 @@ <h2>How to use</h2>
</p>
<p>
Alternatively, drop this right into your <code>&lt;head&gt;</code> to use it via a CDN.
<code class="demo-code"
>&lt;link rel="stylesheet" href="https://unpkg.com/boltcss/bolt.css"&gt;</code
>
<code class="demo-code">&lt;link rel="stylesheet" href="https://unpkg.com/boltcss/bolt.min.css"&gt;</code>
</p>
<h2 class="demo-break">Demos</h2>
<hr />
Expand Down Expand Up @@ -175,7 +173,7 @@ <h3 class="demo-header">blockquote</h3>
</blockquote>

<!-- description list -->
<h3 class="demo-header">description list</h3>
<h3 class="demo-header">dl (description list)</h3>
<dl>
<dt>Beast of Bodmin</dt>
<dd>A large feline inhabiting Bodmin Moor.</dd>
Expand All @@ -196,7 +194,7 @@ <h3 class="demo-header">description list</h3>
</figure> -->

<!-- ol -->
<h3 class="demo-header">ol</h3>
<h3 class="demo-header">ol (ordered list)</h3>
<ol>
<li>Mix flour, baking powder, sugar, and salt.</li>
<li>In another bowl, mix eggs, milk, and oil.</li>
Expand All @@ -206,7 +204,7 @@ <h3 class="demo-header">ol</h3>
</ol>

<!-- ul -->
<h3 class="demo-header">ul</h3>
<h3 class="demo-header">ul (unordered list)</h3>
<ul>
<li>Neil Armstrong</li>
<li>Alan Bean</li>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "boltcss",
"version": "0.4.0",
"version": "0.5.0",
"description": "Boltcss classless CSS stylesheet",
"main": "bolt.css",
"scripts": {},
Expand Down

0 comments on commit 8ca42af

Please sign in to comment.