@anyblades/blades 0.28.0-alpha.2 → 0.28.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -1
- package/_includes/blades/html.liquid +4 -1
- package/_includes/blades/html.njk +4 -1
- package/assets/blades.core.css +1 -1
- package/assets/blades.css +1 -1
- package/assets/link-icon.css +1 -1
- package/blades.gemspec +1 -1
- package/package.json +2 -3
- package/src/link-icon.css +1 -1
- package/src/_unreduce-motion.css +0 -16
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
## Documentation
|
|
16
16
|
|
|
17
|
-
<!--section:docs-->
|
|
17
|
+
<!--section:docs,toc-->
|
|
18
18
|
|
|
19
19
|
<!-- copy-paste of ToC from https://blades.ninja/css/ -->
|
|
20
20
|
<ul class="unlist columns">
|
|
@@ -36,6 +36,8 @@
|
|
|
36
36
|
<li><a href="https://blades.ninja/css/#unreduce-motion">Unreduce motion</a></li></ul></li>
|
|
37
37
|
</ul>
|
|
38
38
|
|
|
39
|
+
<!--section:docs-->
|
|
40
|
+
|
|
39
41
|
---
|
|
40
42
|
|
|
41
43
|
## Install
|
|
@@ -69,6 +71,7 @@ Living example: https://github.com/anyblades/build-awesome-starter/blob/main/_st
|
|
|
69
71
|
|
|
70
72
|
<mark>Preconfigured:</mark>
|
|
71
73
|
|
|
74
|
+
- Pico: https://github.com/anyblades/pico
|
|
72
75
|
- 11ty: https://github.com/anyblades/build-awesome-starter
|
|
73
76
|
- Jekyll: https://github.com/anyblades/bladeswitch or [as a theme](https://blades.ninja/jekyll/#install)
|
|
74
77
|
|
|
@@ -4,7 +4,10 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="utf-8">
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, viewport-fit=cover">
|
|
7
|
-
<link rel="icon" href="{{ site.favicon | default: '/favicon.
|
|
7
|
+
<link rel="icon" href="{{ site.favicon | default: '/favicon.svg' }}">
|
|
8
|
+
{% if site.favicon_alt %}
|
|
9
|
+
<link rel="alternate icon" href="{{ site.favicon_alt }}" type="image/png">
|
|
10
|
+
{% endif %}
|
|
8
11
|
<title>
|
|
9
12
|
{%- if title %}{{ title | strip_html | append: ' | ' }}{% endif -%}
|
|
10
13
|
{{- site.title -}}
|
|
@@ -4,7 +4,10 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="utf-8" />
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, viewport-fit=cover" />
|
|
7
|
-
<link rel="icon" href="{{ site.favicon | d('/favicon.
|
|
7
|
+
<link rel="icon" href="{{ site.favicon | d('/favicon.svg') }}" />
|
|
8
|
+
{% if site.favicon_alt %}
|
|
9
|
+
<link rel="alternate icon" href="{{ site.favicon_alt }}" type="image/png" />
|
|
10
|
+
{% endif %}
|
|
8
11
|
<title>
|
|
9
12
|
{{- title | string | striptags ~ ' | ' if title -}}
|
|
10
13
|
{{- site.title -}}
|
package/assets/blades.core.css
CHANGED
package/assets/blades.css
CHANGED
package/assets/link-icon.css
CHANGED
package/blades.gemspec
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |spec|
|
|
4
4
|
spec.name = "blades"
|
|
5
|
-
spec.version = "0.28.0-alpha.
|
|
5
|
+
spec.version = "0.28.0-alpha.3"
|
|
6
6
|
spec.authors = ["Anton Staroverov"]
|
|
7
7
|
|
|
8
8
|
spec.summary = "Framework-agnostic CSS utilities and single-file Liquid 'blades' for modern web development."
|
package/package.json
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anyblades/blades",
|
|
3
|
-
"version": "0.28.0-alpha.
|
|
3
|
+
"version": "0.28.0-alpha.3",
|
|
4
4
|
"description": "Framework-agnostic CSS utilities and single-file Liquid 'blades' for modern web development.",
|
|
5
5
|
"style": "./assets/blades.css",
|
|
6
6
|
"exports": {
|
|
7
7
|
".": "./src/blades.css",
|
|
8
8
|
"./core": "./src/blades.core.css",
|
|
9
9
|
"./theme": "./src/blades.theme.css",
|
|
10
|
-
"./float-label": "./src/float-label.css"
|
|
11
|
-
"./unreduce-motion": "./src/_unreduce-motion.css"
|
|
10
|
+
"./float-label": "./src/float-label.css"
|
|
12
11
|
},
|
|
13
12
|
"scripts": {
|
|
14
13
|
"postcss": "postcss './src/!(_)*.css' --dir ./assets",
|
package/src/link-icon.css
CHANGED
package/src/_unreduce-motion.css
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/* Overrides https://github.com/picocss/pico/blob/main/scss/utilities/_reduce-motion.scss
|
|
2
|
-
<!--section:docs-->
|
|
3
|
-
|
|
4
|
-
### Unreduce motion
|
|
5
|
-
```css */
|
|
6
|
-
@utility unreduce-animation-* {
|
|
7
|
-
@media (prefers-reduced-motion: reduce) {
|
|
8
|
-
&:not([aria-busy="true"]) {
|
|
9
|
-
animation-duration: --value([ *]) !important;
|
|
10
|
-
animation-delay: 0 !important;
|
|
11
|
-
animation-iteration-count: infinite !important;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
/*```
|
|
16
|
-
<!--section--> */
|