Skip to content
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

Adding "home" icon #671 #677

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion dist/spectre-icons.css
Original file line number Diff line number Diff line change
Expand Up @@ -594,4 +594,22 @@
height: .5em;
transform: translate(-50%, -40%) rotate(-135deg);
width: .5em;
}
}

.icon-home::before{
border: .1rem solid currentColor;
border-bottom: 0;
border-right: 0;
transform: translate(-50%, -40%) rotate(45deg);
width: .8em;
height: .8em;
}

.icon-home::after {
transform: translate(-50%, -10%);
border-bottom: .1rem solid currentColor;
border-right: .1rem solid currentColor;
border-left: .1rem solid currentColor;
height: .6em;
width: .8em;
}
2 changes: 1 addition & 1 deletion dist/spectre-icons.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions src/icons/_icons-action.scss
Original file line number Diff line number Diff line change
Expand Up @@ -312,4 +312,25 @@
top: 60%;
width: .8em;
}
}

//Icon home
.icon-home {
&::before {
border: $icon-border-width solid currentColor;
border-bottom: 0;
border-right: 0;
transform: translate(-50%, -40%) rotate(45deg);
Final9800 marked this conversation as resolved.
Show resolved Hide resolved
width: .8em;
height: .8em;
}

&::after {
transform: translate(-50%, -10%);
Final9800 marked this conversation as resolved.
Show resolved Hide resolved
border-bottom: $icon-border-width solid currentColor;
border-right: $icon-border-width solid currentColor;
border-left: $icon-border-width solid currentColor;
height: .6em;
width: .8em;
}
}
1 change: 1 addition & 0 deletions src/icons/_icons-object.scss
Original file line number Diff line number Diff line change
Expand Up @@ -159,3 +159,4 @@
width: .5em;
}
}