@midas-ds/theme 0.5.23

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.
Files changed (3) hide show
  1. package/README.md +11 -0
  2. package/index.css +1 -0
  3. package/package.json +23 -0
package/README.md ADDED
@@ -0,0 +1,11 @@
1
+ # theme
2
+
3
+ To get some basic global styles (like the Inter font) you can import the global css from this package:
4
+
5
+ ```bash
6
+ npm i @midas-ds/theme
7
+ ```
8
+
9
+ ```tsx
10
+ import '@midas-ds/theme/index.css'
11
+ ```
package/index.css ADDED
@@ -0,0 +1 @@
1
+ @font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:100 900;src:url(https://cdn.jsdelivr.net/fontsource/fonts/inter:vf@latest/latin-wght-normal.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}*{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
package/package.json ADDED
@@ -0,0 +1,23 @@
1
+ {
2
+ "name": "@midas-ds/theme",
3
+ "version": "0.5.23",
4
+ "main": "./index.js",
5
+ "types": "./index.d.ts",
6
+ "style": "index.css",
7
+ "exports": {
8
+ ".": {
9
+ "import": "./index.mjs",
10
+ "require": "./index.js",
11
+ "types": "./index.d.ts"
12
+ },
13
+ "./index.css": "./index.css"
14
+ },
15
+ "files": [
16
+ "index.css"
17
+ ],
18
+ "gitHead": "660173f9a53a45cd053cc3ee2523dc3bcc65d9fa",
19
+ "repository": "https://github.com/migrationsverket/midas.git",
20
+ "publishConfig": {
21
+ "access": "public"
22
+ }
23
+ }