Note: All styles are written with base-10 font-size, where 1.2rem = 12px.
Use this style guide as a template to build your html-based style guide.
$app-dark-gray
#34363b
rgb
(52,54,59)
$app-warm-gray
#f7f5f4
rgb
(247,245,244)
$app-cyan
#00aeef
rgb
(0,174,239)
font-family: 'Source Sans Pro', Helvetica, Arial, sans-serif;
font-size: 3.0rem; /* 30px */
font-size: 2.4rem; /* 24px */
font-size: 1.8rem; /* 18px */
Body
font-size: 1.4rem; /* 14px */ color: #323334;
Secondary text
font-size: 1.4rem; /* 14px */ color: #979ba8;
font-size: 1.4rem; /* 14px */ color: #00aeef; :hover {text-decoration: underline;}
SVGs are easier to style in CSS than images or font icons. To add an icon to your HTML, use the following:
<svg class="icon {{icon-id}}"><use xlink:href="./assets/ images/symbol-defs.svg#{{icon-id}}"></use></svg>
To style the color of an icon, you'll want to use fill:#000; in your CSS. You can give SVGs a stroke:#000 as well. Below are some commonly used Helveticons as well as a handful of useful icons that were missing from the original libraries.
icon-Search
Used in search inputs
icon-Settings
Used to access settings
icon-Delete
Delete, close, remove, etc.
icon-Trash
Used for deletion
icon-Add
Used for addition
icon-Chat
Used for chats, comments, etc.
icon-Check
Used for checkmarks
icon-Calendar-alt
Used for date pickers, calendars, etc.
icon-Message
Used for email, messages
icon-Save-alt
Used for saving (not a helveticon)
icon-Navigationdown
Used to indicate selection box, expansion, or sorting
icon-download
Used for download, export
icon-Upload
Used for upload, import
icon-Thumbnails
Used for grids, tiles, etc.
icon-List
Used for menu, justified text
icon-Print
Used for print
icon-User
Used to indicate person, profile, user
icon-Pinlocation
Used for location, maps
icon-Edit
Used for edit
icon-Folder
Used for folder, project
icon-Rate
Used for favorites, rates
icon-Favorite
Used for favorites, matters of the heart
icon-Barchart
Used for bar chart
Note: Slider not built out in guide, general styles shown below:
Changes to settings will apply across all projects.
Includes codes for hypertension and heart failure as well as congenital heart diseases.