css-zero 0.0.19 → 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: e634509687f5553344bef169e20e981f450b6b07df35aa6dd274392858ed3834
4
- data.tar.gz: 3d16de104cfa4eeb9265a4738cf472e222b95354b9097e92030f61bbd51538bd
3
+ metadata.gz: 481b6bc3c15647de31c49080ef3f7192e8b09f30aaaccf31c13ff3e9c2cfd186
4
+ data.tar.gz: 81c81d0318e3d791ce1413fb4e138c4acd93342754c3ab7638a3412bb06b3925
5
5
  SHA512:
6
- metadata.gz: 306343a85beba9d8d8b94686a00278ad037ff1682f2420b69e05d82fb4c57e051d973903e3ee764f856e8e85f5ff38b366c7466f192ad20d2f7b5c3cadd6071f
7
- data.tar.gz: 2b4f9569b4f006aedaf62fbbaddcce87d98ebc4b03e0fcb922efaf72d1c45e5be0af9ced635f3b5d9b7bb874c3f7c0cd92969683c6ca5a7261665257f672cef9
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
@@ -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
@@ -1,3 +1,3 @@
1
1
  module CssZero
2
- VERSION = "0.0.19"
2
+ VERSION = "0.0.21"
3
3
  end
@@ -1,7 +1,6 @@
1
1
  :where(.prose) {
2
- -moz-osx-font-smoothing: grayscale;
3
- -webkit-font-smoothing: antialiased;
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.19
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-16 00:00:00.000000000 Z
11
+ date: 2024-07-17 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: lazaronixon@hotmail.com