-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: themebuilder redesign (#2740)
Started prototyping and testing the new design in code. I want to first add the functionality for colors and then have people in the team test the flow. Then when the flow is good implement the rest of the design. Resolves #2684 --------- Co-authored-by: Barsnes <[email protected]>
- Loading branch information
Showing
76 changed files
with
4,154 additions
and
942 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,134 +1,45 @@ | ||
.main { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
justify-content: center; | ||
margin-top: 4px; | ||
margin-bottom: 100px; | ||
font-size: 18px; | ||
} | ||
|
||
.container { | ||
max-width: 1600px; | ||
margin: 0 auto; | ||
width: 100%; | ||
background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 25%, rgba(30, 152, 245, 0.2) 55%); | ||
margin-top: -106px; | ||
padding-top: 106px; | ||
} | ||
|
||
.colors { | ||
display: flex; | ||
} | ||
|
||
.top { | ||
display: flex; | ||
[data-color-scheme='dark'] .main { | ||
background: linear-gradient(180deg, rgba(0, 28, 54, 1) 20%, rgba(30, 152, 245, 0.2) 45%); | ||
} | ||
|
||
.swatchContainer { | ||
border: 1px solid #c0c0c0; | ||
height: 260px; | ||
width: 495px; | ||
padding: 20px; | ||
margin-right: 32px; | ||
border-radius: 4px; | ||
gap: 20px; | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
|
||
.tom { | ||
display: flex; | ||
align-items: center; | ||
gap: 16px; | ||
font-size: 16px; | ||
} | ||
|
||
.swatch { | ||
height: 30px; | ||
width: 30px; | ||
border-radius: 50%; | ||
} | ||
|
||
.swatch:hover { | ||
cursor: pointer; | ||
} | ||
|
||
.swatches { | ||
display: flex; | ||
align-items: center; | ||
gap: 10px; | ||
div[data-color-scheme='light'][data-theme='two'] .main { | ||
background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 20.33%, rgba(116, 12, 126, 0.2) 57.04%); | ||
} | ||
|
||
.box { | ||
display: flex; | ||
align-items: end; | ||
justify-content: center; | ||
gap: 32px; | ||
padding: 12px 80px 40px; | ||
border-radius: 8px; | ||
div[data-color-scheme='dark'][data-theme='two'] .main { | ||
background: linear-gradient(180deg, #131c27 20.33%, #280f36 57.04%); | ||
} | ||
|
||
.title { | ||
.header { | ||
width: 600px; | ||
margin: 0 auto; | ||
text-align: center; | ||
margin-bottom: 36px; | ||
font-size: 32px; | ||
font-weight: 500; | ||
margin-top: 0; | ||
} | ||
|
||
.test2 { | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
margin-top: var(--ds-spacing-2); | ||
} | ||
|
||
.test { | ||
margin-bottom: 16px; | ||
font-size: 21px; | ||
border-radius: 2px; | ||
font-weight: 400; | ||
color: rgb(104, 104, 104); | ||
letter-spacing: 0.5px; | ||
.heading { | ||
margin-top: var(--ds-spacing-1); | ||
} | ||
|
||
.tokens { | ||
margin-top: 40px; | ||
.desc { | ||
margin-top: var(--ds-spacing-5); | ||
} | ||
|
||
.tokens h3 { | ||
font-size: 18px; | ||
font-weight: 500; | ||
margin-bottom: 8px; | ||
} | ||
|
||
.tokens h2 { | ||
font-size: 22px; | ||
margin-bottom: 0; | ||
} | ||
|
||
.token { | ||
font-size: 16px; | ||
} | ||
|
||
.token div { | ||
margin-bottom: 6px; | ||
} | ||
|
||
.brandRow { | ||
margin-top: 24px; | ||
} | ||
|
||
.contrastSection { | ||
.btnGroup { | ||
display: flex; | ||
gap: 20px; | ||
align-items: center; | ||
gap: 2px; | ||
height: 52px; | ||
width: 85px; | ||
font-size: 16px; | ||
} | ||
|
||
.contrastSection svg { | ||
color: #c90000; | ||
justify-content: center; | ||
margin-top: var(--ds-spacing-7); | ||
} | ||
|
||
.contrastSectionSuccess svg { | ||
color: #090; | ||
.headerText { | ||
color: var(--ds-color-accent-base-default); | ||
font-weight: 600; | ||
} |
Oops, something went wrong.