Skip to content

Commit

Permalink
Renamed icon imports/exports
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaydek Michels-Gualtieri committed Mar 3, 2020
1 parent 05ee48c commit 0e3e1da
Show file tree
Hide file tree
Showing 9 changed files with 1,009 additions and 987 deletions.
8 changes: 4 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ tailwind.generated.css
# Firebase
.firebase
.firebaserc
# firebase.json
# firestore.indexes.json
# firestore.rules
# storage.rules
firebase.json
firestore.indexes.json
firestore.rules
storage.rules

# Etc.
*.log*
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@
"devDependencies": {
"@fullhuman/postcss-purgecss": "^2.0.6",
"autoprefixer": "^9.7.4",
"babel-eslint": "^10.0.3",
"debug.css": "https://github.com/codex-src/debug.css",
"eslint": "^6.8.0",
"firebase-tools": "^7.14.0",
"postcss-cli": "^7.1.0",
"tailwindcss": "^1.2.0"
Expand Down
6 changes: 3 additions & 3 deletions src/components/App/App.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as Hero from "components/heroicons"
import * as Hero from "components/Icons"
import IconView from "./IconView" // FIXME
import originalIcons from "./originalIcons" // FIXME
import React from "react"
Expand Down Expand Up @@ -63,7 +63,7 @@ const App = props => {

{/* LHS: */}
<div ref={lhs} className="px-6 z-10 pointer-events-none">
<Hero.Search_md className="w-6 h-6 text-gray-500" />
<Hero.SearchOutlineMd className="w-6 h-6 text-gray-500" />
</div>

<div className="absolute inset-0">
Expand All @@ -81,7 +81,7 @@ const App = props => {
</option>
</select>
<div className="px-6 absolute right-0 inset-y-0 flex flex-row items-center pointer-events-none">
<Hero.Selector_md className="w-6 h-6 text-gray-500" />
<Hero.SelectorOutlineMd className="w-6 h-6 text-gray-500" />
</div>
</div>

Expand Down
4 changes: 2 additions & 2 deletions src/components/App/IconView.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as Hero from "components/heroicons"
import * as Hero from "components/Heroicons"
import React from "react"

const IconPane = ({ outline: Outline, solid: Solid, ...props }) => {
Expand All @@ -25,7 +25,7 @@ const IconPane = ({ outline: Outline, solid: Solid, ...props }) => {
<div className="relative flex flex-col justify-center items-center h-full text-gray-800 hover:text-white bg-white hover:bg-indigo-500 rounded-lg shadow hover:z-30 trans-150">
{props.buggy && (
<div className="p-3 absolute inset-0 flex flex-row justify-end text-red-500 hover:text-white z-10 trans-150">
<Hero.Exclamation_sm className="w-6 h-6" />
<Hero.ExclamationSolidSm className="w-6 h-6" />
</div>
)}
<Icon ref={ref} className="w-8 h-8" />
Expand Down
35 changes: 35 additions & 0 deletions src/components/App/metadata.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
// "adjustments configure controls settings sliders",
// "annotation box chat comment message square suggestion",
// "archive bin",
// "arrow circle direction down"
// "arrow circle direction left"
// "arrow circle direction right"
// "arrow circle direction up"
// "arrow circle direction down"
// "arrow direction left"
// "arrow direction down narrow"
// "arrow direction left narrow"
// "arrow direction narrow right"
// "arrow direction narrow up"
// "arrow direction right"
// "arrow direction up"
// "address at email symbol"
// "alert bell notification",
// "book bookmark open page read",
// "book bookmark",
// "bag briefcase business travel",
// "calendar date time travel",
// "camera photo photography travel",
// "bill cash dollar money",
// "business chart data math science",
// "annotation bubble chat circle comment message suggestion",
// "check circle complete done task todo",
// "check complete done task todo",
// "arrow cheveron chevron direction down",
// "arrow cheveron chevron direction left",
// "arrow cheveron chevron direction right",
// "arrow cheveron chevron direction up",
// "check clipboard copy done paste task todo",
// "check clipboard copy done paste task todo",
// "check clipboard copy done paste task todo",
// "check clipboard copy done paste task todo",
Loading

0 comments on commit 0e3e1da

Please sign in to comment.