TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: CSS Interfaces

1 点作者 perpetualcrayon超过 7 年前
With components, how do you prefer to style your (and 3rd party) components?<p>It seems a logical path would be to start defining CSS Interfaces, so 3rd party widgets will seamlessly style themselves based on a website&#x27;s &quot;theme&quot;.<p>Are there any projects out there on this path? That have gained traction?

1 comment

maxharris超过 7 年前
see <a href="https:&#x2F;&#x2F;github.com&#x2F;styled-components&#x2F;styled-components" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;styled-components&#x2F;styled-components</a> - it provides a nice theme interface
评论 #15469624 未加载