Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions src/lib/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.token_doctype,
.token_cdata,
.token_punctuation {
color: var(--text_color_5);
color: var(--text_50);
}

.token_tag,
Expand All @@ -16,21 +16,21 @@
.token_heading,
.token_heading_punctuation,
.token_tag_punctuation {
color: var(--color_a_5);
color: var(--color_a_50);
}

.token_comment,
.token_char,
.token_inserted,
.token_blockquote,
.token_blockquote_punctuation {
color: var(--color_b_5);
color: var(--color_b_50);
}

.token_builtin,
.token_class_name,
.token_number {
color: var(--color_j_5);
color: var(--color_j_50);
}

.token_attr_value,
Expand All @@ -39,24 +39,24 @@
.token_template_punctuation,
.token_inline_code,
.token_code_punctuation {
color: var(--color_h_5);
color: var(--color_h_50);
}

/* attr_equals must be after attr_value */
.token_attr_equals {
color: var(--text_color_5);
color: var(--text_50);
}

.token_selector,
.token_function,
.token_regex,
.token_important,
.token_variable {
color: var(--color_e_5);
color: var(--color_e_50);
}

.token_atrule {
color: var(--color_f_5);
color: var(--color_f_50);
}

.token_attr_name,
Expand All @@ -66,18 +66,18 @@
.token_link_text_wrapper,
.token_link_text,
.token_link_punctuation {
color: var(--color_i_5);
color: var(--color_i_50);
}

.token_special_keyword,
.token_namespace,
.token_rule {
color: var(--color_g_5);
color: var(--color_g_50);
}

.token_at_keyword,
.token_url {
color: var(--color_d_5);
color: var(--color_d_50);
}

.token_url {
Expand Down
22 changes: 11 additions & 11 deletions src/lib/theme_highlight.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
::highlight(token_cdata),
.token_punctuation,
::highlight(token_punctuation) {
color: var(--text_color_5);
color: var(--text_50);
}

.token_tag,
Expand All @@ -31,7 +31,7 @@
::highlight(token_heading_punctuation),
.token_tag_punctuation,
::highlight(token_tag_punctuation) {
color: var(--color_a_5);
color: var(--color_a_50);
}

.token_comment,
Expand All @@ -44,7 +44,7 @@
::highlight(token_blockquote),
.token_blockquote_punctuation,
::highlight(token_blockquote_punctuation) {
color: var(--color_b_5);
color: var(--color_b_50);
}

.token_builtin,
Expand All @@ -53,7 +53,7 @@
::highlight(token_class_name),
.token_number,
::highlight(token_number) {
color: var(--color_j_5);
color: var(--color_j_50);
}

.token_attr_value,
Expand All @@ -68,13 +68,13 @@
::highlight(token_inline_code),
.token_code_punctuation,
::highlight(token_code_punctuation) {
color: var(--color_h_5);
color: var(--color_h_50);
}

/* attr_equals must be after attr_value */
.token_attr_equals,
::highlight(token_attr_equals) {
color: var(--text_color_5);
color: var(--text_50);
}

.token_selector,
Expand All @@ -87,12 +87,12 @@
::highlight(token_important),
.token_variable,
::highlight(token_variable) {
color: var(--color_e_5);
color: var(--color_e_50);
}

.token_atrule,
::highlight(token_atrule) {
color: var(--color_f_5);
color: var(--color_f_50);
}

.token_attr_name,
Expand All @@ -109,7 +109,7 @@
::highlight(token_link_text),
.token_link_punctuation,
::highlight(token_link_punctuation) {
color: var(--color_i_5);
color: var(--color_i_50);
}

.token_special_keyword,
Expand All @@ -118,14 +118,14 @@
::highlight(token_namespace),
.token_rule,
::highlight(token_rule) {
color: var(--color_g_5);
color: var(--color_g_50);
}

.token_at_keyword,
::highlight(token_at_keyword),
.token_url,
::highlight(token_url) {
color: var(--color_d_5);
color: var(--color_d_50);
}

.token_url,
Expand Down
2 changes: 1 addition & 1 deletion src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
</div>
</section>
<section class="panel">
<div class="bg shadow_sm border_radius_xs p_xl2">
<div class="shade_00 shadow_sm border_radius_xs p_xl2">
<CodeTome />
</div>
</section>
Expand Down