Skip to content

Commit

Permalink
Eliminate remaining resets and element styles
Browse files Browse the repository at this point in the history
Eliminate the remaining resets and element styles used
in the pattern library CSS
  • Loading branch information
lyzadanger committed Oct 15, 2021
1 parent 0884acf commit 4faac14
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 148 deletions.
2 changes: 1 addition & 1 deletion src/pattern-library/components/PlaygroundApp.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export default function PlaygroundApp({
{routeGroups.map(rGroup => (
<div key={rGroup.title}>
<h2 className="Library__heading2">{rGroup.title}</h2>
<ul>
<ul className="PlaygroundApp__nav">
{rGroup.routes.map(({ route, title }) => (
<li key={title}>
<Link
Expand Down
19 changes: 0 additions & 19 deletions styles/base/_elements.scss

This file was deleted.

29 changes: 0 additions & 29 deletions styles/base/_reset.scss

This file was deleted.

3 changes: 1 addition & 2 deletions styles/base/index.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@use 'reset';
@use 'elements';
@use 'normalize.css/normalize';

* {
box-sizing: border-box;
Expand Down
6 changes: 6 additions & 0 deletions styles/library.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@
padding: 1em;
}

&__nav {
list-style: none;
margin: 0;
padding: 0;
}

&__content {
grid-area: 'content';
}
Expand Down
97 changes: 0 additions & 97 deletions styles/mixins/_reset.scss

This file was deleted.

0 comments on commit 4faac14

Please sign in to comment.