Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add IceShrimp light theme #90

Merged
merged 8 commits into from
May 11, 2024
Merged
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
42 changes: 42 additions & 0 deletions data/iceshrimp-light/Custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
/*
This is the default CSS for the IceShrimp Light theme.

This applies small fixes that makes Revolt more in place with the
theme, it is entirely optional to have this CSS as-is, but
things may feel slightly off.
*/

@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap");

:root {
--border-radius-user-icon: 8px;

font-feature-settings: "liga" 1, "calt" 1;
}

a[href^="/server/"] svg > circle {
fill: #303446 !important;
}

[class^="UserShort__Name"] {
filter: contrast(70%);
font-family: "DM Sans", sans-serif;
}

[class^="MessageReply__ReplyBase-sc-"]::before {
border-inline-start: 2px solid #a5adce;
border-top: 2px solid #a5adce;
}

[class^="TypingIndicator__Base-sc-"] > div > [class^="avatars"] > img {
border-radius: var(--border-radius-user-icon);
}

[data-item-index="0"] [class^="ItemContainer-sc-176t3v5-0"] foreignObject :is(div, img) {
border-radius: var(--border-radius-user-icon) !important;
}

[class^="ServerHeader__ServerBanner-sc-"] {
margin: 0.5rem;
border-radius: var(--border-radius-user-icon);
}
45 changes: 45 additions & 0 deletions data/iceshrimp-light/Preset.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
slug = "iceshrimp-light"
name = "IceShrimp Light"
creator = "theycallhermax"
description = "The light theme from the Misskey fork bringing you no-nonsense fixes, features and improvements you actually want"
tags = ["light", "blue", "iceshrimp"]
version = "1.0.0"

[variables]
light = true
accent = "#9A92FF"
background = "#f1f5ff"
foreground = "#3B364C"

block = "#414141"
message-box = "#f1f5ff"
mention = "rgb(229, 200, 144, 0.40)"

success = "#a6d189"
warning = "#ef9f76"
error = "#e64553"
hover = "rgba(0, 0, 0, 0.1)"

[variables.scrollbar]
thumb = "#9A92FF"
track = "transparent"

[variables.primary]
background = "#E7EDFF"
header = "#f1f5ff"

[variables.secondary]
background = "#f1f5ff"
foreground = "#3B364C"
header = "#c6d0f5"

[variables.tertiary]
background = "#9A92FF"
foreground = "#3B364C"

[variables.status]
online = "#40a02b"
away = "#df8e1d"
busy = "#e64553"
streaming = "#7287fd"
invisible = "#c6d0f5"
Loading