feat(account): Refactor account UI styles into reusable design tokens, apply updated styles across views and fix login submit behavior

This commit is contained in:
2025-12-01 04:08:17 +00:00
parent 9d012cd59f
commit 401d35186f
14 changed files with 457 additions and 203 deletions
+4 -5
View File
@@ -12,6 +12,7 @@ import {
} from '@design.estate/dees-element';
import { LeleAccountNavigation } from './navigation.js';
import { accountDesignTokens } from './sharedstyles.js';
import * as views from './views/index.js';
import * as accountstate from '../../states/accountstate.js';
@@ -36,15 +37,13 @@ export class IdpAccountContent extends DeesElement {
public static styles = [
cssManager.defaultStyles,
accountDesignTokens,
css`
:host {
display: block;
color: #fff;
padding-top: 10px;
padding-bottom: 10px;
height: 100%;
width: 100%;
background: ${cssManager.bdTheme('#eeeeeb', '#000000')}
background: var(--background);
}
:host([hidden]) {
display: none;
@@ -72,7 +71,7 @@ export class IdpAccountContent extends DeesElement {
height: 100vh;
overflow-y: scroll;
overscroll-behavior: contain;
transition: all 0.3s;
transition: all 0.3s ease;
opacity: 1;
}