-
Notifications
You must be signed in to change notification settings - Fork 19
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
Dojo theme updates #4
Conversation
dojo/listbox.m.css
Outdated
@@ -36,5 +37,16 @@ | |||
} | |||
|
|||
.selectedOption { | |||
composes: checkIcon; |
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.
I think this can cause issues with duplicated class names and doesn't make it clear where you are composing from. Are you able to change to composes checkIcon from './icons.m.css'
please? Also, are you missing icon
class here too?
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.
It can't use the icon
class, since only the pseudo-element should be an icon, and the actual element has normal text.
dojo/listbox.m.css
Outdated
} | ||
|
||
.selectedOption::before { | ||
font-family: 'dojo2BaseTheme'; |
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.
what is dojo2BaseTheme
?
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.
The icon font name. Should probably be moved to a variable.
Resolves the following
@dojo/widgets
issues:dojo/widgets#453
dojo/widgets#239
dojo/widgets#446