Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions theme/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"private": true,
"license": "Apache-2.0",
"dependencies": {
"@pulumi/design-tokens": "github:pulumi/pulumi-design-system#v0.3.1",
"@algolia/autocomplete-js": "^1.19.8",
"@algolia/autocomplete-plugin-tags": "^1.19.8",
"@algolia/autocomplete-theme-classic": "^1.19.8",
Expand Down
160 changes: 7 additions & 153 deletions theme/src/scss/_theme.scss
Original file line number Diff line number Diff line change
@@ -1,155 +1,9 @@
// v4 CSS-first theme: defines custom properties for colors, fonts, screens, etc.
// Values are sourced from the official Pulumi brand palette.
//
// NOTE: The legacy salmon, fuchsia, and purple color scales have been intentionally removed
@theme {
--color-white: #fff;
--color-black: #000;
--color-service-black: #1f1b21;
--color-transparent: transparent;

/* Gray */
--color-gray-50: #fafafa;
--color-gray-100: #efeff0;
--color-gray-200: #e0dfe2;
--color-gray-300: #cbcace;
--color-gray-400: #b3b1b9;
--color-gray-500: #9997a0;
--color-gray-600: #817d8c;
--color-gray-700: #6a6675;
--color-gray-800: #56535a;
--color-gray-900: #46434c;
--color-gray-950: #2e2932;

/* Yellow */
--color-yellow-50: #fffbeb;
--color-yellow-100: #fef2c7;
--color-yellow-200: #fde38a;
--color-yellow-300: #fdcf4c;
--color-yellow-400: #fcba23;
--color-yellow-500: #f49709;
--color-yellow-600: #da7205;
--color-yellow-700: #b54f08;
--color-yellow-800: #933d0d;
--color-yellow-900: #723213;
--color-yellow-950: #371d11;

/* Violet */
--color-violet-50: #f5f5ff;
--color-violet-100: #ebebff;
--color-violet-200: #dedbff;
--color-violet-300: #c3bdff;
--color-violet-400: #a697fc;
--color-violet-500: #9077f3;
--color-violet-600: #7952e5;
--color-violet-700: #5a30c5;
--color-violet-800: #492e8e;
--color-violet-900: #392960;
--color-violet-950: #231f33;

/* Blue */
--color-blue-50: #f5faff;
--color-blue-100: #e5f1ff;
--color-blue-200: #cce4ff;
--color-blue-300: #a3d0ff;
--color-blue-400: #75b5ff;
--color-blue-500: #5296ff;
--color-blue-600: #3c79f6;
--color-blue-700: #1e57eb;
--color-blue-800: #1e47c2;
--color-blue-900: #28448a;
--color-blue-950: #283048;

/* Red */
--color-red-50: #fff5f6;
--color-red-100: #ffe0e1;
--color-red-200: #ffc7ca;
--color-red-300: #ff9fa4;
--color-red-400: #ff676e;
--color-red-500: #fb2c36;
--color-red-600: #ee1721;
--color-red-700: #bd141c;
--color-red-800: #96171e;
--color-red-900: #611f22;
--color-red-950: #331f20;

/* Orange */
--color-orange-50: #fffaf5;
--color-orange-100: #ffebd1;
--color-orange-200: #fedbb3;
--color-orange-300: #fdbe7c;
--color-orange-400: #fb9746;
--color-orange-500: #f96c0b;
--color-orange-600: #da510b;
--color-orange-700: #b23c0b;
--color-orange-800: #923111;
--color-orange-900: #693420;
--color-orange-950: #33231f;

/* Green */
--color-green-50: #f6fdf9;
--color-green-100: #dffce9;
--color-green-200: #b6fbce;
--color-green-300: #84f1ac;
--color-green-400: #4ade80;
--color-green-500: #21c45d;
--color-green-600: #16a249;
--color-green-700: #1c7d41;
--color-green-800: #165a31;
--color-green-900: #1c3f2b;
--color-green-950: #202723;

/* Semantic: violet-primary (violet-700) */
--color-violet-primary: #5a30c5;

/* Semantic palette roles */
--color-violet-background: #f5f5ff;
--color-violet-muted: #dedbff;
--color-violet-accent: #9077f3;
// v4 CSS-first theme: color and typography tokens from @pulumi/design-tokens.
// Site-specific extensions (breakpoints, assets) are defined below.
@import "@pulumi/design-tokens/scss/tailwind-v4/theme";

--color-gray-background: #fafafa;
--color-gray-muted: #e0dfe2;
--color-gray-accent: #9997a0;
--color-gray-primary: #6a6675;

--color-yellow-background: #fffbeb;
--color-yellow-muted: #fde38a;
--color-yellow-accent: #f49709;
--color-yellow-primary: #b54f08;

--color-blue-background: #f5faff;
--color-blue-muted: #cce4ff;
--color-blue-accent: #5296ff;
--color-blue-primary: #1e57eb;

--color-red-background: #fff5f6;
--color-red-muted: #ffc7ca;
--color-red-accent: #fb2c36;
--color-red-primary: #bd141c;

--color-orange-background: #fffaf5;
--color-orange-muted: #fedbb3;
--color-orange-accent: #f96c0b;
--color-orange-primary: #b23c0b;

--color-green-background: #f6fdf9;
--color-green-muted: #b6fbce;
--color-green-accent: #21c45d;
--color-green-primary: #1c7d41;

--font-display: Inter, ui-sans-serif, system-ui, sans-serif;
--font-body: Inter, ui-sans-serif, system-ui, sans-serif;
--font-mono: "Monaspace Neon Var", ui-monospace, SFMono-Regular, monospace;
--default-font-feature-settings: "liga" 1, "calt" 1, "cv11" 1;
--breakpoint-sm: 640px;
--breakpoint-md: 768px;
--breakpoint-lg: 1024px;
--breakpoint-xl: 1270px;
--breakpoint-xxl: 1536px;
--breakpoint-nav-desktop: 1345px;
--shadow-3xl: 0 35px 70px -20px rgba(0, 0, 0, 0.5);
--leading-extra-tight: 1.1;

--background-image-lines-top-right: url("/images/bg-lines-top-right-1.svg");
@theme {
--breakpoint-xl: 1270px;
--breakpoint-nav-desktop: 1345px;
--background-image-lines-top-right: url("/images/bg-lines-top-right-1.svg");
}

1 change: 1 addition & 0 deletions theme/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ module.exports = function (env, argv = {}) {
outputStyle: "compressed",
quietDeps: true,
silenceDeprecations: ["import", "global-builtin"],
loadPaths: [path.join(__dirname, "node_modules")],
},
},
},
Expand Down
4 changes: 4 additions & 0 deletions theme/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,10 @@
"@parcel/watcher-win32-ia32" "2.5.4"
"@parcel/watcher-win32-x64" "2.5.4"

"@pulumi/design-tokens@github:pulumi/pulumi-design-system#v0.3.1":
version "0.3.1"
resolved "https://codeload.github.com/pulumi/pulumi-design-system/tar.gz/abf6ec84df5d806b4adc3486ed937ec5748121cb"

"@tailwindcss/node@4.3.0":
version "4.3.0"
resolved "https://registry.yarnpkg.com/@tailwindcss/node/-/node-4.3.0.tgz#9dc5312bf41c48658529f36021e0b466c4eb7860"
Expand Down
Loading