-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update form text colors #3296
Update form text colors #3296
Changes from 5 commits
7dfc020
575ce7e
167ce97
8955cd1
7ab247a
02f343a
c01fe0c
e177e36
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/* -------------------------------------------------------- | ||
Colors | ||
-----------------------------------------------------------*/ | ||
@primary-color: #2196F3; | ||
|
||
|
||
/* -------------------------------------------------------- | ||
Font | ||
-----------------------------------------------------------*/ | ||
@redash-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | ||
@font-family-no-number: @redash-font; | ||
@font-family: @redash-font; | ||
@code-family: @redash-font; | ||
@font-size-base: 13px; | ||
|
||
|
||
/* -------------------------------------------------------- | ||
Typograpgy | ||
-----------------------------------------------------------*/ | ||
@text-color: #595959; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I didn't find a place where this is noticeable (lmk if you see this anywhere), but this creates a slight difference between I changed this color because it seemed better for Ant Checkbox labels and Buttons: It's probably better to pick one of those and set in both scopes, but I let this open for discussion 🙂 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. #595959 looks more suitable to me. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @gabrieldutra I've noticed form labels have There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Both of these are the wrongdoers 🙂: // inc/form.less
label {
font-weight: 500;
}
// ~bootstrap/less/forms.less
label {
display: inline-block;
max-width: 100%; // Force IE8 to wrap long content (see https://github.com/twbs/bootstrap/issues/13141)
margin-bottom: 5px;
font-weight: bold; // <- This
} There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Replacing the first label selector with |
||
|
||
|
||
/* -------------------------------------------------------- | ||
Form | ||
-----------------------------------------------------------*/ | ||
@input-height-base: 35px; | ||
@input-color: #595959; | ||
@border-radius-base: 2px; | ||
@border-color-base: #E8E8E8; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
label { | ||
font-weight: 500; | ||
font-weight: normal; | ||
} | ||
|
||
textarea.v-resizable { | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,5 +14,6 @@ describe('Create Data Source', () => { | |
cy.getByTestId('Database Name').type('postgres{enter}'); | ||
|
||
cy.contains('Saved.'); | ||
cy.percySnapshot('Create Data Source page'); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 😍 |
||
}); | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
loooong line...