
Security News
How Enterprise Security Is Adapting to AI-Accelerated Threats
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.
There's no set rules of how we should organise & structure the components & stylesheets. These are just my ideas and what works for me atm., open to any suggestions and I just want this UI repo get filled with all internal project components.
There's no set rules of how we should organise & structure the components & stylesheets. These are just my ideas and what works for me atm., open to any suggestions and I just want this UI repo get filled with all internal project components.
We can categorise these UI components into
base.css: all CSS files must(well if you want) extend from this
utils.css: like tailwind.css, but striped down to most common usages (for me). Included in base.css eg.// className="ml-12"
margin-left: 12px;
// className="flex center-item justify-center" to center an item in a div
display: flex;
align-items: center
justify-content: center;
theme.example.css: extends from base.css
all styles then must include a theme prefix that will be added to the root div
eg.
// app.tsx
<div className="app" data-lit-theme="purple"></div>
// thene.purple.css
[data-lit-theme="purple"] button {
// big and round ;)
}
FAQs
There's no set rules of how we should organise & structure the components & stylesheets. These are just my ideas and what works for me atm., open to any suggestions and I just want this UI repo get filled with all internal project components.
We found that @getlit/ui demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.