UI: Devfund-donation-box Web Assets v2 upgrade #1

Merged
Márton Lente merged 26 commits from ui/web-assets-v2-upgrade into main 2024-11-04 12:49:39 +01:00
3 changed files with 12 additions and 5 deletions
Showing only changes of commit bc0bccd393 - Show all commits

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -16,6 +16,10 @@ $spacer: 16px // Sizes are pxs to not clash with root em that might vary
--box-text-color: var(--color-text) --box-text-color: var(--color-text)
--input-color-bg: white
--input-color-bg-hover: var(--input-color-bg)
--input-color-one-time-donate: var(--color-accent)
/* Grid */ /* Grid */
--spacer: 16px --spacer: 16px
@ -59,6 +63,9 @@ $spacer: 16px // Sizes are pxs to not clash with root em that might vary
&.is-dark-mode &.is-dark-mode
+theme-dark +theme-dark
--input-color-bg: var(--btn-color-bg)
--input-color-one-time-donate: white
&.smaller &.smaller
// TODO: check spacer value // TODO: check spacer value
--spacer: #{$spacer * 0.8} --spacer: #{$spacer * 0.8}
@ -115,7 +122,7 @@ h2
input input
// Reassign custom properties within scope // Reassign custom properties within scope
--border-width: 2px --border-width: 2px
--input-color-bg: white
--input-color-bg-hover: var(--input-color-bg) --input-color-bg-hover: var(--input-color-bg)
background-color: var(--input-color-bg) background-color: var(--input-color-bg)
@ -245,10 +252,10 @@ input
.form-control .form-control
&.input-one-time-donate &.input-one-time-donate
color: var(--color-accent) color: var(--input-color-one-time-donate)
&:focus &:focus
color: var(--color-accent) color: var(--input-color-one-time-donate)
select select
&.form-control &.form-control