Add Primer themes (#2377)

This commit is contained in:
Veronica Berglyd Olsen
2025-06-04 15:14:18 +02:00
committed by GitHub
2 changed files with 142 additions and 0 deletions
@@ -0,0 +1,71 @@
[Main]
name = Primer Dark
mode = dark
author = Myian (adaptation)
credit = GitHub Inc.
url = https://github.com/primer
license = MIT License
licenseurl = https://github.com/primer/brand/blob/main/LICENSE
[Base]
default = #f0f6fc
faded = #a3b0be
red = #ff7b72
orange = #ffa657
yellow = #f8e3a1
green = #7ee787
cyan = #57CCC5
blue = #79c0ff
purple = #bc8cff
[Project]
root = purple
folder = orange
file = default
title = green
chapter = red
scene = blue
note = yellow
[Palette]
window = #141b23
windowtext = default
base = #0c1117
alternatebase = #1e242a
text = default
tooltipbase = yellow
tooltiptext = #0c1117
button = #212830
buttontext = default
brighttext = default
highlight = #104C35
highlightedtext = default
link = blue
linkvisited = blue
[GUI]
helptext = faded
fadedtext = faded:128
errortext = #f85149
[Syntax]
background = #0c1117
text = faded
link = blue
headertext = default
headertag = faded
emphasis = #97ee9e
dialog = default
altdialog = default
note = yellow
hidden = faded:128
shortcode = #ff9bce
keyword = #4493f8
tag = blue
value = #ffc680
optional = #a5d6ff
spellcheckline = #f85149
errorline = cyan
replacetag = purple
modifier = orange
texthighlight = faded:32
@@ -0,0 +1,71 @@
[Main]
name = Primer Light
mode = light
author = Myian (adaptation)
credit = GitHub Inc.
url = https://github.com/primer
license = MIT License
licenseurl = https://github.com/primer/brand/blob/main/LICENSE
[Base]
default = #1f2328
faded = #59636e
red = #fa4549
orange = #e16f24
yellow = #d4a72c
green = #2da44e
cyan = #339D9B
blue = #0969da
purple = #a475f9
[Project]
root = purple
folder = orange
file = faded
title = green
chapter = red
scene = blue
note = yellow
[Palette]
window = #eaeef2
windowtext = default
base = #ffffff
alternatebase = #dfe4e9
text = default
tooltipbase = #fae17d
tooltiptext = #0c1117
button = #f6f8fa
buttontext = default
brighttext = faded
highlight = #dafbe1
highlightedtext = #1a7f37
link = blue
linkvisited = blue
[GUI]
helptext = faded
fadedtext = faded:128
errortext = #cf222e
[Syntax]
background = #ffffff
text = faded
link = blue
headertext = default
headertag = faded:128
emphasis = green
dialog = default
altdialog = default
note = #d4a72c
hidden = faded:128
shortcode = #e85aad
keyword = blue
tag = #218bff
value = #fb8f44
optional = #54aeff
spellcheckline = #cf222e
errorline = cyan
replacetag = purple
modifier = orange
texthighlight = faded:32