@api7/ui-components 0.6.0 → 0.7.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/README.md +1 -1
- package/dist/theme.css +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -358,7 +358,7 @@ The components are ordinary Tailwind utilities, so there is one stylesheet and o
|
|
|
358
358
|
What the theme changes in the application:
|
|
359
359
|
|
|
360
360
|
- It adds the semantic colors to the Tailwind theme: `background`, `foreground`, `card`, `popover`, `primary`, `primary-text`, `muted`, `accent`, `destructive`, `success`, `warning`, `info`, `border`, `input`, `ring` and the others listed in `src/tokens/semantic.ts`. The names are common, so an application that already defines `--color-primary` or `--color-muted` gets the value of whichever declaration comes last.
|
|
361
|
-
- It sets `rounded-sm` to 2px and `rounded-
|
|
361
|
+
- It sets `rounded-sm` to 2px, `rounded-md` to 4px and `rounded-lg` to 8px, for the application's own markup as well. The 8px size is for outer containers, while the existing control sizes stay unchanged. Other radii and the whole color palette stay as Tailwind defines them.
|
|
362
362
|
- It sets `--font-sans`. Tailwind's theme points `--default-font-family` at it, so Inter becomes the default font of the whole application, not only of the `font-sans` utility.
|
|
363
363
|
- It defines the `dark` variant, as described in [Dark mode](#dark-mode).
|
|
364
364
|
|
package/dist/theme.css
CHANGED