惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

大猫的无限游戏
大猫的无限游戏
博客园 - 【当耐特】
Cloudbric
Cloudbric
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Attack and Defense Labs
Attack and Defense Labs
爱范儿
爱范儿
The Cloudflare Blog
腾讯CDC
Security Archives - TechRepublic
Security Archives - TechRepublic
TaoSecurity Blog
TaoSecurity Blog
云风的 BLOG
云风的 BLOG
Recent Announcements
Recent Announcements
C
Check Point Blog
Schneier on Security
Schneier on Security
S
Schneier on Security
J
Java Code Geeks
B
Blog RSS Feed
Cisco Talos Blog
Cisco Talos Blog
Vercel News
Vercel News
Stack Overflow Blog
Stack Overflow Blog
博客园_首页
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
A
About on SuperTechFans
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Google DeepMind News
Google DeepMind News
阮一峰的网络日志
阮一峰的网络日志
罗磊的独立博客
A
Arctic Wolf
S
Secure Thoughts
P
Palo Alto Networks Blog
The Last Watchdog
The Last Watchdog
SecWiki News
SecWiki News
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
博客园 - 三生石上(FineUI控件)
D
Darknet – Hacking Tools, Hacker News & Cyber Security
量子位
U
Unit 42
I
InfoQ
D
DataBreaches.Net
P
Privacy International News Feed
T
Troy Hunt's Blog
博客园 - 叶小钗
T
Threatpost
博客园 - Franky
K
Kaspersky official blog
Hugging Face - Blog
Hugging Face - Blog
IT之家
IT之家
www.infosecurity-magazine.com
www.infosecurity-magazine.com
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
C
Cisco Blogs

博客园 - 尘梦

calude code 2.188 根据cli.map还原 centos6 安装gcc 多版本 神通mysql模式转 mysql ai数学书籍 chromedriver 网络安全渗透测试写法 编译php需要的扩展 python 合并同列数据 组合 新的excel vue table 表格记录选中 linux wktohtmlpdf 结合/tmp路径 无法创建问题 c语言开发 php扩展 sm4 macos php 如何链接神通数据库aci layui table tr a标签倒计时 操作 刷新以后继续倒计时 使用c# 开发 php的com组件 世界级地图数据处理 及 联动效果 php 结合pcntl_fork导出excel数据 使用 python 部署chatglm2b macos 下连接php 人大金仓pdo_kdb问题 php curl 多次发送
自定义编译bulma
尘梦 · 2025-08-20 · via 博客园 - 尘梦

src
└── scss
├── _theme.scss
├── _variables.scss
└── main.scss


// 必要的工具函数(box 和 helpers 都会用到)
@use "bulma/sass/utilities/functions" as *;
@use "bulma/sass/utilities/mixins" as *;
@use "bulma/sass/utilities/initial-variables" as *;
@use "bulma/sass/utilities/derived-variables" as *;

@use "bulma/sass/base/minireset";

// 只引入需要的组件
@use "bulma/sass/elements/box";
@use "bulma/sass/helpers/flexbox";
@use "bulma/sass/helpers/visibility";

// 主色调 - 柔和蓝色
$primary: #7eb3e8;
$primary-invert: findColorInvert($primary);

// 辅助色
$success: #48c774;
$warning: #ffdd57;
$danger: #ff7a7a;
$info: #209cee;

// 文字
$family-sans-serif: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
$text: #4a4a4a;
$text-strong: #363636;

// 间距
$gap: 32px;
$column-gap: 0.75rem;

// 响应式断点
$tablet: 769px;
$desktop: 1024px;
$widescreen: 1216px;
$fullhd: 1408px;



@use "variables" as *;

@use "theme";

.button {
  transition: all 0.2s ease;
  
  &.is-primary {
    &:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 8px rgba($primary, 0.2);
    }
  }
}

.navbar {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

"build-bulma": "sass --load-path=node_modules ./src/scss/main.scss my-bulma-project.css",
"build": "pnpm run build:scss && pnpm run postcss",
"build:scss": "sass src/scss/main.scss dist/css/theme.css --no-source-map",
"postcss": "postcss dist/css/theme.css -o dist/css/theme.min.css --use autoprefixer --no-map",
"watch": "sass --watch src/scss/main.scss dist/css/theme.css --no-source-map",
"start": "pnpm run watch"