@symbo.ls/init
Advanced tools
Comparing version 1.1.5 to 1.1.6
{ | ||
"name": "@symbo.ls/init", | ||
"version": "1.1.5", | ||
"version": "1.1.6", | ||
"license": "MIT", | ||
@@ -34,5 +34,5 @@ "gitHead": "54fa6500c697604b3f48ba33a573545d7bff35fa", | ||
"@symbo.ls/config-default": "latest", | ||
"@symbo.ls/create-emotion": "^0.0.1", | ||
"@symbo.ls/scratch": "latest", | ||
"css-in-props": "latest", | ||
"@emotion/css": "^11.10.0" | ||
"css-in-props": "latest" | ||
}, | ||
@@ -39,0 +39,0 @@ "devDependencies": { |
@@ -1,80 +0,1 @@ | ||
{ | ||
"version": "0.0.1", | ||
"COLOR": { | ||
"transparent": "rgba(0, 0, 0, 0)", | ||
"black": "black", | ||
"blue": "#0079FD", | ||
"indigo": "#50E1FF", | ||
"green": "#59AC56", | ||
"red": "#FE5B47", | ||
"yellow": "#EDCB38", | ||
"orange": "#112233", | ||
"brown": "#7D6755", | ||
"pink": "#FD8ABF", | ||
"purple": "#7345AF", | ||
"white": "white" | ||
}, | ||
"GRADIENT": { | ||
"gradient-dark": "linear-gradient(0deg,\n rgba(0,0,0,0.06) 0%,\n rgba(0,0,0,0.07) 100%\n )", | ||
"gradient-dark-active": "linear-gradient(0deg,\n rgba(0,0,0,0.09) 0%,\n rgba(0,0,0,0.1) 100%\n )", | ||
"gradient-light": "linear-gradient(\n 0deg,\n rgba(255,255,255,0.05) 0%,\n rgba(255,255,255,0.06) 100%\n )", | ||
"gradient-light-active": "linear-gradient(\n 0deg,\n rgba(255,255,255,0.09) 0%,\n rgba(255,255,255,0.10) 100%\n )" | ||
}, | ||
"THEME": { | ||
"document": { | ||
"variants": { | ||
"light": { | ||
"color": "black", | ||
"background": "white" | ||
}, | ||
"dark": { | ||
"color": "white", | ||
"background": "black" | ||
} | ||
} | ||
}, | ||
"primary": { | ||
"color": "white", | ||
"background": "blue" | ||
}, | ||
"secondary": { | ||
"variants": { | ||
"light": { | ||
"color": "white", | ||
"background": "gradient-light" | ||
}, | ||
"dark": { | ||
"color": "white", | ||
"background": "gradient-dark-active" | ||
} | ||
} | ||
} | ||
}, | ||
"FONT": { | ||
"Karla": [ | ||
{ | ||
"url": "https://symbols-fonts.s3.us-west-1.amazonaws.com/Karla/Karla-VariableFont_wght.ttf", | ||
"fontWeight": "variable", | ||
"fontStyle": "normal", | ||
"fontDisplay": "swap", | ||
"unicodeRange": "U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF" | ||
}, | ||
{ | ||
"url": "https://symbols-fonts.s3.us-west-1.amazonaws.com/Karla/Karla-VariableFont_wght.ttf", | ||
"fontStyle": "normal", | ||
"fontWeight": "variable", | ||
"fontDisplay": "swap", | ||
"unicodeRange": "U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD" | ||
} | ||
] | ||
}, | ||
"FONT_FAMILY": { | ||
"StartWithKarla": { | ||
"isDefault": true, | ||
"value": [ | ||
"\"Karla\"" | ||
], | ||
"type": "serif" | ||
} | ||
} | ||
} | ||
{} |
@@ -18,10 +18,8 @@ 'use strict' | ||
import createEmotion from '@emotion/css/create-instance' | ||
import createEmotion from '@symbo.ls/create-emotion' | ||
import { setClassname } from 'css-in-props' | ||
const { css, injectGlobal } = createEmotion({ | ||
key: 'smbls' | ||
}) | ||
const { css, injectGlobal } = createEmotion | ||
export const init = (config, RC_FILE) => { | ||
export const init = (config, RC_FILE, options = { emotion: createEmotion }) => { | ||
const defaultConfig = config || CONFIG_DEFAULT || SYMBOLSRC_FILE | ||
@@ -28,0 +26,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4146
28
+ Added@symbo.ls/create-emotion@0.0.1(transitive)
- Removed@emotion/css@^11.10.0