Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
5
Merge Requests
5
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
slapos
Commits
24693cfc
Commit
24693cfc
authored
Sep 29, 2020
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
theia: WIP fonts + css
parent
c020f044
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
294 additions
and
294 deletions
+294
-294
software/theia/buildout.hash.cfg
software/theia/buildout.hash.cfg
+6
-2
software/theia/instance.cfg.in
software/theia/instance.cfg.in
+10
-1
software/theia/preloadTemplate.html
software/theia/preloadTemplate.html
+5
-276
software/theia/slapos.css.in
software/theia/slapos.css.in
+260
-0
software/theia/software.cfg
software/theia/software.cfg
+13
-15
No files found.
software/theia/buildout.hash.cfg
View file @
24693cfc
...
...
@@ -15,7 +15,7 @@
[instance]
filename = instance.cfg.in
md5sum =
a5c23358b8435b516e9e78bd71b5b819
md5sum =
310dd1d78df8ab74ac7b8e8ee139c5b8
[yarn.lock]
filename = yarn.lock
...
...
@@ -27,4 +27,8 @@ md5sum = d2ce161244ce9ebce5295302a1b2a7df
[preloadTemplate.html]
filename = preloadTemplate.html
md5sum = 8f5758f2e0ff7c4600c73ce54c9a70aa
md5sum = b6e5ebd004c6336ae8d9d4ee24412b8a
[slapos.css.in]
filename = slapos.css.in
md5sum = 3ed13872f1c540e170075c7535e69fb3
software/theia/instance.cfg.in
View file @
24693cfc
...
...
@@ -54,7 +54,7 @@ template = inline:
root $${directory:frontend-static}
browse
proxy / $${theia-instance:base-url} {
except $${frontend-instance-fonts:folder-name} public $${favicon.ico:filename}
except $${frontend-instance-fonts:folder-name}
$${frontend-instance-slapos.css:folder-name}
public $${favicon.ico:filename}
}
proxy /services $${theia-instance:base-url} {
websocket
...
...
@@ -84,6 +84,7 @@ pidfile = $${directory:pidfiles}/$${:_buildout_section_name_}.pid
url = https://$${:hostname}:$${:port}/
[frontend-instance-fonts]
; TODO: this is ugly
recipe = plone.recipe.command
location = $${directory:frontend-static}/$${:folder-name}
folder-name = fonts
...
...
@@ -93,6 +94,13 @@ command =
ln -s ${jetbrains-mono-fonts:location} $${:location}/jetbrains-mono
stop-on-error = true
[frontend-instance-slapos.css]
; TODO: do we need a template recipe ? we don't subsitute anything here
recipe = slapos.recipe.template:jinja2
template = ${slapos.css.in:output}
rendered = $${directory:frontend-static}/$${:folder-name}/slapos.css
folder-name = css
[frontend-reload]
recipe = slapos.cookbook:wrapper
wrapper-path = $${directory:services}/$${:_buildout_section_name_}
...
...
@@ -333,3 +341,4 @@ project = $${:srv}/project
slapos = $${:srv}/slapos
frontend-static = $${:srv}/frontend-static
frontend-static-public = $${:frontend-static}/public
frontend-static-css = $${:frontend-static}/css
software/theia/preloadTemplate.html
View file @
24693cfc
TODO https://github.com/ryanoasis/nerd-fonts
<style
type=
"text/css"
id=
"fonts-source-code-pro"
>
/* Source Code Pro */
@font-face
{
font-family
:
'Source Code Pro'
;
font-weight
:
200
;
font-style
:
normal
;
font-stretch
:
normal
;
src
:
url('/fonts/source-code-pro/WOFF2/TTF/SourceCodePro-ExtraLight.ttf.woff2')
format
(
'woff2'
),
url('/fonts/source-code-pro/WOFF/OTF/SourceCodePro-ExtraLight.otf.woff')
format
(
'woff'
),
url('/fonts/source-code-pro/OTF/SourceCodePro-ExtraLight.otf')
format
(
'opentype'
),
url('/fonts/source-code-pro/TTF/SourceCodePro-ExtraLight.ttf')
format
(
'truetype'
);
}
@font-face
{
font-family
:
'Source Code Pro'
;
font-weight
:
200
;
font-style
:
italic
;
font-stretch
:
normal
;
src
:
url('/fonts/source-code-pro/WOFF2/TTF/SourceCodePro-ExtraLightIt.ttf.woff2')
format
(
'woff2'
),
url('/fonts/source-code-pro/WOFF/OTF/SourceCodePro-ExtraLightIt.otf.woff')
format
(
'woff'
),
url('/fonts/source-code-pro/OTF/SourceCodePro-ExtraLightIt.otf')
format
(
'opentype'
),
url('/fonts/source-code-pro/TTF/SourceCodePro-ExtraLightIt.ttf')
format
(
'truetype'
);
}
@font-face
{
font-family
:
'Source Code Pro'
;
font-weight
:
300
;
font-style
:
normal
;
font-stretch
:
normal
;
src
:
url('/fonts/source-code-pro/WOFF2/TTF/SourceCodePro-Light.ttf.woff2')
format
(
'woff2'
),
url('/fonts/source-code-pro/WOFF/OTF/SourceCodePro-Light.otf.woff')
format
(
'woff'
),
url('/fonts/source-code-pro/OTF/SourceCodePro-Light.otf')
format
(
'opentype'
),
url('/fonts/source-code-pro/TTF/SourceCodePro-Light.ttf')
format
(
'truetype'
);
}
@font-face
{
font-family
:
'Source Code Pro'
;
font-weight
:
300
;
font-style
:
italic
;
font-stretch
:
normal
;
src
:
url('/fonts/source-code-pro/WOFF2/TTF/SourceCodePro-LightIt.ttf.woff2')
format
(
'woff2'
),
url('/fonts/source-code-pro/WOFF/OTF/SourceCodePro-LightIt.otf.woff')
format
(
'woff'
),
url('/fonts/source-code-pro/OTF/SourceCodePro-LightIt.otf')
format
(
'opentype'
),
url('/fonts/source-code-pro/TTF/SourceCodePro-LightIt.ttf')
format
(
'truetype'
);
}
@font-face
{
font-family
:
'Source Code Pro'
;
font-weight
:
400
;
font-style
:
normal
;
font-stretch
:
normal
;
src
:
url('/fonts/source-code-pro/WOFF2/TTF/SourceCodePro-Regular.ttf.woff2')
format
(
'woff2'
),
url('/fonts/source-code-pro/WOFF/OTF/SourceCodePro-Regular.otf.woff')
format
(
'woff'
),
url('/fonts/source-code-pro/OTF/SourceCodePro-Regular.otf')
format
(
'opentype'
),
url('/fonts/source-code-pro/TTF/SourceCodePro-Regular.ttf')
format
(
'truetype'
);
}
@font-face
{
font-family
:
'Source Code Pro'
;
font-weight
:
400
;
font-style
:
italic
;
font-stretch
:
normal
;
src
:
url('/fonts/source-code-pro/WOFF2/TTF/SourceCodePro-It.ttf.woff2')
format
(
'woff2'
),
url('/fonts/source-code-pro/WOFF/OTF/SourceCodePro-It.otf.woff')
format
(
'woff'
),
url('/fonts/source-code-pro/OTF/SourceCodePro-It.otf')
format
(
'opentype'
),
url('/fonts/source-code-pro/TTF/SourceCodePro-It.ttf')
format
(
'truetype'
);
}
@font-face
{
font-family
:
'Source Code Pro'
;
font-weight
:
500
;
font-style
:
normal
;
font-stretch
:
normal
;
src
:
url('/fonts/source-code-pro/WOFF2/TTF/SourceCodePro-Medium.ttf.woff2')
format
(
'woff2'
),
url('/fonts/source-code-pro/WOFF/OTF/SourceCodePro-Medium.otf.woff')
format
(
'woff'
),
url('/fonts/source-code-pro/OTF/SourceCodePro-Medium.otf')
format
(
'opentype'
),
url('/fonts/source-code-pro/TTF/SourceCodePro-Medium.ttf')
format
(
'truetype'
);
}
@font-face
{
font-family
:
'Source Code Pro'
;
font-weight
:
500
;
font-style
:
italic
;
font-stretch
:
normal
;
src
:
url('/fonts/source-code-pro/WOFF2/TTF/SourceCodePro-MediumIt.ttf.woff2')
format
(
'woff2'
),
url('/fonts/source-code-pro/WOFF/OTF/SourceCodePro-MediumIt.otf.woff')
format
(
'woff'
),
url('/fonts/source-code-pro/OTF/SourceCodePro-MediumIt.otf')
format
(
'opentype'
),
url('/fonts/source-code-pro/TTF/SourceCodePro-MediumIt.ttf')
format
(
'truetype'
);
}
@font-face
{
font-family
:
'Source Code Pro'
;
font-weight
:
600
;
font-style
:
normal
;
font-stretch
:
normal
;
src
:
url('/fonts/source-code-pro/WOFF2/TTF/SourceCodePro-Semibold.ttf.woff2')
format
(
'woff2'
),
url('/fonts/source-code-pro/WOFF/OTF/SourceCodePro-Semibold.otf.woff')
format
(
'woff'
),
url('/fonts/source-code-pro/OTF/SourceCodePro-Semibold.otf')
format
(
'opentype'
),
url('/fonts/source-code-pro/TTF/SourceCodePro-Semibold.ttf')
format
(
'truetype'
);
}
@font-face
{
font-family
:
'Source Code Pro'
;
font-weight
:
600
;
font-style
:
italic
;
font-stretch
:
normal
;
src
:
url('/fonts/source-code-pro/WOFF2/TTF/SourceCodePro-SemiboldIt.ttf.woff2')
format
(
'woff2'
),
url('/fonts/source-code-pro/WOFF/OTF/SourceCodePro-SemiboldIt.otf.woff')
format
(
'woff'
),
url('/fonts/source-code-pro/OTF/SourceCodePro-SemiboldIt.otf')
format
(
'opentype'
),
url('/fonts/source-code-pro/TTF/SourceCodePro-SemiboldIt.ttf')
format
(
'truetype'
);
}
@font-face
{
font-family
:
'Source Code Pro'
;
font-weight
:
700
;
font-style
:
normal
;
font-stretch
:
normal
;
src
:
url('/fonts/source-code-pro/WOFF2/TTF/SourceCodePro-Bold.ttf.woff2')
format
(
'woff2'
),
url('/fonts/source-code-pro/WOFF/OTF/SourceCodePro-Bold.otf.woff')
format
(
'woff'
),
url('/fonts/source-code-pro/OTF/SourceCodePro-Bold.otf')
format
(
'opentype'
),
url('/fonts/source-code-pro/TTF/SourceCodePro-Bold.ttf')
format
(
'truetype'
);
}
@font-face
{
font-family
:
'Source Code Pro'
;
font-weight
:
700
;
font-style
:
italic
;
font-stretch
:
normal
;
src
:
url('/fonts/source-code-pro/WOFF2/TTF/SourceCodePro-BoldIt.ttf.woff2')
format
(
'woff2'
),
url('/fonts/source-code-pro/WOFF/OTF/SourceCodePro-BoldIt.otf.woff')
format
(
'woff'
),
url('/fonts/source-code-pro/OTF/SourceCodePro-BoldIt.otf')
format
(
'opentype'
),
url('/fonts/source-code-pro/TTF/SourceCodePro-BoldIt.ttf')
format
(
'truetype'
);
}
@font-face
{
font-family
:
'Source Code Pro'
;
font-weight
:
900
;
font-style
:
normal
;
font-stretch
:
normal
;
src
:
url('/fonts/source-code-pro/WOFF2/TTF/SourceCodePro-Black.ttf.woff2')
format
(
'woff2'
),
url('/fonts/source-code-pro/WOFF/OTF/SourceCodePro-Black.otf.woff')
format
(
'woff'
),
url('/fonts/source-code-pro/OTF/SourceCodePro-Black.otf')
format
(
'opentype'
),
url('/fonts/source-code-pro/TTF/SourceCodePro-Black.ttf')
format
(
'truetype'
);
}
@font-face
{
font-family
:
'Source Code Pro'
;
font-weight
:
900
;
font-style
:
italic
;
font-stretch
:
normal
;
src
:
url('/fonts/source-code-pro/WOFF2/TTF/SourceCodePro-BlackIt.ttf.woff2')
format
(
'woff2'
),
url('/fonts/source-code-pro/WOFF/OTF/SourceCodePro-BlackIt.otf.woff')
format
(
'woff'
),
url('/fonts/source-code-pro/OTF/SourceCodePro-BlackIt.otf')
format
(
'opentype'
),
url('/fonts/source-code-pro/TTF/SourceCodePro-BlackIt.ttf')
format
(
'truetype'
);
}
</style>
<style
type=
"text/css"
id=
"fonts-jetbrains-mono"
>
/* JetBrains Mono */
/* CSS come from https://github.com/paleite/typeface-jetbrains-mono/blob/6cbded1fa6283c29b9e5d93e5c70f5702e17bc68/index.css */
/* JetBrainsMono-Bold-Italic - © 2000-2020 JetBrains s.r.o. Developed with drive and IntelliJ IDEA. */
@font-face
{
font-family
:
"JetBrains Mono"
;
font-style
:
italic
;
font-weight
:
700
;
font-feature-settings
:
"calt"
1
,
"zero"
1
;
font-display
:
swap
;
src
:
url("/fonts/jetbrains-mono/web/JetBrainsMono-Bold-Italic.eot")
format
(
"embedded-opentype"
),
url("/fonts/jetbrains-mono/web/JetBrainsMono-Bold-Italic.woff2")
format
(
"woff2"
),
url("/fonts/jetbrains-mono/web/JetBrainsMono-Bold-Italic.woff")
format
(
"woff"
)
url("/fonts/jetbrains-mono/ttf/JetBrainsMono-Bold-Italic.ttf")
format
(
"truetype"
);
}
/* JetBrainsMono-Bold - © 2000-2020 JetBrains s.r.o. Developed with drive and IntelliJ IDEA. */
@font-face
{
font-family
:
"JetBrains Mono"
;
font-style
:
normal
;
font-weight
:
700
;
font-feature-settings
:
"calt"
1
,
"zero"
1
;
font-display
:
swap
;
src
:
url("/fonts/jetbrains-mono/web/JetBrainsMono-Bold.eot")
format
(
"embedded-opentype"
),
url("/fonts/jetbrains-mono/web/JetBrainsMono-Bold.woff2")
format
(
"woff2"
),
url("/fonts/jetbrains-mono/web/JetBrainsMono-Bold.woff")
format
(
"woff"
)
url("/fonts/jetbrains-mono/ttf/JetBrainsMono-Bold.ttf")
format
(
"truetype"
);
}
/* JetBrainsMono-ExtraBold-Italic - © 2000-2020 JetBrains s.r.o. Developed with drive and IntelliJ IDEA. */
@font-face
{
font-family
:
"JetBrains Mono ExtraBold"
;
font-style
:
italic
;
font-weight
:
800
;
font-feature-settings
:
"calt"
1
,
"zero"
1
;
font-display
:
swap
;
src
:
url("/fonts/jetbrains-mono/web/JetBrainsMono-ExtraBold-Italic.eot")
format
(
"embedded-opentype"
),
url("/fonts/jetbrains-mono/web/JetBrainsMono-ExtraBold-Italic.woff2")
format
(
"woff2"
),
url("/fonts/jetbrains-mono/web/JetBrainsMono-ExtraBold-Italic.woff")
format
(
"woff"
)
url("/fonts/jetbrains-mono/ttf/JetBrainsMono-ExtraBold-Italic.ttf")
format
(
"truetype"
);
}
/* JetBrainsMono-ExtraBold - © 2000-2020 JetBrains s.r.o. Developed with drive and IntelliJ IDEA. */
@font-face
{
font-family
:
"JetBrains Mono ExtraBold"
;
font-style
:
normal
;
font-weight
:
800
;
font-feature-settings
:
"calt"
1
,
"zero"
1
;
font-display
:
swap
;
src
:
url("/fonts/jetbrains-mono/web/JetBrainsMono-ExtraBold.eot")
format
(
"embedded-opentype"
),
url("/fonts/jetbrains-mono/web/JetBrainsMono-ExtraBold.woff2")
format
(
"woff2"
),
url("/fonts/jetbrains-mono/web/JetBrainsMono-ExtraBold.woff")
format
(
"woff"
)
url("/fonts/jetbrains-mono/ttf/JetBrainsMono-ExtraBold.ttf")
format
(
"truetype"
);
}
/* JetBrainsMono-Italic - © 2000-2020 JetBrains s.r.o. Developed with drive and IntelliJ IDEA. */
@font-face
{
font-family
:
"JetBrains Mono"
;
font-style
:
italic
;
font-weight
:
400
;
font-feature-settings
:
"calt"
1
,
"zero"
1
;
font-display
:
swap
;
src
:
url("/fonts/jetbrains-mono/web/JetBrainsMono-Italic.eot")
format
(
"embedded-opentype"
),
url("/fonts/jetbrains-mono/web/JetBrainsMono-Italic.woff2")
format
(
"woff2"
),
url("/fonts/jetbrains-mono/web/JetBrainsMono-Italic.woff")
format
(
"woff"
)
url("/fonts/jetbrains-mono/ttf/JetBrainsMono-Italic.ttf")
format
(
"truetype"
);
}
/* JetBrainsMono-Medium-Italic - © 2000-2020 JetBrains s.r.o. Developed with drive and IntelliJ IDEA. */
@font-face
{
font-family
:
"JetBrains Mono Medium"
;
font-style
:
italic
;
font-weight
:
500
;
font-feature-settings
:
"calt"
1
,
"zero"
1
;
font-display
:
swap
;
src
:
url("/fonts/jetbrains-mono/web/JetBrainsMono-Medium-Italic.eot")
format
(
"embedded-opentype"
),
url("/fonts/jetbrains-mono/web/JetBrainsMono-Medium-Italic.woff2")
format
(
"woff2"
),
url("/fonts/jetbrains-mono/web/JetBrainsMono-Medium-Italic.woff")
format
(
"woff"
)
url("/fonts/jetbrains-mono/ttf/JetBrainsMono-Medium-Italic.ttf")
format
(
"truetype"
);
}
/* JetBrainsMono-Medium - © 2000-2020 JetBrains s.r.o. Developed with drive and IntelliJ IDEA. */
@font-face
{
font-family
:
"JetBrains Mono Medium"
;
font-style
:
normal
;
font-weight
:
500
;
font-feature-settings
:
"calt"
1
,
"zero"
1
;
font-display
:
swap
;
src
:
url("/fonts/jetbrains-mono/web/JetBrainsMono-Medium.eot")
format
(
"embedded-opentype"
),
url("/fonts/jetbrains-mono/web/JetBrainsMono-Medium.woff2")
format
(
"woff2"
),
url("/fonts/jetbrains-mono/web/JetBrainsMono-Medium.woff")
format
(
"woff"
)
url("/fonts/jetbrains-mono/ttf/JetBrainsMono-Medium.ttf")
format
(
"truetype"
);
}
/* JetBrainsMono-Regular - © 2000-2020 JetBrains s.r.o. Developed with drive and IntelliJ IDEA. */
@font-face
{
font-family
:
"JetBrains Mono"
;
font-style
:
normal
;
font-weight
:
400
;
font-feature-settings
:
"calt"
1
,
"zero"
1
;
font-display
:
swap
;
src
:
url("/fonts/jetbrains-mono/web/JetBrainsMono-Regular.eot")
format
(
"embedded-opentype"
),
url("/fonts/jetbrains-mono/web/JetBrainsMono-Regular.woff2")
format
(
"woff2"
),
url("/fonts/jetbrains-mono/web/JetBrainsMono-Regular.woff")
format
(
"woff"
)
url("/fonts/jetbrains-mono/ttf/JetBrainsMono-Regular.ttf")
format
(
"truetype"
);
}
</style>
<div>
TODO
Loading ...
<div>
<script>
document
.
head
.
appendChild
(
document
.
getElementById
(
"
fonts-source-code-pro
"
));
document
.
head
.
appendChild
(
document
.
getElementById
(
"
fonts-jetbrains-mono
"
));
let
link
=
document
.
createElement
(
'
link
'
);
link
.
rel
=
"
stylesheet
"
;
link
.
href
=
"
/css/slapos.css
"
;
document
.
head
.
appendChild
(
link
);
</script>
<!--
...
...
software/theia/slapos.css.in
0 → 100644
View file @
24693cfc
/* Source Code Pro */
@font-face{
font-family: 'Source Code Pro';
font-weight: 200;
font-style: normal;
font-stretch: normal;
src: url('/fonts/source-code-pro/WOFF2/TTF/SourceCodePro-ExtraLight.ttf.woff2') format('woff2'),
url('/fonts/source-code-pro/WOFF/OTF/SourceCodePro-ExtraLight.otf.woff') format('woff'),
url('/fonts/source-code-pro/OTF/SourceCodePro-ExtraLight.otf') format('opentype'),
url('/fonts/source-code-pro/TTF/SourceCodePro-ExtraLight.ttf') format('truetype');
}
@font-face{
font-family: 'Source Code Pro';
font-weight: 200;
font-style: italic;
font-stretch: normal;
src: url('/fonts/source-code-pro/WOFF2/TTF/SourceCodePro-ExtraLightIt.ttf.woff2') format('woff2'),
url('/fonts/source-code-pro/WOFF/OTF/SourceCodePro-ExtraLightIt.otf.woff') format('woff'),
url('/fonts/source-code-pro/OTF/SourceCodePro-ExtraLightIt.otf') format('opentype'),
url('/fonts/source-code-pro/TTF/SourceCodePro-ExtraLightIt.ttf') format('truetype');
}
@font-face{
font-family: 'Source Code Pro';
font-weight: 300;
font-style: normal;
font-stretch: normal;
src: url('/fonts/source-code-pro/WOFF2/TTF/SourceCodePro-Light.ttf.woff2') format('woff2'),
url('/fonts/source-code-pro/WOFF/OTF/SourceCodePro-Light.otf.woff') format('woff'),
url('/fonts/source-code-pro/OTF/SourceCodePro-Light.otf') format('opentype'),
url('/fonts/source-code-pro/TTF/SourceCodePro-Light.ttf') format('truetype');
}
@font-face{
font-family: 'Source Code Pro';
font-weight: 300;
font-style: italic;
font-stretch: normal;
src: url('/fonts/source-code-pro/WOFF2/TTF/SourceCodePro-LightIt.ttf.woff2') format('woff2'),
url('/fonts/source-code-pro/WOFF/OTF/SourceCodePro-LightIt.otf.woff') format('woff'),
url('/fonts/source-code-pro/OTF/SourceCodePro-LightIt.otf') format('opentype'),
url('/fonts/source-code-pro/TTF/SourceCodePro-LightIt.ttf') format('truetype');
}
@font-face{
font-family: 'Source Code Pro';
font-weight: 400;
font-style: normal;
font-stretch: normal;
src: url('/fonts/source-code-pro/WOFF2/TTF/SourceCodePro-Regular.ttf.woff2') format('woff2'),
url('/fonts/source-code-pro/WOFF/OTF/SourceCodePro-Regular.otf.woff') format('woff'),
url('/fonts/source-code-pro/OTF/SourceCodePro-Regular.otf') format('opentype'),
url('/fonts/source-code-pro/TTF/SourceCodePro-Regular.ttf') format('truetype');
}
@font-face{
font-family: 'Source Code Pro';
font-weight: 400;
font-style: italic;
font-stretch: normal;
src: url('/fonts/source-code-pro/WOFF2/TTF/SourceCodePro-It.ttf.woff2') format('woff2'),
url('/fonts/source-code-pro/WOFF/OTF/SourceCodePro-It.otf.woff') format('woff'),
url('/fonts/source-code-pro/OTF/SourceCodePro-It.otf') format('opentype'),
url('/fonts/source-code-pro/TTF/SourceCodePro-It.ttf') format('truetype');
}
@font-face{
font-family: 'Source Code Pro';
font-weight: 500;
font-style: normal;
font-stretch: normal;
src: url('/fonts/source-code-pro/WOFF2/TTF/SourceCodePro-Medium.ttf.woff2') format('woff2'),
url('/fonts/source-code-pro/WOFF/OTF/SourceCodePro-Medium.otf.woff') format('woff'),
url('/fonts/source-code-pro/OTF/SourceCodePro-Medium.otf') format('opentype'),
url('/fonts/source-code-pro/TTF/SourceCodePro-Medium.ttf') format('truetype');
}
@font-face{
font-family: 'Source Code Pro';
font-weight: 500;
font-style: italic;
font-stretch: normal;
src: url('/fonts/source-code-pro/WOFF2/TTF/SourceCodePro-MediumIt.ttf.woff2') format('woff2'),
url('/fonts/source-code-pro/WOFF/OTF/SourceCodePro-MediumIt.otf.woff') format('woff'),
url('/fonts/source-code-pro/OTF/SourceCodePro-MediumIt.otf') format('opentype'),
url('/fonts/source-code-pro/TTF/SourceCodePro-MediumIt.ttf') format('truetype');
}
@font-face{
font-family: 'Source Code Pro';
font-weight: 600;
font-style: normal;
font-stretch: normal;
src: url('/fonts/source-code-pro/WOFF2/TTF/SourceCodePro-Semibold.ttf.woff2') format('woff2'),
url('/fonts/source-code-pro/WOFF/OTF/SourceCodePro-Semibold.otf.woff') format('woff'),
url('/fonts/source-code-pro/OTF/SourceCodePro-Semibold.otf') format('opentype'),
url('/fonts/source-code-pro/TTF/SourceCodePro-Semibold.ttf') format('truetype');
}
@font-face{
font-family: 'Source Code Pro';
font-weight: 600;
font-style: italic;
font-stretch: normal;
src: url('/fonts/source-code-pro/WOFF2/TTF/SourceCodePro-SemiboldIt.ttf.woff2') format('woff2'),
url('/fonts/source-code-pro/WOFF/OTF/SourceCodePro-SemiboldIt.otf.woff') format('woff'),
url('/fonts/source-code-pro/OTF/SourceCodePro-SemiboldIt.otf') format('opentype'),
url('/fonts/source-code-pro/TTF/SourceCodePro-SemiboldIt.ttf') format('truetype');
}
@font-face{
font-family: 'Source Code Pro';
font-weight: 700;
font-style: normal;
font-stretch: normal;
src: url('/fonts/source-code-pro/WOFF2/TTF/SourceCodePro-Bold.ttf.woff2') format('woff2'),
url('/fonts/source-code-pro/WOFF/OTF/SourceCodePro-Bold.otf.woff') format('woff'),
url('/fonts/source-code-pro/OTF/SourceCodePro-Bold.otf') format('opentype'),
url('/fonts/source-code-pro/TTF/SourceCodePro-Bold.ttf') format('truetype');
}
@font-face{
font-family: 'Source Code Pro';
font-weight: 700;
font-style: italic;
font-stretch: normal;
src: url('/fonts/source-code-pro/WOFF2/TTF/SourceCodePro-BoldIt.ttf.woff2') format('woff2'),
url('/fonts/source-code-pro/WOFF/OTF/SourceCodePro-BoldIt.otf.woff') format('woff'),
url('/fonts/source-code-pro/OTF/SourceCodePro-BoldIt.otf') format('opentype'),
url('/fonts/source-code-pro/TTF/SourceCodePro-BoldIt.ttf') format('truetype');
}
@font-face{
font-family: 'Source Code Pro';
font-weight: 900;
font-style: normal;
font-stretch: normal;
src: url('/fonts/source-code-pro/WOFF2/TTF/SourceCodePro-Black.ttf.woff2') format('woff2'),
url('/fonts/source-code-pro/WOFF/OTF/SourceCodePro-Black.otf.woff') format('woff'),
url('/fonts/source-code-pro/OTF/SourceCodePro-Black.otf') format('opentype'),
url('/fonts/source-code-pro/TTF/SourceCodePro-Black.ttf') format('truetype');
}
@font-face{
font-family: 'Source Code Pro';
font-weight: 900;
font-style: italic;
font-stretch: normal;
src: url('/fonts/source-code-pro/WOFF2/TTF/SourceCodePro-BlackIt.ttf.woff2') format('woff2'),
url('/fonts/source-code-pro/WOFF/OTF/SourceCodePro-BlackIt.otf.woff') format('woff'),
url('/fonts/source-code-pro/OTF/SourceCodePro-BlackIt.otf') format('opentype'),
url('/fonts/source-code-pro/TTF/SourceCodePro-BlackIt.ttf') format('truetype');
}
/* JetBrains Mono */
/* CSS come from https://github.com/paleite/typeface-jetbrains-mono/blob/6cbded1fa6283c29b9e5d93e5c70f5702e17bc68/index.css */
/* JetBrainsMono-Bold-Italic - © 2000-2020 JetBrains s.r.o. Developed with drive and IntelliJ IDEA. */
@font-face {
font-family: "JetBrains Mono";
font-style: italic;
font-weight: 700;
font-feature-settings: "calt" 1, "zero" 1;
font-display: swap;
src: url("/fonts/jetbrains-mono/web/JetBrainsMono-Bold-Italic.eot") format("embedded-opentype"),
url("/fonts/jetbrains-mono/web/JetBrainsMono-Bold-Italic.woff2") format("woff2"),
url("/fonts/jetbrains-mono/web/JetBrainsMono-Bold-Italic.woff") format("woff")
url("/fonts/jetbrains-mono/ttf/JetBrainsMono-Bold-Italic.ttf") format("truetype");
}
/* JetBrainsMono-Bold - © 2000-2020 JetBrains s.r.o. Developed with drive and IntelliJ IDEA. */
@font-face {
font-family: "JetBrains Mono";
font-style: normal;
font-weight: 700;
font-feature-settings: "calt" 1, "zero" 1;
font-display: swap;
src: url("/fonts/jetbrains-mono/web/JetBrainsMono-Bold.eot") format("embedded-opentype"),
url("/fonts/jetbrains-mono/web/JetBrainsMono-Bold.woff2") format("woff2"),
url("/fonts/jetbrains-mono/web/JetBrainsMono-Bold.woff") format("woff")
url("/fonts/jetbrains-mono/ttf/JetBrainsMono-Bold.ttf") format("truetype");
}
/* JetBrainsMono-ExtraBold-Italic - © 2000-2020 JetBrains s.r.o. Developed with drive and IntelliJ IDEA. */
@font-face {
font-family: "JetBrains Mono ExtraBold";
font-style: italic;
font-weight: 800;
font-feature-settings: "calt" 1, "zero" 1;
font-display: swap;
src: url("/fonts/jetbrains-mono/web/JetBrainsMono-ExtraBold-Italic.eot") format("embedded-opentype"),
url("/fonts/jetbrains-mono/web/JetBrainsMono-ExtraBold-Italic.woff2") format("woff2"),
url("/fonts/jetbrains-mono/web/JetBrainsMono-ExtraBold-Italic.woff") format("woff")
url("/fonts/jetbrains-mono/ttf/JetBrainsMono-ExtraBold-Italic.ttf") format("truetype");
}
/* JetBrainsMono-ExtraBold - © 2000-2020 JetBrains s.r.o. Developed with drive and IntelliJ IDEA. */
@font-face {
font-family: "JetBrains Mono ExtraBold";
font-style: normal;
font-weight: 800;
font-feature-settings: "calt" 1, "zero" 1;
font-display: swap;
src: url("/fonts/jetbrains-mono/web/JetBrainsMono-ExtraBold.eot") format("embedded-opentype"),
url("/fonts/jetbrains-mono/web/JetBrainsMono-ExtraBold.woff2") format("woff2"),
url("/fonts/jetbrains-mono/web/JetBrainsMono-ExtraBold.woff") format("woff")
url("/fonts/jetbrains-mono/ttf/JetBrainsMono-ExtraBold.ttf") format("truetype");
}
/* JetBrainsMono-Italic - © 2000-2020 JetBrains s.r.o. Developed with drive and IntelliJ IDEA. */
@font-face {
font-family: "JetBrains Mono";
font-style: italic;
font-weight: 400;
font-feature-settings: "calt" 1, "zero" 1;
font-display: swap;
src: url("/fonts/jetbrains-mono/web/JetBrainsMono-Italic.eot") format("embedded-opentype"),
url("/fonts/jetbrains-mono/web/JetBrainsMono-Italic.woff2") format("woff2"),
url("/fonts/jetbrains-mono/web/JetBrainsMono-Italic.woff") format("woff")
url("/fonts/jetbrains-mono/ttf/JetBrainsMono-Italic.ttf") format("truetype");
}
/* JetBrainsMono-Medium-Italic - © 2000-2020 JetBrains s.r.o. Developed with drive and IntelliJ IDEA. */
@font-face {
font-family: "JetBrains Mono Medium";
font-style: italic;
font-weight: 500;
font-feature-settings: "calt" 1, "zero" 1;
font-display: swap;
src: url("/fonts/jetbrains-mono/web/JetBrainsMono-Medium-Italic.eot") format("embedded-opentype"),
url("/fonts/jetbrains-mono/web/JetBrainsMono-Medium-Italic.woff2") format("woff2"),
url("/fonts/jetbrains-mono/web/JetBrainsMono-Medium-Italic.woff") format("woff")
url("/fonts/jetbrains-mono/ttf/JetBrainsMono-Medium-Italic.ttf") format("truetype");
}
/* JetBrainsMono-Medium - © 2000-2020 JetBrains s.r.o. Developed with drive and IntelliJ IDEA. */
@font-face {
font-family: "JetBrains Mono Medium";
font-style: normal;
font-weight: 500;
font-feature-settings: "calt" 1, "zero" 1;
font-display: swap;
src: url("/fonts/jetbrains-mono/web/JetBrainsMono-Medium.eot") format("embedded-opentype"),
url("/fonts/jetbrains-mono/web/JetBrainsMono-Medium.woff2") format("woff2"),
url("/fonts/jetbrains-mono/web/JetBrainsMono-Medium.woff") format("woff")
url("/fonts/jetbrains-mono/ttf/JetBrainsMono-Medium.ttf") format("truetype");
}
/* JetBrainsMono-Regular - © 2000-2020 JetBrains s.r.o. Developed with drive and IntelliJ IDEA. */
@font-face {
font-family: "JetBrains Mono";
font-style: normal;
font-weight: 400;
font-feature-settings: "calt" 1, "zero" 1;
font-display: swap;
src: url("/fonts/jetbrains-mono/web/JetBrainsMono-Regular.eot") format("embedded-opentype"),
url("/fonts/jetbrains-mono/web/JetBrainsMono-Regular.woff2") format("woff2"),
url("/fonts/jetbrains-mono/web/JetBrainsMono-Regular.woff") format("woff")
url("/fonts/jetbrains-mono/ttf/JetBrainsMono-Regular.ttf") format("truetype");
}
software/theia/software.cfg
View file @
24693cfc
...
...
@@ -117,6 +117,12 @@ eggs =
supervisor
setuptools
[template-base]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/${:filename}
output = ${buildout:parts-directory}/${:_buildout_section_name_}
mode = 0644
[python-language-server]
version = 0.19.0
recipe = plone.recipe.command
...
...
@@ -128,10 +134,7 @@ location = ${buildout:parts-directory}/${:_buildout_section_name_}
stop-on-error = true
[python-language-server-requirements.txt]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/${:filename}
output = ${buildout:parts-directory}/${:_buildout_section_name_}
mode = 0644
<= template-base
# TODO: file
[theia]
...
...
@@ -153,16 +156,13 @@ uses = ${yarn.lock:recipe}
THEIA_DEFAULT_PLUGINS = ${:location}/plugins/
[yarn.lock]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/${:filename}
output = ${buildout:parts-directory}/${:_buildout_section_name_}
mode = 0644
<= template-base
[preloadTemplate.html]
recipe = slapos.recipe.templat
e
url = ${:_profile_base_location_}/${:filename}
output = ${buildout:parts-directory}/${:_buildout_section_name_}
mode = 0644
<= template-bas
e
[slapos.css.in]
<= template-base
[package.json]
recipe = slapos.recipe.template:jinja2
...
...
@@ -357,9 +357,7 @@ template =
[instance]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/${:filename}
mode = 0644
<= template-base
output = ${buildout:directory}/instance.cfg
[versions]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment