腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(149)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
1
回答
将样式应用于分组的多个子元素
如果我有以下内容.
dark-theme
a {color:red;}.
dark-theme
div {color:orange;}.
dark-theme
.element {color:navyblue;} .
dark-theme
.element2 {colo
浏览 4
提问于2016-09-18
得票数 1
1
回答
DOM属性在盖茨比中不更新
'light-theme' : '
dark-theme
'}> // <- does not change when `isLight` updating {children} <
浏览 1
修改于2019-06-30
得票数 2
回答已采纳
1
回答
选择器中变量的Scss设置值会导致其更改,即使没有具有给定选择器的元素也是如此
SCSS文件$primary-dark: blue; background:gray!important;} background:yellow!important;} @if $
dark-theme
==true
浏览 8
提问于2019-11-14
得票数 0
回答已采纳
1
回答
CSS:你能在一个类中引用一个类吗?
假设我有这样一个类: .
dark-theme
{} 我可以在我的css文件中引用它吗?就像..。 .some-class { padding: 5px;
dark-theme
;}
浏览 22
修改于2019-02-21
得票数 1
回答已采纳
2
回答
变变量值scss
_variables.scss$
dark-theme
: #5EA1D7;$very-dark-theme类似于: $light-theme: rgba(94,161,215,0.3); $darker-theme: #57647A;}
dark-theme
浏览 2
提问于2018-01-25
得票数 9
1
回答
jQuery -使用本地存储和首选颜色方案切换暗模式
("
dark-theme
"); $("body").removeClass("mode") == "light-theme") { } else if (mq.matches) {$(&
浏览 13
提问于2021-02-01
得票数 2
回答已采纳
2
回答
如何将useState设置器作为函数参数传递?
/functions/ChangeTheme"; const [theme, setTheme] = useState("
dark-theme
"); return theme === "
dark-theme
" ?setTheme("") : setTheme("
dark-theme
&quo
浏览 36
提问于2021-01-19
得票数 0
回答已采纳
1
回答
角度如何使用ng深,但仍然只影响一个组成部分?
这是可行的,但它会影响所有组件,放松封装: .action-button正如提到的,我尝试过这样做,但似乎对我不起作用: :host .action-button:hover {}:host ::ng-deep .
dark-theme<
浏览 4
修改于2022-09-20
得票数 0
2
回答
可以让SVG的CSS Stroke属性从SVG标记继承颜色吗?
the paragraph is inside a dark theme */.light-theme .
dark-theme
p { <div class="
dark-theme
"> </div><div class="
dark-them
浏览 0
修改于2021-05-17
得票数 2
回答已采纳
1
回答
刷新后保持网页更改
document.getElementById("icon-phone"); document.body.classList.toggle("
dark-theme
"); icon.src = ".= document.getElementById("icon"); icon.oncli
浏览 4
修改于2021-04-29
得票数 0
2
回答
SASS:@媒体查询的内部扩展
SCSS编译器在这两个变体上都给了我错误:%
dark-theme
{} background@extend %light-theme;} body { }变异2 background: $dark-backgroun
浏览 2
提问于2021-10-07
得票数 4
回答已采纳
1
回答
如何在hugo中根据主题显示不同的图像?
== null) { isDark} document.body.classList.toggle("
dark-theme
window.localStorage && window.l
浏览 10
提问于2020-12-29
得票数 0
1
回答
Angular主题混合无法更改颜色和其他属性
我在这里有点挣扎,当我切换到
dark-theme
时,background-color不会改变。我查看了几个示例,并尝试了其他实现,但都不起作用。我在这里做错了什么?dark-accent: mat-palette($mat-amber, A200, A100, A400);$
dark-theme
accent);} @include custom-theme($ligh
浏览 6
提问于2020-05-05
得票数 0
1
回答
是否有可能进入黑暗模式,在切换页面之后,黑暗模式只保留一个js文件?
if (localData == "light") { document.body.classList.remove("
dark-theme
} icon.src = "images/sun.png"; document.body.classList.add("
dark-theme
&quo
浏览 2
提问于2022-06-01
得票数 0
回答已采纳
1
回答
光/暗模式转换
secondary-bg-color: #FFFF; --secondary-text-color: #4A4E74;}icon.onclick = function() { if(document.body.classList.contains(&q
浏览 12
修改于2022-05-06
得票数 0
回答已采纳
1
回答
基于类的目标HTML背景
我尝试过的:.light-theme html {} background: #000;备选案文2: background: #fff;html .
dark-theme
{}.light-theme {} background: #000; }
浏览 7
修改于2015-12-20
得票数 1
回答已采纳
2
回答
如何在两个图标之间切换?
window.localStorage.getItem('theme') $('body').toggleClass('
dark-theme
', isDark) $('body').toggleClass(&
浏览 41
提问于2019-03-24
得票数 0
1
回答
SASS/SCSS -主体上的颜色开关不工作
min-height: 100vh; justify-content: center; justify-content: center; } background-color: black;
浏览 16
提问于2020-10-17
得票数 0
回答已采纳
1
回答
Ion-刷新后切换它必须从本地存储中取回数据
toggleAppTheme() {} Ap
浏览 0
修改于2018-09-28
得票数 1
1
回答
角材质着色应用程序背景动态不工作
app.component.html: [ngClass]="{'default-theme': (selectedTheme | async) === 'default-theme', '
dark-theme
': (selectedTheme | async) === '
dark-theme
', 'light-theme': (selectedTheme | async) === 'light-theme'p
浏览 6
提问于2020-03-03
得票数 1
第 2 页
第 3 页
第 4 页
第 5 页
第 6 页
第 7 页
第 8 页
点击加载更多
领券