
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@cagov/ds-branding
Advanced tools
This is a CSS only module that contains the styles for laying out the agency branding for a state of California agency as part of the site header. These styles expect the following HTML structure.
This is a CSS only module that contains the styles for laying out the agency branding for a state of California agency as part of the site header. These styles expect the following HTML structure.
<div class="branding">
<div class="container">
<a href="/" class="logo" aria-label="DCC logo">
<svg version="1.1" alt="DCC logo" style="height: 75px;" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 108 108" style="enable-background:new 0 0 108 108;" xml:space="preserve">
<style type="text/css">
.st0{fill:#3D6937;}
</style>
<g>
<path class="st0" d="M54,2.5C25.6,2.5,2.5,25.6,2.5,54c0,28.4,23.1,51.5,51.5,51.5s51.5-23.1,51.5-51.5C105.5,25.6,82.4,2.5,54,2.5
z M54,102.5C27.3,102.5,5.5,80.7,5.5,54C5.5,27.3,27.3,5.5,54,5.5s48.5,21.7,48.5,48.5C102.5,80.7,80.7,102.5,54,102.5z"/>
<path class="st0" d="M93.7,61.5l-1.4-0.1c-0.4,0-11-0.7-22.1,1.1c-5.2,0.9-9.4,2.6-12.6,4.2c1.8-3.6,4.9-8.4,9.6-13
c5.8-5.6,12.1-10.4,16-13.3c-1.6,5-5,12.9-10.9,18.6c0,0,0,0,0,0c1.9-0.2,3.7-0.4,5.4-0.5c7.8-9.4,10.2-21.6,10.4-22.1l0.1-0.3
l-2.4-1.9l-0.4,0.3c-0.4,0.3-10.9,7.2-20.6,16.5c-5.6,5.4-9,11-10.9,15c-0.1-0.1-0.1-0.3-0.2-0.4C52,61.7,49.5,54,49.5,44.3
c0-9.6,2.5-19,4.3-24.3c1.8,5.3,4.3,14.7,4.3,24.3c0,3.8-0.4,7.3-1,10.4c1.3-1.6,2.7-3.2,4.3-4.8c0.2-1.8,0.3-3.6,0.3-5.5
c0-15.4-5.8-29.5-6.2-30.3h-3.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.2,3.1c10.8-2.3,19.3-10.5,19.7-10.9l0.8-0.8L93.7,61.5z"/>
</g>
</svg>
</a>
<a href="/" class="branding-logo">
<div class="logo-text"><span class="logo-state">State of California</span>
<span class="logo-dept">Department of Cannabis Control</span>
</div>
</a>
<div class="search-container">
<form class="site-search" action="/serp/">
<span class="sr-only" id="SearchInput">Custom Google Search</span>
<input type="text" id="q" name="q" aria-labelledby="SearchInput" placeholder="Search this website"
class="search-textfield">
<button type="submit" class="search-submit">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="17px" height="17px" viewBox="0 0 17 17" style="enable-background:new 0 0 17 17;"
xml:space="preserve">
<path class="blue" d="M16.4,15.2l-4-4c2-2.6,1.8-6.5-0.6-8.9c-1.3-1.3-3-2-4.8-2S3.5,1,2.2,2.3c-2.6,2.6-2.6,6.9,0,9.6
c1.3,1.3,3,2,4.8,2c1.4,0,2.9-0.5,4.1-1.4l4.1,4c0.2,0.2,0.4,0.3,0.7,0.3c0.2,0,0.5-0.1,0.7-0.3C16.7,16.2,16.7,15.6,16.4,15.2
L16.4,15.2z M7,12c-1.3,0-2.6-0.5-3.5-1.4c-1.9-1.9-1.9-5.1,0-7C4.4,2.7,5.6,2.1,7,2.1s2.6,0.5,3.5,1.4c0.9,0.9,1.4,2.2,1.4,3.5
c0,1.3-0.5,2.6-1.4,3.5C9.5,11.5,8.3,12,7,12z" />
</svg>
<span class="sr-only">Submit</span>
</button>
<button class="search-close">Close</button>
</form>
</div>
</div>
</div>
There are some colors that should be defined by the containing page. Here are the CSS variable names and their fallback values used when not defined:
FAQs
This is a CSS only module that contains the styles for laying out the agency branding for a state of California agency as part of the site header. These styles expect the following HTML structure.
The npm package @cagov/ds-branding receives a total of 26 weekly downloads. As such, @cagov/ds-branding popularity was classified as not popular.
We found that @cagov/ds-branding demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.