打造一套全村最亮的Typora主题

打造一套全村最亮的Typora主题

作者:不染心

时间:2021/8/31

一、如何下载新的主题

文件 > 偏好设置 > 外观 > 打开主题文件夹

我们下载的所有主题.css文件都放在这个文件夹下,然后点击主题选择即可。

二、开发自己喜欢的主题

github.css 复制出一个自己的样式文件github_my.css

例如,搜索一下标签名,添加样式:

  • 添加 h1 的背景色:

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
    	border-radius: 10px; // 添加的
    	background-image: linear-gradient(to left, white , #F60);// 添加的
        padding: 7px;// 添加的
    	
        position: relative;
        margin-top: 1rem;
        margin-bottom: 1rem;
        font-weight: bold;
        line-height: 1.4;
        cursor: text;
    }
    h2{
    	background-image: linear-gradient(to left, white , #ff9b59);// 添加的
    }
    h3,h4,h5,h6 {
    	background-image: linear-gradient(to left, white , #ffdbaf);// 添加的
    }
    
  • 代码的边框:

    .md-fences,
    code,
    tt {
        border: 1px dashed #010101; // 添加的
        background-color: #f8f8f8;// 添加的
        border-radius: 5px;
        padding: 0;
        padding: 2px 4px 0px 4px;
        font-size: 0.9em;
    }
    
  • 整个软件的背景色:

    :root {
    	--bg-color: #e8f8d8;// 添加的
        --side-bar-bg-color: #e8f8d8;// 添加的
        --control-text-color: #777;
    }
    

有啥好看的修改方案大家一起讨论哈!

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

不染心

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值