@retriever-ui/theme
Advanced tools
+6
-0
| # @retriever-ui/theme | ||
| ## 1.1.1 | ||
| ### Patch Changes | ||
| - [#49](https://github.com/indahousi/retriever/pull/49) [`d4ff0bc`](https://github.com/indahousi/retriever/commit/d4ff0bcb7396283f51fbe14045cb951cc620ed11) Thanks [@gandarfh](https://github.com/gandarfh)! - Add suport to refs in retriever factory | ||
| ## 1.1.0 | ||
@@ -4,0 +10,0 @@ |
+2
-3
@@ -12,8 +12,7 @@ "use strict"; | ||
| var react_2 = require("@emotion/react"); | ||
| var headingsDefault = function (theme) { return (0, react_2.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n h1 {\n font-size: ", ";\n\n ", " {\n font-size: ", ";\n }\n }\n h2 {\n font-size: ", ";\n\n ", " {\n font-size: ", ";\n }\n }\n h3 {\n font-size: ", ";\n\n ", " {\n font-size: ", ";\n }\n }\n h4 {\n font-size: ", ";\n\n ", " {\n font-size: ", ";\n }\n }\n h5 {\n font-size: ", ";\n\n ", " {\n font-size: ", ";\n }\n }\n h6 {\n font-size: ", ";\n\n ", " {\n font-size: ", ";\n }\n }\n"], ["\n h1 {\n font-size: ", ";\n\n ", " {\n font-size: ", ";\n }\n }\n h2 {\n font-size: ", ";\n\n ", " {\n font-size: ", ";\n }\n }\n h3 {\n font-size: ", ";\n\n ", " {\n font-size: ", ";\n }\n }\n h4 {\n font-size: ", ";\n\n ", " {\n font-size: ", ";\n }\n }\n h5 {\n font-size: ", ";\n\n ", " {\n font-size: ", ";\n }\n }\n h6 {\n font-size: ", ";\n\n ", " {\n font-size: ", ";\n }\n }\n"])), theme.font.sizes.mobile.heading.extraLarge, theme.breakpoint('md'), theme.font.sizes.desktop.heading.extraLarge, theme.font.sizes.mobile.heading.large, theme.breakpoint('md'), theme.font.sizes.desktop.heading.large, theme.font.sizes.mobile.heading.medium, theme.breakpoint('md'), theme.font.sizes.desktop.heading.medium, theme.font.sizes.mobile.heading.small, theme.breakpoint('md'), theme.font.sizes.desktop.heading.small, theme.font.sizes.mobile.heading.extraSmall, theme.breakpoint('md'), theme.font.sizes.desktop.heading.extraSmall, theme.font.sizes.mobile.paragraph.medium, theme.breakpoint('md'), theme.font.sizes.desktop.paragraph.medium); }; | ||
| var GlobalStyles = function (_a) { | ||
| var styles = _a.styles; | ||
| return (react_1.default.createElement(react_2.Global, { styles: function (theme) { return (0, react_2.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n body {\n font-family: 'Montserrat', sans-serif;\n transition: background 0.5s;\n }\n\n * {\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n font-family: 'Montserrat', sans-serif;\n color: ", ";\n font-size: ", ";\n\n ", " {\n font-size: ", ";\n }\n }\n\n ", "\n ", "\n "], ["\n body {\n font-family: 'Montserrat', sans-serif;\n transition: background 0.5s;\n }\n\n * {\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n font-family: 'Montserrat', sans-serif;\n color: ", ";\n font-size: ", ";\n\n ", " {\n font-size: ", ";\n }\n }\n\n ", "\n ", "\n "])), theme.colors['black.500'], theme.font.sizes.mobile.paragraph.medium, theme.breakpoint('md'), theme.font.sizes.desktop.paragraph.medium, headingsDefault(theme), styles && styles(theme)); } })); | ||
| return (react_1.default.createElement(react_2.Global, { styles: function (theme) { return (0, react_2.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n body {\n font-family: ", ";\n transition: background 0.5s;\n }\n\n * {\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n box-sizing: border-box;\n color: ", ";\n margin: 0px;\n padding: 0px;\n }\n\n ", "\n "], ["\n body {\n font-family: ", ";\n transition: background 0.5s;\n }\n\n * {\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n box-sizing: border-box;\n color: ", ";\n margin: 0px;\n padding: 0px;\n }\n\n ", "\n "])), theme.font.family, theme.colors['black.500'], styles && styles(theme)); } })); | ||
| }; | ||
| exports.default = GlobalStyles; | ||
| var templateObject_1, templateObject_2; | ||
| var templateObject_1; |
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| var typography = { | ||
| family: 'Montserrat', | ||
| family: "'Montserrat', sans-serif", | ||
| weight: { | ||
@@ -6,0 +6,0 @@ thin: 300, |
+1
-1
| { | ||
| "private": false, | ||
| "name": "@retriever-ui/theme", | ||
| "version": "1.1.0", | ||
| "version": "1.1.1", | ||
| "description": "Configuraçao dos temas e styleguide", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
22358
-7.88%531
-1.3%