67 |
68 |
69 | No palettes created yet!
Click + above to make one!
70 |
71 |
Create a Palette
77 || Name | 92 |Created Date | 93 |Elements | 94 |
|---|
├── .gitignore ├── README.md ├── assets ├── icons │ ├── icon128.png │ ├── icon16.png │ └── icon48.png ├── logo.png └── logo_dark.png ├── css ├── designr.css └── styles.css ├── index.html ├── js ├── background.js ├── designr.js ├── libs │ ├── autorefresh.js │ ├── codemirror.css │ ├── codemirror.js │ ├── css.js │ ├── formatting.js │ ├── html-hint.js │ ├── htmlmixed.js │ ├── index.css │ ├── javascript.js │ ├── monokai.min.css │ ├── show-hint.css │ ├── show-hint.js │ ├── xml-hint.js │ └── xml.js └── script.js └── manifest.json /.gitignore: -------------------------------------------------------------------------------- 1 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. 2 | 3 | # dependencies 4 | /node_modules 5 | /.pnp 6 | .pnp.js 7 | 8 | # testing 9 | /coverage 10 | 11 | # production 12 | /build 13 | 14 | # misc 15 | .DS_Store 16 | .env.local 17 | .env.development.local 18 | .env.test.local 19 | .env.production.local 20 | .env 21 | 22 | npm-debug.log* 23 | yarn-debug.log* 24 | yarn-error.log* 25 | 26 | /extension 27 | /designr/.env -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |
2 | 3 |designr inspects CSS styles and saves snapshots of web components and designs
4 | 5 |designr is an open-source browser extension designed to inspect and save CSS styling on web pages. designr provides information about element styles and save the styles into a palette for later use. designr is a simple and intuitive way for designers and web developers to save CSS references.
11 |To get started with development, fork or clone the repository. Once the repository is installed, go to the extensions page in your brower. For example, the extension manager page for Chrome is chrome://extensions which will let you edit and upload the extension package. On the extension manager page, toggle Developer Mode on, click Load unpacked, and select the folder of the downloaded extension.
assets/| includes all assets for the extension |
25 | |css/designr.css| CSS file for the designr element inspector view|
26 | |css/styles.css|CSS file for the designr popup view|
27 | |js/libs|contains all JS code for libraries|
28 | |js/background.js|background JS code for designr|
29 | |js/designr.js|JS code for the designr element inspector view|
30 | |js/script.js|JS code for the designr popup view|
31 | |index.html|HTML code for the designr popup view |
32 | If you would like to contibute new features, bug fixes, or have any recommendations on how the extension can be improved, feel free to contribute by forking this repository, contributing a change that either resolve an issue or adds a new feature, and submitting a PR for review.
38 | -------------------------------------------------------------------------------- /assets/icons/icon128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ANG13T/designr/c3a2f370f1685b0e6226894f0bafc0836738263f/assets/icons/icon128.png -------------------------------------------------------------------------------- /assets/icons/icon16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ANG13T/designr/c3a2f370f1685b0e6226894f0bafc0836738263f/assets/icons/icon16.png -------------------------------------------------------------------------------- /assets/icons/icon48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ANG13T/designr/c3a2f370f1685b0e6226894f0bafc0836738263f/assets/icons/icon48.png -------------------------------------------------------------------------------- /assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ANG13T/designr/c3a2f370f1685b0e6226894f0bafc0836738263f/assets/logo.png -------------------------------------------------------------------------------- /assets/logo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ANG13T/designr/c3a2f370f1685b0e6226894f0bafc0836738263f/assets/logo_dark.png -------------------------------------------------------------------------------- /css/designr.css: -------------------------------------------------------------------------------- 1 | #designr_block, 2 | #designr_center, 3 | #designr_footer, 4 | .designr_category, 5 | span.designr_property, 6 | #designr_block h1, 7 | #designr_block h2, 8 | #designr_block ul, 9 | #designr_block li, 10 | #designr_block span 11 | { 12 | font-family:"Lucida sans", helvetica, sans-serif !important; 13 | font-size:10px !important; 14 | z-index:9999 !important; 15 | padding:0 !important; 16 | margin:0 !important; 17 | text-indent:0px !important; 18 | text-align:left !important; 19 | visibility: visible !important; 20 | width:auto !important; 21 | height:auto !important; 22 | line-height: 20px; 23 | } 24 | 25 | #designr_block 26 | { 27 | display:none; 28 | min-width:300px !important; 29 | font-size:10px !important; 30 | color:#555 !important; 31 | position:absolute !important; 32 | background-color: #212328 !important; 33 | border: 1.5px solid white; 34 | } 35 | 36 | #designr_center 37 | { 38 | padding:10px 32px 0 32px !important; 39 | overflow:hidden !important; 40 | } 41 | 42 | #designr_footer 43 | { 44 | padding-top:10px; 45 | color: rgb(176, 195, 211) !important; 46 | text-align:center !important; 47 | width:332px !important; 48 | height:30px !important; 49 | display:block !important; 50 | } 51 | 52 | .designr_category 53 | { 54 | padding:0 5px !important; 55 | } 56 | 57 | #designr_block h2 58 | { 59 | padding-top:6px !important; 60 | color:#63a3eb !important; 61 | font-size:12px !important; 62 | text-align:left !important; 63 | letter-spacing:-0.5px !important; 64 | } 65 | 66 | #designr_block ul 67 | { 68 | padding:0px !important; 69 | padding-bottom: 10px !important; 70 | list-style:none !important; 71 | width:250px !important; 72 | } 73 | 74 | #designr_block li 75 | { 76 | padding-left:0px !important; 77 | color:#b6b6b6 !important; 78 | } 79 | 80 | 81 | #designr_block span.designr_property 82 | { 83 | color: white !important; 84 | float:left !important; 85 | width:100px !important; 86 | display:block !important; 87 | overflow:hidden !important; 88 | } 89 | -------------------------------------------------------------------------------- /css/styles.css: -------------------------------------------------------------------------------- 1 | .App { 2 | text-align: center; 3 | width: 25rem; 4 | height: 36rem; 5 | background-color: #212328; 6 | } 7 | 8 | body { 9 | margin: 0px; 10 | } 11 | 12 | .logo { 13 | height: 20vmin; 14 | margin-top: 4rem; 15 | pointer-events: none; 16 | } 17 | 18 | .caption { 19 | color: white; 20 | font-size: 16px; 21 | margin-bottom: 5px; 22 | } 23 | 24 | .App-header { 25 | background-color: #212328; 26 | min-height: 100vh; 27 | display: flex; 28 | flex-direction: column; 29 | align-items: center; 30 | justify-content: center; 31 | font-size: calc(10px + 2vmin); 32 | color: white; 33 | } 34 | 35 | .App-link { 36 | color: #61dafb; 37 | } 38 | 39 | .captions { 40 | text-align: left; 41 | margin-left: 3.5rem; 42 | } 43 | 44 | #view-settings:hover, #create-palette:hover, #back-palette-button:hover, #edit-palette-button:hover, #delete-palette-button:hover { 45 | background-color: white; 46 | color: black; 47 | transition: 0.5s; 48 | } 49 | 50 | .c-button { 51 | text-align: center !important; 52 | min-width: 80vw; 53 | padding: 15px; 54 | font-size: 1rem; 55 | transition: 0.4s; 56 | } 57 | 58 | .customButton { 59 | text-align: center !important; 60 | min-width: 70vw !important; 61 | padding: 15px; 62 | font-size: 1rem; 63 | transition: 0.5s; 64 | color: white; 65 | margin: auto; 66 | border: 2px solid white; 67 | text-decoration: none; 68 | outline: none; 69 | background: transparent; 70 | font-weight: bold; 71 | margin-bottom: 30px !important; 72 | display: block; 73 | border-radius: 5px; 74 | margin-top: 2rem; 75 | cursor: pointer; 76 | } 77 | 78 | .githubButton { 79 | margin-top: 0.5rem; 80 | margin-left: 32px; 81 | margin-right: 32px; 82 | } 83 | 84 | .customButton:hover { 85 | background: white; 86 | color: black; 87 | } 88 | 89 | 90 | .border-gradient { 91 | --angle: 0deg; 92 | border: 10px solid; 93 | border-radius: 5px; 94 | border-image: linear-gradient(var(--angle), #12c2e9, #c471ed, #f64f59) 1; 95 | animation: 5s rotate linear infinite; 96 | } 97 | 98 | .link { 99 | color: white; 100 | font-weight: bold; 101 | } 102 | 103 | .bottom { 104 | color: white; 105 | margin-top: 3rem; 106 | } 107 | 108 | @keyframes rotate { 109 | to { 110 | --angle: 360deg; 111 | } 112 | } 113 | 114 | @property --angle { 115 | syntax: '
17 |
18 | 20 | 21 | Create custom web design palettes 22 |
23 | 24 |25 | 26 | Save properties of selected elements 27 |
28 | 29 |30 | 31 | Share and export designs with others 32 |
33 |Made with by Angelina Tsuboi
47 | 48 | 49 |
67 |
68 |
69 | No palettes created yet!
Click + above to make one!
70 |
71 |
| Name | 92 |Created Date | 93 |Elements | 94 |
|---|
Are you sure? This data will be deleted permanently
139 |
149 |
150 |
151 | No elements selected yet!
Click + below to select one!
152 |
153 |
| Name | 173 |
|---|
Are you sure? This data will be deleted permanently
245 |