-
Notifications
You must be signed in to change notification settings - Fork 4
Modern theme for single file attachment #225
Conversation
Codecov Report
@@ Coverage Diff @@
## master #225 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 29 29
Lines 869 882 +13
Branches 162 168 +6
=========================================
+ Hits 869 882 +13
Continue to review full report at Codecov.
|
Good find. I've added a fix for this. |
skyuxconfig.json
Outdated
@@ -34,7 +34,8 @@ | |||
}, | |||
"app": { | |||
"styles": [ | |||
"@skyux/docs-tools/css/docs-tools.css" | |||
"@skyux/docs-tools/css/docs-tools.css", | |||
"src/app/visual-styles.scss" |
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 should only be added to the skyuxconfig-e2e.json
file.
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 intent here was to let the visual demos be a bit more legible for devs doing manual testing. Wouldn't we want that in the skyuxconfig.json
as well? Or should we just be putting those styles in the visual component itself?
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 stylesheet will "leak" into the docs pages as well. It might create confusion for future engineers who think the visual-styles.scss
file only affects the visual tests. Maybe create a component stylesheet for the visual tests instead? Or, create a new global stylesheet that's named in such a way that it can be used for the "production" pages, 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.
Good points. I moved it to a component-specific style sheet.
No description provided.