Skip to content

feat: add support for dark mode v1 #2348

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 125 commits into from
Jan 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
125 commits
Select commit Hold shift + click to select a range
b29bdd8
feat: add support for theming
eshankvaish Jan 2, 2025
67cdc5e
fix: update hard coded colors
eshankvaish Jan 2, 2025
470b4cb
fix: replace images
eshankvaish Jan 3, 2025
059011b
fix: theme for external elements
eshankvaish Jan 3, 2025
24ea6ba
fix: shimmer color
eshankvaish Jan 3, 2025
b1344da
fix: hex for N000
eshankvaish Jan 3, 2025
37f892b
feat: add button to toggle theme
eshankvaish Jan 3, 2025
3505d8e
fix: bg colors
eshankvaish Jan 3, 2025
a19dbd5
fix: use variables instead of hex codes
eshankvaish Jan 3, 2025
2d80990
fix: use variables instead of hex codes
eshankvaish Jan 3, 2025
636758d
fix: replace hex codes with variables
eshankvaish Jan 3, 2025
49d2ba9
fix: app and app group selector styles
eshankvaish Jan 3, 2025
21744b3
fix: replace hex codes with variables
eshankvaish Jan 3, 2025
5fef949
fix: replace hex codes with variables
eshankvaish Jan 3, 2025
de3b4c3
fix: remove unused code
eshankvaish Jan 3, 2025
38986a7
feat: read the theme from local storage
eshankvaish Jan 3, 2025
b446690
feat: add theme provider and feature flag
eshankvaish Jan 3, 2025
8328269
fix: modal background
eshankvaish Jan 3, 2025
e6f63e7
fix: flag name
eshankvaish Jan 3, 2025
21544d0
refactor: replace N000 with N0
eshankvaish Jan 3, 2025
a0ba7bc
refactor: clean up color variables
eshankvaish Jan 3, 2025
9ac633a
fix: bg color
eshankvaish Jan 3, 2025
d89d78a
fix: global body text color
eshankvaish Jan 3, 2025
0ca08bb
fix: replace --white
eshankvaish Jan 6, 2025
f55e8d9
fix: replace hex codes
eshankvaish Jan 6, 2025
13bf88c
fix: theming for code editor
eshankvaish Jan 6, 2025
8ca161c
fix: replace hard coded colors
eshankvaish Jan 6, 2025
4d5eea3
refactor: clean up patternfly.scss
eshankvaish Jan 6, 2025
1fa2e23
refactor: remove unused scss
eshankvaish Jan 6, 2025
f0ea0af
refactor: remove unused scss
eshankvaish Jan 6, 2025
6d0c061
fix: incorrect variable names
eshankvaish Jan 6, 2025
3a95ff2
Merge branch 'develop' of github.com:devtron-labs/dashboard into feat…
eshankvaish Jan 6, 2025
6bc9eef
fix: improve the handling for setting the class attribute
eshankvaish Jan 6, 2025
f5e6187
fix: update hte trigger type bg
eshankvaish Jan 6, 2025
8d2d3a1
fix: btn link bg color
eshankvaish Jan 6, 2025
1075afc
fix: color for workflow node trigger type
eshankvaish Jan 6, 2025
65e602a
fix: stroke for ic arrow clockwise
eshankvaish Jan 6, 2025
0ef65cb
refactor: code clean up
eshankvaish Jan 6, 2025
373dcd3
fix: replace hex codes
eshankvaish Jan 7, 2025
172da09
fix: replace hex codes
eshankvaish Jan 7, 2025
e8cdf07
fix: replace hex codes and remove unused code
eshankvaish Jan 7, 2025
03ae21f
fix: replace hex codes and remove unused code
eshankvaish Jan 7, 2025
47a93f2
fix: use tokens for bg
eshankvaish Jan 7, 2025
e414fa8
feat: add util classes for bg
eshankvaish Jan 7, 2025
8825994
feat: replace bcn-0 with bg__primary
eshankvaish Jan 7, 2025
03eb40a
feat: replace bcn-50 with bg__secondary
eshankvaish Jan 7, 2025
c10ee74
feat: replace dc__window-bg with bg__tertiary
eshankvaish Jan 7, 2025
fdb56cd
fix: svg colors
eshankvaish Jan 7, 2025
63382c8
fix: update to use bg tokens
eshankvaish Jan 7, 2025
49533ac
fix: multi select styles for app clone selector
eshankvaish Jan 7, 2025
1c5da85
feat: update hex for window bg
eshankvaish Jan 7, 2025
bc17bcc
chore: remove todo
eshankvaish Jan 7, 2025
4e7641f
fix: color for b500 in dark mode
eshankvaish Jan 8, 2025
7a2b1f4
feat: replace bcn-50 with bg__secondary
eshankvaish Jan 8, 2025
f1c715c
feat: add black color
eshankvaish Jan 8, 2025
a8e4ff5
feat: replace the bg for secondary button
eshankvaish Jan 8, 2025
b308017
feat: use var
eshankvaish Jan 8, 2025
dd80e67
feat: update tooltip styling using token
eshankvaish Jan 8, 2025
dbc3776
feat: add theming in toast manager using tokens
eshankvaish Jan 8, 2025
c2cca55
fix: styling for select
eshankvaish Jan 8, 2025
e01e0d1
fix: styling for markdown and update variable names
eshankvaish Jan 8, 2025
90feba8
fix: bg and border colors
eshankvaish Jan 8, 2025
a471033
fix: terminal bg
eshankvaish Jan 8, 2025
0dd304a
fix: more tabs styling
eshankvaish Jan 8, 2025
891c80d
fix: text__white util class
eshankvaish Jan 8, 2025
7de8b38
fix: select styles
eshankvaish Jan 8, 2025
6fa2738
fix: styling issues
eshankvaish Jan 8, 2025
117f294
fix: login page styling issues
eshankvaish Jan 8, 2025
6e32918
fix: styling for folder icon
eshankvaish Jan 8, 2025
183338e
fix: background color
eshankvaish Jan 8, 2025
2ab4e9a
fix: select bg menu
eshankvaish Jan 8, 2025
b8e29f9
feat: replace dc__ff-monospace with mono
eshankvaish Jan 8, 2025
f6faa00
feat: replace buttons in login
eshankvaish Jan 8, 2025
b4a1c9c
fix: focus state for text area
eshankvaish Jan 8, 2025
609ec3f
fix: add styling override for login page
eshankvaish Jan 8, 2025
37378db
fix: icon styles
eshankvaish Jan 8, 2025
0783c0d
fix: styling for log analyzer
eshankvaish Jan 8, 2025
88cd125
fix: bg color classes
eshankvaish Jan 9, 2025
872f29c
fix: color for bottom strip
eshankvaish Jan 9, 2025
5f4349f
fix: styling issues for select
eshankvaish Jan 9, 2025
8913f4a
fix: border bottom for app details tab
eshankvaish Jan 9, 2025
c3f0fdc
fix: bg for cta secondary
eshankvaish Jan 9, 2025
4c36e55
fix: styling for more tabs dropdown
eshankvaish Jan 9, 2025
7b55274
fix: border and specificity issue
eshankvaish Jan 9, 2025
ce58c1c
refactor: replace plugin form content with creatable select
eshankvaish Jan 9, 2025
6818c3e
fix: styling for dt metrics
eshankvaish Jan 9, 2025
10f300b
fix: styling issues for events and pod manifest
eshankvaish Jan 9, 2025
63bd821
fix: tippy styling
eshankvaish Jan 9, 2025
584b806
fix: input color scheme
eshankvaish Jan 9, 2025
8c3f369
feat: add color schema for dark mode
eshankvaish Jan 9, 2025
55e19fc
fix: icon styling
eshankvaish Jan 9, 2025
83de880
refactor: replace select picker for throughput and latency
eshankvaish Jan 9, 2025
3c5b0ba
fix: formatting
eshankvaish Jan 9, 2025
25d851a
fix: border color and typo
eshankvaish Jan 9, 2025
1110db3
fix: remove unused code
eshankvaish Jan 9, 2025
cb4d0dc
fix: github icon fill
eshankvaish Jan 9, 2025
2a383e1
fix: menu position for throughput and latency select
eshankvaish Jan 9, 2025
af140fd
chore: revert using variable in logs terminal
eshankvaish Jan 9, 2025
05903ad
fix: remove the theme switcher
eshankvaish Jan 9, 2025
25ff266
fix: remove logout card styling
eshankvaish Jan 9, 2025
84b4786
fix: css specificity issue
eshankvaish Jan 10, 2025
7143761
fix: column selector menu alignment
eshankvaish Jan 10, 2025
b601ac5
fix: styling for element scroller
eshankvaish Jan 10, 2025
f9ee0c1
fix: hover colors
eshankvaish Jan 10, 2025
042e664
refactor: fix variable naming convention
eshankvaish Jan 10, 2025
b22d0ae
fix: bg color for sidebar
eshankvaish Jan 10, 2025
0552217
fix: color and styling issues
eshankvaish Jan 10, 2025
f5d82af
fix: styling for scope variables
eshankvaish Jan 10, 2025
6ef0737
fix: replace #d1d1d1
eshankvaish Jan 10, 2025
27ab1e1
fix: replace hex codes
eshankvaish Jan 10, 2025
e9acc5f
chore: bump common
eshankvaish Jan 10, 2025
e6aa706
fix: color scheme
eshankvaish Jan 10, 2025
89fd654
fix: ic devtron app
eshankvaish Jan 10, 2025
47f90a4
fix: util classes
eshankvaish Jan 10, 2025
fdccb56
feat: add support for theme in initial app loader
eshankvaish Jan 10, 2025
8f4220f
fix: rename utils.scss to themeUtils.scss
eshankvaish Jan 10, 2025
8b85b98
fix: body styling issue
eshankvaish Jan 10, 2025
d86b59d
chore: comment the code app loader dark mode
eshankvaish Jan 10, 2025
c5a6b84
fix: add border for app details card
eshankvaish Jan 11, 2025
94717c9
fix: notification select styling
eshankvaish Jan 11, 2025
5543c8f
Merge branch 'develop' of github.com:devtron-labs/dashboard into chor…
eshankvaish Jan 13, 2025
70b29e5
fix: replace removed classes
eshankvaish Jan 13, 2025
c3655fb
fix: styling fixes
eshankvaish Jan 13, 2025
5a0ab05
chore: bump common
eshankvaish Jan 13, 2025
b03bef5
Merge pull request #2354 from devtron-labs/chore/sync-theming-with-dev
eshankvaish Jan 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,4 @@ FEATURE_DEFAULT_MERGE_STRATEGY=
FEATURE_CLUSTER_MAP_ENABLE=true
FEATURE_DEFAULT_LANDING_RB_ENABLE=false
FEATURE_ACTION_AUDIOS_ENABLE=true
FEATURE_EXPERIMENTAL_THEMING_ENABLE=false
1 change: 1 addition & 0 deletions config.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,6 @@
| TRIGGER_API_TIMEOUT | 60000 | Default timeout for all API requests for Trigger calls (Deploy artifacts, charts) in DASHBOARD |
| FEATURE_HIDE_USER_DIRECT_PERMISSIONS_FOR_NON_SUPER_ADMINS | "true" | Would hide the user direct permissions for non-super admin users in User Permissions |
| FEATURE_ACTION_AUDIOS_ENABLE | true | Would enable audios in dashboard |
| FEATURE_EXPERIMENTAL_THEMING_ENABLE | true | Would enable theming in dashboard |

# DASHBOARD CONFIG SECRET
23 changes: 23 additions & 0 deletions index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/*
* Although this is duplicated but this would help us with consistent loader in case
* the theme is same as the system theme.
*/
:root {
/* Using the same name as in color palette to ensure this is applied when styles are loading */
--bg-tertiary: #f2f4f7;
--bg-devtron-loader: #e5f2ff;
--fill-devtron-loader: #0066cc;


/* TODO: Comment when theming goes live on production */
/* @media (prefers-color-scheme: dark) {
--bg-tertiary: #0d0f1c;
--bg-devtron-loader: #172433;
--fill-devtron-loader: #74B5FF;
} */
}

body {
margin: 0;
background: var(--bg-tertiary);
}
32 changes: 13 additions & 19 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,12 @@
href="https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700;900&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="./index.css" />
<link rel="shortcut icon" href="/favicon.ico" />
<script src="/dashboard/env-config.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta name="theme-color" content="#0066cc" />
<meta name="theme-color" media="(prefers-color-scheme: light)" content="#0066cc" />
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#74B5FF" />
<meta name="robots" content="noindex, nofollow" />
<meta name="description" content="Easily containerize your application to move it to Kubernetes in the cloud or in your own data center. Build, test, secure, deploy, and manage your applications on Kubernetes using open-source software." />
<title>Devtron</title>
Expand All @@ -45,7 +47,6 @@
display: flex;
justify-content: center;
align-items: center;
background-color: #fff;
"
>
<svg width="80" height="80" viewBox="0 0 100 100" fill="none" xmlns="http://www.w3.org/2000/svg">
Expand Down Expand Up @@ -73,19 +74,18 @@

@keyframes path-fill {
0% {
fill: #3989d9;
opacity: 1;
}
30% {
fill: #3989d9;
opacity: 1;
}
45% {
fill: #abcff3;
opacity: 0.4;
}
100% {
fill: #3989d9;
opacity: 1;
}
}

@keyframes top-shape {
0% {
transform: translateX(0px) translateY(0px) rotate(0deg);
Expand All @@ -105,7 +105,6 @@
transform-origin: center center;
}
}

@keyframes bottom-shape {
0% {
transform: translateX(0px) translateY(0px) rotate(0deg);
Expand All @@ -119,13 +118,11 @@
transform: translateX(6px) translateY(6px) rotate(15deg);
transform-origin: center center;
}

100% {
transform: translateX(0px) translateY(0px) rotate(0deg);
transform-origin: center center;
}
}

@keyframes rotate-group {
0% {
transform: rotate(0deg);
Expand All @@ -139,21 +136,18 @@
}
}
</style>
<rect width="100" height="100" rx="20" fill="#E5F2FF" />
<!-- Using variables for consistent theming -->
<rect width="100" height="100" rx="20" fill="var(--bg-devtron-loader)" />
<g class="svg__loader_rotating-group">
<g class="svg__loader_group-top">
<path
class="svg__loader_shapepath-top"
<path class="svg__loader_shapepath-top"
d="M59.8584 21.95L38.6084 21.875C36.8042 21.8667 35.1292 22.8125 34.1792 24.3667L19.4625 48.5167C18.9899 49.293 18.7427 50.1855 18.7486 51.0943C18.7545 52.0031 19.0132 52.8924 19.4958 53.6625L30.9125 71.8792C31.2183 72.533 31.7308 73.0679 32.3709 73.4015C33.011 73.7351 33.7431 73.8488 34.4542 73.725C35.141 73.5973 35.7703 73.2572 36.2533 72.7525C36.7362 72.2478 37.0485 71.6042 37.1459 70.9125C37.2338 70.2725 37.143 69.6207 36.8834 69.0292L36.8334 68.9458C36.7375 68.7458 36.6167 68.5583 36.4875 68.3833L35.1958 66.3083L28.3458 55.3583C27.9912 54.8612 27.7883 54.2719 27.7617 53.6618C27.735 53.0517 27.8858 52.447 28.1958 51.9208C30.175 48.5958 34.5125 41.5042 35.4875 40.3458C35.854 40.0077 36.2862 39.7489 36.7572 39.5854C37.2282 39.4219 37.7279 39.3574 38.225 39.3958L43.6208 39.8125C43.8939 39.8472 44.1535 39.951 44.3752 40.1142C44.5969 40.2773 44.7733 40.4943 44.8876 40.7447C45.0019 40.9951 45.0504 41.2705 45.0286 41.5448C45.0067 41.8192 44.9151 42.0834 44.7625 42.3125L42.5125 45.7917C42.3947 45.9427 42.2915 46.1045 42.2042 46.275V46.2792C41.8913 46.8936 41.8029 47.5981 41.9542 48.2708C42.0838 48.8505 42.391 49.3753 42.833 49.7721C43.275 50.1689 43.8298 50.4179 44.4201 50.4844C45.0103 50.5509 45.6066 50.4316 46.1259 50.1431C46.6451 49.8546 47.0614 49.4113 47.3167 48.875L62.0625 26.225C63.2084 24.4667 62.0709 22.0625 60 21.9542C59.9528 21.9515 59.9056 21.9501 59.8584 21.95Z"
fill="#3989D9"
/>
fill="var(--fill-devtron-loader)" />
</g>
<g class="svg__loader_group-bottom">
<path
class="svg__loader_shapepath-bottom"
<path class="svg__loader_shapepath-bottom"
d="M65.4458 26.2375C66.1567 26.1108 66.8896 26.2217 67.5313 26.553C68.1729 26.8844 68.6876 27.4178 68.9958 28.0709L80.4875 46.2334C81.4833 47.7959 81.5041 49.7959 80.55 51.3792L65.9375 75.5917C65.4801 76.3555 64.8332 76.9882 64.0594 77.4284C63.2855 77.8686 62.4111 78.1014 61.5208 78.1042L40.2708 78.125C40.2236 78.1263 40.1764 78.1263 40.1291 78.125C38.0583 78.025 36.9125 75.625 38.0458 73.8625L52.6916 51.1459C52.9442 50.6078 53.3584 50.162 53.8765 49.8707C54.3946 49.5794 54.9907 49.4571 55.5816 49.5209C56.1725 49.5847 56.7288 49.8313 57.1728 50.2265C57.6168 50.6216 57.9264 51.1455 58.0583 51.725C58.2135 52.3963 58.1295 53.1007 57.8208 53.7167C57.7327 53.8889 57.628 54.0564 57.5083 54.2084L55.2791 57.6959C55.1264 57.9255 55.035 58.1904 55.0135 58.4654C54.9921 58.7403 55.0413 59.0162 55.1566 59.2667C55.2718 59.5173 55.4493 59.7342 55.672 59.8968C55.8947 60.0595 56.1554 60.1624 56.4291 60.1959L61.8291 60.5875C62.3261 60.6226 62.8249 60.5548 63.2944 60.3885C63.764 60.2222 64.1942 59.9609 64.5583 59.6209C65.1 58.975 66.6666 56.4959 68.2916 53.8417L69.2666 52.2459C70.2333 50.6542 71.1458 49.1209 71.8041 48.0125C72.1109 47.4853 72.2584 46.8805 72.2288 46.2712C72.1992 45.6619 71.9938 45.0743 71.6375 44.5792L71.6583 44.5667L64.7375 33.6584L63.4416 31.5875C63.3053 31.4122 63.1866 31.2238 63.0875 31.025L63.0375 30.95C62.7742 30.3581 62.6805 29.7046 62.7666 29.0625C62.8608 28.3703 63.1702 27.7251 63.6509 27.2182C64.1317 26.7113 64.7595 26.3682 65.4458 26.2375Z"
fill="#3989D9"
/>
fill="var(--fill-devtron-loader)" />
</g>
</g>
</svg>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"homepage": "/dashboard",
"dependencies": {
"@devtron-labs/devtron-fe-common-lib": "1.4.8",
"@devtron-labs/devtron-fe-common-lib": "1.4.9",
"@esbuild-plugins/node-globals-polyfill": "0.2.3",
"@rjsf/core": "^5.13.3",
"@rjsf/utils": "^5.13.3",
Expand Down
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ export default function App() {
<Suspense fallback={null}>
{validating ? (
<div className="full-height-width">
<DevtronProgressing parentClasses="h-100 flex bcn-0" classes="icon-dim-80" />
<DevtronProgressing parentClasses="h-100 flex bg__primary" classes="icon-dim-80" />
</div>
) : (
<>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const CompareConfigView = ({
displayName,
}: CompareConfigViewProps) => (
<div className={`flexbox-col ${className ?? ''}`}>
<div className="dc__grid-half bcn-0 dc__position-sticky dc__top-0 dc__zi-10">
<div className="dc__grid-half bg__primary dc__position-sticky dc__top-0 dc__zi-10">
<div className="dc__border-right px-12 py-6 flexbox dc__gap-8 dc__border-bottom dc__align-items-center">
<ICCheck className="scn-9 icon-dim-16 dc__no-shrink" />
<span className="cn-9 fs-12 fw-6 lh-20">Published</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const ConfigHeaderTab = ({
onClick={handleChange}
type="button"
disabled={isDisabled}
className={`dc__transparent flexbox dc__align-items-center dc__gap-6 py-8 px-12 ${buttonContainerClass} ${isDisabled && !hasError ? 'dc__disabled' : ''} ${isActive ? 'bcn-0 cn-9' : 'cn-7'} ${isNextTabActive ? 'dc__border-right' : ''} ${isPreviousTabActive ? 'dc__border-left' : ''} fs-12 fw-6 lh-20`}
className={`dc__transparent flexbox dc__align-items-center dc__gap-6 py-8 px-12 ${buttonContainerClass} ${isDisabled && !hasError ? 'dc__disabled' : ''} ${isActive ? 'bg__primary cn-9' : 'cn-7'} ${isNextTabActive ? 'dc__border-right' : ''} ${isPreviousTabActive ? 'dc__border-left' : ''} fs-12 fw-6 lh-20`}
role="tab"
>
{hasError ? (
Expand Down Expand Up @@ -76,7 +76,7 @@ const ConfigHeader = ({
const activeTabIndex = tabKeys.indexOf(configHeaderTab)

return (
<div className="flexbox w-100 dc__align-items-center bc-n50 dc__box-shadow-bottom-n2">
<div className="flexbox w-100 dc__align-items-center bg__secondary dc__box-shadow-bottom-n2">
{tabKeys.map((currentTab: ConfigHeaderTabType, index: number) => (
<InvalidYAMLTippyWrapper
key={currentTab}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ const ConfigToolbar = ({

return (
<div
className={`px-12 bcn-0 dc__border-bottom-n1 flexbox dc__align-items-center dc__content-space dc__gap-8 dc__no-shrink h-32 ${!showProtectedTabs ? 'py-4' : ''}`}
className={`px-12 bg__primary dc__border-bottom-n1 flexbox dc__align-items-center dc__content-space dc__gap-8 dc__no-shrink h-32 ${!showProtectedTabs ? 'py-4' : ''}`}
>
<div className="flexbox dc__content-space dc__align-items-center dc__gap-8 dc__align-self-stretch">
{getLHSActionNodes()}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ const ChartSelectorDropdown = ({
<>
{customCharts.length > 0 && (
<div
className="pt-12 pr-12 pb-8 pl-12 dc__position-sticky bcn-0 top-0 dc__top-radius-4"
className="pt-12 pr-12 pb-8 pl-12 dc__position-sticky bg__primary top-0 dc__top-radius-4"
onClick={stopPropagation}
>
<RadioGroup
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1678,7 +1678,7 @@ const DeploymentTemplate = ({
}

return (
<div className="flexbox dc__gap-6 dc__align-items-center dc__border-top-n1 bc-n50 py-6 px-10">
<div className="flexbox dc__gap-6 dc__align-items-center dc__border-top-n1 bg__secondary py-6 px-10">
<ICInfoOutlineGrey className="flex icon-dim-16 dc__no-shrink scn-6" />
<div className="flexbox">
<span className="cn-8 fs-12 fw-4 lh-20 dc__truncate">
Expand Down Expand Up @@ -1827,7 +1827,7 @@ const DeploymentTemplate = ({
}

return (
<div className="dc__border br-4 m-8 flexbox-col dc__content-space flex-grow-1 dc__overflow-scroll bcn-0">
<div className="dc__border br-4 m-8 flexbox-col dc__content-space flex-grow-1 dc__overflow-scroll bg__primary">
{renderBody()}

{showDeleteOverrideDialog && (
Expand Down Expand Up @@ -1891,7 +1891,7 @@ const DeploymentTemplate = ({
return (
<>
<div
className={`h-100 dc__window-bg ${showDraftComments ? 'deployment-template__comments-view' : 'flexbox'}`}
className={`h-100 bg__tertiary ${showDraftComments ? 'deployment-template__comments-view' : 'flexbox'}`}
>
{renderDeploymentTemplate()}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const DeploymentTemplateCTA = ({
}

return (
<footer className="flexbox dc__content-space p-12 bcn-0 dc__border-top dc__align-items-center">
<footer className="flexbox dc__content-space p-12 bg__primary dc__border-top dc__align-items-center">
<div
className={`flexbox ${showApplicationMetrics ? 'dc__content-space' : 'dc__content-end'} dc__align-items-center flex-grow-1`}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const DeploymentTemplateForm = ({
if (showReadMe) {
return (
<CodeEditor.Header className="flex left p-0-imp dc__border-bottom-n1" hideDefaultSplitHeader>
<div className="flexbox px-16 py-6 dc__content-space fs-12 fw-6 cn-9 bcn-0">
<div className="flexbox px-16 py-6 dc__content-space fs-12 fw-6 cn-9 bg__primary">
<div className="flexbox w-100 dc__gap-8 dc__align-items-center">
<div className="flexbox dc__gap-8 dc__align-items-center">
{!readOnly && <ICPencil className="icon-dim-16 dc__no-shrink" />}
Expand All @@ -90,7 +90,7 @@ const DeploymentTemplateForm = ({
<div className={`dc__overflow-scroll flex-grow-1 ${showReadMe ? 'dc__grid-half' : 'flexbox-col'}`}>
{showReadMe && (
<div className="flexbox-col dc__border-right dc__overflow-scroll">
<div className="flexbox dc__gap-8 bcn-0 px-12 py-6 dc__border-bottom-n1 flex left py-6">
<div className="flexbox dc__gap-8 bg__primary px-12 py-6 dc__border-bottom-n1 flex left py-6">
<ICBookOpen className="icon-dim-16 dc__no-shrink scn-9" />
<span className="fs-12 fw-6 cn-9 lh-20">{`Readme ${selectedChart ? `(v${selectedChart.version})` : ''}`}</span>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const DeploymentTemplateOptionsHeader = ({
}

return (
<div className="flexbox dc__align-items-center dc__content-space bcn-0 dc__gap-8">
<div className="flexbox dc__align-items-center dc__content-space bg__primary dc__gap-8">
{isGuiSupported && (
<>
<InvalidYAMLTippyWrapper
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
display: grid;
grid-template-columns: 255px 1fr;
height: calc(100vh - 77px);
background: white;
background: var(--bg-primary);
overflow: hidden;

&.app-compose-for-env-compare {
Expand All @@ -31,8 +31,8 @@

.app-compose__nav {
padding: 16px 12px;
border-right: solid 1px #d6dbdf;
background: white;
border-right: solid 1px var(--N200);
background: var(--bg-primary);
height: 100%;
display: grid;
grid-template-columns: 1fr;
Expand Down Expand Up @@ -76,18 +76,18 @@
}

.help-container {
background-color: #f3f0ff;
background-color: var(--V100);
padding: 8px 12px;
border-radius: 4px;
height: 100px;

.progress-container {
background-color: #ffffff;
background-color: var(--bg-primary);
margin: 5px 0 10px 0;
font-size: 12px;

.progress-tracker {
background-color: #1dad70;
background-color: var(--G500);
height: 4px;
width: 1%;
}
Expand All @@ -113,7 +113,7 @@

.app-compose__main {
overflow: auto;
background-color: var(--window-bg);
background-color: var(--bg-tertiary);
}

.app-compose__nav-item {
Expand Down Expand Up @@ -141,7 +141,7 @@

&:hover:not(.no-hover) {
text-decoration: none;
background: var(--N50);
background: var(--bg-secondary);
}

&.active {
Expand Down Expand Up @@ -172,7 +172,7 @@
grid-template-columns: 16px 1fr;
grid-column-gap: 8px;
align-content: initial;
color: #f32e2e;
color: var(--R500);
font-size: 12px;

svg {
Expand All @@ -189,8 +189,8 @@
width: calc(100% - 240px - 72px);
height: 64px;
padding: 12px 24px;
background-color: rgba(242, 244, 247, 0.8);
box-shadow: inset 0 1px 0 0 #d6dbdf;
background-color: var(--bg-tertiary);
box-shadow: inset 0 1px 0 0 var(--N200);
z-index: var(--index-next-section);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const APITokenList = ({ tokenList, renderSearchToken, reload }: APITokenListType
const noMatchingResults = () => <GenericFilterEmptyState />

return (
<div className="bcn-0">
<div className="bg__primary">
<div data-testid="api-token-page-header" className="flex dc__content-space pl-20 pr-20 pb-16">
<FeatureTitleWithInfo
title={HEADER_TEXT.API_TOKEN.title}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

.api-list-row {
&:hover {
background-color: var(--N50);
background-color: var(--bg-secondary);
.api__row-actions {
display: flex;

Expand Down Expand Up @@ -85,7 +85,7 @@
.search {
margin-right: 0;
margin-bottom: 0 !important;
background-color: white;
background-color: var(--bg-primary);

.search__input {
&.search-applied {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const Authorization = () => {
<Route
path={path}
render={() => (
<div className="authorization-container flexbox-col flex-grow-1 min-h-100 bcn-0 flex-align-center dc__content-center pt-16">
<div className="authorization-container flexbox-col flex-grow-1 min-h-100 bg__primary flex-align-center dc__content-center pt-16">
<UserAndGroupPermissions />
</div>
)}
Expand Down
Loading
Loading