@tollerud/ui 1.0.4 → 1.0.5
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/README.md +2 -1
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/globals.css +14 -14
- package/package.json +1 -1
- package/tokens.css +7 -7
- package/tollerud-preset.js +11 -11
package/dist/index.d.cts
CHANGED
|
@@ -11,11 +11,11 @@ import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
|
11
11
|
declare function cn(...inputs: ClassValue[]): string;
|
|
12
12
|
|
|
13
13
|
declare const variants: {
|
|
14
|
-
readonly primary: "bg-tollerud-yellow text-tollerud-black border-tollerud-yellow hover:bg-tollerud-yellow
|
|
14
|
+
readonly primary: "bg-tollerud-yellow text-tollerud-black border-tollerud-yellow hover:bg-tollerud-yellow hover:shadow-tollerud-glow";
|
|
15
15
|
readonly secondary: "bg-transparent text-tollerud-text-primary border-tollerud-border hover:border-tollerud-text-secondary hover:bg-tollerud-surface-hover";
|
|
16
16
|
readonly ghost: "bg-transparent text-tollerud-text-secondary border-transparent hover:text-tollerud-text-primary hover:bg-tollerud-surface-hover";
|
|
17
17
|
readonly destructive: "bg-tollerud-error text-white border-tollerud-error hover:shadow-[0_0_12px_rgba(239,68,68,0.3)]";
|
|
18
|
-
readonly terminal: "font-mono text-tollerud-yellow border-[rgba(
|
|
18
|
+
readonly terminal: "font-mono text-tollerud-yellow border-[rgba(255,255,0,0.25)] bg-transparent before:content-[\"❯_\"] before:opacity-70 hover:border-tollerud-yellow hover:shadow-tollerud-glow hover:bg-[rgba(255,255,0,0.05)]";
|
|
19
19
|
};
|
|
20
20
|
declare const sizes: {
|
|
21
21
|
readonly sm: "px-3 py-1 text-sm";
|
package/dist/index.d.ts
CHANGED
|
@@ -11,11 +11,11 @@ import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
|
11
11
|
declare function cn(...inputs: ClassValue[]): string;
|
|
12
12
|
|
|
13
13
|
declare const variants: {
|
|
14
|
-
readonly primary: "bg-tollerud-yellow text-tollerud-black border-tollerud-yellow hover:bg-tollerud-yellow
|
|
14
|
+
readonly primary: "bg-tollerud-yellow text-tollerud-black border-tollerud-yellow hover:bg-tollerud-yellow hover:shadow-tollerud-glow";
|
|
15
15
|
readonly secondary: "bg-transparent text-tollerud-text-primary border-tollerud-border hover:border-tollerud-text-secondary hover:bg-tollerud-surface-hover";
|
|
16
16
|
readonly ghost: "bg-transparent text-tollerud-text-secondary border-transparent hover:text-tollerud-text-primary hover:bg-tollerud-surface-hover";
|
|
17
17
|
readonly destructive: "bg-tollerud-error text-white border-tollerud-error hover:shadow-[0_0_12px_rgba(239,68,68,0.3)]";
|
|
18
|
-
readonly terminal: "font-mono text-tollerud-yellow border-[rgba(
|
|
18
|
+
readonly terminal: "font-mono text-tollerud-yellow border-[rgba(255,255,0,0.25)] bg-transparent before:content-[\"❯_\"] before:opacity-70 hover:border-tollerud-yellow hover:shadow-tollerud-glow hover:bg-[rgba(255,255,0,0.05)]";
|
|
19
19
|
};
|
|
20
20
|
declare const sizes: {
|
|
21
21
|
readonly sm: "px-3 py-1 text-sm";
|
package/dist/index.js
CHANGED
|
@@ -17,11 +17,11 @@ function cn(...inputs) {
|
|
|
17
17
|
return twMerge(clsx(inputs));
|
|
18
18
|
}
|
|
19
19
|
var variants = {
|
|
20
|
-
primary: "bg-tollerud-yellow text-tollerud-black border-tollerud-yellow hover:bg-tollerud-yellow
|
|
20
|
+
primary: "bg-tollerud-yellow text-tollerud-black border-tollerud-yellow hover:bg-tollerud-yellow hover:shadow-tollerud-glow",
|
|
21
21
|
secondary: "bg-transparent text-tollerud-text-primary border-tollerud-border hover:border-tollerud-text-secondary hover:bg-tollerud-surface-hover",
|
|
22
22
|
ghost: "bg-transparent text-tollerud-text-secondary border-transparent hover:text-tollerud-text-primary hover:bg-tollerud-surface-hover",
|
|
23
23
|
destructive: "bg-tollerud-error text-white border-tollerud-error hover:shadow-[0_0_12px_rgba(239,68,68,0.3)]",
|
|
24
|
-
terminal: 'font-mono text-tollerud-yellow border-[rgba(
|
|
24
|
+
terminal: 'font-mono text-tollerud-yellow border-[rgba(255,255,0,0.25)] bg-transparent before:content-["\u276F_"] before:opacity-70 hover:border-tollerud-yellow hover:shadow-tollerud-glow hover:bg-[rgba(255,255,0,0.05)]'
|
|
25
25
|
};
|
|
26
26
|
var sizes = {
|
|
27
27
|
sm: "px-3 py-1 text-sm",
|
|
@@ -1659,7 +1659,7 @@ var Switch = forwardRef(
|
|
|
1659
1659
|
"transition-colors duration-200 ease-out",
|
|
1660
1660
|
checked ? "bg-tollerud-yellow" : "bg-tollerud-noir-600",
|
|
1661
1661
|
"group-hover:bg-tollerud-noir-500",
|
|
1662
|
-
checked && "group-hover:bg-tollerud-yellow-
|
|
1662
|
+
checked && "group-hover:bg-tollerud-yellow-warm",
|
|
1663
1663
|
"peer-focus-visible:outline-2 peer-focus-visible:outline-tollerud-yellow peer-focus-visible:outline-offset-2"
|
|
1664
1664
|
),
|
|
1665
1665
|
children: [
|