acstll / deprecated-css Goto Github PK
View Code? Open in Web Editor NEWHighly opinionated atomic CSS toolkit
Highly opinionated atomic CSS toolkit
{
"breakpoints": [
"40em",
"60em",
"85em"
],
"sizes": [
0.7,
0.8,
1.2,
1.8,
2.4,
3.2
],
"leading": [
"calc(20 / 14)",
"calc(24 / 16)",
"calc(32 / 24)",
"calc(36 / 36)",
"calc(52 / 48)",
"calc(75 / 64)"
],
"tracking": [
"-0.025em",
"0.033em"
],
"spacing": [
0.5,
1,
1.5,
2,
6,
8,
10,
13,
15
],
"colors": [
"#0C0C0C",
"#FFFFFF",
"#AAAAAA"
],
"alpha": [
"",
[1, 2, 3, 4]
],
"time": [
100,
300,
600,
900
],
"delay": [
],
"aspect-ratio": {
"square": "1 / 1",
"landscape": "16 / 9",
"portrait": "9 / 16"
},
"measure": {
"default": "",
"narrow": "",
"wide": ""
},
"containers": {
"default": "60rem"
},
"transitions": {},
"widths": {
},
"heights": {
},
"settings": {
"modules": {
"objeft-fit": true
},
"helpers": true,
"columns": 12
}
}
It was nice just cloning this…
[
{
"action": "remove",
"files": [".gitignore", "README.md", "package.json"]
}
]
Usage instructions could be:
npx degit acstll/deprecated-css styles
postcss.config.js
to wherever works for younpm i -D postcss-preset-env postcss-import postcss-calc postcss-object-fit-images cssnano
Sometimes you could mix axis, you could do:
.max-w-100vh { max-width: 100vh; }
h-
is being used for height
so it can be weird.
Maybe u-
for "utility"?
scroll
To keep it focusable https://tympanus.net/codrops/2015/09/15/styling-customizing-file-inputs-smart-way/
.h-hide-input-responsibly {
width: 0.1px;
height: 0.1px;
opacity: 0;
overflow: hidden;
position: absolute;
z-index: -1;
}
It's missing calc()
😭
See https://every-layout.dev/rudiments/modular-scale/
I understand Edge's bug is about unitless values inside calc…
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.