-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add dark theme support to cm-textfield #36
Conversation
src/components/cm-page/cm-page.scss
Outdated
&.Dark { | ||
background-color: #37383e; | ||
} |
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.
this and the changes in cm-page is to be able to see light/dark theme in components more clear.
border-bottom-left-radius: 2px; | ||
border-top-left-radius: 2px; |
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.
changes here and line 298-299 are to fix the gap between the border and the content for prefix & suffix.
my initial approach was to set overflow:hidden in .inputContainer and completely removing these lines. which made sense at first, but then i realised it also hides the copy tooltip. so this is an alternative fix.
270e066
to
896030c
Compare
400973c
to
7bc43a1
Compare
6864d05
to
3be705c
Compare
7bc43a1
to
0009323
Compare
3be705c
to
dd50c28
Compare
0009323
to
63c6b7c
Compare
11f539c
to
b54e065
Compare
8c10907
to
d272d2b
Compare
} | ||
} | ||
|
||
border: solid 1px #7f8289; |
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.
this color will be clarified with Nazli
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.
there are also some inconsistencies with dark theme border colors.
it seems regular text fields border colors are: #7f8289, disabled looks like: #6d7076. but for some reason 'mixed' state looks like #6d7076 even though its not disabled
border: solid 1px #646670; | ||
background-color: #464c50; |
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.
these colors will be clarified with Nazli
ef2b019
to
3dc4099
Compare
d5a9079
to
32b091a
Compare
32b091a
to
5260828
Compare
No description provided.