Skip to content

Commit

Permalink
Rename chroma styles (google#1974)
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin committed May 1, 2024
1 parent f07fcfe commit 8f21861
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[data-bs-theme="light"] {
@import 'chroma/tango';
@import 'td/chroma/light';
}

[data-bs-theme="dark"] {
@import 'chroma/onedark';
@import 'td/chroma/dark';
.chroma {
background-color: var(--td-pre-bg);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* Chroma style: onedark */
/* Background */ .bg { color:#abb2bf;background-color:#282c34; }
/* PreWrapper */ .chroma { color:#abb2bf;background-color:#282c34; }
/* Other */ .chroma .x { }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* Chroma style: tango */
/* Background */ .bg { background-color:#f8f8f8; }
/* PreWrapper */ .chroma { background-color:#f8f8f8; }
/* Other */ .chroma .x { color:#000 }
Expand Down
2 changes: 1 addition & 1 deletion userguide/assets/scss/_styles_project.scss
Original file line number Diff line number Diff line change
@@ -1 +1 @@
@import 'code-dark';
@import 'td/code-dark';

0 comments on commit 8f21861

Please sign in to comment.