-
Notifications
You must be signed in to change notification settings - Fork 20
Add Linear theme collection #32
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
Closed
Closed
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
1f8efa2
Add Linear theme (dark + light variants)
glarivie bcf481d
Add linear pure light variant
glarivie d572a98
Add linear classic dark variant
glarivie 866aa61
Add linear magic blue variant
glarivie 879d19e
Darken light placeholder to meet WCAG AA on the input surface
glarivie 2f66db5
Darken light placeholder to meet WCAG AA on the input surface
glarivie 31059f8
Align palettes closer to Linear's built-ins and raise contrast (AAA m…
glarivie f1c46f6
Align palettes closer to Linear's built-ins and raise contrast (AAA m…
glarivie 4e40c2d
Align palettes closer to Linear's built-ins and raise contrast (AAA m…
glarivie 339b332
Align palettes closer to Linear's built-ins and raise contrast (AAA m…
glarivie 62b7b81
Align warning/update states with Linear: neutral draft surface, Linea…
glarivie 27d1d55
Align warning/update states with Linear: neutral draft surface, Linea…
glarivie 71a6be4
Align warning/update states with Linear: neutral draft surface, Linea…
glarivie f446b35
Align warning/update states with Linear: neutral draft surface, Linea…
glarivie 56339e3
Revert warning/update alignment, restore amber states
glarivie ce9944f
Revert warning/update alignment, restore amber states
glarivie 1b73301
Revert warning/update alignment, restore amber states
glarivie f93b730
Revert warning/update alignment, restore amber states
glarivie File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,71 @@ | ||
| { | ||
| "version": 1, | ||
| "id": "linear-classic-dark", | ||
| "name": "Linear Classic Dark", | ||
| "appearance": "dark", | ||
| "author": "glarivie", | ||
| "description": "Linear's Classic Dark variant: softer neutral gray-dark surfaces with the signature indigo accent.", | ||
| "colors": { | ||
| "canvas": "#1f2023", | ||
| "chrome": "#191a1d", | ||
| "toolbar": "#191a1d", | ||
| "toolbarForeground": "#d0d6e0", | ||
| "toolbarBorder": "#26272b", | ||
| "toolbarControl": "#26272b", | ||
| "toolbarControlForeground": "#d0d6e0", | ||
| "toolbarControlHover": "#303136", | ||
| "surface": "#1f2023", | ||
| "surfaceRaised": "#26272b", | ||
| "surfaceOverlay": "#2c2d32", | ||
| "text": "#d0d6e0", | ||
| "textMuted": "#adb3bd", | ||
| "border": "#34353a", | ||
| "input": "#191a1d", | ||
| "focus": "#5e6ad2", | ||
| "accent": "#5e6ad2", | ||
| "accentForeground": "#ffffff", | ||
| "secondary": "#303136", | ||
| "secondaryForeground": "#d0d6e0", | ||
| "muted": "#26272b", | ||
| "mutedForeground": "#adb3bd", | ||
| "placeholder": "#8a8f98", | ||
| "secondaryLabel": "#adb3bd", | ||
| "iconMuted": "#8c929c", | ||
| "error": "#ff8a95", | ||
| "errorForeground": "#ff8a95", | ||
| "errorSurface": "#2f1d20", | ||
| "warning": "#e8a33d", | ||
| "warningForeground": "#e8a33d", | ||
| "warningSurface": "#2b2214", | ||
| "update": "#deb15f", | ||
| "updateForeground": "#deb15f", | ||
| "updateSurface": "#2a2416", | ||
| "accentSurface": "#282c42", | ||
| "accentSurfaceForeground": "#d0d6e0", | ||
| "messageSurface": "#26272b", | ||
| "messageForeground": "#d0d6e0", | ||
| "messageAction": "#5e6ad2", | ||
| "messageActionForeground": "#ffffff", | ||
| "messageActionHover": "#6d78da", | ||
| "codeBackground": "#191a1d", | ||
| "codeForeground": "#d0d6e0", | ||
| "sidebar": "#191a1d", | ||
| "sidebarForeground": "#d0d6e0", | ||
| "sidebarMutedForeground": "#adb3bd", | ||
| "sidebarControlSurface": "#191a1d", | ||
| "sidebarRowHover": "#26272b", | ||
| "sidebarRowActive": "#282c42", | ||
| "sidebarRowSelected": "#282c42", | ||
| "sidebarBorder": "#26272b", | ||
| "terminalBackground": "#1f2023", | ||
| "terminalForeground": "#d0d6e0", | ||
| "terminalCursor": "#828fff", | ||
| "terminalSelection": "#5e6ad240", | ||
| "terminalScrollbar": "#2c2d32", | ||
| "terminalScrollbarHover": "#34353a" | ||
| }, | ||
| "collection": { | ||
| "id": "linear", | ||
| "label": "Linear" | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,71 @@ | ||
| { | ||
| "version": 1, | ||
| "id": "linear-magic-blue", | ||
| "name": "Linear Magic Blue", | ||
| "appearance": "dark", | ||
| "author": "glarivie", | ||
| "description": "Linear's Magic Blue variant: deep indigo-blue surfaces, the original Linear night look.", | ||
| "colors": { | ||
| "canvas": "#191a29", | ||
| "chrome": "#14151f", | ||
| "toolbar": "#14151f", | ||
| "toolbarForeground": "#e2e4f2", | ||
| "toolbarBorder": "#1f2030", | ||
| "toolbarControl": "#212233", | ||
| "toolbarControlForeground": "#e0e3f5", | ||
| "toolbarControlHover": "#2b2c44", | ||
| "surface": "#191a29", | ||
| "surfaceRaised": "#212233", | ||
| "surfaceOverlay": "#272839", | ||
| "text": "#e2e4f2", | ||
| "textMuted": "#a6adcf", | ||
| "border": "#31324e", | ||
| "input": "#14151f", | ||
| "focus": "#6c78e8", | ||
| "accent": "#5e6ad2", | ||
| "accentForeground": "#ffffff", | ||
| "secondary": "#2b2c44", | ||
| "secondaryForeground": "#e2e4f2", | ||
| "muted": "#212233", | ||
| "mutedForeground": "#a6adcf", | ||
| "placeholder": "#8f96bb", | ||
| "secondaryLabel": "#a6adcf", | ||
| "iconMuted": "#868dad", | ||
| "error": "#ff909b", | ||
| "errorForeground": "#ff909b", | ||
| "errorSurface": "#331e32", | ||
| "warning": "#e8a33d", | ||
| "warningForeground": "#e8a33d", | ||
| "warningSurface": "#2c2426", | ||
| "update": "#deb15f", | ||
| "updateForeground": "#deb15f", | ||
| "updateSurface": "#2b2628", | ||
| "accentSurface": "#272c50", | ||
| "accentSurfaceForeground": "#e2e4f2", | ||
| "messageSurface": "#212233", | ||
| "messageForeground": "#e2e4f2", | ||
| "messageAction": "#5e6ad2", | ||
| "messageActionForeground": "#ffffff", | ||
| "messageActionHover": "#6d78da", | ||
| "codeBackground": "#14151f", | ||
| "codeForeground": "#e2e4f2", | ||
| "sidebar": "#14151f", | ||
| "sidebarForeground": "#e2e4f2", | ||
| "sidebarMutedForeground": "#a6adcf", | ||
| "sidebarControlSurface": "#14151f", | ||
| "sidebarRowHover": "#212233", | ||
| "sidebarRowActive": "#272c50", | ||
| "sidebarRowSelected": "#272c50", | ||
| "sidebarBorder": "#1f2030", | ||
| "terminalBackground": "#191a29", | ||
| "terminalForeground": "#e2e4f2", | ||
| "terminalCursor": "#8b97ff", | ||
| "terminalSelection": "#5e6ad240", | ||
| "terminalScrollbar": "#272839", | ||
| "terminalScrollbarHover": "#31324e" | ||
| }, | ||
| "collection": { | ||
| "id": "linear", | ||
| "label": "Linear" | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,71 @@ | ||
| { | ||
| "version": 1, | ||
| "id": "linear-pure-light", | ||
| "name": "Linear Pure Light", | ||
| "appearance": "light", | ||
| "author": "glarivie", | ||
| "description": "Linear's Pure Light variant: an all-white interface with the signature indigo accent.", | ||
| "colors": { | ||
| "canvas": "#ffffff", | ||
| "chrome": "#ffffff", | ||
| "toolbar": "#ffffff", | ||
| "toolbarForeground": "#282a30", | ||
| "toolbarBorder": "#ececee", | ||
| "toolbarControl": "#f4f5f6", | ||
| "toolbarControlForeground": "#282a30", | ||
| "toolbarControlHover": "#e8eaee", | ||
| "surface": "#ffffff", | ||
| "surfaceRaised": "#fafafa", | ||
| "surfaceOverlay": "#ffffff", | ||
| "text": "#282a30", | ||
| "textMuted": "#4e535b", | ||
| "border": "#e9eaed", | ||
| "input": "#fafafa", | ||
| "focus": "#5e6ad2", | ||
| "accent": "#5e6ad2", | ||
| "accentForeground": "#ffffff", | ||
| "secondary": "#eef0f3", | ||
| "secondaryForeground": "#282a30", | ||
| "muted": "#f4f5f6", | ||
| "mutedForeground": "#4e535b", | ||
| "placeholder": "#697077", | ||
| "secondaryLabel": "#4e535b", | ||
| "iconMuted": "#6e747b", | ||
| "error": "#ae2e38", | ||
| "errorForeground": "#ae2e38", | ||
| "errorSurface": "#faeaeb", | ||
| "warning": "#8f5f13", | ||
| "warningForeground": "#8f5f13", | ||
| "warningSurface": "#f7efdd", | ||
| "update": "#8f5f13", | ||
| "updateForeground": "#8f5f13", | ||
| "updateSurface": "#f7f0da", | ||
| "accentSurface": "#edeff9", | ||
| "accentSurfaceForeground": "#282a30", | ||
| "messageSurface": "#f4f5f6", | ||
| "messageForeground": "#282a30", | ||
| "messageAction": "#5e6ad2", | ||
| "messageActionForeground": "#ffffff", | ||
| "messageActionHover": "#4c56b8", | ||
| "codeBackground": "#fafafa", | ||
| "codeForeground": "#282a30", | ||
| "sidebar": "#ffffff", | ||
| "sidebarForeground": "#282a30", | ||
| "sidebarMutedForeground": "#4e535b", | ||
| "sidebarControlSurface": "#ffffff", | ||
| "sidebarRowHover": "#f4f5f6", | ||
| "sidebarRowActive": "#edeff9", | ||
| "sidebarRowSelected": "#edeff9", | ||
| "sidebarBorder": "#ececee", | ||
| "terminalBackground": "#ffffff", | ||
| "terminalForeground": "#282a30", | ||
| "terminalCursor": "#5e6ad2", | ||
| "terminalSelection": "#5e6ad226", | ||
| "terminalScrollbar": "#e9eaed", | ||
| "terminalScrollbarHover": "#d4d7dc" | ||
| }, | ||
| "collection": { | ||
| "id": "linear", | ||
| "label": "Linear" | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,132 @@ | ||
| { | ||
| "version": 1, | ||
| "id": "linear", | ||
| "name": "Linear", | ||
| "appearance": "dark", | ||
| "author": "glarivie", | ||
| "description": "A Linear-inspired theme with the signature indigo accent, in dark and light variants. WCAG AA contrast minimum.", | ||
| "colors": { | ||
| "canvas": "#101012", | ||
| "chrome": "#0b0c0d", | ||
| "toolbar": "#0b0c0d", | ||
| "toolbarForeground": "#e8eaed", | ||
| "toolbarBorder": "#1a1a1d", | ||
| "toolbarControl": "#17171a", | ||
| "toolbarControlForeground": "#e8eaed", | ||
| "toolbarControlHover": "#222225", | ||
| "surface": "#101012", | ||
| "surfaceRaised": "#17171a", | ||
| "surfaceOverlay": "#1c1c1f", | ||
| "text": "#e8eaed", | ||
| "textMuted": "#9da4ae", | ||
| "border": "#2a2a2e", | ||
| "input": "#17171a", | ||
| "focus": "#5e6ad2", | ||
| "accent": "#5e6ad2", | ||
| "accentForeground": "#ffffff", | ||
| "secondary": "#232326", | ||
| "secondaryForeground": "#e8eaed", | ||
| "muted": "#17171a", | ||
| "mutedForeground": "#9da4ae", | ||
| "placeholder": "#8a8f98", | ||
| "secondaryLabel": "#9da4ae", | ||
| "iconMuted": "#838993", | ||
| "error": "#ff7d88", | ||
| "errorForeground": "#ff7d88", | ||
| "errorSurface": "#281518", | ||
| "warning": "#e8a33d", | ||
| "warningForeground": "#e8a33d", | ||
| "warningSurface": "#251b0d", | ||
| "update": "#deb15f", | ||
| "updateForeground": "#deb15f", | ||
| "updateSurface": "#241e10", | ||
| "accentSurface": "#1e2130", | ||
| "accentSurfaceForeground": "#e8eaed", | ||
| "messageSurface": "#17171a", | ||
| "messageForeground": "#e8eaed", | ||
| "messageAction": "#5e6ad2", | ||
| "messageActionForeground": "#ffffff", | ||
| "messageActionHover": "#6d78da", | ||
| "codeBackground": "#0b0c0d", | ||
| "codeForeground": "#e8eaed", | ||
| "sidebar": "#0b0c0d", | ||
| "sidebarForeground": "#e8eaed", | ||
| "sidebarMutedForeground": "#9da4ae", | ||
| "sidebarControlSurface": "#0b0c0d", | ||
| "sidebarRowHover": "#17171a", | ||
| "sidebarRowActive": "#1e2130", | ||
| "sidebarRowSelected": "#1e2130", | ||
| "sidebarBorder": "#1a1a1d", | ||
| "terminalBackground": "#101012", | ||
| "terminalForeground": "#e8eaed", | ||
| "terminalCursor": "#828fff", | ||
| "terminalSelection": "#5e6ad240", | ||
| "terminalScrollbar": "#1c1c1f", | ||
| "terminalScrollbarHover": "#2a2a2e" | ||
| }, | ||
| "variants": { | ||
| "light": { | ||
| "canvas": "#ffffff", | ||
| "chrome": "#f7f8f8", | ||
| "toolbar": "#f7f8f8", | ||
| "toolbarForeground": "#282a30", | ||
| "toolbarBorder": "#e8eaec", | ||
| "toolbarControl": "#f1f2f4", | ||
| "toolbarControlForeground": "#282a30", | ||
| "toolbarControlHover": "#e8eaee", | ||
| "surface": "#ffffff", | ||
| "surfaceRaised": "#f7f8f8", | ||
| "surfaceOverlay": "#fbfbfc", | ||
| "text": "#282a30", | ||
| "textMuted": "#4c5159", | ||
| "border": "#e4e6ea", | ||
| "input": "#f7f8f8", | ||
| "focus": "#5e6ad2", | ||
| "accent": "#5e6ad2", | ||
| "accentForeground": "#ffffff", | ||
| "secondary": "#eef0f3", | ||
| "secondaryForeground": "#282a30", | ||
| "muted": "#f1f2f4", | ||
| "mutedForeground": "#4c5159", | ||
| "placeholder": "#697077", | ||
| "secondaryLabel": "#4c5159", | ||
| "iconMuted": "#6a7077", | ||
| "error": "#ae2e38", | ||
| "errorForeground": "#ae2e38", | ||
| "errorSurface": "#faeaeb", | ||
| "warning": "#8f5f13", | ||
| "warningForeground": "#8f5f13", | ||
| "warningSurface": "#f7efdd", | ||
| "update": "#8f5f13", | ||
| "updateForeground": "#8f5f13", | ||
| "updateSurface": "#f7f0da", | ||
| "accentSurface": "#edeff9", | ||
| "accentSurfaceForeground": "#282a30", | ||
| "messageSurface": "#f1f2f4", | ||
| "messageForeground": "#282a30", | ||
| "messageAction": "#5e6ad2", | ||
| "messageActionForeground": "#ffffff", | ||
| "messageActionHover": "#4c56b8", | ||
| "codeBackground": "#f7f8f8", | ||
| "codeForeground": "#282a30", | ||
| "sidebar": "#f7f8f8", | ||
| "sidebarForeground": "#282a30", | ||
| "sidebarMutedForeground": "#4c5159", | ||
| "sidebarControlSurface": "#f7f8f8", | ||
| "sidebarRowHover": "#f1f2f4", | ||
| "sidebarRowActive": "#edeff9", | ||
| "sidebarRowSelected": "#edeff9", | ||
| "sidebarBorder": "#e8eaec", | ||
| "terminalBackground": "#ffffff", | ||
| "terminalForeground": "#282a30", | ||
| "terminalCursor": "#5e6ad2", | ||
| "terminalSelection": "#5e6ad226", | ||
| "terminalScrollbar": "#e4e6ea", | ||
| "terminalScrollbarHover": "#d4d7dc" | ||
| } | ||
| }, | ||
| "collection": { | ||
| "id": "linear", | ||
| "label": "Linear" | ||
| } | ||
| } | ||
|
coderabbitai[bot] marked this conversation as resolved.
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
Keep this theme update to one theme file.
This cohort changes
themes/linear.json,themes/linear-classic-dark.json,themes/linear-magic-blue.json, andthemes/linear-pure-light.json. Split the primary theme and its variants into separate changes before merge.As per coding guidelines:
themes/*.json: When adding or editing a theme, make exactly onethemes/<id>.jsonfile change and do not modify any other files.🤖 Prompt for AI Agents
Source: Coding guidelines