Material color palette — COSMIC
EntityType | primary | accent | icon |
---|---|---|---|
Artifacts | #81c784 |
#388E3C |
fal fa-file-alt |
Activities | #4dd0e1 |
#0097a7 |
fal fa-stopwatch |
Vehicles | #FFD54F |
#FFA000 |
fal fa-rocket |
// | |
// **** Kitchen Sink Tests **** | |
// | |
// This app was developed to demonstrate | |
// how to write tests in Cypress utilizing | |
// all of the available commands | |
// | |
// Feel free to modify this spec in your | |
// own application as a jumping off point |
function Api() {} | |
Api.prototype.fetchUsers = async function () { | |
const users = await getUsersFromApi(); | |
return users; | |
}; | |
Api.prototype.fetchProfileImg = async function (user) { | |
const profileImg = await getProfileImgFromUser(user); | |
return profileImg; |
Material color palette — COSMIC
EntityType | primary | accent | icon |
---|---|---|---|
Artifacts | #81c784 |
#388E3C |
fal fa-file-alt |
Activities | #4dd0e1 |
#0097a7 |
fal fa-stopwatch |
Vehicles | #FFD54F |
#FFA000 |
fal fa-rocket |
const shapeType = { | |
triangle: new Symbol() | |
}; | |
// Demo func | |
function getArea(shape, options) { | |
var area = 0; | |
switch (shape) { | |
case shapeType.triangle: |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>"Holy Grail" layout with flex box Chrome 22 recommended · CodePen</title> | |
<!-- | |
Copyright (c) 2012 Mike Fielden, http://codepen.io/MikeFielden | |
Permission is hereby granted, free of charge, to any person obtaining |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>"Holy Grail" layout with flexbox · CodePen</title> | |
<!-- | |
Copyright (c) 2012 Mike Fielden, http://codepen.io/MikeFielden | |
Permission is hereby granted, free of charge, to any person obtaining |
/* New Todo */ | |
.container { | |
box-sizing: border-box; | |
width: 510px; | |
} | |
/* input container */ | |
.container > section { | |
position: relative; | |
} |
/* Movie opening */ | |
body { background: black; padding: 100px; margin: 0; } | |
h1 { | |
position: relative; | |
text-align: center; | |
color: white; | |
text-transform: uppercase; |
/** | |
* Scrolling shadows by @kizmarh and @leaverou | |
* Only works in browsers supporting background-attachment: local; & CSS gradients | |
* Degrades gracefully | |
*/ | |
html { | |
background: white; | |
font: 120% sans-serif; | |
} |
/** | |
* Inset text | |
*/ | |
body { | |
padding-top: 100px; | |
background-color: #8d9794; | |
} | |
h1 { |