-
Notifications
You must be signed in to change notification settings - Fork 10
Style Guide
Here are some notes about how things work here
I don't care what the python people say. Tabs make way more sense than spaces so we are using tabs instead of spaces.
All of our icons live in byu-pipeline-tools/assets/images/icons/tool-icons. They all can use the same icons so we might as well. The standard for the images is a 32x32 pixel svg. Svgs are great because they are vector images, they support transparency, and all of the software we use can support them. The blue color we are using is: The black we are using is: The icons are based heavily off of (and in most cases it just are) Font Awesome The typical work flow is:
- Get an svg of the icon I want from Font Awesome
- Assign blue fill and black background
- Size and center it correctly
- Put in the folder for the tools and for the website instructions.
I am torn about this one. I think we just need to pick one and stick to it. But not dashes. That's no good for python or anything for that matter. Why was that even an option. For file names? I think we we should go with camel case.
I like single quotes.
No. We should pass in variables into call backs using lambda functions