frutjam 0.12.0-beta.0 → 0.13.0-beta.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "frutjam",
3
- "version": "0.12.0-beta.0",
3
+ "version": "0.13.0-beta.0",
4
4
  "description": "A utility-first CSS framework UI Library",
5
5
  "funding": "https://ko-fi.com/nezanuha",
6
6
  "main": "./dist/frutjam.css",
@@ -51,7 +51,7 @@
51
51
  "prettier-plugin-tailwindcss": "^0.6.11",
52
52
  "string-replace-loader": "^3.1.0",
53
53
  "style-loader": "^4.0.0",
54
- "webpack": "^5.99.8",
54
+ "webpack": "^5.99.9",
55
55
  "webpack-cli": "^6.0.1",
56
56
  "webpack-dev-server": "^5.2.1"
57
57
  }
@@ -1,14 +1,14 @@
1
1
  @utility card-outline {
2
2
  border: 1px solid light-dark(
3
- var(--input-700),
4
- var(--input-800)
3
+ var(--core-200),
4
+ var(--core-900)
5
5
  );
6
6
  }
7
7
 
8
8
  @utility card-dashed {
9
9
  border: 1px dashed light-dark(
10
- var(--input-700),
11
- var(--input-800)
10
+ var(--core-200),
11
+ var(--core-900)
12
12
  );
13
13
  }
14
14
 
@@ -17,17 +17,22 @@
17
17
  @utility card {
18
18
  @apply relative flex flex-col;
19
19
  border-radius: var(--radius-card);
20
+ overflow:hidden;
21
+ background: light-dark(
22
+ var(--core-50),
23
+ var(--core-900)
24
+ );
20
25
 
21
- &:where(figure:first-child) {
22
- @apply overflow-hidden;
26
+ :where(figure:first-child) {
27
+ overflow: hidden;
23
28
  border-start-start-radius: inherit;
24
29
  border-start-end-radius: inherit;
25
30
  border-end-start-radius: unset;
26
31
  border-end-end-radius: unset;
27
32
  }
28
33
 
29
- &:where(figure:last-child) {
30
- @apply overflow-hidden;
34
+ :where(figure:last-child) {
35
+ overflow: hidden;
31
36
  border-start-start-radius: unset;
32
37
  border-start-end-radius: unset;
33
38
  border-end-start-radius: inherit;
@@ -39,8 +44,8 @@
39
44
  @apply flex flex-auto flex-col gap-2;
40
45
  padding: 1.5rem;
41
46
 
42
- &:where(p){
43
- @apply text-base grow;
47
+ :where(p){
48
+ @apply text-base grow;
44
49
  }
45
50
  }
46
51
 
package/src/main.css CHANGED
@@ -11,6 +11,7 @@
11
11
  @import "./components/dropdown.css";
12
12
  @import "./components/divider.css";
13
13
  @import "./components/nav.css";
14
+ @import "./components/card.css";
14
15
 
15
16
  /* utilities */
16
17
  @import "./utilities/headings.css";