// Copyright 2023 Signal Messenger, LLC // SPDX-License-Identifier: AGPL-3.0-only @use '../mixins'; @use '../variables'; .UsernameOnboardingModal { display: flex; flex-direction: column; align-items: center; user-select: none; &__title { @include mixins.font-title-2; margin-bottom: 20px; max-width: 240px; text-align: center; } &__row { display: flex; gap: 24px; margin-bottom: 32px; &__icon { flex-shrink: 0; width: 40px; height: 40px; background-size: cover; &--number { @include mixins.light-theme { background-image: url(../images/phone_40_color.svg); } @include mixins.dark-theme { background-image: url(../images/phone_40_color_dark.svg); } } &--username { @include mixins.light-theme { background-image: url(../images/usernames_40_color.svg); } @include mixins.dark-theme { background-image: url(../images/usernames_40_color_dark.svg); } } &--qr { @include mixins.light-theme { background-image: url(../images/qr_codes_40_color.svg); } @include mixins.dark-theme { background-image: url(../images/qr_codes_40_color_dark.svg); } } } &__body { @include mixins.font-body-2; @include mixins.light-theme { color: variables.$color-gray-60; } @include mixins.dark-theme { color: variables.$color-gray-25; } & { max-width: 248px; } h2 { @include mixins.font-body-1; margin-top: 0; margin-bottom: 2px; font-weight: 400; @include mixins.light-theme { color: variables.$color-gray-90; } @include mixins.dark-theme { color: variables.$color-gray-05; } } } &--center { justify-content: center; } } &__submit { width: 100%; max-width: 296px; margin-top: 16px; margin-bottom: 12px; } &__skip { margin-bottom: 0; @include mixins.light-theme { background: transparent; &:hover, &:active { @include mixins.not-disabled { background: transparent; } } } @include mixins.dark-theme { background: transparent; &:hover, &:active { @include mixins.not-disabled { background: transparent; } } } } }