@remirror/theme
Advanced tools
Comparing version 0.0.0-pr706.3 to 0.0.0-pr706.4
@@ -149,3 +149,3 @@ 'use strict'; | ||
var text = '#252103'; | ||
var border = /*#__PURE__*/color2k.transparentize(foreground, 0.75); | ||
var border = color2k.transparentize(foreground, 0.75); | ||
var primary = '#7963d2'; | ||
@@ -159,3 +159,3 @@ var secondary = '#bcd263'; | ||
var shadow3 = 'rgba(10,31,68,0.12)'; | ||
var faded = /*#__PURE__*/color2k.lighten( /*#__PURE__*/color2k.transparentize(foreground, 0.1), 0.13); | ||
var faded = color2k.lighten(color2k.transparentize(foreground, 0.1), 0.13); | ||
var baseColorTheme = { | ||
@@ -174,9 +174,9 @@ background, | ||
var activeColorTheme = /*#__PURE__*/_objectSpread( /*#__PURE__*/_objectSpread({}, baseColorTheme), {}, { | ||
background: /*#__PURE__*/color2k.darken(background, 0.15), | ||
border: /*#__PURE__*/color2k.darken(border, 0.15), | ||
foreground: /*#__PURE__*/color2k.darken(foreground, 0.15), | ||
muted: /*#__PURE__*/color2k.darken(muted, 0.15), | ||
primary: /*#__PURE__*/color2k.darken(primary, 0.15), | ||
secondary: /*#__PURE__*/color2k.darken(secondary, 0.15), | ||
var activeColorTheme = _objectSpread(_objectSpread({}, baseColorTheme), {}, { | ||
background: color2k.darken(background, 0.15), | ||
border: color2k.darken(border, 0.15), | ||
foreground: color2k.darken(foreground, 0.15), | ||
muted: color2k.darken(muted, 0.15), | ||
primary: color2k.darken(primary, 0.15), | ||
secondary: color2k.darken(secondary, 0.15), | ||
@@ -197,9 +197,9 @@ get text() { | ||
var hoverColorTheme = /*#__PURE__*/_objectSpread( /*#__PURE__*/_objectSpread({}, baseColorTheme), {}, { | ||
background: /*#__PURE__*/color2k.darken(background, 0.075), | ||
border: /*#__PURE__*/color2k.darken(border, 0.075), | ||
foreground: /*#__PURE__*/color2k.darken(foreground, 0.075), | ||
muted: /*#__PURE__*/color2k.darken(muted, 0.075), | ||
primary: /*#__PURE__*/color2k.darken(primary, 0.075), | ||
secondary: /*#__PURE__*/color2k.darken(secondary, 0.075), | ||
var hoverColorTheme = _objectSpread(_objectSpread({}, baseColorTheme), {}, { | ||
background: color2k.darken(background, 0.075), | ||
border: color2k.darken(border, 0.075), | ||
foreground: color2k.darken(foreground, 0.075), | ||
muted: color2k.darken(muted, 0.075), | ||
primary: color2k.darken(primary, 0.075), | ||
secondary: color2k.darken(secondary, 0.075), | ||
@@ -226,3 +226,3 @@ get text() { | ||
var defaultRemirrorTheme = { | ||
color: /*#__PURE__*/_objectSpread( /*#__PURE__*/_objectSpread({}, baseColorTheme), {}, { | ||
color: _objectSpread(_objectSpread({}, baseColorTheme), {}, { | ||
active: activeColorTheme, | ||
@@ -233,4 +233,4 @@ hover: hoverColorTheme, | ||
shadow3, | ||
backdrop: /*#__PURE__*/color2k.transparentize(foreground, 0.1), | ||
outline: /*#__PURE__*/color2k.transparentize(primary, 0.6), | ||
backdrop: color2k.transparentize(foreground, 0.1), | ||
outline: color2k.transparentize(primary, 0.6), | ||
selection: { | ||
@@ -292,22 +292,22 @@ background: 'Highlight', | ||
boxShadow: { | ||
1: /*#__PURE__*/"0 1px 1px ".concat(shadow1), | ||
2: /*#__PURE__*/"0 1px 1px ".concat(shadow2), | ||
3: /*#__PURE__*/"0 1px 1px ".concat(shadow3) | ||
1: "0 1px 1px ".concat(shadow1), | ||
2: "0 1px 1px ".concat(shadow2), | ||
3: "0 1px 1px ".concat(shadow3) | ||
} | ||
}; | ||
/*#__PURE__*/getTheme(t => t.color.foreground); | ||
/*#__PURE__*/getTheme(t => t.color.text); | ||
/*#__PURE__*/getTheme(t => t.color.background); | ||
/*#__PURE__*/getTheme(t => t.color.backdrop); | ||
/*#__PURE__*/getTheme(t => t.color.border); | ||
/*#__PURE__*/getTheme(t => t.color.shadow1); | ||
/*#__PURE__*/getTheme(t => t.color.hover.border); | ||
/*#__PURE__*/getTheme(t => t.color.active.border); | ||
/*#__PURE__*/getTheme(t => t.color.primary); | ||
/*#__PURE__*/getTheme(t => t.color.primaryText); | ||
/*#__PURE__*/getTheme(t => t.color.hover.primary); | ||
/*#__PURE__*/getTheme(t => t.color.hover.primaryText); | ||
/*#__PURE__*/getTheme(t => t.color.active.primary); | ||
/*#__PURE__*/getTheme(t => t.color.active.primaryText); | ||
getTheme(t => t.color.foreground); | ||
getTheme(t => t.color.text); | ||
getTheme(t => t.color.background); | ||
getTheme(t => t.color.backdrop); | ||
getTheme(t => t.color.border); | ||
getTheme(t => t.color.shadow1); | ||
getTheme(t => t.color.hover.border); | ||
getTheme(t => t.color.active.border); | ||
getTheme(t => t.color.primary); | ||
getTheme(t => t.color.primaryText); | ||
getTheme(t => t.color.hover.primary); | ||
getTheme(t => t.color.hover.primaryText); | ||
getTheme(t => t.color.active.primary); | ||
getTheme(t => t.color.active.primaryText); | ||
var EDITOR_WRAPPER = "remirror-editor-wrapper"; | ||
@@ -314,0 +314,0 @@ var BUTTON_ACTIVE = "remirror-button-active"; |
@@ -145,3 +145,3 @@ import '@linaria/core'; | ||
var text = '#252103'; | ||
var border = /*#__PURE__*/transparentize(foreground, 0.75); | ||
var border = transparentize(foreground, 0.75); | ||
var primary = '#7963d2'; | ||
@@ -155,3 +155,3 @@ var secondary = '#bcd263'; | ||
var shadow3 = 'rgba(10,31,68,0.12)'; | ||
var faded = /*#__PURE__*/lighten( /*#__PURE__*/transparentize(foreground, 0.1), 0.13); | ||
var faded = lighten(transparentize(foreground, 0.1), 0.13); | ||
var baseColorTheme = { | ||
@@ -170,9 +170,9 @@ background, | ||
var activeColorTheme = /*#__PURE__*/_objectSpread( /*#__PURE__*/_objectSpread({}, baseColorTheme), {}, { | ||
background: /*#__PURE__*/darken(background, 0.15), | ||
border: /*#__PURE__*/darken(border, 0.15), | ||
foreground: /*#__PURE__*/darken(foreground, 0.15), | ||
muted: /*#__PURE__*/darken(muted, 0.15), | ||
primary: /*#__PURE__*/darken(primary, 0.15), | ||
secondary: /*#__PURE__*/darken(secondary, 0.15), | ||
var activeColorTheme = _objectSpread(_objectSpread({}, baseColorTheme), {}, { | ||
background: darken(background, 0.15), | ||
border: darken(border, 0.15), | ||
foreground: darken(foreground, 0.15), | ||
muted: darken(muted, 0.15), | ||
primary: darken(primary, 0.15), | ||
secondary: darken(secondary, 0.15), | ||
@@ -193,9 +193,9 @@ get text() { | ||
var hoverColorTheme = /*#__PURE__*/_objectSpread( /*#__PURE__*/_objectSpread({}, baseColorTheme), {}, { | ||
background: /*#__PURE__*/darken(background, 0.075), | ||
border: /*#__PURE__*/darken(border, 0.075), | ||
foreground: /*#__PURE__*/darken(foreground, 0.075), | ||
muted: /*#__PURE__*/darken(muted, 0.075), | ||
primary: /*#__PURE__*/darken(primary, 0.075), | ||
secondary: /*#__PURE__*/darken(secondary, 0.075), | ||
var hoverColorTheme = _objectSpread(_objectSpread({}, baseColorTheme), {}, { | ||
background: darken(background, 0.075), | ||
border: darken(border, 0.075), | ||
foreground: darken(foreground, 0.075), | ||
muted: darken(muted, 0.075), | ||
primary: darken(primary, 0.075), | ||
secondary: darken(secondary, 0.075), | ||
@@ -222,3 +222,3 @@ get text() { | ||
var defaultRemirrorTheme = { | ||
color: /*#__PURE__*/_objectSpread( /*#__PURE__*/_objectSpread({}, baseColorTheme), {}, { | ||
color: _objectSpread(_objectSpread({}, baseColorTheme), {}, { | ||
active: activeColorTheme, | ||
@@ -229,4 +229,4 @@ hover: hoverColorTheme, | ||
shadow3, | ||
backdrop: /*#__PURE__*/transparentize(foreground, 0.1), | ||
outline: /*#__PURE__*/transparentize(primary, 0.6), | ||
backdrop: transparentize(foreground, 0.1), | ||
outline: transparentize(primary, 0.6), | ||
selection: { | ||
@@ -288,22 +288,22 @@ background: 'Highlight', | ||
boxShadow: { | ||
1: /*#__PURE__*/"0 1px 1px ".concat(shadow1), | ||
2: /*#__PURE__*/"0 1px 1px ".concat(shadow2), | ||
3: /*#__PURE__*/"0 1px 1px ".concat(shadow3) | ||
1: "0 1px 1px ".concat(shadow1), | ||
2: "0 1px 1px ".concat(shadow2), | ||
3: "0 1px 1px ".concat(shadow3) | ||
} | ||
}; | ||
/*#__PURE__*/getTheme(t => t.color.foreground); | ||
/*#__PURE__*/getTheme(t => t.color.text); | ||
/*#__PURE__*/getTheme(t => t.color.background); | ||
/*#__PURE__*/getTheme(t => t.color.backdrop); | ||
/*#__PURE__*/getTheme(t => t.color.border); | ||
/*#__PURE__*/getTheme(t => t.color.shadow1); | ||
/*#__PURE__*/getTheme(t => t.color.hover.border); | ||
/*#__PURE__*/getTheme(t => t.color.active.border); | ||
/*#__PURE__*/getTheme(t => t.color.primary); | ||
/*#__PURE__*/getTheme(t => t.color.primaryText); | ||
/*#__PURE__*/getTheme(t => t.color.hover.primary); | ||
/*#__PURE__*/getTheme(t => t.color.hover.primaryText); | ||
/*#__PURE__*/getTheme(t => t.color.active.primary); | ||
/*#__PURE__*/getTheme(t => t.color.active.primaryText); | ||
getTheme(t => t.color.foreground); | ||
getTheme(t => t.color.text); | ||
getTheme(t => t.color.background); | ||
getTheme(t => t.color.backdrop); | ||
getTheme(t => t.color.border); | ||
getTheme(t => t.color.shadow1); | ||
getTheme(t => t.color.hover.border); | ||
getTheme(t => t.color.active.border); | ||
getTheme(t => t.color.primary); | ||
getTheme(t => t.color.primaryText); | ||
getTheme(t => t.color.hover.primary); | ||
getTheme(t => t.color.hover.primaryText); | ||
getTheme(t => t.color.active.primary); | ||
getTheme(t => t.color.active.primaryText); | ||
var EDITOR_WRAPPER = "remirror-editor-wrapper"; | ||
@@ -310,0 +310,0 @@ var BUTTON_ACTIVE = "remirror-button-active"; |
@@ -149,3 +149,3 @@ 'use strict'; | ||
var text = '#252103'; | ||
var border = /*#__PURE__*/color2k.transparentize(foreground, 0.75); | ||
var border = color2k.transparentize(foreground, 0.75); | ||
var primary = '#7963d2'; | ||
@@ -159,3 +159,3 @@ var secondary = '#bcd263'; | ||
var shadow3 = 'rgba(10,31,68,0.12)'; | ||
var faded = /*#__PURE__*/color2k.lighten( /*#__PURE__*/color2k.transparentize(foreground, 0.1), 0.13); | ||
var faded = color2k.lighten(color2k.transparentize(foreground, 0.1), 0.13); | ||
var baseColorTheme = { | ||
@@ -174,9 +174,9 @@ background, | ||
var activeColorTheme = /*#__PURE__*/_objectSpread( /*#__PURE__*/_objectSpread({}, baseColorTheme), {}, { | ||
background: /*#__PURE__*/color2k.darken(background, 0.15), | ||
border: /*#__PURE__*/color2k.darken(border, 0.15), | ||
foreground: /*#__PURE__*/color2k.darken(foreground, 0.15), | ||
muted: /*#__PURE__*/color2k.darken(muted, 0.15), | ||
primary: /*#__PURE__*/color2k.darken(primary, 0.15), | ||
secondary: /*#__PURE__*/color2k.darken(secondary, 0.15), | ||
var activeColorTheme = _objectSpread(_objectSpread({}, baseColorTheme), {}, { | ||
background: color2k.darken(background, 0.15), | ||
border: color2k.darken(border, 0.15), | ||
foreground: color2k.darken(foreground, 0.15), | ||
muted: color2k.darken(muted, 0.15), | ||
primary: color2k.darken(primary, 0.15), | ||
secondary: color2k.darken(secondary, 0.15), | ||
@@ -197,9 +197,9 @@ get text() { | ||
var hoverColorTheme = /*#__PURE__*/_objectSpread( /*#__PURE__*/_objectSpread({}, baseColorTheme), {}, { | ||
background: /*#__PURE__*/color2k.darken(background, 0.075), | ||
border: /*#__PURE__*/color2k.darken(border, 0.075), | ||
foreground: /*#__PURE__*/color2k.darken(foreground, 0.075), | ||
muted: /*#__PURE__*/color2k.darken(muted, 0.075), | ||
primary: /*#__PURE__*/color2k.darken(primary, 0.075), | ||
secondary: /*#__PURE__*/color2k.darken(secondary, 0.075), | ||
var hoverColorTheme = _objectSpread(_objectSpread({}, baseColorTheme), {}, { | ||
background: color2k.darken(background, 0.075), | ||
border: color2k.darken(border, 0.075), | ||
foreground: color2k.darken(foreground, 0.075), | ||
muted: color2k.darken(muted, 0.075), | ||
primary: color2k.darken(primary, 0.075), | ||
secondary: color2k.darken(secondary, 0.075), | ||
@@ -226,3 +226,3 @@ get text() { | ||
var defaultRemirrorTheme = { | ||
color: /*#__PURE__*/_objectSpread( /*#__PURE__*/_objectSpread({}, baseColorTheme), {}, { | ||
color: _objectSpread(_objectSpread({}, baseColorTheme), {}, { | ||
active: activeColorTheme, | ||
@@ -233,4 +233,4 @@ hover: hoverColorTheme, | ||
shadow3, | ||
backdrop: /*#__PURE__*/color2k.transparentize(foreground, 0.1), | ||
outline: /*#__PURE__*/color2k.transparentize(primary, 0.6), | ||
backdrop: color2k.transparentize(foreground, 0.1), | ||
outline: color2k.transparentize(primary, 0.6), | ||
selection: { | ||
@@ -292,22 +292,22 @@ background: 'Highlight', | ||
boxShadow: { | ||
1: /*#__PURE__*/"0 1px 1px ".concat(shadow1), | ||
2: /*#__PURE__*/"0 1px 1px ".concat(shadow2), | ||
3: /*#__PURE__*/"0 1px 1px ".concat(shadow3) | ||
1: "0 1px 1px ".concat(shadow1), | ||
2: "0 1px 1px ".concat(shadow2), | ||
3: "0 1px 1px ".concat(shadow3) | ||
} | ||
}; | ||
/*#__PURE__*/getTheme(t => t.color.foreground); | ||
/*#__PURE__*/getTheme(t => t.color.text); | ||
/*#__PURE__*/getTheme(t => t.color.background); | ||
/*#__PURE__*/getTheme(t => t.color.backdrop); | ||
/*#__PURE__*/getTheme(t => t.color.border); | ||
/*#__PURE__*/getTheme(t => t.color.shadow1); | ||
/*#__PURE__*/getTheme(t => t.color.hover.border); | ||
/*#__PURE__*/getTheme(t => t.color.active.border); | ||
/*#__PURE__*/getTheme(t => t.color.primary); | ||
/*#__PURE__*/getTheme(t => t.color.primaryText); | ||
/*#__PURE__*/getTheme(t => t.color.hover.primary); | ||
/*#__PURE__*/getTheme(t => t.color.hover.primaryText); | ||
/*#__PURE__*/getTheme(t => t.color.active.primary); | ||
/*#__PURE__*/getTheme(t => t.color.active.primaryText); | ||
getTheme(t => t.color.foreground); | ||
getTheme(t => t.color.text); | ||
getTheme(t => t.color.background); | ||
getTheme(t => t.color.backdrop); | ||
getTheme(t => t.color.border); | ||
getTheme(t => t.color.shadow1); | ||
getTheme(t => t.color.hover.border); | ||
getTheme(t => t.color.active.border); | ||
getTheme(t => t.color.primary); | ||
getTheme(t => t.color.primaryText); | ||
getTheme(t => t.color.hover.primary); | ||
getTheme(t => t.color.hover.primaryText); | ||
getTheme(t => t.color.active.primary); | ||
getTheme(t => t.color.active.primaryText); | ||
var EDITOR_WRAPPER = "remirror-editor-wrapper"; | ||
@@ -314,0 +314,0 @@ var BUTTON_ACTIVE = "remirror-button-active"; |
@@ -149,3 +149,3 @@ 'use strict'; | ||
var text = '#252103'; | ||
var border = /*#__PURE__*/color2k.transparentize(foreground, 0.75); | ||
var border = color2k.transparentize(foreground, 0.75); | ||
var primary = '#7963d2'; | ||
@@ -159,3 +159,3 @@ var secondary = '#bcd263'; | ||
var shadow3 = 'rgba(10,31,68,0.12)'; | ||
var faded = /*#__PURE__*/color2k.lighten( /*#__PURE__*/color2k.transparentize(foreground, 0.1), 0.13); | ||
var faded = color2k.lighten(color2k.transparentize(foreground, 0.1), 0.13); | ||
var baseColorTheme = { | ||
@@ -174,9 +174,9 @@ background, | ||
var activeColorTheme = /*#__PURE__*/_objectSpread( /*#__PURE__*/_objectSpread({}, baseColorTheme), {}, { | ||
background: /*#__PURE__*/color2k.darken(background, 0.15), | ||
border: /*#__PURE__*/color2k.darken(border, 0.15), | ||
foreground: /*#__PURE__*/color2k.darken(foreground, 0.15), | ||
muted: /*#__PURE__*/color2k.darken(muted, 0.15), | ||
primary: /*#__PURE__*/color2k.darken(primary, 0.15), | ||
secondary: /*#__PURE__*/color2k.darken(secondary, 0.15), | ||
var activeColorTheme = _objectSpread(_objectSpread({}, baseColorTheme), {}, { | ||
background: color2k.darken(background, 0.15), | ||
border: color2k.darken(border, 0.15), | ||
foreground: color2k.darken(foreground, 0.15), | ||
muted: color2k.darken(muted, 0.15), | ||
primary: color2k.darken(primary, 0.15), | ||
secondary: color2k.darken(secondary, 0.15), | ||
@@ -197,9 +197,9 @@ get text() { | ||
var hoverColorTheme = /*#__PURE__*/_objectSpread( /*#__PURE__*/_objectSpread({}, baseColorTheme), {}, { | ||
background: /*#__PURE__*/color2k.darken(background, 0.075), | ||
border: /*#__PURE__*/color2k.darken(border, 0.075), | ||
foreground: /*#__PURE__*/color2k.darken(foreground, 0.075), | ||
muted: /*#__PURE__*/color2k.darken(muted, 0.075), | ||
primary: /*#__PURE__*/color2k.darken(primary, 0.075), | ||
secondary: /*#__PURE__*/color2k.darken(secondary, 0.075), | ||
var hoverColorTheme = _objectSpread(_objectSpread({}, baseColorTheme), {}, { | ||
background: color2k.darken(background, 0.075), | ||
border: color2k.darken(border, 0.075), | ||
foreground: color2k.darken(foreground, 0.075), | ||
muted: color2k.darken(muted, 0.075), | ||
primary: color2k.darken(primary, 0.075), | ||
secondary: color2k.darken(secondary, 0.075), | ||
@@ -226,3 +226,3 @@ get text() { | ||
var defaultRemirrorTheme = { | ||
color: /*#__PURE__*/_objectSpread( /*#__PURE__*/_objectSpread({}, baseColorTheme), {}, { | ||
color: _objectSpread(_objectSpread({}, baseColorTheme), {}, { | ||
active: activeColorTheme, | ||
@@ -233,4 +233,4 @@ hover: hoverColorTheme, | ||
shadow3, | ||
backdrop: /*#__PURE__*/color2k.transparentize(foreground, 0.1), | ||
outline: /*#__PURE__*/color2k.transparentize(primary, 0.6), | ||
backdrop: color2k.transparentize(foreground, 0.1), | ||
outline: color2k.transparentize(primary, 0.6), | ||
selection: { | ||
@@ -292,22 +292,22 @@ background: 'Highlight', | ||
boxShadow: { | ||
1: /*#__PURE__*/"0 1px 1px ".concat(shadow1), | ||
2: /*#__PURE__*/"0 1px 1px ".concat(shadow2), | ||
3: /*#__PURE__*/"0 1px 1px ".concat(shadow3) | ||
1: "0 1px 1px ".concat(shadow1), | ||
2: "0 1px 1px ".concat(shadow2), | ||
3: "0 1px 1px ".concat(shadow3) | ||
} | ||
}; | ||
/*#__PURE__*/getTheme(t => t.color.foreground); | ||
/*#__PURE__*/getTheme(t => t.color.text); | ||
/*#__PURE__*/getTheme(t => t.color.background); | ||
/*#__PURE__*/getTheme(t => t.color.backdrop); | ||
/*#__PURE__*/getTheme(t => t.color.border); | ||
/*#__PURE__*/getTheme(t => t.color.shadow1); | ||
/*#__PURE__*/getTheme(t => t.color.hover.border); | ||
/*#__PURE__*/getTheme(t => t.color.active.border); | ||
/*#__PURE__*/getTheme(t => t.color.primary); | ||
/*#__PURE__*/getTheme(t => t.color.primaryText); | ||
/*#__PURE__*/getTheme(t => t.color.hover.primary); | ||
/*#__PURE__*/getTheme(t => t.color.hover.primaryText); | ||
/*#__PURE__*/getTheme(t => t.color.active.primary); | ||
/*#__PURE__*/getTheme(t => t.color.active.primaryText); | ||
getTheme(t => t.color.foreground); | ||
getTheme(t => t.color.text); | ||
getTheme(t => t.color.background); | ||
getTheme(t => t.color.backdrop); | ||
getTheme(t => t.color.border); | ||
getTheme(t => t.color.shadow1); | ||
getTheme(t => t.color.hover.border); | ||
getTheme(t => t.color.active.border); | ||
getTheme(t => t.color.primary); | ||
getTheme(t => t.color.primaryText); | ||
getTheme(t => t.color.hover.primary); | ||
getTheme(t => t.color.hover.primaryText); | ||
getTheme(t => t.color.active.primary); | ||
getTheme(t => t.color.active.primaryText); | ||
var EDITOR_WRAPPER = "remirror-editor-wrapper"; | ||
@@ -314,0 +314,0 @@ var BUTTON_ACTIVE = "remirror-button-active"; |
@@ -145,3 +145,3 @@ import '@linaria/core'; | ||
var text = '#252103'; | ||
var border = /*#__PURE__*/transparentize(foreground, 0.75); | ||
var border = transparentize(foreground, 0.75); | ||
var primary = '#7963d2'; | ||
@@ -155,3 +155,3 @@ var secondary = '#bcd263'; | ||
var shadow3 = 'rgba(10,31,68,0.12)'; | ||
var faded = /*#__PURE__*/lighten( /*#__PURE__*/transparentize(foreground, 0.1), 0.13); | ||
var faded = lighten(transparentize(foreground, 0.1), 0.13); | ||
var baseColorTheme = { | ||
@@ -170,9 +170,9 @@ background, | ||
var activeColorTheme = /*#__PURE__*/_objectSpread( /*#__PURE__*/_objectSpread({}, baseColorTheme), {}, { | ||
background: /*#__PURE__*/darken(background, 0.15), | ||
border: /*#__PURE__*/darken(border, 0.15), | ||
foreground: /*#__PURE__*/darken(foreground, 0.15), | ||
muted: /*#__PURE__*/darken(muted, 0.15), | ||
primary: /*#__PURE__*/darken(primary, 0.15), | ||
secondary: /*#__PURE__*/darken(secondary, 0.15), | ||
var activeColorTheme = _objectSpread(_objectSpread({}, baseColorTheme), {}, { | ||
background: darken(background, 0.15), | ||
border: darken(border, 0.15), | ||
foreground: darken(foreground, 0.15), | ||
muted: darken(muted, 0.15), | ||
primary: darken(primary, 0.15), | ||
secondary: darken(secondary, 0.15), | ||
@@ -193,9 +193,9 @@ get text() { | ||
var hoverColorTheme = /*#__PURE__*/_objectSpread( /*#__PURE__*/_objectSpread({}, baseColorTheme), {}, { | ||
background: /*#__PURE__*/darken(background, 0.075), | ||
border: /*#__PURE__*/darken(border, 0.075), | ||
foreground: /*#__PURE__*/darken(foreground, 0.075), | ||
muted: /*#__PURE__*/darken(muted, 0.075), | ||
primary: /*#__PURE__*/darken(primary, 0.075), | ||
secondary: /*#__PURE__*/darken(secondary, 0.075), | ||
var hoverColorTheme = _objectSpread(_objectSpread({}, baseColorTheme), {}, { | ||
background: darken(background, 0.075), | ||
border: darken(border, 0.075), | ||
foreground: darken(foreground, 0.075), | ||
muted: darken(muted, 0.075), | ||
primary: darken(primary, 0.075), | ||
secondary: darken(secondary, 0.075), | ||
@@ -222,3 +222,3 @@ get text() { | ||
var defaultRemirrorTheme = { | ||
color: /*#__PURE__*/_objectSpread( /*#__PURE__*/_objectSpread({}, baseColorTheme), {}, { | ||
color: _objectSpread(_objectSpread({}, baseColorTheme), {}, { | ||
active: activeColorTheme, | ||
@@ -229,4 +229,4 @@ hover: hoverColorTheme, | ||
shadow3, | ||
backdrop: /*#__PURE__*/transparentize(foreground, 0.1), | ||
outline: /*#__PURE__*/transparentize(primary, 0.6), | ||
backdrop: transparentize(foreground, 0.1), | ||
outline: transparentize(primary, 0.6), | ||
selection: { | ||
@@ -288,22 +288,22 @@ background: 'Highlight', | ||
boxShadow: { | ||
1: /*#__PURE__*/"0 1px 1px ".concat(shadow1), | ||
2: /*#__PURE__*/"0 1px 1px ".concat(shadow2), | ||
3: /*#__PURE__*/"0 1px 1px ".concat(shadow3) | ||
1: "0 1px 1px ".concat(shadow1), | ||
2: "0 1px 1px ".concat(shadow2), | ||
3: "0 1px 1px ".concat(shadow3) | ||
} | ||
}; | ||
/*#__PURE__*/getTheme(t => t.color.foreground); | ||
/*#__PURE__*/getTheme(t => t.color.text); | ||
/*#__PURE__*/getTheme(t => t.color.background); | ||
/*#__PURE__*/getTheme(t => t.color.backdrop); | ||
/*#__PURE__*/getTheme(t => t.color.border); | ||
/*#__PURE__*/getTheme(t => t.color.shadow1); | ||
/*#__PURE__*/getTheme(t => t.color.hover.border); | ||
/*#__PURE__*/getTheme(t => t.color.active.border); | ||
/*#__PURE__*/getTheme(t => t.color.primary); | ||
/*#__PURE__*/getTheme(t => t.color.primaryText); | ||
/*#__PURE__*/getTheme(t => t.color.hover.primary); | ||
/*#__PURE__*/getTheme(t => t.color.hover.primaryText); | ||
/*#__PURE__*/getTheme(t => t.color.active.primary); | ||
/*#__PURE__*/getTheme(t => t.color.active.primaryText); | ||
getTheme(t => t.color.foreground); | ||
getTheme(t => t.color.text); | ||
getTheme(t => t.color.background); | ||
getTheme(t => t.color.backdrop); | ||
getTheme(t => t.color.border); | ||
getTheme(t => t.color.shadow1); | ||
getTheme(t => t.color.hover.border); | ||
getTheme(t => t.color.active.border); | ||
getTheme(t => t.color.primary); | ||
getTheme(t => t.color.primaryText); | ||
getTheme(t => t.color.hover.primary); | ||
getTheme(t => t.color.hover.primaryText); | ||
getTheme(t => t.color.active.primary); | ||
getTheme(t => t.color.active.primaryText); | ||
var EDITOR_WRAPPER = "remirror-editor-wrapper"; | ||
@@ -310,0 +310,0 @@ var BUTTON_ACTIVE = "remirror-button-active"; |
{ | ||
"name": "@remirror/theme", | ||
"version": "0.0.0-pr706.3", | ||
"version": "0.0.0-pr706.4", | ||
"description": "The configurable theme for the remirror editor.", | ||
@@ -37,3 +37,3 @@ "homepage": "https://github.com/remirror/remirror/tree/HEAD/packages/remirror__theme", | ||
"@linaria/core": "^3.0.0-beta.1", | ||
"@remirror/core-types": "0.0.0-pr706.3", | ||
"@remirror/core-types": "0.0.0-pr706.4", | ||
"case-anything": "^1.1.2", | ||
@@ -40,0 +40,0 @@ "color2k": "~1.2.2", |
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
142347
+ Added@remirror/core-constants@0.0.0-pr706.4(transitive)
+ Added@remirror/core-helpers@0.0.0-pr706.4(transitive)
+ Added@remirror/core-types@0.0.0-pr706.4(transitive)
+ Added@remirror/pm@0.0.0-pr706.4(transitive)
+ Addedprosemirror-paste-rules@0.0.0-pr706.4(transitive)
+ Addedprosemirror-suggest@0.0.0-pr706.4(transitive)
+ Addedprosemirror-trailing-node@0.0.0-pr706.4(transitive)
- Removed@remirror/core-constants@0.0.0-pr706.3(transitive)
- Removed@remirror/core-helpers@0.0.0-pr706.3(transitive)
- Removed@remirror/core-types@0.0.0-pr706.3(transitive)
- Removed@remirror/pm@0.0.0-pr706.3(transitive)
- Removedprosemirror-paste-rules@0.0.0-pr706.3(transitive)
- Removedprosemirror-suggest@0.0.0-pr706.3(transitive)
- Removedprosemirror-trailing-node@0.0.0-pr706.3(transitive)