Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
segment-stage committed Mar 2, 2015
0 parents commit d03ae41
Show file tree
Hide file tree
Showing 7 changed files with 56 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
build/
components/
14 changes: 14 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

build: components index.css images/*
@component build --dev

clean:
@rm -rf components build

components: component.json
@component install --dev

test: build
@logo test

.PHONY: clean test
19 changes: 19 additions & 0 deletions component.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"logo": "Amazon S3",
"name": "amazon-s3",
"repo": "logo/amazon-s3",
"description": "The Amazon S3 logo.",
"version": "0.0.1",
"license": "MIT",
"styles": [
"index.css"
],
"images": [
"images/logo.svg",
"images/logo-black.svg",
"images/logo-white.svg"
],
"dependencies": {
"logo/logo": "*"
}
}
Empty file added images/logo-black.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added images/logo-white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added images/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@

/**
* Amazon S3 logo.
*/

.logo[data-logo="Amazon S3"] {
width: 0;
}

.logo[data-logo="Amazon S3"] > * {
background-image: url(images/logo.svg);
margin: 0 0 0 0;
}

.logo[data-logo="Amazon S3"][data-color="black"] > * {
background-image: url(images/logo-black.svg);
}

.logo[data-logo="Amazon S3"][data-color="white"] > * {
background-image: url(images/logo-white.svg);
}

0 comments on commit d03ae41

Please sign in to comment.