Skip to content

Instantly share code, notes, and snippets.

@jacamera
jacamera / INDIVIDUAL.md
Created May 15, 2022 21:37
The Readup Project Individual Contributor License Agreement

The Readup Project Individual Contributor License Agreement

Thank you for your interest in contributing to The Readup Project ("We" or "Us").

This contributor agreement ("Agreement") documents the rights granted by contributors to Us. To make this document effective, please sign it electronically using the CLA assistant service after creating your Github pull request. This is a legally binding document, so please read it carefully before agreeing to it. The Agreement may cover more than one software project managed by Us.

1. Definitions

"You" means the individual who Submits a Contribution to Us.

@jacamera
jacamera / colors.scss
Last active November 19, 2020 15:33
Readup Themes
// theming functions
// the root selector needs to be injectable into :host-context() for components
// in a shadow dom
@mixin theme {
@content(":root[data-com_readup_theme]", light);
@content(":root[data-com_readup_theme=dark]", dark);
@media (prefers-color-scheme: dark) {
@content(":root:not([data-com_readup_theme=light])", dark);
}
}