mirror of
https://github.com/cloudflare/cloudflare-docs.git
synced 2026-01-11 20:06:58 +00:00
* [Docs Site] Adopt eslint * Demonstrate a fixable suggestion, add VSCode plugin and package.json script * Fix slice in ModelCatalog * Remove test error in AnchorHeading * recreate package-lock.json * update new .jsx components to .tsx * amend deps, fix react types, organise ec plugins * another attempt at fixing platform-specific deps * fix FieldCatalog filters, remove test block from code.mdx * use opacity instead of brightness for ruleid * fix lockfile * amend ruleid opacity styling * test onetrust * enable prefer const rule, remove onetrust test * add save-dev
36 lines
693 B
JavaScript
36 lines
693 B
JavaScript
// @ts-check
|
|
import starlightPlugin from "@astrojs/starlight-tailwind";
|
|
|
|
const gray = {
|
|
100: "#f6f6f6",
|
|
200: "#eeeeee",
|
|
300: "#c2c2c2",
|
|
400: "#8b8b8b",
|
|
500: "#585858",
|
|
700: "#383838",
|
|
800: "#272727",
|
|
900: "#181818",
|
|
};
|
|
|
|
/** @type {import('tailwindcss').Config} */
|
|
export default {
|
|
content: ["./src/**/*.{astro,html,js,jsx,ts,tsx}"],
|
|
theme: {
|
|
extend: {
|
|
colors: {
|
|
black: {
|
|
DEFAULT: "var(--sl-color-white)",
|
|
},
|
|
accent: {
|
|
DEFAULT: "var(--sl-color-accent)",
|
|
high: "var(--tw-accent-200)",
|
|
200: "var(--tw-accent-200)",
|
|
600: "var(--tw-accent-600)",
|
|
900: "var(--tw-accent-900)",
|
|
},
|
|
gray,
|
|
},
|
|
},
|
|
},
|
|
plugins: [starlightPlugin()],
|
|
};
|