Skip to content

Instantly share code, notes, and snippets.

View riversloane's full-sized avatar

River Sloane riversloane

View GitHub Profile
@riversloane
riversloane / banner.css
Last active December 4, 2023 14:50
Unwrapped '23: Create an annoucement banner for the holidays
.annoucement-banner {
padding: 20px;
background-color: palegoldenrod;
}
.annoucement-banner a {
float: right;
}
@riversloane
riversloane / lighthouse_widget_api.js
Last active March 10, 2018 10:29
HelpDocs Lighthouse Widget API
// Check out the config values you can change for the Lighthouse widget below
window.hdlh = {
...,
language_code: 'fr', // one of the language codes from your HelpDocs account
color_mode: 'light', // change the theme of Lighthouse (light or dark)
logo: 'https://cdn.helpdocs.io/img/logo_white.svg', // an absolute URL to an image to use as the logo, or pass false to disable the logo completely
primary_color: '#ff63aa', // the hex code of primary color you'd like Lighthouse to base all other colors from
brand: 'Support', // shows up in the top bar of Lighthouse
frame_width: '400px', // how wide you'd like the main frame to appear
suggestions: [String], // an array of suggestions to show the user. e.g. ['tag:test','article:12a45b78', 'category:ab3c5d7e']