spoko-design-system 0.5.1 → 0.5.2

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": "spoko-design-system",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "private": false,
5
5
  "main": "./index.ts",
6
6
  "module": "./index.ts",
@@ -22,8 +22,19 @@ export const buttonShortcuts = [
22
22
 
23
23
  // Utility buttons
24
24
  ['btn-text', `text-neutral-dark border border-transparent hover:underline ${TRANSITIONS.base}`],
25
- ['btn-tag', `bg-blue-ultralight text-blue-darker font-medium mr-2 dark:bg-neutral-darker dark:text-blue-light border border-blue-default hover:border-blue-medium ${LAYOUT.flex.center}`],
26
-
25
+ ['btn-tag', `
26
+ inline-flex items-center
27
+ px-3 py-1
28
+ text-sm
29
+ bg-blue-ultralight text-blue-medium
30
+ dark:bg-accent-deepBlue dark:text-neutral-lighter
31
+ rounded-full
32
+ border border-blue-ultralight dark:border-accent-darker
33
+ transition-all duration-200
34
+ hover:(bg-neutral-lightest dark:bg-accent-darker)
35
+ hover:scale-105
36
+ active:scale-95
37
+ `],
27
38
  // Size variants
28
39
  ['btn-normal', sizes.normal],
29
40
  ['btn-sm', sizes.sm],