tailvars 1.2.0 → 1.3.0

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/base.css CHANGED
@@ -1,11 +1,11 @@
1
1
  /** biome-ignore-all lint/suspicious/noUnknownAtRules: Custom media rules are not officially baseline CSS yet. */
2
2
 
3
3
  /* Media Queries */
4
- @custom-media --screen-xs (max-width: 359px);
5
- @custom-media --screen-sm (min-width: 360px) and (max-width: 479px);
6
- @custom-media --screen-md (min-width: 480px) and (max-width: 767px);
7
- @custom-media --screen-lg (min-width: 768px) and (max-width: 1023px);
8
- @custom-media --screen-xl (min-width: 1024px);
4
+ @custom-media --screen-xs (min-width: 360px) and (max-width: 479px);
5
+ @custom-media --screen-sm (min-width: 480px) and (max-width: 767px);
6
+ @custom-media --screen-md (min-width: 768px) and (max-width: 1023px);
7
+ @custom-media --screen-lg (min-width: 1024px) and (max-width: 1279px);
8
+ @custom-media --screen-xl (min-width: 1280px);
9
9
 
10
10
  /* Shapes */
11
11
  :root {
@@ -206,6 +206,8 @@
206
206
  left 0.075s var(--ease-both), right 0.075s var(--ease-both),
207
207
  bottom 0.075s var(--ease-both), inset 0.075s var(--ease-both);
208
208
  --transition: var(--transition-out);
209
+ --transition-slow: var(--transition-out-slow);
210
+ --transition-quick: var(--transition-out-quick);
209
211
  }
210
212
 
211
213
  /* Typography */
package/docs/index.html CHANGED
@@ -5,17 +5,9 @@
5
5
  <link rel="icon" type="image/svg+xml" href="/vite.svg" />
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
7
  <title>docs</title>
8
- <link global rel="stylesheet" href="./src/index.css" />
9
- <script type="module" src="/src/doc-section.js"></script>
10
- <script type="module" src="/src/hero-section.js"></script>
8
+ <link rel="stylesheet" href="./src/global.css" />
9
+ <script type="module" src="/src/index.js"></script>
11
10
  </head>
12
11
  <body>
13
- <div class="container">
14
- <hero-section
15
- title="--tailvars"
16
- subtitle="Putting the CSS back into your Tailwind"
17
- class="no-container"
18
- ></hero-section>
19
- </div>
20
12
  </body>
21
13
  </html>