@keboola/tailwind-config 0.1.1 → 0.2.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/colors.ts +5 -2
- package/index.js +14 -0
- package/package.json +1 -1
- package/typography.ts +9 -2
package/colors.ts
CHANGED
|
@@ -14,6 +14,9 @@ export default {
|
|
|
14
14
|
background: 'rgb(var(--color-background) / <alpha-value>)',
|
|
15
15
|
foreground: 'rgb(var(--color-foreground) / <alpha-value>)',
|
|
16
16
|
|
|
17
|
+
// Raised container chrome (Modal/Card/Sheet). White in light, lifted off background in dark.
|
|
18
|
+
surface: 'rgb(var(--color-surface) / <alpha-value>)',
|
|
19
|
+
|
|
17
20
|
popover: {
|
|
18
21
|
DEFAULT: 'rgb(var(--color-popover) / <alpha-value>)',
|
|
19
22
|
foreground: 'rgb(var(--color-popover-foreground) / <alpha-value>)',
|
|
@@ -69,8 +72,8 @@ export default {
|
|
|
69
72
|
900: '#101114',
|
|
70
73
|
},
|
|
71
74
|
primary: {
|
|
72
|
-
DEFAULT: '
|
|
73
|
-
foreground: '
|
|
75
|
+
DEFAULT: 'rgb(var(--color-primary) / <alpha-value>)',
|
|
76
|
+
foreground: 'rgb(var(--color-primary-foreground) / <alpha-value>)',
|
|
74
77
|
100: '#e0ffe0',
|
|
75
78
|
200: '#baf5ba',
|
|
76
79
|
300: '#93f593',
|
package/index.js
CHANGED
|
@@ -21,6 +21,15 @@ export default {
|
|
|
21
21
|
700: 'url(#aigradient-700)',
|
|
22
22
|
},
|
|
23
23
|
},
|
|
24
|
+
// Lucide icons are stroke-based — exposing the AI gradient as a
|
|
25
|
+
// stroke utility lets us paint the visible line with the gradient,
|
|
26
|
+
// not just the (often empty) interior fill area.
|
|
27
|
+
stroke: {
|
|
28
|
+
aigradient: {
|
|
29
|
+
600: 'url(#aigradient-600)',
|
|
30
|
+
700: 'url(#aigradient-700)',
|
|
31
|
+
},
|
|
32
|
+
},
|
|
24
33
|
screens: {
|
|
25
34
|
'sm-legacy': '992px',
|
|
26
35
|
'md-legacy': '1092px',
|
|
@@ -37,6 +46,7 @@ export default {
|
|
|
37
46
|
'marching-ants': 'marching-ants 1s linear infinite',
|
|
38
47
|
'spinner-dots': 'spinner-dots 1s ease-in-out infinite',
|
|
39
48
|
'progress-bar': 'progress-bar var(--progress-bar-duration, 3s) linear forwards',
|
|
49
|
+
'caret-blink': 'caret-blink 1.25s ease-out infinite',
|
|
40
50
|
},
|
|
41
51
|
keyframes: {
|
|
42
52
|
shimmer: {
|
|
@@ -91,6 +101,10 @@ export default {
|
|
|
91
101
|
from: { width: '0%' },
|
|
92
102
|
to: { width: '100%' },
|
|
93
103
|
},
|
|
104
|
+
'caret-blink': {
|
|
105
|
+
'0%, 70%, 100%': { opacity: '1' },
|
|
106
|
+
'20%, 50%': { opacity: '0' },
|
|
107
|
+
},
|
|
94
108
|
},
|
|
95
109
|
backgroundImage: {
|
|
96
110
|
'loader-gradient': 'radial-gradient(circle closest-side,#000 90%,#0000)',
|
package/package.json
CHANGED
package/typography.ts
CHANGED
|
@@ -82,8 +82,15 @@ export const typography = {
|
|
|
82
82
|
'p:last-child': {
|
|
83
83
|
marginBottom: 0,
|
|
84
84
|
},
|
|
85
|
-
|
|
86
|
-
|
|
85
|
+
ul: {
|
|
86
|
+
listStyleType: 'disc',
|
|
87
|
+
marginTop: 0,
|
|
88
|
+
marginBottom: '10px',
|
|
89
|
+
paddingLeft: '24px',
|
|
90
|
+
lineHeight: '1.42857143',
|
|
91
|
+
},
|
|
92
|
+
ol: {
|
|
93
|
+
listStyleType: 'decimal',
|
|
87
94
|
marginTop: 0,
|
|
88
95
|
marginBottom: '10px',
|
|
89
96
|
paddingLeft: '24px',
|