www: add versioning to docs (#1400)

This commit is contained in:
Marvin Hagemeister
2023-07-04 12:33:47 +02:00
committed by GitHub
parent efcaec3658
commit bf3e82c093
10 changed files with 566 additions and 149 deletions
+15 -1
View File
@@ -17,7 +17,7 @@ export default {
plugins: {
// Basic workaround for old twind version not supporting
// the `basis-*` keyword
"basis": (parts) => {
basis: (parts) => {
let value;
const arr = parts[0].split("/");
if (arr.length === 2) {
@@ -29,5 +29,19 @@ export default {
"flex-basis": value,
};
},
"rounded-full": () => {
return {
"border-radius": "9999px",
};
},
"form-select-bg": () => {
return {
"background-image":
`url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3e%3cpath d='M7 7l3-3 3 3m0 6l-3 3-3-3' stroke='%239fa6b2' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e")`,
"background-position": "right 0.5rem center",
"background-size": "1.5em 1.5em",
"background-repeat": "no-repeat",
};
},
},
} as Options;