css-zero 0.0.19 → 0.0.21
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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 481b6bc3c15647de31c49080ef3f7192e8b09f30aaaccf31c13ff3e9c2cfd186
|
|
4
|
+
data.tar.gz: 81c81d0318e3d791ce1413fb4e138c4acd93342754c3ab7638a3412bb06b3925
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e703ceb69b9a40978790111661b8ba6a4dd1e9331661d869006b409fe963ae2ac83265fbb31d83b39c147374421435146d4df1587539a9b51bf36924f455594a
|
|
7
|
+
data.tar.gz: '089475f52788b3fe8432f95bd54a3b433a9d94452248c4c86763839086687fef7c7fcd2912f5a050763035c76a6fd1a3b32c59592e83288a1ab39728849abfab'
|
|
@@ -18,6 +18,11 @@
|
|
|
18
18
|
--text-8xl: 6rem; /* 96px */
|
|
19
19
|
--text-9xl: 8rem; /* 128px */
|
|
20
20
|
|
|
21
|
+
--text-sm-responsive: clamp(0.75rem, 2cqi, 1rem);
|
|
22
|
+
--text-base-responsive: clamp(1rem, 2.5cqi, 1.25rem);
|
|
23
|
+
--text-lg-responsive: clamp(1.25rem, 4cqi, 1.875rem);
|
|
24
|
+
--text-xl-responsive: clamp(1.875rem, 5cqi, 3rem);
|
|
25
|
+
|
|
21
26
|
/****************************************************************
|
|
22
27
|
* Font Weight
|
|
23
28
|
* Variables for controlling the font weight of an element.
|
|
@@ -82,6 +82,11 @@
|
|
|
82
82
|
.text-8xl { font-size: var(--text-8xl); }
|
|
83
83
|
.text-9xl { font-size: var(--text-9xl); }
|
|
84
84
|
|
|
85
|
+
.text-sm--responsive { font-size: var(--text-sm-responsive); }
|
|
86
|
+
.text-base--responsive { font-size: var(--text-base-responsive); }
|
|
87
|
+
.text-lg--responsive { font-size: var(--text-lg-responsive); }
|
|
88
|
+
.text-xl--responsive { font-size: var(--text-xl-responsive); }
|
|
89
|
+
|
|
85
90
|
/****************************************************************
|
|
86
91
|
* Background
|
|
87
92
|
*****************************************************************/
|
|
@@ -130,13 +135,13 @@
|
|
|
130
135
|
* Shadow
|
|
131
136
|
*****************************************************************/
|
|
132
137
|
.shadow-none { box-shadow: none; }
|
|
133
|
-
.shadow-xs { box-shadow: var(--shadow-xs); }
|
|
134
138
|
.shadow-sm { box-shadow: var(--shadow-sm); }
|
|
135
139
|
.shadow { box-shadow: var(--shadow); }
|
|
136
140
|
.shadow-md { box-shadow: var(--shadow-md); }
|
|
137
141
|
.shadow-lg { box-shadow: var(--shadow-lg); }
|
|
138
142
|
.shadow-xl { box-shadow: var(--shadow-xl); }
|
|
139
143
|
.shadow-2xl { box-shadow: var(--shadow-2xl); }
|
|
144
|
+
.shadow-inner { box-shadow: var(--shadow-inner); }
|
|
140
145
|
|
|
141
146
|
/****************************************************************
|
|
142
147
|
* Layout
|
data/lib/css_zero/version.rb
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
:where(.prose) {
|
|
2
|
-
|
|
3
|
-
-
|
|
4
|
-
font-size: clamp(1rem, 2.5cqi, 1.4rem);
|
|
2
|
+
font-size: var(--text-base-responsive);
|
|
3
|
+
max-inline-size: 65ch;
|
|
5
4
|
|
|
6
5
|
:is(h1, h2, h3, h4, h5, h6) {
|
|
7
6
|
font-weight: 800;
|
|
@@ -128,7 +127,6 @@
|
|
|
128
127
|
}
|
|
129
128
|
|
|
130
129
|
a {
|
|
131
|
-
color: var(--blue-700);
|
|
132
130
|
text-decoration: underline;
|
|
133
131
|
text-decoration-skip-ink: auto;
|
|
134
132
|
}
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: css-zero
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.21
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Lázaro Nixon
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-07-
|
|
11
|
+
date: 2024-07-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description:
|
|
14
14
|
email: lazaronixon@hotmail.com
|