paulinhapenedo / 11ty-garden Goto Github PK
View Code? Open in Web Editor NEWThis is my digital garden/playground, my little safe space on the web.
Home Page: https://paulapenedo.dev
License: MIT License
This is my digital garden/playground, my little safe space on the web.
Home Page: https://paulapenedo.dev
License: MIT License
/* Retrowave / Synthwave colors */
/* Sony Dynamicron T-120 VHS */
/**
Working color combinations (contrast):
- With bg as paper:
- black, red, purple
- With bg as yellow:
- black
- With bg as red:
- paper
- With bg as purple:
- paper
- With bg as black:
- paper, yellow
*/
--paper: #f2eee3;
--yellow: #fec52e;
--red: #b81937;
--purple: #af01cf;
--black: #10110b;
We are already minifying the inline CSS with the font-face
declaration. This issue is to handle the index.css
(or multiple css files, if we decide to go with the code-splitting by route approach).
Maybe https://github.com/benjaminrancourt/eleventy-plugin-files-minifier?
I wasn't gonna use any preprocessor, but the CSS file is getting huge with everything I'm adding from Utopia (spaces and types), color schemes and stuff, so SASS will be used for better DX.
Will be following this tutorial https://11ty.recipes/recipes/add-a-sass-workflow/
To avoid loading an unnecessary Prism.css
file on pages where we are not gonna show code snippets, we should remove it from the base.njk
file and only add it to the templates where it's required.
<link rel="stylesheet" href="{{ '/assets/css/prism.css' | url }}">
Lighthouse audit is signalizing that CSS is a problem because of the flash of unstyled text, or FOUT.
Right now, the approach used is to have a CSS file for the font-face declarations and import this file using native's @import
declaration. Because of that, the main CSS file takes longer to load since it needs to wait for all fonts to be loaded before rendering everything else.
font-display: swap
is implemented already);markdown-it
doesn't allow tables to be wrapped in HTML tags like div
, making it impossible to use the overflow approach.
The only other option is to collapse the rows, or columns, to better display the information to the user.
I could use HTML inside the markdown file, but that's the last resort.
We need a favicon. Simple as that.
Maybe an owl? A penguin? Something while we wait for May to draw my chibi versions.
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.