mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 07:22:23 -04:00
Make study button primary
This commit is contained in:
parent
94e398fd2f
commit
9082320a02
2 changed files with 7 additions and 2 deletions
|
@ -4,6 +4,7 @@
|
|||
@use "root-vars";
|
||||
@use "sass/vars" as *;
|
||||
@use "sass/card-counts";
|
||||
@use "sass/button-mixins" as button;
|
||||
|
||||
.smallLink {
|
||||
font-size: 10px;
|
||||
|
@ -35,3 +36,7 @@ h3 {
|
|||
.dyn {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#study {
|
||||
@include button.base($primary: true);
|
||||
}
|
||||
|
|
|
@ -74,7 +74,7 @@ with open(colors_py, "w") as buf:
|
|||
if not "dark" in val:
|
||||
val["dark"] = val.light
|
||||
|
||||
buf.write(re.sub(r'\"\n', '",\n', f"{color} = {json.dumps(val, indent=4)}\n"))
|
||||
buf.write(re.sub(r"\"\n", '",\n', f"{color} = {json.dumps(val, indent=4)}\n"))
|
||||
|
||||
|
||||
with open(props_py, "w") as buf:
|
||||
|
@ -85,4 +85,4 @@ with open(props_py, "w") as buf:
|
|||
if not "dark" in val:
|
||||
val["dark"] = val.light
|
||||
|
||||
buf.write(re.sub(r'\"\n', '",\n', f"{prop} = {json.dumps(val, indent=4)}\n"))
|
||||
buf.write(re.sub(r"\"\n", '",\n', f"{prop} = {json.dumps(val, indent=4)}\n"))
|
||||
|
|
Loading…
Reference in a new issue