mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-04 08:56:34 +00:00
feat: add Zen branding styles and update welcome page layout
This commit is contained in:
@@ -43,7 +43,8 @@
|
||||
content/browser/zen-styles/zen-popup.css (content/zen-styles/zen-popup.css)
|
||||
content/browser/zen-styles/zen-sidebar-panels.css (content/zen-styles/zen-sidebar-panels.css)
|
||||
content/browser/zen-styles/zen-gradient-generator.css (content/zen-styles/zen-gradient-generator.css)
|
||||
|
||||
content/browser/zen-styles/zen-branding.css (content/zen-styles/zen-branding.css)
|
||||
|
||||
content/browser/zen-styles/zen-panels/bookmarks.css (content/zen-styles/zen-panels/bookmarks.css)
|
||||
content/browser/zen-styles/zen-panels/extensions.css (content/zen-styles/zen-panels/extensions.css)
|
||||
content/browser/zen-styles/zen-panels/print.css (content/zen-styles/zen-panels/print.css)
|
||||
@@ -60,3 +61,7 @@
|
||||
content/browser/zen-components/actors/ZenThemeMarketplaceChild.sys.mjs (zen-components/actors/ZenThemeMarketplaceChild.sys.mjs)
|
||||
content/browser/zen-components/actors/ZenGlanceChild.sys.mjs (zen-components/actors/ZenGlanceChild.sys.mjs)
|
||||
content/browser/zen-components/actors/ZenGlanceParent.sys.mjs (zen-components/actors/ZenGlanceParent.sys.mjs)
|
||||
|
||||
# Fonts
|
||||
content/browser/zen-fonts/JunicodeVF-Italic.woff2 (content/zen-fonts/JunicodeVF-Italic.woff2)
|
||||
content/browser/zen-fonts/JunicodeVF-Roman.woff2 (content/zen-fonts/JunicodeVF-Roman.woff2)
|
||||
|
BIN
src/browser/base/content/zen-fonts/JunicodeVF-Italic.woff2
Normal file
BIN
src/browser/base/content/zen-fonts/JunicodeVF-Italic.woff2
Normal file
Binary file not shown.
BIN
src/browser/base/content/zen-fonts/JunicodeVF-Roman.woff2
Normal file
BIN
src/browser/base/content/zen-fonts/JunicodeVF-Roman.woff2
Normal file
Binary file not shown.
24
src/browser/base/content/zen-styles/zen-branding.css
Normal file
24
src/browser/base/content/zen-styles/zen-branding.css
Normal file
@@ -0,0 +1,24 @@
|
||||
|
||||
@font-face {
|
||||
font-family: 'Zen-Junicode';
|
||||
src: url('chrome://browser/content/zen-fonts/JunicodeVF-Roman.woff2') format('woff2');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Zen-Junicode-Italic';
|
||||
src: url('chrome://browser/content/zen-fonts/JunicodeVF-Italic.woff2') format('woff2');
|
||||
}
|
||||
|
||||
.zen-branding-title {
|
||||
font-size: 6rem;
|
||||
line-height: 0.9;
|
||||
margin-bottom: 0.4rem;
|
||||
font-family: 'Zen-Junicode', serif;
|
||||
font-weight: 600;
|
||||
font-style: normal;
|
||||
font-feature-settings: 'swsh' 1;
|
||||
|
||||
& .zen-branding-title-italic {
|
||||
font-family: "Zen-Junicode-Italic", serif;
|
||||
}
|
||||
}
|
@@ -14,9 +14,13 @@
|
||||
--zen-border-radius: 7px;
|
||||
--zen-primary-color: #ffb787;
|
||||
|
||||
--zen-branding-bg-dark: #202020;
|
||||
--zen-branding-bg: light-dark(#F2F0E3, var(--zen-branding-bg-dark));
|
||||
--zen-branding-bg-reverse: light-dark(var(--zen-branding-bg-dark), #F2F0E3);
|
||||
/* Branding */
|
||||
--zen-branding-dark: #202020;
|
||||
--zen-branding-coral: #F76F53;
|
||||
--zen-branding-paper: #F2F0E3;
|
||||
|
||||
--zen-branding-bg: light-dark(var(--zen-branding-paper), var(--zen-branding-dark));
|
||||
--zen-branding-bg-reverse: light-dark(var(--zen-branding-dark), var(--zen-branding-paper));
|
||||
|
||||
/** Zen colors are generated automatically from the primary color */
|
||||
--zen-colors-primary: color-mix(in srgb, var(--zen-primary-color) 50%, black 50%);
|
||||
|
Reference in New Issue
Block a user