diff --git a/src/styles/global.scss b/src/styles/global.scss index 728b6e4..925b4a9 100644 --- a/src/styles/global.scss +++ b/src/styles/global.scss @@ -41,3 +41,86 @@ body { border-radius: 12px; padding: 32px; } + +.lx-btn { + display: inline-flex; + align-items: center; + justify-content: center; + border-radius: 999px; + border: 1px solid transparent; + cursor: pointer; + font-weight: 600; + line-height: 1; + white-space: nowrap; + transition: + background-color 0.2s ease, + border-color 0.2s ease, + color 0.2s ease; +} + +.lx-btn:disabled { + cursor: not-allowed; + opacity: 0.6; +} + +.lx-btn--xl { + --lx-btn-short-width: 192px; + + height: 72px; + padding: 0 40px; + font-size: 30px; +} + +.lx-btn--lg { + --lx-btn-short-width: 168px; + + height: 66px; + padding: 0 32px; + font-size: 28px; +} + +.lx-btn--md { + --lx-btn-short-width: 144px; + + height: 60px; + padding: 0 24px; + font-size: 24px; +} + +.lx-btn--sm { + --lx-btn-short-width: 104px; + + height: 52px; + padding: 0 20px; + font-size: 20px; +} + +.lx-btn--short { + width: var(--lx-btn-short-width); + padding-right: 0; + padding-left: 0; +} + +.lx-btn--primary { + border-color: #2f80ed; + background: #2f80ed; + color: #fff; +} + +.lx-btn--secondary { + border-color: #eef4ff; + background: #eef4ff; + color: #5f8fd2; +} + +.lx-btn--default { + border-color: #d9dde5; + background: #fff; + color: #2d3138; +} + +.lx-btn--outline-primary { + border-color: #8eb7df; + background: #fff; + color: #5f8fd2; +} diff --git a/src/views/settings/index.vue b/src/views/settings/index.vue index 6501983..41b4a6d 100644 --- a/src/views/settings/index.vue +++ b/src/views/settings/index.vue @@ -42,7 +42,11 @@