An empty style engine to get a sense of the performance cost of @mui/styled-engine.
Add in your package.json
"dependencies": {
"@mui/styled-engine-empty": "gist:5e9031104a86eb5c3325819e9a23857f"
}
# Based on https://deanandrews.uk/export-woocommerce-reviews-wordpress/ but enhanced to include the rating and filter out other comments. | |
``` | |
SELECT `post_title` AS 'Product', `comment_author` AS 'Customer Name', `comment_author_email` AS 'Customer Email', `comment_date`, `comment_content` AS 'Review', `wp_commentmeta`.`meta_value` AS 'Rating' | |
FROM `wp_comments` | |
INNER JOIN `wp_posts` ON `comment_post_ID`=`ID` | |
INNER JOIN `wp_commentmeta` ON `wp_commentmeta`.`comment_id`=`wp_comments`.`comment_ID` | |
WHERE `comment_author` != 'WooCommerce' | |
AND `wp_posts`.`post_type` = 'product' | |
AND `wp_posts`.`post_status` = 'publish' |
@-moz-document url-prefix("https://www.linkedin.com/") { | |
/** Picture **/ | |
.pv-top-card__non-self-photo-wrapper, .pv-top-card__photo-wrapper { | |
filter: blur(1.5rem); | |
} | |
/** Links to profile **/ | |
a[href^="/in/"], a[href^="https://www.linkedin.com/in/"] { | |
filter: blur(1rem); | |
} | |
/** Name **/ |
module.exports = require('@material-ui/styled-engine-sc'); |
import warning from 'warning' | |
const times = new Map() | |
const implementations = { | |
mark: { | |
start: name => { | |
times.set(name, performance.now()) | |
performance.mark(`metric_${name}_start`) | |
}, |
import { deepmerge } from '@material-ui/utils'; | |
import { createMuiTheme } from '@material-ui/core/styles'; | |
import grey from '@material-ui/core/colors/grey'; | |
const rawTheme = createMuiTheme({ | |
palette: { | |
primary: { | |
main: '#1976d2', | |
dark: '#0052cc', | |
}, |
import { deepmerge } from '@material-ui/utils' | |
import { createMuiTheme } from '@material-ui/core/styles' | |
import grey from '@material-ui/core/colors/grey' | |
const basicBlue = '#0052cc' // Nathan's blue #0b24fb | |
const rawTheme = createMuiTheme({ | |
palette: { | |
primary: { | |
main: basicBlue, |
diff --git a/yarn.lock b/yarn.lock
index fb57ccd..e24ce4a 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -2,3 +2,276 @@
# yarn lockfile v1
+"@babel/runtime@^7.3.1", "@babel/runtime@^7.4.4", "@babel/runtime@^7.5.5", "@babel/runtime@^7.8.3", "@babel/runtime@^7.8.7":
import { deepmerge } from '@material-ui/utils'; | |
import { createMuiTheme } from '@material-ui/core/styles'; | |
import { grey } from '@material-ui/core/colors'; | |
const rawTheme = createMuiTheme({ | |
palette: { | |
primary: { | |
main: '#1976d2', | |
dark: '#0052cc', | |
}, |
search | count | |
---|---|---|
button | 3862 | |
icon | 3642 | |
grid | 3140 | |
icons | 2419 | |
text | 2303 | |
table | 2190 | |
form | 1816 | |
input | 1788 | |
card | 1788 |