-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
34ebd7b
commit 02cc2bc
Showing
104 changed files
with
7,657 additions
and
754 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Release Checklist | ||
|
||
1. Update `CHANGELOG.md` (content + increment version). | ||
1. Update version also in `package.json`. | ||
1. In `/crate`: `cargo make verify` | ||
1. Commit "v#.#.#". | ||
1. Push. | ||
1. Wait for the CI to go green. | ||
1. Create GitHub release (create a new tag). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,212 @@ | ||
// [...range(1,5,2)] => [1,3,5] | ||
function* range(start, end, step) { | ||
if(start > end) return; | ||
yield start; | ||
yield* range(start + step, end, step); | ||
}; | ||
|
||
// For NodeJS < 12 | ||
Object.fromEntries = Object.fromEntries || ((iterable) => { | ||
return [...iterable].reduce((obj, [key, val]) => { | ||
obj[key] = val | ||
return obj | ||
}, {}) | ||
}); | ||
|
||
module.exports = { | ||
theme: { | ||
screens: { | ||
'sm': '569px', | ||
// => @media (min-width: 569px) { ... } | ||
|
||
'md': '769px', | ||
// => @media (min-width: 769px) { ... } | ||
|
||
'lg': '1025px', | ||
// => @media (min-width: 1025px) { ... } | ||
|
||
'xl': '1701px', | ||
// => @media (min-width: 1701px) { ... } | ||
}, | ||
fontFamily: { | ||
display: ['Metropolis', 'sans-serif'], | ||
body: ['Inter', 'sans-serif'], | ||
monospace: ['Courier New', 'monospace'], | ||
ordinary: ['Arial', 'sans-serif'], | ||
sans: ['-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', | ||
'Noto Sans', 'sans-serif', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'] | ||
}, | ||
fontSize: (() => { | ||
return Object.fromEntries([ | ||
...range(15, 35, 1), | ||
...range(40, 60, 5), | ||
...range(70, 120, 10) | ||
].map(i => [i, `${i}px`])) | ||
})(), | ||
colors: { | ||
black: "#000", | ||
gray: { | ||
1: 'hsl(210, 36%, 96%)', | ||
2: 'hsl(212, 33%, 89%)', | ||
3: 'hsl(210, 31%, 80%)', | ||
4: 'hsl(211, 27%, 70%)', | ||
5: 'hsl(209, 23%, 60%)', | ||
6: 'hsl(210, 22%, 49%)', | ||
7: 'hsl(209, 28%, 39%)', | ||
8: 'hsl(209, 34%, 30%)', | ||
9: 'hsl(211, 39%, 23%)', | ||
10: 'hsl(209, 61%, 16%)', | ||
}, | ||
blue: { | ||
1: 'hsl(205, 79%, 92%)', | ||
2: 'hsl(205, 97%, 85%)', | ||
3: 'hsl(205, 84%, 74%)', | ||
4: 'hsl(205, 74%, 65%)', | ||
5: 'hsl(205, 65%, 55%)', | ||
6: 'hsl(205, 67%, 45%)', | ||
7: 'hsl(205, 76%, 39%)', | ||
8: 'hsl(205, 82%, 33%)', | ||
9: 'hsl(205, 87%, 29%)', | ||
10: 'hsl(205, 100%, 21%)', | ||
}, | ||
yellow: { | ||
1: 'hsl(49, 100%, 96%)', | ||
2: 'hsl(48, 100%, 88%)', | ||
3: 'hsl(48, 95%, 76%)', | ||
4: 'hsl(48, 94%, 68%)', | ||
5: 'hsl(44, 92%, 63%)', | ||
6: 'hsl(42, 87%, 55%)', | ||
7: 'hsl(36, 77%, 49%)', | ||
8: 'hsl(29, 80%, 44%)', | ||
9: 'hsl(22, 82%, 39%)', | ||
10: 'hsl(15, 86%, 30%)', | ||
}, | ||
}, | ||
opacity: (() => { | ||
return Object.fromEntries([ | ||
...range(0, 100, 10), | ||
].map(i => [i, i / 100])) | ||
})(), | ||
extend: { | ||
boxShadow: { | ||
'2xl-above': '0 25px 50px 15px rgba(0, 0, 0, 0.25), 0 10px 10px 10px rgba(0, 0, 0, 0.25)', | ||
'glow': '0 0 5px 2px hsl(205, 97%, 85%)' | ||
}, | ||
margin: { | ||
'-10vh': '-10vh', | ||
'10vw': '10vw', | ||
'-30': '-7.5rem', | ||
'-80': '-20rem', | ||
'-92': '-23rem', | ||
'-120': '-30rem', | ||
'-260px': '-260px', | ||
'-545px': '-545px', | ||
'-670px': '-670px', | ||
'-820px': '-820px', | ||
'-1230px': '-1230px', | ||
'38': '9.5rem', | ||
'72': '18rem', | ||
'96': '24rem', | ||
'108': '27rem', | ||
'132': '33rem', | ||
'310px': '310px', | ||
'790px': '790px', | ||
'1290px': '1290px', | ||
'1310px': '1310px', | ||
'1760px': '1760px', | ||
'2340px': '2340px', | ||
'2840px': '2840px', | ||
'3040px': '3040px', | ||
'3870px': '3870px', | ||
'5030px': '5030px', | ||
'6070px': '6070px', | ||
}, | ||
padding: { | ||
'84': '21rem', | ||
'96': '24rem', | ||
}, | ||
inset: { | ||
'1/2': '50%', | ||
'full': '100%', | ||
'-full': '-100%', | ||
'-50vw': '-50vw', | ||
}, | ||
width: { | ||
'36': '9rem', | ||
'76': '19rem', | ||
'xs': '20rem', | ||
'96': '24rem', | ||
'100': '25rem', | ||
'md': '28rem', | ||
'120': '30rem', | ||
'132': '33rem', | ||
'204': '51rem', | ||
'216': '54rem', | ||
'236': '59rem', | ||
'70px': '70px', | ||
'265px': '265px', | ||
'385px': '385px', | ||
'520px': '520px', | ||
'570px': '570px', | ||
'750px': '750px', | ||
'860px': '860px', | ||
'900px': '900px', | ||
'1090px': '1090px', | ||
'1240px': '1240px', | ||
'1300px': '1300px', | ||
'1640px': '1640px', | ||
'2460px': '2460px', | ||
'2560px': '2560px', | ||
'50vh': '50vh', | ||
'50vw': '50vw', | ||
}, | ||
maxWidth: { | ||
'none': 'none', | ||
'8xl': '88rem', | ||
'400': '100rem', | ||
}, | ||
height: { | ||
'18': '4.5rem', | ||
'72': '18rem', | ||
'3px': '3px', | ||
'300px': '300px', | ||
'320px': '320px', | ||
'360px': '360px', | ||
'420px': '420px', | ||
'550px': '550px', | ||
'570px': '570px', | ||
'580px': '580px', | ||
'600px': '600px', | ||
'690px': '690px', | ||
'790px': '790px', | ||
'860px': '860px', | ||
'890px': '890px', | ||
'930px': '930px', | ||
'980px': '980px', | ||
'1090px': '1090px', | ||
'1160px': '1160px', | ||
'1240px': '1240px', | ||
'1300px': '1300px', | ||
'1340px': '1340px', | ||
'1420px': '1420px', | ||
'1580px': '1580px', | ||
'2330px': '2330px', | ||
'2360px': '2360px', | ||
'2560px': '2560px', | ||
'3670px': '3670px', | ||
}, | ||
borderRadius: { | ||
'28px': '28px', | ||
'45px': '45px', | ||
'55px': '55px', | ||
'90px': '90px', | ||
'110px': '110px', | ||
'140px': '140px', | ||
'260px': '260px', | ||
'330px': '330px', | ||
} | ||
} | ||
}, | ||
variants: {}, | ||
plugins: [] | ||
} |
Oops, something went wrong.