Merge pull request #3 from CareerPlug/CP-9637

CP-9637 - Update button styles and add font family
pull/501/head
Bernardo Anderson 4 months ago committed by GitHub
commit 00225db090
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -4,6 +4,10 @@
@import "tailwindcss/components"; @import "tailwindcss/components";
@import "tailwindcss/utilities"; @import "tailwindcss/utilities";
* {
font-family: 'Roboto', sans-serif;
}
a[href], a[href],
input[type='checkbox'], input[type='checkbox'],
input[type='submit'], input[type='submit'],
@ -45,6 +49,10 @@ button[disabled] .enabled {
.btn { .btn {
@apply no-animation; @apply no-animation;
height: 2.3rem;
min-height: 2.3rem;
text-transform: none;
font-weight: 400;
} }
.base-input { .base-input {
@ -56,7 +64,19 @@ button[disabled] .enabled {
} }
.base-button { .base-button {
@apply btn btn-primary text-white text-base; @apply btn btn-outline text-sm;
border-color: #004FCC;
color: #004FCC;
padding: 6px 12px;
}
.primary-button {
@apply btn btn-primary text-white text-sm;
padding: 6px 12px;
}
label.primary-button {
padding: 10px;
} }
.btn-outline { .btn-outline {

@ -98,7 +98,7 @@
class="flex" class="flex"
> >
<button <button
class="base-button !rounded-r-none !pr-2" class="primary-button !rounded-r-none !pr-2"
:class="{ disabled: isSaving }" :class="{ disabled: isSaving }"
v-bind="isSaving ? { disabled: true } : {}" v-bind="isSaving ? { disabled: true } : {}"
@click.prevent="onSaveClick" @click.prevent="onSaveClick"
@ -119,7 +119,7 @@
<div class="dropdown dropdown-end"> <div class="dropdown dropdown-end">
<label <label
tabindex="0" tabindex="0"
class="base-button !rounded-l-none !pl-1 !pr-2 !border-l-neutral-500" class="primary-button !rounded-l-none !pl-1 !pr-2 !border-l-neutral-500"
> >
<span class="text-sm align-text-top"> <span class="text-sm align-text-top">
<IconChevronDown class="w-5 h-5 flex-shrink-0" /> <IconChevronDown class="w-5 h-5 flex-shrink-0" />
@ -353,7 +353,7 @@
@change="save" @change="save"
/> />
<div <div
class="sticky bottom-0 py-2 space-y-2" class="sticky bottom-0 py-1 space-y-2"
:style="{ backgroundColor }" :style="{ backgroundColor }"
> >
<Upload <Upload

@ -17,7 +17,7 @@ module.exports = {
'base-300': '#e7e2df', 'base-300': '#e7e2df',
'base-content': 'rgb(73, 75, 80)', 'base-content': 'rgb(73, 75, 80)',
'font-size': '16px', 'font-size': '16px',
'--rounded-btn': '4px', '--rounded-btn': '5px',
'--tab-border': '2px', '--tab-border': '2px',
'--tab-radius': '.5rem' '--tab-radius': '.5rem'
} }

Loading…
Cancel
Save