css-zero 0.0.20 → 0.0.21

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8fdf533ce57fa9f3755bdc671350e5ae78c5fe0d036818eb67a0e4bc53381ce9
4
- data.tar.gz: 8cc157fa3247ebf822da055a72c29d5af3c6c2ae32d498789112cbf9abe0bf19
3
+ metadata.gz: 481b6bc3c15647de31c49080ef3f7192e8b09f30aaaccf31c13ff3e9c2cfd186
4
+ data.tar.gz: 81c81d0318e3d791ce1413fb4e138c4acd93342754c3ab7638a3412bb06b3925
5
5
  SHA512:
6
- metadata.gz: 3a5d85f4aeea75765eba29e2e8cbe36e8f8d095260e9418b563af814887b312792f59303fe93f264bb9dc618b460c108cad8a968a8174c6528a99e61f5558fa1
7
- data.tar.gz: 9a12fa3ce63f9301a79d23a72a0c2a443607b7b6e617ae65fc6e01519de6f911fe50c2588fc42ad8f450ca77a68f3ae99eb078209a82d5839ee8e32c68391841
6
+ metadata.gz: e703ceb69b9a40978790111661b8ba6a4dd1e9331661d869006b409fe963ae2ac83265fbb31d83b39c147374421435146d4df1587539a9b51bf36924f455594a
7
+ data.tar.gz: '089475f52788b3fe8432f95bd54a3b433a9d94452248c4c86763839086687fef7c7fcd2912f5a050763035c76a6fd1a3b32c59592e83288a1ab39728849abfab'
@@ -83,7 +83,6 @@
83
83
  --width-5xl: 64rem; /* 1024px */
84
84
  --width-6xl: 72rem; /* 1152px */
85
85
  --width-7xl: 80rem; /* 1280px */
86
- --width-prose: 65ch;
87
86
 
88
87
  /****************************************************************
89
88
  * Breakpoints
@@ -17,10 +17,11 @@
17
17
  --text-7xl: 4.5rem; /* 72px */
18
18
  --text-8xl: 6rem; /* 96px */
19
19
  --text-9xl: 8rem; /* 128px */
20
+
20
21
  --text-sm-responsive: clamp(0.75rem, 2cqi, 1rem);
21
- --text-base-responsive: clamp(1rem, 2.5cqi, 1.5rem);
22
+ --text-base-responsive: clamp(1rem, 2.5cqi, 1.25rem);
22
23
  --text-lg-responsive: clamp(1.25rem, 4cqi, 1.875rem);
23
- --text-lg-responsive: clamp(1.875rem, 5cqi, 3rem);
24
+ --text-xl-responsive: clamp(1.875rem, 5cqi, 3rem);
24
25
 
25
26
  /****************************************************************
26
27
  * Font Weight
@@ -31,9 +31,6 @@
31
31
  /****************************************************************
32
32
  * Text
33
33
  *****************************************************************/
34
- .antialiased { -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; }
35
- .subpixel-antialiased { -webkit-font-smoothing: auto; -moz-osx-font-smoothing: auto; }
36
-
37
34
  .font-normal { font-weight: var(--font-normal); }
38
35
  .font-medium { font-weight: var(--font-medium); }
39
36
  .font-semibold { font-weight: var(--font-semibold); }
@@ -85,10 +82,10 @@
85
82
  .text-8xl { font-size: var(--text-8xl); }
86
83
  .text-9xl { font-size: var(--text-9xl); }
87
84
 
88
- .text-sm-responsive { font-size: var(--text-sm-responsive); }
89
- .text-base-responsive { font-size: var(--text-base-responsive); }
90
- .text-lg-responsive { font-size: var(--text-lg-responsive); }
91
- .text-xl-responsive { font-size: var(--text-xl-responsive); }
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); }
92
89
 
93
90
  /****************************************************************
94
91
  * Background
@@ -1,3 +1,3 @@
1
1
  module CssZero
2
- VERSION = "0.0.20"
2
+ VERSION = "0.0.21"
3
3
  end
@@ -1,4 +1,7 @@
1
1
  :where(.prose) {
2
+ font-size: var(--text-base-responsive);
3
+ max-inline-size: 65ch;
4
+
2
5
  :is(h1, h2, h3, h4, h5, h6) {
3
6
  font-weight: 800;
4
7
  hyphens: auto;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: css-zero
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.20
4
+ version: 0.0.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lázaro Nixon