-
Notifications
You must be signed in to change notification settings - Fork 13.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* linting some LESS * enforce linting * moving font binaries out of stylesheets to fonts folder. * renaming font specimen sheet directory.
- Loading branch information
Showing
58 changed files
with
299 additions
and
218 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains 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
210 changes: 0 additions & 210 deletions
210
superset-frontend/stylesheets/fonts/InterUI/specimen.less
This file was deleted.
Oops, something went wrong.
63 changes: 63 additions & 0 deletions
63
superset-frontend/stylesheets/less/font_specimens/fira_code.less
This file contains 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,63 @@ | ||
/** | ||
* Licensed to the Apache Software Foundation (ASF) under one | ||
* or more contributor license agreements. See the NOTICE file | ||
* distributed with this work for additional information | ||
* regarding copyright ownership. The ASF licenses this file | ||
* to you under the Apache License, Version 2.0 (the | ||
* "License"); you may not use this file except in compliance | ||
* with the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, | ||
* software distributed under the License is distributed on an | ||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
* KIND, either express or implied. See the License for the | ||
* specific language governing permissions and limitations | ||
* under the License. | ||
*/ | ||
|
||
@font-face { | ||
font-family: 'Fira Code'; | ||
src: url('../../../fonts/FiraCode/woff2/FiraCode-Light.woff2') format('woff2'), | ||
url('../../../fonts/FiraCode/woff/FiraCode-Light.woff') format('woff'); | ||
font-weight: 300; | ||
font-style: normal; | ||
} | ||
|
||
@font-face { | ||
font-family: 'Fira Code'; | ||
src: url('../../../fonts/FiraCode/woff2/FiraCode-Regular.woff2') | ||
format('woff2'), | ||
url('../../../fonts/FiraCode/woff/FiraCode-Regular.woff') format('woff'); | ||
font-weight: 400; | ||
font-style: normal; | ||
} | ||
|
||
@font-face { | ||
font-family: 'Fira Code'; | ||
src: url('../../../fonts/FiraCode/woff2/FiraCode-Medium.woff2') | ||
format('woff2'), | ||
url('../../../fonts/FiraCode/woff/FiraCode-Medium.woff') format('woff'); | ||
font-weight: 500; | ||
font-style: normal; | ||
} | ||
|
||
@font-face { | ||
font-family: 'Fira Code'; | ||
src: url('../../../fonts/FiraCode/woff2/FiraCode-Bold.woff2') format('woff2'), | ||
url('../../../fonts/FiraCode/woff/FiraCode-Bold.woff') format('woff'); | ||
font-weight: 700; | ||
font-style: normal; | ||
} | ||
|
||
@font-face { | ||
font-family: 'Fira Code VF'; | ||
src: url('../../../fonts/FiraCode/woff2/FiraCode-VF.woff2') | ||
format('woff2-variations'), | ||
url('../../../fonts/FiraCode/woff/FiraCode-VF.woff') | ||
format('woff-variations'); | ||
/* font-weight requires a range: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide#Using_a_variable_font_font-face_changes */ | ||
font-weight: 300 700; | ||
font-style: normal; | ||
} |
Oops, something went wrong.