From 219f856c9430f78036ae7c37ee591385812a90fe Mon Sep 17 00:00:00 2001 From: Diego Pucci Date: Fri, 21 Jun 2024 18:27:07 +0200 Subject: [PATCH] Add license --- .../components/AntdThemeProvider/index.tsx | 19 +++++++++++++++++++ superset-frontend/src/theme/index.ts | 19 +++++++++++++++++++ superset-frontend/src/theme/light.ts | 19 +++++++++++++++++++ 3 files changed, 57 insertions(+) diff --git a/superset-frontend/src/components/AntdThemeProvider/index.tsx b/superset-frontend/src/components/AntdThemeProvider/index.tsx index 426c9e926ca77..03cc8e2c488a3 100644 --- a/superset-frontend/src/components/AntdThemeProvider/index.tsx +++ b/superset-frontend/src/components/AntdThemeProvider/index.tsx @@ -1,3 +1,22 @@ +/** + * 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. + */ + import { ConfigProvider, type ConfigProviderProps } from 'antd-v5'; import { getTheme, ThemeType } from 'src/theme/index'; diff --git a/superset-frontend/src/theme/index.ts b/superset-frontend/src/theme/index.ts index abd899971877d..d31dadc661a9f 100644 --- a/superset-frontend/src/theme/index.ts +++ b/superset-frontend/src/theme/index.ts @@ -1,3 +1,22 @@ +/** + * 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. + */ + import { type ThemeConfig } from 'antd-v5'; import { theme as supersetTheme } from 'src/preamble'; import { lightAlgorithm } from './light'; diff --git a/superset-frontend/src/theme/light.ts b/superset-frontend/src/theme/light.ts index f765683ea3298..61591d99071a5 100644 --- a/superset-frontend/src/theme/light.ts +++ b/superset-frontend/src/theme/light.ts @@ -1,3 +1,22 @@ +/** + * 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. + */ + import { type MappingAlgorithm, theme } from 'antd-v5'; import { theme as supersetTheme } from 'src/preamble';